Purpose
Scans the .claude/ directory and updates CLAUDE.md to reflect current skills, rules, and agents. This keeps documentation in sync with actual files.
When to Use
- •After adding new skills to
.claude/skills/ - •After adding new rules to
.claude/rules/ - •After adding new agents to
.claude/agents/ - •When CLAUDE.md tables are out of sync with .claude/ directory
What It Does
- •
Scans directories
- •
.claude/skills/- All skill files - •
.claude/rules/- All rule files
- •
- •
Parses YAML frontmatter from each file
- •
name- Skill/rule identifier - •
description- Brief description - •Other metadata as available
- •
- •
Updates CLAUDE.md tables
- •Available Skills section
- •Available Rules section
- •
Preserves structure
- •Maintains table format
- •Keeps priority organization
- •Preserves other sections
Output Format
code
Scanning .claude/ directory... Found 28 skills Found 13 rules Updating CLAUDE.md tables... ✓ Updated Available Skills table ✓ Updated Available Rules table Done. CLAUDE.md is now in sync with .claude/ directory.