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/gszhangwei/open-spddWrote 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/gszhangwei/open-spdd/spdd-story)<a href="https://agentmods.dev/commands/gszhangwei/open-spdd/spdd-story"><img src="https://agentmods.dev/badge/commands/gszhangwei/open-spdd/spdd-story/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/gszhangwei/open-spdd/spdd-story"><img src="https://agentmods.dev/badge/commands/gszhangwei/open-spdd/spdd-story.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.00027 | $0.04634 |
| Opus 5 | $0.00014 | $0.02317 |
| Sonnet 5 | $0.00005 | $0.00927 |
| Haiku 4.5 | $0.00003 | $0.00463 |
Grade A, and why
/spdd-story 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 10d 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 — 442 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Decompose high-level feature requirements into structured, business-focused development stories. Each story is independently deliverable, scoped to 1-5 days of work, and includes concrete acceptance criteria written in business language. Stories are split according to the INVEST principle and serve as input for the SPDD workflow (/spdd-analysis → /spdd-reasons-canvas → /spdd-generate). This command focuses on the "What" and "For whom" — technical analysis and implementation details are left to downstream SPDD phases.
Input: The argument after /spdd-story is a business requirement description or file reference.
Input can be provided in two ways:
- Text description: Direct text describing the feature or requirement
- File/folder reference: Using
@to reference files or folders containing requirements
Examples:
# File reference
/spdd-story @requirements/team-management-feature.md
# Text description
/spdd-story Implement team management API with CRUD operations, member management, and role-based access control
# Combined
/spdd-story @requirements/team-management.md additionally needs invitation flow and audit logging
Steps
-
Validate and consolidate business input
a. If no input provided, use the AskUserQuestion tool (open-ended, no preset options) to ask:
"Please provide the business requirement document or description for story generation (you can use text, @file references, or both)."
IMPORTANT: Do NOT proceed without business input.
b. If input contains
@file/folder references:- Read ALL referenced files completely using the Read tool
- For folder references, read all relevant files within the folder
- Consolidate all file contents into a unified business context
c. Combine all context sources:
- Merge text descriptions with file contents
- Preserve the complete information from all sources — do NOT summarize or truncate
d. Context Integrity Check:
- Verify all
@references were successfully read - If any file cannot be read, report the error and ask user to provide alternative
- Confirm the consolidated context contains sufficient information to proceed
-
Scan existing stories for context
Do NOT explore the codebase — that is
/spdd-analysis's responsibility. Only gather enough context to avoid duplication and determine numbering.a. List existing stories:
- List files in
requirements/directory (if exists) - Read existing stories to understand numbering conventions and scope boundaries
b. Identify coverage gaps:
- Note which features and operations are already covered by existing stories
- Ensure new stories do not duplicate or conflict with existing ones
c. Determine next available story number:
- Extract the highest
[User-story-N]number from existing filenames - New stories start from
N+1
- List files in
-
Abstract task analysis and INVEST evaluation
Before creating any stories, analyze the feature at an abstract level.
a. Identify the abstract task:
### Abstract Task: "[Feature Name]" **Analysis Dimensions**: - **Core Responsibility**: [What is the primary purpose of this feature] - **Primary Operations**: [List the main operations: create, query, update, delete, list, etc.] - **Key Constraints**: [Data uniqueness, permissions, associations, business rules] - **Technical Complexity**: [Low/Medium/High — standard CRUD, complex business logic, etc.] - **Business Complexity**: [Low/Medium/High — multiple query scenarios, cascading effects, etc.]b. INVEST compliance check:
### INVEST Evaluation: - ✅/❌ **Independent**: [Can this be developed, tested, and deployed independently?] - ✅/❌ **Negotiable**: [Can design details be discussed with the team?] - ✅/❌ **Valuable**: [Does this provide clear business value?] - ✅/❌ **Estimable**: [Can the team accurately estimate the effort?] - ✅/❌ **Small**: [Can it be completed in 1-2 sprints?] - ✅/❌ **Testable**: [Are there clear acceptance criteria?] **Conclusion**: [Needs splitting / Ready as-is]
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.
- 10d ago First seen · 442 lines · 27 tokens per session scan A 556854d05dd6
/spdd-story is a command published in the GitHub repository gszhangwei/open-spdd (740 stars, last pushed 19d ago), licensed MIT. It adds 27 tokens to every session and 4,634 once invoked, about $0.0001 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-30.
Other commands, from other repositories
taskstoissues
Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts.
agent
This file defines the agent command within the simple flow.
fire-builder
FIRE Builder Agent - executes work items and generates walkthroughs.
fire-planner
FIRE Planner Agent - captures intents and decomposes into work items.
template
Manage issue templates for streamlined issue creation.
speckit.assess.intake
Capture and normalize a raw idea (text, URL, ticket, or codebase pointer) into an intake note.