name: cm-skill-search description: "Find the best CodyMaster skill using the shipped indexes, profiles, docs, and contextual suggestions."
cm-skill-search
Use this skill when you need to find the right CodyMaster skill quickly and avoid loading the wrong SKILL.md.
Search order
- Fast path
cm suggest --project .
- Library index
docs/skills/index.mddocs/skills/*.mdcategory pages
- Progressive disclosure
skills/cm-skill-index/SKILL.md
- Raw filesystem search
rg -n "<keyword>" skills docs README.md
- Fallback
- if nothing matches, use
cm-skill-healthto check whether the missing skill is docs drift or a real gap
- if nothing matches, use
Query workflow
- Normalize the intent into 2-5 keywords.
- Search category pages before opening full skills.
- Open only the top 1-3 candidate
SKILL.mdfiles. - Prefer the skill whose triggers, outputs, and lifecycle placement best match the task.
- If two skills overlap:
- choose the earlier lifecycle gate first
- example:
cm-brainstorm-ideabeforecm-planning
Tie-breakers
- Need diagnosis before repair: choose
cm-skill-health - Need to repair a skill: choose
cm-skill-evolution - Need to distribute a skill pack: choose
cm-skill-share - Need the general index first: choose
cm-skill-index
Output
## Skill Search Result
- Task: ...
- Best match: cm-...
- Runner-up: cm-...
- Why: ...