spec

spec is a command for Claude Code from xbklairith/kisune. It costs 23 tokens per session (877 once invoked), scanned A, original, MIT.

A command that starts a software-development workflow based on a written specification. It automatically chooses a quick plan or a fuller three-file EARS specification, a structured way to describe requirements.

In plain words
What is it for?
Use it to create a short implementation plan or a more detailed requirements specification for a coding task.
Why use it?
It helps turn a request into an explicit plan and requirements before implementation begins.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dev-workflow plugin — 28 skills, 1 command, 8 agents, 1 hook, 1 plugin shipped together

Good fit Use it to create a short implementation plan or a more detailed requirements specification for a coding task.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/xbklairith/kisune/spec
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.

Clone the repo
git clone --depth 1 https://github.com/xbklairith/kisune

Made for: Claude Code.

Or install dev-workflow, the plugin that ships this one along with the rest of its 28 skills, 1 command, 8 agents, 1 hook, 1 plugin.

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 spec

README.md
[![agentmods](https://agentmods.dev/badge/commands/xbklairith/kisune/spec/github.svg)](https://agentmods.dev/commands/xbklairith/kisune/spec)
Your own site
<a href="https://agentmods.dev/commands/xbklairith/kisune/spec"><img src="https://agentmods.dev/badge/commands/xbklairith/kisune/spec/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 spec

Your own site · 80×15
<a href="https://agentmods.dev/commands/xbklairith/kisune/spec"><img src="https://agentmods.dev/badge/commands/xbklairith/kisune/spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 877 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.00023 $0.00877
Opus 5.5 $0.00009 $0.00351
Sonnet 5.5 $0.00005 $0.00175
Haiku 4.5 $0.00002 $0.00088

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

Security

Grade A, and why

spec 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 8d 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.

dev-workflow/commands/spec.md · 85 lines

How it starts

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

Route to the appropriate spec-driven skill. Mode (Quick vs Full) is decided by the planning skill from signals or user override.

  • Planning (create, requirements, design, quick, full): Activate spec-driven-planning skill
  • Implementation (tasks, execute): Activate spec-driven-implementation skill (auto-detects mode from filesystem)
  • Review (review): Activate spec-review skill — three sequential agents: spec quality, completeness, buildability (buildability only when all three Full-mode files exist)
  • Utility (list): Show feature status directly

Interactive Menu

📋 Spec-Driven Development Workflow

Planning:
  1. New feature (auto-pick Quick or Full)
  2. New feature — force Quick mode (single plan.md)
  3. New feature — force Full mode (requirements + design + tasks)
  4. Define requirements (Full mode, EARS)
  5. Generate technical design (Full mode)

Implementation:
  6. Break down into TDD tasks (Full mode)
  7. Execute implementation (auto-detects Quick vs Full)

Review:
  8. Review feature spec (spec quality, completeness, buildability*)

Utility:
  9. List all features

What would you like to do? (1-9)

Argument Handling

Planning args:

/dev-workflow:spec                   → Interactive menu
/dev-workflow:spec "feature-name"    → spec-driven-planning, auto-pick mode
/dev-workflow:spec quick "name"      → spec-driven-planning, force Quick
/dev-workflow:spec full "name"       → spec-driven-planning, force Full
/dev-workflow:spec create            → spec-driven-planning (auto-pick)
/dev-workflow:spec requirements      → spec-driven-planning (Full Phase 2)
/dev-workflow:spec design            → spec-driven-planning (Full Phase 3)

Implementation args:

/dev-workflow:spec tasks             → spec-driven-implementation (Full Phase 4)
/dev-workflow:spec execute           → spec-driven-implementation (auto-detect Quick or Full)

Review args:

/dev-workflow:spec review            → spec-review (pick feature interactively)
/dev-workflow:spec review "name"     → spec-review for named feature

Read the full file on GitHub · 85 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. 8d ago Changed c283292b3aa9
  2. 1mo ago First seen · 85 lines · 23 tokens per session scan A 0ed921b94484

Subscribe to this mod's changes

spec is a command published in the GitHub repository xbklairith/kisune (3 stars, last pushed 8d ago), licensed MIT. It adds 23 tokens to every session and 877 once invoked, about $0.0001 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.