refresh-index
SKILL.md
Refresh File Index
Update the file index to reflect current workspace state.
Step 1: Load Configuration
Read memory/index_config.json to get exclusion patterns.
If config doesn't exist, use defaults:
- Exclude: node_modules, .git, pycache, .venv, dist, build, *.pyc, .DS_Store
Step 2: Generate Fresh Index
Build exclusion flags from config, then run:
find . -type f [exclusion flags] -exec ls -lh {} \; 2>/dev/null
Step 3: Format and Write
Update memory/file_index.md:
- Update "Last updated" timestamp
- Regenerate directory tree
- Update file listings with current sizes/dates
- Add summary stats at top:
- Total files indexed
- Total size
- Directories covered
Step 4: Report Changes
Compare with previous index if available:
- New files added
- Files removed
- Files with size changes
Output summary to user.
Weekly Installs
1
Repository
abilityai/abilitiesFirst Seen
11 days ago
Security Audits
Installed on
mcpjam1
claude-code1
junie1
windsurf1
zencoder1
crush1