create-skill

create-skill is a skill for Claude Code from mthines/agent-skills. It costs 158 tokens per session (3,556 once invoked), scanned A, original, MIT.

A toolkit for creating and maintaining add-ons that guide coding agents. It can make a new skill, check an existing one, split it into files, or investigate why it was missed.

In plain words
What is it for?
Use it to create a skill, review or upgrade one, diagnose skill-selection problems, and update the repository’s skill links and inventory.
Why use it?
It removes the need to remember the required file layout, metadata, writing practices, and repository links when maintaining agent skills.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

Part of the mthines-agent-skills plugin — 54 skills, 3 agents, 2 hooks shipped together

Good fit Use it to create a skill, review or upgrade one, diagnose skill-selection problems, and update the repository’s skill links and inventory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mthines/agent-skills/create-skill
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.

Any agent
npx skills add mthines/agent-skills --skill create-skill
Clone the repo
git clone --depth 1 https://github.com/mthines/agent-skills

Made for: Claude Code.

Or install mthines-agent-skills, the plugin that ships this one along with the rest of its 54 skills, 3 agents, 2 hooks.

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/skills/mthines/agent-skills/create-skill/github.svg)](https://agentmods.dev/skills/mthines/agent-skills/create-skill)
Your own site
<a href="https://agentmods.dev/skills/mthines/agent-skills/create-skill"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/create-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/mthines/agent-skills/create-skill"><img src="https://agentmods.dev/badge/skills/mthines/agent-skills/create-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,556 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 157
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium MCP Rug Pull · line 193
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 351
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Prompt Injection · line 294
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found 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.1 $0.00158 $0.03556
Opus 5.5 $0.00063 $0.01422
Sonnet 5.5 $0.00032 $0.00711
Haiku 4.5 $0.00016 $0.00356

Measured 1mo ago against content hash f217b4bd6afa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-skill scanned grade A with 0 findings 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate-skill.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/authoring/create-skill/SKILL.md · 272 lines

How it starts

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

Create Skill

Write a skill from what a real run of the job got wrong, harden an existing skill after it failed, and delete skills that do not earn their context. Detailed rules live in rules/*.md and templates in templates/*.md; load them on demand.


Mode Detection

Parse $ARGUMENTS (first token) and detect the mode:

Mode Default Trigger
scaffold yes Default. "create", "scaffold", "new skill", or no mode argument.
diagnose "diagnose", "why did miss this", or $0 == "diagnose".
prune "prune", "clean up my skills", "which skills are useless", or $0 == "prune".

If the user typed a path or skill name as $ARGUMENTS, treat it as the target for diagnose/prune; for scaffold it is the proposed skill name.

State the detected mode and target in one line before continuing. Example:

Mode: scaffold
Target: skills/<category>/<proposed-name>/

Scaffold Workflow (default)

Run the job first, write the skill second. Phases 0–2 do the job with no skill loaded and record every correction it needed; Phases 3–5 write a skill made of those corrections only and prove it closes them. The full procedure for Phases 0–2 is rules/run-first.md; why it beats designing the skill up front is references/run-first-rationale.md.

No one to ask. When the user said not to ask questions, or the session is headless, answer each question below yourself from the request and the run, record the answers in the ledger, and continue.

Phase Name Gate
0 Brief Task, real input, guardrails, and a definition of done that can fail
1 Run The job ran on the real input with no skill and passes its definition of done, and every correction is in the ledger — or the run was waived with a recorded reason
2 Distill Every ledger row routed; no-skill exit evaluated; name, description, and invocation settled
3 Write Every skill line traces to a ledger row, a guardrail, or the definition of done
4 Check scripts/validate-skill.mjs is PASS; wiring done when inside this repo
5 Verify A fresh run with the skill needed none of the ledger's corrections

Read the full file on GitHub · 272 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. 1mo ago Changed · -130 lines · -2 tokens per session f217b4bd6afa
  2. 2mo ago Changed · +31 lines 4d74e0a9c499
  3. 3mo ago First seen · 371 lines · 160 tokens per session scan A 11376f301436

Subscribe to this mod's changes

create-skill is a skill published in the GitHub repository mthines/agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 158 tokens to every session and 3,556 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

create-skill compared with skills from other repositories

create-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-skillmthines/agent-skillsSkill22yesterdayMITA158Claude Code
skill-bodycitrolabs/ego-liteSkill26kyesterdayMITA0Claude Code, Codex
ego-browsercitrolabs/ego-liteSkill26kyesterdayMITA125Claude Code, Codex
temporal-developertemporalio/skill-temporal-developerSkill2439d agoMITA216Claude Code, Codex
creating-explainersanalyticalmonk/explain-thisSkill241mo agoMITA98Claude Code, Codex
fact-checking-explainersanalyticalmonk/explain-thisSkill241mo agoMITA84Claude Code, Codex
explaining-codebasesanalyticalmonk/explain-thisSkill241mo agoMITA84Claude Code, Codex