skill-creator
Create new Agent Skills interactively or from templates. Use when user wants to create, generate, scaffold, or build a new skill, or mentions creating skills, writing skills, skill templates, skill development.
What this skill does
# Skill Creator Creates new Agent Skills through interactive wizard or template-based generation. A meta-skill for bootstrapping Claude Code capabilities. ## When This Skill Activates - User asks to "create a skill", "make a skill", "generate a skill", "scaffold a skill" - User mentions "skill template", "new skill", "custom skill", "skill development" - User wants to extend Claude with custom capabilities or workflows - User asks about building, authoring, or writing skills ## Workflow ### Step 1: Choose Mode Ask the user which mode they prefer: 1. **Interactive Wizard**: Guided Q&A to build a skill from scratch 2. **Template-Based**: Start from a pre-built template and customize 3. **Hybrid**: Template foundation + interactive customization ### Step 2: Gather Requirements (Interactive Mode) Ask these questions in order: 1. **Skill Name**: What should the skill be called? (kebab-case, max 64 chars) 2. **Purpose**: What does this skill do? (one sentence) 3. **Trigger Phrases**: When should Claude use this skill? (list 3-5 specific phrases users might say) 4. **Tool Permissions**: Which tools does the skill need? (Read, Write, Edit, Bash, Grep, Glob - request minimal) 5. **Skill Type**: - Simple: Single SKILL.md only - With Scripts: SKILL.md + Python/bash helper scripts - With Reference: SKILL.md + reference.md for technical docs - With Examples: SKILL.md + examples.md for use cases - Complex: All of the above 6. **Target Location**: - Personal: `~/.claude/skills/` (just for you) - Project: `.claude/skills/` (shared with team) - Standalone: Portable plugin structure (for distribution) ### Step 3: Select Template (Template Mode) Available templates in `templates/`: | Template | Purpose | Best For | |----------|---------|----------| | `pr-reviewer` | Review pull requests against standards | Teams with code review workflows | | `commit-helper` | Generate commit messages from diffs | Projects with commit conventions | | `api-caller` | Call external APIs with auth | Integrations with external services | | `code-analyzer` | Analyze code quality and patterns | Codebases needing quality checks | | `data-processor` | Process CSV/JSON data files | Data transformation workflows | ### Step 4: Generate Core Files Always generate: 1. **SKILL.md** - Complete with: - YAML frontmatter (name, description, allowed-tools) - When This Skill Activates section - Main workflow/instructions - Examples section - Troubleshooting section 2. **.claude-plugin/plugin.json** - With: - Skill name and version - Description matching SKILL.md - Author info (prompt for name/email) - License (default: MIT) 3. **README.md** - With: - Skill overview - Installation instructions - Quick start example - Requirements 4. **examples.md** (if skill type includes it) - With: - 2-3 complete usage examples - Input/output samples - Common scenarios Conditionally generate: - **scripts/** directory for automation skills - **reference.md** for technical/API skills - **templates/** for generator skills ### Step 5: Validate Before Writing Before creating files, validate: - [ ] Name is kebab-case (lowercase letters, numbers, hyphens only) - [ ] Name is <= 64 characters - [ ] Description is <= 1024 characters - [ ] Description includes specific trigger phrases - [ ] Tool permissions are minimal (don't request tools the skill won't use) - [ ] YAML frontmatter is valid (proper `---` delimiters) - [ ] File paths use forward slashes ### Step 6: Create Files Use Write tool to create files in the selected location. For target location = "standalone", create full plugin structure: ``` skill-name/ ├── SKILL.md ├── .claude-plugin/ │ └── plugin.json ├── README.md └── examples.md ``` ### Step 7: Verification After creating files, tell the user: 1. Where files were created 2. How to verify the skill works: - `What Skills are available?` should list the new skill - Test with a query matching the description 3. Next steps (edit SKILL.md to customize, test with example queries) ## Template Details ### pr-reviewer.md Reviews pull requests against team standards. Checks for common issues, provides structured feedback format, integrates with git workflow. ### commit-helper.md Generates conventional commit messages from git diffs. Supports custom commit conventions, formats summaries and body, handles commit types. ### api-caller.md Integrates with external APIs. Handles authentication (API keys, OAuth), rate limiting, error responses, request/response parsing. ### code-analyzer.md Analyzes code quality. Detects anti-patterns, suggests improvements, generates quality reports, supports multiple languages. ### data-processor.md Processes data files (CSV, JSON, YAML). Validates schemas, transforms data, handles large files, generates outputs. ## Best Practices for Generated Skills ### Description Writing - Start with "Use when..." for clarity - Include 3-5 specific trigger scenarios - Mention what makes this skill unique - Keep under 1024 characters ### Tool Permissions - Request only necessary tools - Use specific constraints (e.g., `Bash(python:*)`) - Explain why each tool is needed ### Progressive Disclosure - Keep SKILL.md focused (under 500 lines) - Reference supporting files for deep details - Don't duplicate content across files ## Common Patterns ### Skill with Scripts When a skill needs helper scripts: ```markdown ## Utility Scripts This skill includes helper scripts for complex operations: ```bash # Validate input python scripts/validate.py input.txt # Transform data python scripts/transform.py input.csv output.json ``` ``` ### Skill with Reference For technical/API skills, reference detailed docs: ```markdown ## Technical Reference For complete API details, see [reference.md](reference.md). ``` ### Skill with Environment Variables If the skill needs environment setup: ```markdown ## Requirements Set these environment variables: - `API_KEY`: Your service API key - `ENDPOINT`: API endpoint URL Install dependencies: ```bash pip install requests pydantic ``` ``` ## Troubleshooting ### Skill Not Appearing - Verify SKILL.md path is correct - Check YAML frontmatter is valid - Run `claude --debug` to see loading errors ### Description Not Triggering - Add more specific trigger phrases - Include keywords users would naturally say - Test with different query phrasings ### Validation Errors - Check name is kebab-case only - Verify description length < 1024 chars - Ensure YAML has proper `---` delimiters ## Examples See [examples.md](examples.md) for complete walkthroughs of creating skills in each mode.
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.