skill-maker
Create, audit, or consolidate agent skills following the Agent Skills open standard (agentskills.io). Interviews the user relentlessly about intent, scope, and edge cases before drafting. Covers SKILL.md structure, frontmatter, progressive disclosure, description optimization, script bundling, sub-command architecture, setup gates, context systems, and review. Use when the user wants to create a skill, write a skill, build a new skill, make a skill, draft a SKILL.md, or mentions "skill-maker". Also use when asked to review a skill, audit a SKILL.md, check why a skill never triggers, improve an existing skill, or fix a skill. Also use when asked to package expertise, workflows, or domain knowledge into a reusable skill. Also use when asked to consolidate skills, merge skills, combine skills, reduce skill count, or refactor multiple skills into one.
What this skill does
<intake> # Create, Audit, or Consolidate Skills Create agent skills following the [Agent Skills open standard](https://agentskills.io/specification). What do you need to do? 1. **Audit an existing skill** — Review, improve, or debug a SKILL.md 2. **Create a new skill** — Interview, draft, and review from scratch 3. **Consolidate skills** — Merge multiple skills into fewer **Wait for response before proceeding.** </intake> <routing> | Response | Workflow | |----------|----------| | 1, "audit", "review", "check", "fix", "improve" | Audit Workflow (Step 1–4 in this file) | | 2, "create", "write", "build", "new", "draft" | Phases 1–5 (Interview → Draft → Description → Scripts → Review) in this file | | 3, "consolidate", "merge", "combine" | `references/consolidation-guide.md` — return to Phase 5 for final checklist | </routing> ## Audit Workflow Use this workflow when reviewing, improving, or debugging an existing skill. ### Step 1: Locate and read the skill Read the full SKILL.md and list all files in the skill directory (`references/`, `scripts/`, `templates/`, `assets/`). ### Step 2: Run the audit checklist Check each category. Note issues as you go. **Frontmatter:** - [ ] `name` matches the directory name, lowercase+hyphens, max 64 chars - [ ] `description` is under 1024 chars, non-empty, third person - [ ] `description` includes trigger phrases (not just a summary of what the skill does) - [ ] `description` covers edge phrasings users would actually say **Structure:** - [ ] SKILL.md body is under 500 lines - [ ] Essential principles are inline in SKILL.md (not only in a reference file) - [ ] All referenced files exist (check every path in the SKILL.md) - [ ] References are one level deep (no nested chains: A → B → C) **Content quality:** - [ ] No rigid ALWAYS/NEVER rules without reasoning (explain WHY) - [ ] No explanations of things the agent already knows from training - [ ] Steps are specific and verifiable (not "handle errors appropriately") - [ ] Success criteria are observable and testable - [ ] Examples use fake data where appropriate **Router pattern** (if applicable): - [ ] Intake question asks what the user wants before routing - [ ] Router table maps commands to reference files - [ ] All referenced workflow/reference files exist - [ ] Essential principles are in SKILL.md, not only in sub-command references - [ ] If skill has multiple semantic sections, consider XML tags for structure (see `references/xml-structure-guide.md`) **Scripts** (if present): - [ ] Scripts have shebangs, `--help`, and structured output - [ ] No interactive prompts (all input via flags/env/stdin) - [ ] Cross-platform paths (pathlib, no hardcoded separators) - [ ] Error messages explain what went wrong and what to do Read `references/anti-patterns.md` for the full catalog of common failures. ### Step 3: Generate the report Present findings grouped by severity: 1. **Critical** — skill won't trigger or produces wrong output 2. **Important** — structural issues, missing files, spec violations 3. **Minor** — style, conciseness, optimization opportunities For each finding, state the issue, cite the specific line or section, and recommend a fix. ### Step 4: Offer fixes Ask the user which findings to fix. Apply changes surgically — don't rewrite sections that aren't broken. Run the Phase 5 review checklist on the modified skill before finishing. ## Phase 1: Interview Interview the user about every aspect of this skill until reaching shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer. ### Interview cadence Ask **one question at a time**. Wait for the answer before asking the next. Adapt follow-ups based on what you learn. Each question should provide clear benefit toward building a better skill — cut questions the codebase can answer for you. If a question can be answered by exploring the codebase, explore the codebase instead of asking. Focus areas, roughly in order: 1. **Purpose and audience.** What task does this skill cover? What specific problem does it solve? What does the user do today without it? 2. **Scope boundaries.** What should this skill NOT do? What adjacent tasks belong to other skills? 3. **Input/output.** What does the user provide? What does the skill produce? Specific formats? 4. **Edge cases.** What goes wrong? Common mistakes? Gotchas for new users? 5. **Success criteria.** How do you know the skill worked correctly? 6. **What can be scripted?** Look for deterministic operations that should be code, not LLM instructions. Scripts are cheaper, faster, and more reliable. 7. **References needed?** Domain knowledge too large for SKILL.md that should live in separate files? 8. **Existing patterns.** Similar skills or workflows to draw from? Check the codebase. 9. **Platform constraints.** macOS, Windows, and Linux? Scripts must handle path separators, temp directories, and shell differences. 10. **External services and APIs.** Does the skill call external APIs or services? If yes, read `references/api-skill-patterns.md` — it covers credential handling, schema discovery, instance-specific values, and error placement. ### Architecture decision tree After the interview questions above, decide the architecture. Most skills are simple — only escalate when the answers demand it. **Question 1: How many distinct things can a user want to do?** - One specific thing → **Simple skill** (single SKILL.md, under 200 lines) - Multiple things with shared principles → continue to Q2 **Question 2: Is there shared domain knowledge across those operations?** - No, each operation is self-contained → **Simple skill** (or multiple separate simple skills) - Yes, multiple operations share knowledge → **Router skill** (SKILL.md + `references/`) **Question 3: Does it cover a full lifecycle (build, debug, test, ship)?** - No → **Router skill** is sufficient - Yes → **Domain expertise skill** (exhaustive references, full lifecycle workflows) | What you're building | Pattern | |---|---| | "A skill that commits with a conventional message" | Simple | | "A skill that manages PRs — create, review, merge, close" | Router | | "A skill for building and shipping macOS apps" | Domain expertise | | "A skill that audits other skills" | Simple (upgrade to Router if it grows) | For Router and Domain expertise patterns, also ask: - **Does the skill need project-level context?** If every command needs the same background, design a context file pattern with a loader script. - **Are there mandatory setup gates?** Steps that must pass before any work begins. Gates prevent generic output. - **Does behavior vary by task type?** If so, design a register/mode system that classifies the task first, then loads different references. Read `references/architecture-patterns.md` for implementation details of each pattern. **Consolidation signal check:** If the interview reveals the new skill overlaps significantly with existing skills (shared scripts, cross-references, linear pipeline), consider consolidating instead of creating. Read `references/consolidation-guide.md` for the signals and workflow. Do not proceed to Phase 2 until the user confirms the scope is complete. ## Phase 2: Draft the SKILL.md Write the skill following the spec. Read `references/spec-guide.md` for the full format reference before drafting. **Starter templates:** Use `templates/simple-skill.md` for single-purpose skills, `templates/router-skill.md` for multi-command skills using markdown headings, or `templates/router-skill-xml.md` for multi-command skills using XML structure. Copy the template as a starting point, then customize. ### Frontmatter ```yaml --- name: skill-name # lowercase, hyphens, max 64 chars description: | # max 1024 chars — this is the ONLY triggering mechanism What the skill does. Use when [specific triggers]. Also use when [ad
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.