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.
Create, improve, and audit AI agent skills. Every skill follows 14 proven structural patterns.
Scope: Skills only. NOT for creating agents (use agent-conventions), building MCP servers (/mcp-creator), or running existing skills. This repo uses raw SKILL.md format committed directly to skills/.
| $ARGUMENTS | Action | Example |
| ----------------------------------- | ---------------------------- | -------------------------------------------------- |
| create <name> / new <name> | Develop (new) | /skill-creator create my-analyzer |
| create <name> --from <source> | Develop (new, from exemplar) | /skill-creator create my-analyzer --from wargame |
| improve <name> / improve <path> | Develop (existing) | /skill-creator improve design |
| plan <name> / plan <path> | Plan (existing) | /skill-creator plan review |
| plan --all / plan repo | Plan (repo-wide) | /skill-creator plan --all |
| audit <name> | Audit | /skill-creator audit review |
| audit <name> --security | Security Audit | /skill-creator audit review --security |
| audit --all | Audit All | /skill-creator audit --all |
| eval <name> | Eval | /skill-creator eval review |
| benchmark <name> | Benchmark | /skill-creator benchmark review |
| compare <old> <new> | Compare | /skill-creator compare review-v1 review-v2 |
| optimize-description <name> | Optimize Description | /skill-creator optimize-description review |
| dashboard | Dashboard | /skill-creator dashboard |
| package <name> / package --all | Package | /skill-creator package wargame |
| example-blocks <name> | Example Blocks | /skill-creator example-blocks review |
| Natural language skill idea | Auto: Develop (new) | "tool that audits Python type safety" |
| Skill name + modification verb | Auto: Develop (existing) | "refactor the wargame skill" |
| Path to SKILL.md | Auto: Develop (existing) | skills/wargame/SKILL.md |
| "MCP server" / "agent" / "run" | Refuse + redirect | — |
| Empty | Gallery | /skill-creator |
If no explicit mode keyword is provided:
SKILL.md or directory under skills/ → Develop (existing)--from <source> in arguments → Develop (new, from exemplar)uv run python skills/skill-creator/scripts/scaffold_skill.py <name> # Scaffold from template
uv run python scripts/check.py # Validate from skill directory
uv run python skills/skill-creator/scripts/audit.py skills/<name>/ # Score quality
uv run python skills/skill-creator/scripts/package.py skills/<name>/ --dry-run # Portability check
Unified process for creating new skills and improving existing ones. Load references/workflow.md for the full procedure.
| 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 | scaffold_skill.py <name> | Skip |
| 4. Build | Write/edit body, references, scripts, templates, evals | Same |
| 5. Validate | scripts/check.py + audit.py | Same |
| 6. Iterate | Test, identify issues, loop to Step 4 | Same |
Use maximum verified independence, not maximum agent count. Load references/orchestration-graph.md for the full graph contract.
| Scope | Strategy | Parallelism | |-------|----------|-------------| | Small | Single-skill edit: inline sequential edit + validation | Lead only | | Medium | Single-skill multi-surface edit: stabilize body contract, then split references/evals/scripts by owned file | 2-5 disjoint lanes | | Large | Skill cluster or repo-wide plan: inventory, rank, shard by skill or surface, add judge lane | One worker per owned shard | | Large | Public workflow/schema/tooling change: OpenSpec first, then workers behind explicit dependencies | Spec, implementation, verifier, docs-steward lanes | | Large | Behavioral eval/benchmark program: static gates first, then opt-in eval runner/report lanes | Trigger, output, safety, report, judge lanes |
Every lane must define inputs, owned paths, output artifact, validation command, and accounting state before dispatch. Same-file edits, generated docs, hooks, packaging semantics, and schema decisions are serialized unless an explicit lock/arbiter protocol exists.
Use plan <name> for an existing-skill refinement plan without editing and plan --all or plan repo for a ranked repo-wide planning pass.
Required planning output:
For repo-wide planning, produce a ranked queue plus one standalone refinement plan per promoted skill or skill cluster. Do not edit any skill until the user approves the plan.
Load references/refinement-plan.md when producing the standalone refinement-plan packet.
Score a skill using deterministic analysis + AI review. Load references/audit-guide.md.
Audit a skill as an executable supply-chain asset. Load references/security-governance.md.
Required output:
low, medium, high, or blockedSecurity Audit is read-only. Do not install third-party skills, run untrusted scripts, or modify the audited skill.
Comparative ranking of all repository skills. Load references/audit-guide.md § Audit All.
Behavioral proof complements static audit scoring. Load references/evidence-and-benchmarking.md.
| Mode | Purpose | |------|---------| | Eval | Review or author trigger, output, regression, safety, and portability eval cases | | Benchmark | Plan or run opt-in with-skill vs without-skill measurement for a skill | | Compare | Plan or run opt-in old-skill vs new-skill measurement for an improvement | | Optimize Description | Test trigger and near-miss negative queries, then revise the description from evidence |
Default to read-only planning unless the user explicitly approves live eval runs and the target workspace. Store behavioral run artifacts outside committed skills/ source.
Render visual creation process monitor or audit quality dashboard. Load references/audit-guide.md § Dashboard.
Auto-detects mode from data: phases field → process monitor; skills array → audit overview.
Present skill inventory with scores and available actions.
Run uv run python scripts/audit.py --all --format table, display results, offer mode menu.
Package skills into portable ZIP files for Claude Code Desktop import. Load references/packaging-guide.md for ZIP structure, manifest schema, portability checks, and cross-agent compatibility.
uv run python skills/skill-creator/scripts/package.py skills/<name>/ --dry-run # Check before emitting a ZIP
uv run python skills/skill-creator/scripts/package.py skills/<name>/ # Single skill → <name>-v<version>.skill.zip
Generate Empty/Help Gallery example bullets from an existing dispatch table.
uv run python skills/skill-creator/scripts/generate_example_blocks.py <name> # Preview block
uv run python skills/skill-creator/scripts/generate_example_blocks.py <name> --apply # Append when missing
Use this mode after the dispatch table stabilizes and before publishing the skill. Do not append duplicate ## Example Blocks sections.
This portable skill source does not embed skill-scoped hooks frontmatter. Repo-managed hook policy lives in config/hook-registry.json and is projected into supported harness settings by the repository sync/rendering workflow.
Runtime-projected hook enforcement for this skill should preserve these behaviors:
SKILL.md edits trigger validate_skill.pyevals/*.json edits trigger validate_evals.pyvalidate_hooks.pystop_hook_active: true to avoid recursive loopsPackaged skills must not depend on repo-root commands such as uv run python scripts/verify.py .... Keep executable hook commands in runtime-specific config, not in portable skill frontmatter.
Creation progress persists at ~/.{gemini|copilot|codex|claude}/skill-progress/<name>.json. Read/write via scripts/progress.py. Survives session restarts. Use --state-dir to override the default location.
| File | Content | Read When |
| --------------------------------- | ------------------------------------------------------------------------------------ | -------------------------------------------------- |
| references/workflow.md | Unified skill lifecycle process for new and existing skills | Develop (new), Develop (existing), Eval, Benchmark |
| references/refinement-plan.md | Standalone refinement-plan contract for existing-skill and repo-wide planning output | Plan (existing), Plan (repo-wide) |
| references/audit-guide.md | Audit procedure, Audit All, Dashboard rendering, Gallery, grade thresholds | Audit, Audit All, Dashboard, Gallery |
| references/proven-patterns.md | 14 structural patterns with examples from repo skills | Step 4 (Build), gap analysis |
| references/best-practices.md | Anthropic guide + superpowers methodology + cross-agent awareness | Step 2 (Plan), Step 4 (Build), description writing |
| references/frontmatter-spec.md | Full field catalog, invocation matrix, decision tree | Step 3 (Scaffold), frontmatter configuration |
| references/packaging-guide.md | ZIP structure, manifest schema, portability checks, import instructions | Package |
| references/evaluation-rubric.md | 13 weighted scoring dimensions normalized to 100, grade thresholds, pressure testing | Audit (pressure testing), scoring targets |
| references/evidence-and-benchmarking.md | Lifecycle packet, behavioral evals, benchmark artifacts, trigger optimization | Eval, Benchmark, Compare, Optimize Description |
| references/security-governance.md | Threat model, third-party intake, permission posture, hook/script safety | Security Audit, Step 2 (Plan), Package |
| references/runtime-compatibility.md | Portable and runtime-specific fields, install paths, graceful degradation | Step 3 (Scaffold), Package, Security Audit |
| references/orchestration-graph.md | Parallel lane graph, ownership, accounting, locks, judge layer | Scaling Strategy, repo-wide plans |
Read reference files as indicated by the "Read When" column above. Do not rely on memory or prior knowledge of their contents.
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.
Run from this skill directory before declaring changes complete:
uv run python scripts/check.py
Completion criteria:
uv run python scripts/check.py exits 0.uv run python scripts/check.py from the target skill directory before declaring any skill completeuv run python scripts/check.py after changing evals and before declaring the skill completeuv run python scripts/audit.py after every significant SKILL.md changeplan <name> and plan --all are read-only planning modes — never edit during planningstop_hook_active guard — recursive hook loops are implementation bugsneeds-evidencewithout_skill or old_skill before claiming behavioral improvementCanonical terms (use these exactly throughout):
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer