Spec Kit is an open-source toolkit for defining software requirements and plans before implementation with an AI coding agent. It is used by developers and organizations following a spec-driven development process.
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.
git clone --depth 1 https://github.com/github/spec-kitWrote 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.
[](https://agentmods.dev/commands/github/spec-kit/speckit.constitution)<a href="https://agentmods.dev/commands/github/spec-kit/speckit.constitution"><img src="https://agentmods.dev/badge/commands/github/spec-kit/speckit.constitution/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.
<a href="https://agentmods.dev/commands/github/spec-kit/speckit.constitution"><img src="https://agentmods.dev/badge/commands/github/spec-kit/speckit.constitution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.00748 |
| Opus 5.5 | $0.00010 | $0.00299 |
| Sonnet 5.5 | $0.00005 | $0.00150 |
| Haiku 4.5 | $0.00003 | $0.00075 |
Grade A, and why
speckit.constitution 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- speckit.constitution — 100% identical, 0 lines differ
What it actually says
{CORE_TEMPLATE}
Constitution Template Sync
This section supersedes the "Scope Guard" above for template and command propagation. The core Scope Guard states that dependent templates and commands "are not modified here" — that restriction is intentionally lifted by this preset. Propagating amended guidance into the project's own dependent scaffolds and installed command files (as described below) is in scope whenever this preset is installed. The Scope Guard's other constraints still apply: do not implement features, generate application code, or touch artifacts unrelated to the constitution/template workflow.
After you have written the updated constitution above, perform a consistency propagation pass so the dependent artifacts reflect the amended principles:
- Read
.specify/templates/plan-template.mdand ensure any "Constitution Check" or rules align with the updated principles. Only materialize concrete gate text here if your team intends to review it as committed content; otherwise leave the runtime pointer[Gates determined based on constitution file]in place so/planfills it from the live constitution. - Read
.specify/templates/spec-template.mdfor scope/requirements alignment — update if the constitution adds/removes mandatory sections or constraints. - Read
.specify/templates/tasks-template.mdand ensure task categorization reflects new or removed principle-driven task types (e.g., observability, versioning, testing discipline). - Read each installed Spec Kit command file for your agent (including this one) — named
speckit.*orspeckit-*(dot or hyphen depending on the agent), or laid out asspeckit-<name>/SKILL.mdfor skills-based integrations, e.g. in.github/agents/,.github/skills/,.claude/skills/, or your agent's equivalent commands directory — to verify no outdated references (CLAUDE-only or other agent-specific names) remain when generic guidance is required. Only hand-edit a command file if it is a project-local file not managed by a preset or extension. Command files that are composed from the resolution stack (anything provided or wrapped by a preset/extension) must be regenerated through the stack — do not edit them in place, because reconciliation (specify integration use,specify integration upgrade, or any preset/extension install/remove) will clobber the edits. - Read any runtime guidance docs (e.g.,
README.md,docs/quickstart.md, or agent-specific guidance files if present) and update references to principles that changed.
Then extend the Sync Impact Report at the top of .specify/memory/constitution.md with:
- Templates requiring updates (✅ updated / ⚠ pending) with file paths.
Do not edit versioned preset- or extension-provided template or command files directly. Those
artifacts are owned by their packages and are recomposed on the package's next update or on stack
reconciliation — hand edits are clobbered. Limit propagation to the project's own
.specify/templates/ scaffolds and to command files that are not managed by a preset or extension.
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.
- 1mo ago First seen · 55 lines · 25 tokens per session scan A dba4007aa585
speckit.constitution is a command published in the GitHub repository github/spec-kit (141,437 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 748 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-30.
Other commands, from other repositories
book-internalize
A command that turns book-analysis reports into reusable writing guidance for a Novel Writer project. It creates style, structure, and rhythm configuration files that later writing commands can use.
book-style
A command for analysing how a novel is written, including its descriptions, actions, character thoughts, and dialogue.
stardust-session
A command for managing active sessions in a writing service called Stardust, including viewing their details and status. A session is a temporary workspace or connection used to carry out a task.
book-characters
A Chinese-language command for analysing how characters are created in a novel, including their traits, goals, relationships, and changes over the story. It expects the novel to be loaded first with the related analysis command.
book-formula
A command for extracting repeatable story structures from successful novels, such as opening hooks, chapter layouts, and plot escalation.
shizhangyu-foreshadow
A command for managing story foreshadowing, meaning clues planted early that become important later. It tracks objects, dialogue, events, and character clues through a novel.