caddy-enroll
Skill19 starsChanged 4 months agoMITView on GitHub
Enroll a skill into Caddy's index so it can be surfaced when the right prompt arrives. Use when a new skill is created, copied in, or when a skill needs updated triggers. Usage — "/caddy-enroll <path to SKILL.md>".
In this repository72 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-fitnessSkill
- body-checkSkill
- briefSkill
- Caddy AuditSkill
- Caddy ExplainSkill
- caddy-muteSkill
- capsule-compactSkill
- closeSkill
- codex-adapterSkill
- cognitive-updateSkill
- comms-summarizeSkill
- compact-noteSkill
- context-capsuleSkill
- context-hygieneSkill
- critique-planSkill
- decideSkill
- deep-reconSkill
- DiagnoseSkill
- digestSkill
- dreamSkill
- EnvelopeSkill
- find-weaknessSkill
- First 10 MovesSkill
- first-winSkill
- frontend-slidesSkill
- Honesty CheckSkill
- humanize-docsSkill
- impeccableSkill
- learn-from-failureSkill
- LearnSkill
- meta-improveSkill
- meta-improve-vaultSkill
- nightly-close-paritySkill
- nightly-ledger-captureSkill
- nightlySkill
- openSkill
- operator-setupSkill
- orientSkill
- pauseSkill
- ponytailSkill
- port-specSkill
- PromoteSkill
- reconcileSkill
- research-deepSkill
- resumeSkill
- Sandbox RoutingSkill
- scout-vaultSkill
- Self-ReviewSkill
- semantic-searchSkill
- setupSkill
- ship-adapterSkill
- Skill AuditSkill
- skill-huntSkill
- skill-recallSkill
- solution-huntSkill
- sprite-specSkill
- startSkill
- statusSkill
- StuckSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Read the full SKILL.md at the given path.
- Distinctive: line 50
Avoid stopwords and generic terms ("help", "check", "run", "fix" alone)
- Very specific: line 59
Read .claude/skill-index.json (relative to AIGENT_ROOT).
- Very specific: line 61
If a skill with this name already exists: update its triggers and why — don't clobber triggers the user added manually.
- Very specific: line 63
If it's new: append a new entry with {name, triggers, why}.
- Distinctive: line 81
Test prompt used + whether it surfaced
- Distinctive: line 91
If the test failed or triggers need work:
- Distinctive: line 100
Every skill the framework can execute must be enrolled here.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/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.jsonfirst) - 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 for specific intents
- Single words only for unambiguous terms
- Avoid stopwords and generic terms ("help", "check", "run", "fix" alone)
- Aim for prompts a user would actually type — not jargon from the skill's own docs
Anti-case quality:
- Name the sibling skill that SHOULD be used instead
- Name any confidentiality or scope boundaries
Step 3: Append to skill-index.json
Read .claude/skill-index.json (relative to AIGENT_ROOT).
If a skill with this name already exists: update its triggers and why — don't clobber triggers the user added manually.
If it's new: append a new entry with {name, triggers, why}.
Validate the file is still valid JSON before writing.
Step 4: Test the enrollment
Run:
echo '{"prompt":"<test prompt that should trigger this skill>"}' | bash $AIGENT_ROOT/daemons/caddy.shConfirm the [CADDY] /<name> - <why> hint surfaces. If not, tune the triggers and retry.
Step 5: Confirm
Report:
- Skill name and path
- Trigger count + short list
- Test prompt used + whether it surfaced
Output Format
Enrolled: /<skill-name>
Triggers: <count> (<short list>)
Test: "<prompt>" → [CADDY] /<name> ✓If the test failed or triggers need work:
Enrolled with warning: triggers need tuning
Test: "<prompt>" → no match
Suggested fix: add trigger "<candidate>"Why This Exists
Every skill the framework can execute must be enrolled here. Skipping enrollment = skill sits in the golf bag unlabeled. Caddy can't hand it to the AIgent if it's not indexed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

