Finds existing local skills or searches ClawHub before you build anything new.
Skills get installed but nobody remembers what's available. This is the first skill to ask
before writing a new one.
Read ~/.openclaw/skills/INDEX.md and search by keyword.
If a matching skill is found:
If nothing local matches, run:
clawhub search "<task keywords>"
Present results with:
clawhub install If neither local nor ClawHub has a match, say:
"No existing skill found for this task. Building a new one is a good option."
Do NOT invent or assume a skill exists.
After installing any new skill, rescan and update the index:
find ~/.openclaw/skills ~/mind_claw ~/.codex/skills ~/.cursor/skills-cursor -name "SKILL.md" 2>/dev/null
Extract name and description from each SKILL.md frontmatter, then write to
~/.openclaw/skills/INDEX.md with this format:
# Skill Index
## [Category Name]
| Name | Description | Path |
|------|-------------|------|
| skill-name | What it does | /path/to/skill |
User asks "I want to do XXX, what skill do I have?"
| Situation | Action |
|---|---|
| ----------- | -------- |
| "what skills do I have" | Show full INDEX.md |
| "I want to do XXX, what skill" | Search INDEX, then ClawHub |
| "search ClawHub for XXX" | Run clawhub search |
| "which skill should I use" | Read INDEX, show matches |
| "build a new skill" | First run skill-router to check if one exists |
共 1 个版本