Skill Docs Updater
Documentsskill-docs-updaterSkill Docs Updater is an Agent Skill for documents published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Synchronize skill documentation. Use after creating or modifying any skill. Updates SKILLS-INDEX.md with the full skills table.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/skills/skill-docs-updater/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/skill-docs-updater, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Skill Docs Updater
Keeps the skills table in SKILLS-INDEX.md in sync.
When to Use
- After creating a new skill with skill-writer
- After modifying an existing skill's name or description
- When skills are added, removed, or renamed
Process
Step 1: Scan Skills Directory
List all directories in arsenal/dot-claude/skills/:
ls arsenal/dot-claude/skills/
Step 2: Read Each SKILL.md
For each skill directory, read the SKILL.md file and extract:
namefrom YAML frontmatterdescriptionfrom YAML frontmatter
If no frontmatter exists, derive name from directory name and description from first paragraph.
Step 3: Generate Skills Table
Create a markdown table with all skills:
| Skill | When to Use |
|-------|-------------|
| `skill-name` | Short description of when to use |
Step 4: Replace Content Between Markers
Look for these markers in arsenal/dot-claude/skills/SKILLS-INDEX.md and replace content between them:
<!-- AUTO-GENERATED:SKILLS-TABLE:START -->
(replace this content)
<!-- AUTO-GENERATED:SKILLS-TABLE:END -->
Step 5: Sync to .claude/
After updating the index, run:
./arsenal/install.sh
This copies the updated SKILLS-INDEX.md to .claude/skills/.
Target File
arsenal/dot-claude/skills/SKILLS-INDEX.md
Notes
- Preserve all content outside the markers
- Sort skills alphabetically by name
- Keep descriptions concise (one line)
- Always scan
arsenal/dot-claude/(source of truth), not.claude/(generated copy) - Run
./arsenal/install.shafter to sync changes