skill-to-command

skill-to-command is a command for Claude Code from chris-dare-dev/agent-kit. It costs 145 tokens per session (5,567 once invoked), scanned A, original, MIT.

A command that converts a multi-phase skill into a slash command supported by several subagents and stored agent memory. A slash command is an instruction invoked with a name such as /roadmap.

In plain words
What is it for?
Use it on an existing skill file to create the command and supporting agents, with options to skip review or make a dry run without committing.
Why use it?
It gives growing skills a repeatable structure for delegated work and persistent state across runs.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; names the TodoWrite tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash data/scripts/claude-md-copy-lint.sh || diff "$WS/CLAUDE.md" "data/claude-md/workspace-root.md".

Good fit Use it on an existing skill file to create the command and supporting agents, with options to skip review or make a dry run without committing.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/chris-dare-dev/agent-kit
agentmods
npx agentmods add commands/chris-dare-dev/agent-kit/skill-to-command

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 skill-to-command

README.md
[![agentmods](https://agentmods.dev/badge/commands/chris-dare-dev/agent-kit/skill-to-command/github.svg)](https://agentmods.dev/commands/chris-dare-dev/agent-kit/skill-to-command)
Your own site
<a href="https://agentmods.dev/commands/chris-dare-dev/agent-kit/skill-to-command"><img src="https://agentmods.dev/badge/commands/chris-dare-dev/agent-kit/skill-to-command/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 skill-to-command

Your own site · 80×15
<a href="https://agentmods.dev/commands/chris-dare-dev/agent-kit/skill-to-command"><img src="https://agentmods.dev/badge/commands/chris-dare-dev/agent-kit/skill-to-command.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,567 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.
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.00145 $0.05567
Opus 5.5 $0.00058 $0.02227
Sonnet 5.5 $0.00029 $0.01113
Haiku 4.5 $0.00015 $0.00557

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

Security

Grade A, and why

skill-to-command 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.

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.

data/commands/skill-to-command.md · 364 lines

How it starts

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

/skill-to-command — Skill→Command conversion orchestrator

Refactor an existing skill at data/skills/<name>/SKILL.md into the canonical slash-command + memory-bearing subagents pattern (the shape used by /milestone-pipeline, /spike, /roadmap).

Arguments: $ARGUMENTS — parse as <skill-name> [--skip-review] [--dry-run]

  • <skill-name> — required. Must exist at data/skills/<name>/SKILL.md. If empty or absent, STOP and ask: "Which skill do you want to convert? (must exist at data/skills/<name>/SKILL.md)"
  • --skip-review — skip Turn 3 adversarial review. Use only for trivial conversions where the author is confident. Default is to always run the reviewer.
  • --dry-run — author all files but do NOT commit. Useful for sanity-checking the conversion before staging.

When to use / When NOT to use

Convert with /skill-to-command Keep as a skill
Skill body has 3+ phases that each dispatch sub-work Single-step skill (one prompt → one output)
Skill is >200 lines and growing Skill is <100 lines and stable
Skill needs persistent memory across runs Skill is purely stateless reference material
Skill currently uses TodoWrite to track multi-step state Skill is a one-shot helper
Skill needs parallel agent dispatch in one of its phases Skill is sequential by nature

Key signal: if the skill body has Phase 1 / Phase 2 / Phase 3 / Phase 4 sections, parallel agent dispatch, or state.json, it is a candidate. If it has none of those, leave it as a skill — the conversion overhead is not worth it.


Inputs / outputs

Input Source
Skill body data/skills/<name>/SKILL.md
Subdirectory references data/skills/<name>/references/*.md (if present)
Subdirectory scripts data/skills/<name>/scripts/* (if present)
Workspace CLAUDE.md data/claude-md/workspace-root.md
Build pattern + 14 gotchas data/references/skill-to-command-conversion-prompt.md
Output Destination
Slash command orchestrator data/commands/<name>.md
Phase subagents (N per phase) data/agents/<name>-<role>.md
Migrated references (flat-named, git mv) data/references/<name>-<file>.md
Migrated scripts (flat-named, git mv) data/scripts/<name>-<file>.{sh,py}
Deprecated skill stub data/skills/<name>-deprecated/SKILL.md
Build-time critique audit (UNTRACKED) .claude/notes/<name>-build-critique.md

Read the full file on GitHub · 364 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 First seen · 364 lines · 145 tokens per session scan A 8fdc5bba1093

Subscribe to this mod's changes

skill-to-command is a command published in the GitHub repository chris-dare-dev/agent-kit (0 stars, last pushed 2mo ago), licensed MIT. It adds 145 tokens to every session and 5,567 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.