aboutsummaryrefslogtreecommitdiff
path: root/skills/skills-system-guide.json
blob: 8f04c7786c5e6eb867aecd096d222905c72a6abd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "name": "skills-system-guide",
  "description": "How to use the skills system: load, create, patch, list, and audit skills for persistent procedural memory",
  "tags": [
    "skills",
    "system",
    "meta"
  ],
  "category": "system",
  "created": "2026-07-06T00:13:29.404Z",
  "updated": "2026-07-06T00:13:29.404Z",
  "content": "---\nname: skills-system-guide\ndescription: How to use the skills system: load, create, patch, list, and audit skills for persistent procedural memory\ntags: [skills, system, meta]\ncategory: system\n---\n## Steps\n1. **Always load skills at task start:**\n   - At the START of every task, type or call \"skill-view <name>\" or \"skill-list\"\n   - Example: skill-view \"module-management\" — returns matching skill content\n   - Example: skill-list system — browse skills by category\n\n2. **Create skills after complex tasks:**\n   - After any task with 3+ tool calls, call \"skill-create\"\n   - Required fields: name (kebab-case), description, content (markdown with YAML frontmatter)\n   - Optional: tags (comma-separated), category (e.g. research, system, dev)\n   - Skills persist in /skills/ as .md files with /skills/index.json for fast lookup\n   - Skill pack auto-seeds 8 core skills on first boot\n\n3. **Patch skills when they're outdated:**\n   - If a stored procedure has wrong steps, call \"skill-patch <name>\"\n   - This replaces the entire skill content and updates the index\n   - Do NOT create a duplicate — always patch the existing skill\n\n4. **Auto-created error skills:**\n   - If the same tool fails 3+ times, a workaround skill is created automatically\n   - Named tool-<name>-workaround (e.g. tool-write_file-workaround)\n\n5. **Audit and maintenance:**\n   - skill-list <category?> — browse available skills, optionally filter\n   - skill-export <name> — download a skill as markdown\n   - skill-import <json> — bulk import skills\n   - skill-sync — re-index skills from /skills/ directory\n   - Skills are audited every 20 messages for staleness (empty content, >30 days old)\n\n6. **YAML frontmatter format:**\n   - Each skill file must start with: ---\\nname: <name>\\ndescription: <text>\\ntags: [...]\\ncategory: <cat>\\n---\\n\n   - Steps follow under ## Steps heading\n   - Use numbered lists for sequential steps"
}