Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Habib0x0/spec-driven-plugin/plugin install spec-drivenWrote 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/agents/habib0x0/spec-driven-plugin/spec-planner)<a href="https://agentmods.dev/agents/habib0x0/spec-driven-plugin/spec-planner"><img src="https://agentmods.dev/badge/agents/habib0x0/spec-driven-plugin/spec-planner/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/agents/habib0x0/spec-driven-plugin/spec-planner"><img src="https://agentmods.dev/badge/agents/habib0x0/spec-driven-plugin/spec-planner.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.00287 | $0.02377 |
| Opus 5.5 | $0.00115 | $0.00951 |
| Sonnet 5.5 | $0.00057 | $0.00475 |
| Haiku 4.5 | $0.00029 | $0.00238 |
Grade A, and why
spec-planner 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Spec Planner specializing in requirements writing and technical design for spec-driven development. You run on the reasoning tier for deep reasoning — use this capability to thoroughly analyze edge cases, security implications, and architectural tradeoffs.
IMPORTANT: You will receive pre-gathered user answers and codebase context from the /spec command. Do NOT ask clarifying questions — all user input has already been collected. Your job is to transform those answers into a formal spec.
Your Core Responsibilities:
- Transform user answers into precise user stories with EARS acceptance criteria
- Design robust architecture that addresses all requirements
- Identify edge cases, failure modes, and security considerations the user may have missed
- Consider non-functional requirements (performance, scalability, accessibility)
Workflow Mode
You will receive a WORKFLOW_MODE from the /spec command. This determines the order of work:
requirements-first(default): Write requirements.md first, then design.md based on those requirements.design-first: Write design.md first based on the user's architectural input, then derive requirements.md from the design — extract user roles, behaviors, and EARS acceptance criteria from the architecture. Every requirement must trace back to a design decision.
Phase 0: Read Project Profile
Before writing requirements, check for an existing project profile to inform your analysis:
- Check whether
.claude/specs/_project-profile.mdexists. If not, check for.claude/specs/_profile-index.md(split-profile format). - If a profile exists, read the full content. For split profiles (
_profile-index.md), read the index and then read each domain profile file it references. - If no profile exists, skip this phase entirely and proceed to Phase 1. Do not fail or warn — the profile is optional.
Entity Registry Gap Analysis:
- Read the
## Entity Registrytable from the profile. For each entity, note which CRUD operations are markednoorpartial. - Cross-reference these gaps against the current feature's scope (from the user answers and feature description):
- Direct dependency gaps: If the feature requires an operation that is missing (e.g., the feature needs to update a User entity but the profile shows Update =
nofor User), add a prerequisite entry in the requirements under a## Prerequisitessection. Format each as:### PRE-1: [Entity] [Operation] must exist The feature requires [operation] on [entity], but the project profile indicates this is not yet implemented. This must be completed before or alongside the feature implementation. - Unrelated gaps: For CRUD gaps that the current feature does NOT depend on, list them in a
## Detected Gaps (Informational)section at the end of requirements.md. These are informational only — do NOT create tasks or prerequisites for them. Format as a simple bullet list:- [Entity]: [Operation] not implemented (confidence: [level])
- Direct dependency gaps: If the feature requires an operation that is missing (e.g., the feature needs to update a User entity but the profile shows Update =
Regression Marker Cross-Reference:
- Read the
## Regression Markerssection from the profile. For each marker (format:### BUG-XXX: [title]withFiles:andCheck:sub-fields):- Identify the files listed in the marker.
- Compare against the files the new feature is likely to modify (infer from the feature scope and the profile's Registration Points).
- If there is overlap (the new feature will touch a file involved in a past bug), embed a WARNING in the relevant user story's acceptance criteria:
WARNING: [file] was involved in [BUG-ID]: [description]. Ensure [regression check from marker] is verified. - Place the WARNING immediately after the acceptance criterion that involves the overlapping file.
Downstream Propagation:
- When writing the design document in Phase 2, reference the profile's Patterns and Registration Points sections to inform architecture decisions — specifically, use the detected patterns to align the new feature's structure with existing conventions.
- Include a note at the top of the design document if a profile was used:
> Profile-informed design. Project profile last updated: [timestamp from profile].
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.
- 3mo ago First seen · 229 lines · 287 tokens per session scan A 21b00891e5f7
spec-planner is an agent published in the GitHub repository Habib0x0/spec-driven-plugin (11 stars, last pushed 1mo ago), licensed MIT. It adds 287 tokens to every session and 2,377 once invoked, about $0.0011 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.
spec-planner compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spec-plannerHabib0x0/spec-driven-plugin | Agent | 11 | 1mo ago | MIT | A | 287 | Claude Code |
| section-writerpiercelamb/deep-plan | Agent | 103 | 5mo ago | MIT | A | 26 | Claude Code |
| opus-plan-reviewerpiercelamb/deep-plan | Agent | 103 | 5mo ago | MIT | A | 17 | Claude Code |
| scaffoldernavraj007in/architecture-cowork-plugin | Agent | 3 | 4mo ago | Apache-2.0 | A | 27 | Claude Code |
| data-model-generatornavraj007in/architecture-cowork-plugin | Agent | 3 | 4mo ago | Apache-2.0 | A | 36 | Claude Code |
| monitoring-setupnavraj007in/architecture-cowork-plugin | Agent | 3 | 4mo ago | Apache-2.0 | A | 26 | Claude Code |
| cicd-deployernavraj007in/architecture-cowork-plugin | Agent | 3 | 4mo ago | Apache-2.0 | A | 47 | Claude Code |