create-skill

create-skill is a skill for Claude Code, Codex from KhaledSaeed18/dotclaude. It costs 65 tokens per session (1,389 once invoked), scanned A, original, MIT.

A guided process for creating a reusable skill, which is an instruction package that tells an AI coding assistant how to handle a particular job.

In plain words
What is it for?
It helps choose a category, write the skill instructions and trigger information, split long references into companion files, regenerate registries, and update the README catalogue.
Why use it?
It helps keep each skill focused, easy to trigger, and consistent with the repository's generated files and folder structure.

Skill for Claude CodeCodex

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 skills/khaledsaeed18/dotclaude/create-skill
Any agent
npx skills add KhaledSaeed18/dotclaude --skill create-skill
Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude

Made for: Claude Code, Codex.

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/khaledsaeed18/dotclaude/create-skill.svg)](https://agentmods.dev/skills/khaledsaeed18/dotclaude/create-skill)
Your own site
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/create-skill"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/create-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00065 $0.01389
Opus 5 $0.00032 $0.00694
Sonnet 5 $0.00013 $0.00278
Haiku 4.5 $0.00006 $0.00139

Measured 3d ago against content hash 8d74052519ee, 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 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 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.

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/engineering/create-skill/SKILL.md · 92 lines

How it starts

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

Create a new skill that fits this repository's conventions and earns its place: one clear job, a description that triggers reliably, a lean SKILL.md, and any heavy detail pushed into companion files. Then regenerate the derived files and validate.

This repo's source layout is skills/<category>/<name>/SKILL.md. The category is the folder, so there is no category field. Everything else (per-skill registry.json, the root registry.json, the README catalog) is generated by pnpm gen from the folder location plus the frontmatter. Never hand-edit generated files.

Hard rules: never break these

  • One skill, one job. If it needs "and" to describe it, it's probably two skills. Split rather than bloat.
  • Earn the skill. Don't create one for a single command or something a plain instruction covers. A skill is worth it when there's a reusable, multi-step procedure with judgment and rules.
  • Never hand-write registry.json (per-skill or root) or the README catalog. They are derived; run pnpm gen. Editing them by hand guarantees drift.
  • The SKILL.md body is always loaded when the skill triggers, so keep it lean. Push reference material, long tables, examples, and templates into companion files the agent reads on demand (progressive disclosure).
  • name must be globally unique and equal the folder name, kebab-case. Skills install to a flat .claude/skills/<name>/, so two skills can't share a name even across categories.
  • Don't invent a category. Reuse an existing folder unless a genuinely new family is justified (and then it's a deliberate decision, not a default).
  • Match the house voice: see reference/voice-and-structure.md. No AI/co-author mentions anywhere.

Step 1: Define the skill

Pin down before writing a line:

  • The one job it does, in a sentence.
  • The trigger: what a user says or does that should load it. This drives the description.
  • Why a skill: the reusable procedure/judgment it encodes (vs. a one-off instruction).
  • Whether it already exists: search skills/ so you extend rather than duplicate.

Read the full file on GitHub · 92 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 92 lines · 65 tokens per session scan A 8d74052519ee

Subscribe to this mod's changes

create-skill is a skill published in the GitHub repository KhaledSaeed18/dotclaude (5 stars, last pushed 2d ago), licensed MIT. It adds 65 tokens to every session and 1,389 once invoked, about $0.0003 per session on Opus 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.