skill-to-command

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

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/chris-dare-dev/agent-kit/skill-to-command
Clone the repo
git clone --depth 1 https://github.com/chris-dare-dev/agent-kit
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. 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.00145 $0.05567
Opus 5 $0.00072 $0.02783
Sonnet 5 $0.00029 $0.01113
Haiku 4.5 $0.00015 $0.00557

Measured yesterday against content hash 8fdc5bba1093, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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. yesterday 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 24d ago), licensed MIT. It adds 145 tokens to every session and 5,567 once invoked, about $0.0007 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.