skills/agent-skill-builder/SKILL.md
Load when the user wants to create, update, or refactor an agent skill, improve skill routing, split overlong skill instructions, or turn a repeated agent workflow into a reusable skill. Hand off to skill-creator for eval runs, packaging, and trigger-description optimization.
npx skillsauth add 0xrichardh/agent-skills agent-skill-builderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create, update, and refactor agent skills with tight routing, lean instructions, and progressive disclosure. Use this skill to shape the skill artifact; use skill-creator for formal eval runs, review viewers, packaging, and description optimization.
Do not add depends: skill-creator by default. Most skill-shaping tasks do not need the full eval and packaging workflow loaded immediately; explicit handoff keeps lightweight edits cheap.
Before writing or changing a skill, decide whether a skill is needed.
A skill is useful when the agent would otherwise get the task wrong, behave inconsistently, miss durable domain knowledge, or need reusable taste/workflow guidance that is not already in global instructions.
A skill is usually not useful when it only lists obvious commands, repeats global instructions, documents behavior that changes too quickly to maintain, or captures something a short user prompt can reliably handle.
Use this filter for every proposed instruction: would the agent get this wrong without this sentence? If not, delete it.
description as routing guidance, not documentation. Prefer Load when... and realistic user intent.SKILL.md focused on durable judgment, gotchas, and pointers to optional resources.references/, deterministic repeated work into scripts/, and templates or schemas into assets/.skill-creator for eval runs, review UI, packaging, or trigger-description optimization.references/routing-evals.md before changing a skill description, designing trigger boundaries, or resolving collisions with adjacent skills.references/skill-structure.md when splitting an overlong skill, choosing between references/, assets/, and scripts/, or adding metadata/config.references/maintenance.md when changing a merged skill, handling a one-off failure, or deciding whether a broad rewrite is justified.Start from routing, not content. A useful skill has a precise load boundary before it has a long body.
Use this minimum shape:
---
name: lowercase-hyphenated-name
description: Load when the user asks for...
---
# Skill Title
One short paragraph describing the behavior this skill changes.
## Workflow
1. ...
## Gotchas
- ...
Preserve the existing skill name unless the user explicitly asks to rename it. The name is part of the routing surface and may be referenced by installed configs or docs.
Inspect the current skill before editing. Read the frontmatter, verify the directory name matches name, identify the trigger boundary, and separate durable guidance from examples, templates, scripts, and long references.
Prefer the smallest refactor that improves routing precision, reduces context cost, or makes the workflow easier for the model to follow.
The description is the skill's routing trigger. It should help the agent decide whether to load the skill, not summarize the implementation.
Good descriptions start with Load when, stay short, include realistic user intents, and name boundaries when adjacent skills might otherwise conflict. Avoid broad keywords that cause off-target loading.
Write for a model, not a human README.
Explain non-obvious judgment, preferences, gotchas, and failure modes. Do not list commands the model already knows unless exact flags or ordering are critical. Keep examples only when they teach a boundary, format, or gotcha.
If SKILL.md starts becoming a catalog, split content into files and add short pointers that tell the agent when to read each file.
skill-creator. Use it for evals, packaging, review workflows, and description optimization.assets/ for templates and schemas unless preserving an existing skill's established convention.Use skill-creator when any of these are true:
When handing off, summarize the current skill path, intended behavior, positive triggers, near-miss negatives, forbidden loads, progressive-read checks, and any open questions.
tools
Load when the user wants to call MCP tools, list MCP servers, manage MCP configuration, or interact with Model Context Protocol servers. Triggers include 'call MCP', 'list MCP servers', 'mcporter', 'MCP tool', 'run MCP', 'configure MCP'. Also load for ad-hoc MCP calls, OAuth setup, or code generation from MCP servers.
development
Load when the user needs web search, code examples, company intel, people lookup, or current information. Use for queries like 'search for', 'look up', 'find', 'what's the latest on', 'research company', 'code examples for'. Does not require a browser.
development
Find and inspect past OpenCode conversations stored in the local SQLite database. Use when the user asks to recall, search, find, or review a previous conversation, or asks "what did we talk about", "find that conversation where...", "show me past sessions", or any request to look up prior chat history.
tools
Comprehensive guide and resources for developing Logseq plugins. Use this skill when asked to: (1) Create a new Logseq plugin, (2) Implement features using the Logseq Plugin API (Editor, App, DB, UI), (3) Debug or refactor existing Logseq plugins, (4) Set up a development environment for Logseq plugins.