create-skill
Scaffolds new Claude Code skills with proper YAML frontmatter and file structures.
Install
mkdir -p .claude/skills/create-skill-shawnrushefsky && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12376" && unzip -o skill.zip -d .claude/skills/create-skill-shawnrushefsky && rm skill.zipInstalls to .claude/skills/create-skill-shawnrushefsky
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create new Claude Code skills. Use when the user wants to create a skill, make a skill, add a skill, write a skill, or build a skill for Claude Code.Key capabilities
- →Determine the scope of the skill (personal or project-level).
- →Create the necessary directory structure for a new skill.
- →Write the SKILL.md file with required YAML frontmatter.
- →Include optional frontmatter fields like `allowed-tools` and `model`.
- →Follow naming rules for skill directories and files.
- →Bundle utility scripts in a `scripts/` subdirectory.
How it works
The skill guides the user through defining the skill's scope, creating its directory and SKILL.md file, and populating it with required frontmatter and content following specific naming and best practices.
Inputs & outputs
When to use create-skill
- →Creating new AI skills
- →Adding project-specific tools
- →Standardizing AI assistant instructions
About this skill
Creating Claude Code Skills
Overview
Skills are reusable instruction sets that extend Claude Code's capabilities. They're stored as SKILL.md files with YAML frontmatter and Markdown instructions.
Skill Locations
| Type | Path | Scope |
|---|---|---|
| Personal | ~/.claude/skills/ | Available across all projects |
| Project | .claude/skills/ | Shared with team in repository |
Instructions
When creating a skill:
-
Determine scope: Ask if the skill should be personal (
~/.claude/skills/) or project-level (.claude/skills/) -
Create directory structure:
.claude/skills/<skill-name>/ └── SKILL.md -
Write the SKILL.md file with required frontmatter:
--- name: skill-name description: What this skill does. Use when [trigger conditions]. --- # Skill Name ## Instructions Step-by-step guidance... ## Examples Concrete examples...
Required Frontmatter Fields
| Field | Description |
|---|---|
name | Lowercase, hyphens allowed, max 64 chars |
description | What it does and when to use it (max 1024 chars) |
Optional Frontmatter Fields
| Field | Description |
|---|---|
allowed-tools | Comma-separated list of tools (e.g., Read, Grep, Glob, Bash) |
model | Specific Claude model to use |
Naming Rules
- Use only lowercase letters, numbers, and hyphens
- Directory name should match the skill name
- File must be exactly
SKILL.md(case-sensitive)
Best Practices
- Write trigger-focused descriptions: Include keywords users would naturally say
- Keep SKILL.md under 500 lines: Use progressive disclosure for detailed content
- Include concrete examples: Show exactly how the skill should behave
- Link supporting files: If you need reference material, put it in separate
.mdfiles and link from SKILL.md - Bundle utility scripts: Place helper scripts in a
scripts/subdirectory
Example: Simple Skill
---
name: commit-message
description: Generate commit messages from staged changes. Use when writing commits or reviewing diffs.
---
# Commit Message Generator
## Instructions
1. Run `git diff --staged` to see changes
2. Create a commit message with:
- Summary under 50 characters (imperative mood)
- Blank line
- Detailed description of what and why
## Example Output
Add user authentication middleware
Implement JWT-based authentication that validates tokens on protected routes. Includes refresh token support and automatic token renewal.
Example: Multi-File Skill
api-testing/
├── SKILL.md
├── PATTERNS.md
└── scripts/
└── mock_server.py
SKILL.md:
---
name: api-testing
description: Test REST APIs with mocking and assertions. Use when testing endpoints or writing API tests.
allowed-tools: Read, Write, Bash
---
# API Testing
## Quick Start
...
For common patterns, see [PATTERNS.md](PATTERNS.md).
After Creating
Remind the user to restart Claude Code or start a new conversation for the skill to be available.
When not to use it
- →When the user wants to use an existing skill.
- →When the user needs to modify an existing skill without creating a new one.
Limitations
- →The skill name must be lowercase, use hyphens, and have a maximum of 64 characters.
- →The skill description has a maximum length of 1024 characters.
- →The SKILL.md file must be exactly `SKILL.md` (case-sensitive).
How it compares
This skill provides a structured, step-by-step process for creating new Claude Code skills, including specific file structures, frontmatter requirements, and best practices, unlike manually writing a markdown file.
Compared to similar skills
create-skill side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| create-skill (this skill) | 0 | 7mo | No flags | Beginner |
| autonomous-agent-patterns | 4 | 6mo | Review | Intermediate |
| agent-orchestration-improve-agent | 4 | 3mo | No flags | Advanced |
| skill-generator | 4 | 4mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
autonomous-agent-patterns
davila7
Design patterns for building autonomous coding agents. Covers tool integration, permission systems, browser automation, and human-in-the-loop workflows. Use when building AI agents, designing tool APIs, implementing permission systems, or creating autonomous coding assistants.
agent-orchestration-improve-agent
sickn33
Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.
skill-generator
catlog22
Meta-skill for creating new Claude Code skills with configurable execution modes. Supports sequential (fixed order) and autonomous (stateless) phase patterns. Use for skill scaffolding, skill creation, or building new workflows. Triggers on "create skill", "new skill", "skill generator".
workflow-skill-designer
catlog22
Meta-skill for designing orchestrator+phases structured workflow skills. Creates SKILL.md coordinator with progressive phase loading, TodoWrite patterns, and data flow. Triggers on "design workflow skill", "create workflow skill", "workflow skill designer".
blockrun
davila7
Use when user needs capabilities Claude lacks (image generation, real-time X/Twitter data) or explicitly requests external models ("blockrun", "use grok", "use gpt", "dall-e", "deepseek")
autonomous-loops
klu-dev
Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.