create-skill

create-skill is a command for Claude Code from hackermanishackerman/claude-skills-vault. It costs 0 tokens per session (1,537 once invoked), scanned A, a copy of create-skill, MIT.

A command for creating a reusable coding-agent skill, which is a set of instructions and supporting files for a particular kind of work. It describes a workflow for planning, writing, formatting, testing, and improving that skill.

In plain words
What is it for?
Use it when starting a new skill with a SKILL.md file, scripts, references, or assets. It first asks about the skill's purpose and examples, then creates and validates its files.
Why use it?
It gives skill creation a defined structure and includes checks intended to catch incomplete or poorly formatted instructions.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/hackermanishackerman/claude-skills-vault/create-skill
Clone the repo
git clone --depth 1 https://github.com/hackermanishackerman/claude-skills-vault

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-skill

README.md
[![agentmods](https://agentmods.dev/badge/commands/hackermanishackerman/claude-skills-vault/create-skill.svg)](https://agentmods.dev/commands/hackermanishackerman/claude-skills-vault/create-skill)
Your own site
<a href="https://agentmods.dev/commands/hackermanishackerman/claude-skills-vault/create-skill"><img src="https://agentmods.dev/badge/commands/hackermanishackerman/claude-skills-vault/create-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01537
Opus 5 $0.00000 $0.00768
Sonnet 5 $0.00000 $0.00307
Haiku 4.5 $0.00000 $0.00154

Measured 3d ago against content hash 9c4567a42dcf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-skill scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(
Origin

This is a copy

100% identical to create-skill — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/create-skill.md · 252 lines

How it starts

The opening of the file, as written. The whole thing — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Skill Command

Goal: Create production-ready skills w/ validation, testing & optimization.

1. Required Skills

Use these skills during creation:

Skill Path Purpose
skill-creator .claude/skills/skill-creator/ Core creation workflow
token-formatter .claude/skills/token-formatter/ Compress SKILL.md content
md .claude/skills/document-skills/md/ Clean markdown w/o errors

2. Creation Flow

Step 1: Understand Requirements

Ask user:

  1. "What should this skill do?"
  2. "Example usage scenarios?"
  3. "Any scripts/assets needed?"

Step 2: Init Skill

python scripts/init_skill.py <skill-name> --path .claude/skills/<skill-name>

Creates:

skill-name/
├── SKILL.md
├── scripts/
├── references/
└── assets/

Step 3: Plan Resources

Analyze examples → identify:

Resource When
scripts/ Repeated code, deterministic tasks
references/ Docs, schemas, API specs
assets/ Templates, images, fonts

Step 4: Write Content

SKILL.md rules:

  • YAML frontmatter: name & description (req)
  • Imperative form ("To do X" not "You should")
  • Keep lean → move details to references/
  • Apply token-formatter compression

Writing style:

# Skill Name

Brief purpose (1-2 sentences).

## When to Use

Invoke when:
- Condition 1
- Condition 2

## Process

1. Step one
2. Step two

Step 5: Optimize

Apply token-formatter:

  • Abbreviations: fn, str, num, config, auth, db, etc.
  • Remove filler words
  • Compress tables & lists
  • Use symbols: , |, &, w/, w/o

Apply md skill:

  • Proper fence nesting (use ```` for outer)
  • Match opening/closing fences
  • Escape | in tables
  • Consistent list indentation
  • Blank lines around code blocks

3. Testing (REQUIRED)

Test Location

tests/<skill-name>/
├── test_*.py          # Python tests
├── test_*.sh          # Bash tests
├── fixtures/          # Test data
└── expected/          # Expected outputs

Read the full file on GitHub · 252 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 252 lines · 0 tokens per session scan A 9c4567a42dcf

Subscribe to this mod's changes

create-skill is a command published in the GitHub repository hackermanishackerman/claude-skills-vault (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,537 tokens. A static security scan graded it A with 1 finding (runs shell commands). It is 100% identical to create-skill, differing in 0 lines, and is treated as a copy.