skill-creator
Original:🇺🇸 English
Translated
4 scripts
Create, improve, and audit AI agent skills. Applies 14 proven structural patterns, scores quality with deterministic audit, manages full lifecycle. Use when building, refactoring, or reviewing skills. NOT for agents, MCP servers, or running existing skills.
3installs
Sourcewyattowalsh/agents
Added on
NPX Install
npx skill4agent add wyattowalsh/agents skill-creatorTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Skill Creator
Create, improve, and audit AI agent skills. Every skill follows 14 proven structural patterns.
Scope: Skills only. NOT for creating agents (), building MCP servers (), or running existing skills. This repo uses raw format committed directly to .
wagents new agent/mcp-creatorSKILL.mdskills/Dispatch
| $ARGUMENTS | Action | Example |
|---|---|---|
| Develop (new) | |
| Develop (new, from exemplar) | |
| Develop (existing) | |
| Audit | |
| Audit All | |
| Dashboard | |
| Package | |
| Natural language skill idea | Auto: Develop (new) | |
| Skill name + modification verb | Auto: Develop (existing) | |
| Path to SKILL.md | Auto: Develop (existing) | |
| "MCP server" / "agent" / "run" | Refuse + redirect | — |
| Empty | Gallery | |
Auto-Detection Heuristic
If no explicit mode keyword is provided:
- Path ending in or directory under
SKILL.md→ Develop (existing)skills/ - Existing skill name + modification verb (improve, refactor, enhance, update, fix, rewrite, optimize, polish, revise, change) → Develop (existing)
- in arguments → Develop (new, from exemplar)
--from <source> - New capability description ("I want to build...", "tool that...", "skill for...") → Develop (new) — derive name, confirm before scaffolding
- "MCP server", "agent", "run" → refuse gracefully and redirect
- Ambiguous → ask the user which mode they want
Quick Start
bash
wagents new skill <name> # Scaffold from template
wagents validate # Check all skills
uv run python skills/skill-creator/scripts/audit.py skills/<name>/ # Score quality
wagents package <name> # Package as portable ZIPSkill Development
Unified process for creating new skills and improving existing ones. Load for the full procedure.
references/workflow.md| Step | New Skill | Existing Skill |
|---|---|---|
| 1. Understand | Define use cases, scope, patterns | Audit + understand user's intent |
| 2. Plan | Structure, description, frontmatter | Gap analysis + improvement plan (approval gate) |
| 3. Scaffold | | Skip |
| 4. Build | Write/edit body, references, scripts, templates, evals | Same |
| 5. Validate | | Same |
| 6. Iterate | Test, identify issues, loop to Step 4 | Same |
Audit
Score a skill using deterministic analysis + AI review. Load .
references/audit-guide.mdAudit All
Comparative ranking of all repository skills. Load § Audit All.
references/audit-guide.mdDashboard
Render visual creation process monitor or audit quality dashboard. Load § Dashboard.
references/audit-guide.mdAuto-detects mode from data: field → process monitor; array → audit overview.
phasesskillsGallery (Empty Arguments)
Present skill inventory with scores and available actions.
Run , display results, offer mode menu.
uv run python skills/skill-creator/scripts/audit.py --all --format tablePackage
Package skills into portable ZIP files for Claude Code Desktop import. Load for ZIP structure, manifest schema, portability checks, and cross-agent compatibility.
references/packaging-guide.mdbash
wagents package <name> # Single skill → <name>-v<version>.skill.zip
wagents package --all # All skills → dist/ with manifest.json
wagents package --all --dry-run # Check portability without creating ZIPsHooks
PreToolUse hooks intercept tool calls during skill execution. The frontmatter field scopes hooks to this skill only — they activate when the skill is loaded and deactivate when it completes.
hooks:State Management
Creation progress persists at . Read/write via . Survives session restarts. Use to override the default location.
~/.claude/skill-progress/<name>.jsonscripts/progress.py--state-dirReference File Index
| File | Content | Read When |
|---|---|---|
| Unified 6-step skill development process for new and existing skills | Develop (new), Develop (existing) |
| Audit procedure, Audit All, Dashboard rendering, Gallery, grade thresholds | Audit, Audit All, Dashboard, Gallery |
| 14 structural patterns with examples from repo skills | Step 4 (Build), gap analysis |
| Anthropic guide + superpowers methodology + cross-agent awareness | Step 2 (Plan), Step 4 (Build), description writing |
| Full field catalog, invocation matrix, decision tree | Step 3 (Scaffold), frontmatter configuration |
| ZIP structure, manifest schema, portability checks, import instructions | Package |
| 11 scoring dimensions, grade thresholds, pressure testing | Audit (pressure testing), scoring targets |
Read reference files as indicated by the "Read When" column above. Do not rely on memory or prior knowledge of their contents.
Core Principles
Conciseness is respect — The context window is shared. Every line competes with the agent's working memory. Earn every line or delete it.
Progressive disclosure — Frontmatter for discovery (~100 tokens), body for dispatch (<5K tokens), references for deep knowledge (on demand), scripts/templates for execution (never loaded).
Self-exemplar — This skill follows every pattern it teaches. When in doubt, look at how skill-creator applies it.
Critical Rules
- Run before declaring any skill complete
uv run wagents validate - Run after every significant SKILL.md change
uv run python skills/skill-creator/scripts/audit.py - Never create a skill without a dispatch table — it is the routing contract
- Never create a dispatch table without an empty-args handler — unrouted input is a bug
- Every reference file must appear in the Reference File Index — orphan refs are invisible
- Every indexed reference must exist on disk — phantom refs cause agent errors
- Body must stay under 500 lines (below frontmatter) — move detail to references
- Description must include "Use when" trigger phrases AND "NOT for" exclusions
- Names must be kebab-case, 2-64 chars, no consecutive hyphens, no reserved words
- Scripts use argparse + JSON to stdout — no custom output formats
- Templates are self-contained HTML with no external dependencies
- Do NOT call — delegate to docs-steward
wagents docs generate - Do NOT create agents or MCP servers — refuse gracefully and redirect
- Improving existing skills requires presenting an improvement plan and getting user approval before implementing changes
- Audit mode is read-only — never modify the skill being audited
- Update evals when dispatch behavior or modes change — stale evals are invisible bugs
Canonical terms (use these exactly throughout):
- Modes: "Develop (new)", "Develop (existing)", "Audit", "Audit All", "Dashboard", "Package", "Gallery"
- Steps (Development): "Understand", "Plan", "Scaffold", "Build", "Validate", "Iterate"
- Grade scale: "A" (90+), "B" (75-89), "C" (60-74), "D" (40-59), "F" (<40)
- Patterns: "dispatch-table", "reference-file-index", "critical-rules", "canonical-vocabulary", "scope-boundaries", "classification-gating", "scaling-strategy", "state-management", "scripts", "templates", "hooks", "progressive-disclosure", "body-substitutions", "stop-hooks"
- Audit dimensions: "frontmatter", "description", "dispatch-table", "body-structure", "pattern-coverage", "reference-quality", "critical-rules", "script-quality", "portability", "conciseness", "canonical-vocabulary"