caddy-enrolllisted
Install: claude install-skill wrg32786/aigent-os
# /caddy-enroll
Enroll a skill into Caddy's `skill-index.json` so prompts matching the skill's triggers surface it as a hint.
## When to Use
- A new skill was created (often by `/skills-builder`) and needs to join the index
- A skill was copied in from outside (cloned plugin, downloaded skill)
- An existing skill's triggers need refreshing after its SKILL.md changed
- User says "enroll this skill" / "add this to Caddy" / "update Caddy for /X"
## When NOT to Use
- The skill is already indexed with correct triggers (check `.claude/skill-index.json` first)
- The skill has no SKILL.md / no description / no clear use case (fix the skill first, enroll after)
## Arguments
`$1` = path to the skill's SKILL.md or .md file. If omitted, ask which skill.
## Protocol
### Step 1: Read the target skill
Read the full SKILL.md at the given path. Parse:
- **name** — from the `name:` frontmatter field, or the filename stem
- **description** — from the `description:` frontmatter field, or first heading/line
### Step 2: Extract structured metadata
Produce this five-field structure:
```
- what: <one-line what it does>
- triggers: <comma-separated keywords/intents a prompt matcher could catch — 6-12 items, mix multi-word phrases and single keywords>
- use_cases: <3-5 concrete "when user says X, use this">
- anti_cases: <1-3 "do NOT use when...">
- related: <comma-separated related skills from the existing index>
```
**Trigger quality rules:**
- Multi-word phrases score 3x — prefer them