Our review
This skill guides the user in creating new custom skills for Claude Code, including file structure, skill.md format, and secret handling.
Strengths
- Clearly explains directory structure and skill.md format.
- Includes security best practices for API keys.
- Supports helper scripts (Python, shell).
- Step-by-step guidance with concrete examples.
Limitations
- Does not cover dependency management or virtual environments.
- Created skills only work within Claude Code, not other tools.
- No built-in testing or debugging features.
Use this skill when you want to create a custom skill, slash command, or automation for Claude Code.
Do not use this skill if you need to create a plugin or integration for a tool other than Claude Code.
Security analysis
SafeThe skill provides instructional content on creating new skills; it does not instruct the AI to execute any commands that would be destructive, exfiltrate data, or bypass safety features. It explicitly advises against reading secrets from files, promoting secure practices.
No concerns found
Examples
Create a Claude Code skill called 'greet' that prints a friendly greeting.I want a skill that generates an image using Python. Set it up with a script in the scripts folder.Create a skill called 'weather' that fetches weather data using an API key. Make sure to document the env variable.name: skill-creator description: Create new Claude Code skills. Use when the user wants to create a custom skill, slash command, or automation. argument-hint: <skill-name> [description]
Skill Creator
Help users create new Claude Code skills.
Skill Structure
Skills live in ~/.claude/skills/<skill-name>/ with this structure:
~/.claude/skills/
<skill-name>/
skill.md # Required: skill definition
scripts/ # Optional: helper scripts
script.py
script.sh
skill.md Format
---
name: skill-name
description: Short description for Claude to know when to use this skill.
argument-hint: <arg1> [optional-arg] # Optional: shown in /help
allowed-tools: Bash(pattern), Read # Optional: restrict tool access
---
# Skill Title
Instructions for Claude when this skill is invoked.
## Usage
Document how to use the skill.
## Examples
Show example invocations.
Frontmatter Fields
| Field | Required | Description |
| --------------- | -------- | -------------------------------------- |
| name | Yes | Skill identifier (lowercase, hyphens) |
| description | Yes | When Claude should use this skill |
| argument-hint | No | Usage hint shown in /help |
| allowed-tools | No | Restrict which tools the skill can use |
Handling Secrets
Never try to read secrets from files. If a skill requires an API key or secret:
- Document the required environment variable in the skill
- If the secret is missing, tell the user to:
- Set the environment variable (e.g.,
export API_KEY=xxx) - Restart Claude Code
- Set the environment variable (e.g.,
- Never attempt to read
.env,.zshrc.secret, or similar files
Example section for skills needing secrets:
## API Key
**Do not try to read secrets from files.** If the API key is not available, ask the user to:
1. Set the `YOUR_API_KEY` environment variable
2. Restart Claude Code
Creating the Skill
When the user asks to create a skill:
-
Ask clarifying questions if needed:
- What should the skill do?
- Does it need external APIs? (if so, which env var?)
- Should it have helper scripts?
-
Create the directory:
mkdir -p ~/.claude/skills/<name> -
Write
skill.mdwith:- Clear frontmatter
- Concise instructions
- Usage examples
- Secret handling (if applicable)
-
Create helper scripts in
scripts/if needed -
Test the skill by invoking it:
/<skill-name>
Examples
Simple skill (no scripts):
~/.claude/skills/greet/skill.md
Skill with Python script:
~/.claude/skills/image-gen/
skill.md
scripts/
generate.py
Skill with API key:
## API Key
**Do not try to read secrets from files.** If missing, ask user to:
1. Set `OPENAI_API_KEY` environment variable
2. Restart Claude Code
Instructions
When creating a skill:
- Confirm the skill name and purpose with the user
- Create
~/.claude/skills/<name>/skill.md - Add helper scripts if needed
- Inform user the skill is ready to use with
/<name>
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.