Borrowing it
Nothing to install: this file belongs to nerds-odd-e/doughnut. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/nerds-odd-e/doughnut/main/.agents/skills/story-decomposition/SKILL.mdgit clone --depth 1 https://github.com/nerds-odd-e/doughnutWrote 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/skills/nerds-odd-e/doughnut/story-decomposition)<a href="https://agentmods.dev/skills/nerds-odd-e/doughnut/story-decomposition"><img src="https://agentmods.dev/badge/skills/nerds-odd-e/doughnut/story-decomposition.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00056 | $0.01431 |
| Opus 5 | $0.00028 | $0.00715 |
| Sonnet 5 | $0.00011 | $0.00286 |
| Haiku 4.5 | $0.00006 | $0.00143 |
Grade A, and why
story-decomposition 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.
How it starts
The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
<input_gate> Use this skill when at least one is true:
- the beneficiary, problem, desired effect, or value is unclear;
- the request prescribes a solution without establishing why it is needed;
- multiple product outcomes or story boundaries must be chosen;
- the highest-value or highest-learning first increment is disputed.
For selected stories, use story-refinement to clarify goal, scope, and key examples; use slice-planning once one story is understood. </input_gate>
<required_human_decisions> Before writing the seed, use an explicit answer the human already gave or ask the human to accept/revise your proposed answer for:
| Decision | Required answer |
|---|---|
| Beneficiary | Who experiences the problem or evaluates the outcome? |
| Current problem | What happens now, including the workaround? |
| Desired effect | What observable change would be worth having? |
| Value now | Why act now rather than defer or do nothing? |
| Simpler alternative | What is the strongest smaller, manual, or existing-tool option, and why is it insufficient? |
| Highest learning | Which assumption should the first story test? |
| Constraints | Which boundaries are problem facts rather than proposed design? |
- Do not repeat questions already answered.
- Ask only questions whose answers can change story selection or order.
- Ask at most three closely related questions per turn.
- State the current hypothesis and recommended answer with each question.
- If competing answers materially change the decomposition, stop and wait for the human instead of choosing silently. </required_human_decisions>
For <beneficiary>, <current problem> should change to <desired effect>, within
<genuine constraints>.
Evaluate these options explicitly:
- Do nothing or defer.
- Make a smaller behavior change.
- Use a manual or existing-tool workflow.
- Pursue the requested direction.
Recommend one. Record the evidence, assumptions, and why the strongest rejected alternative is insufficient.
- Name one user or stakeholder outcome.
- Apply the 3V gate in
problem-decomposition.mdc; reject failures. - State how the beneficiary evaluates the outcome.
- State its user value or the consequential assumption it tests.
- Name only genuine product prerequisites.
- State the value that remains if later stories are cancelled and any safety condition this story must satisfy on its own.
Do not add file-level tasks, technical layers, APIs, or implementation design. Acceptance examples are optional here; include one only when it changes the story boundary.
A seed is a story's home, not a feature boundary. Frame stories as user journeys that achieve a goal across related features when needed. Keep each story's requirements in one home seed and link from related seeds instead of duplicating them. Decompose only enough candidates for the current value or learning question; do not exhaust a feature for completeness.
- Record band, confidence, and assumptions.
- Split a likely larger-than-L candidate using an allowed splitting move.
- Order by user value, then learning value, then genuine prerequisites.
- Move a later story earlier when it delivers more value or tests a more consequential assumption sooner.
- List stories in first-to-drop order for scope reduction.
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.
- yesterday Changed · +1 lines · -3 tokens per session e103114aee31
- 2d ago First seen · 192 lines · 59 tokens per session scan A 83f4a3b03dda
story-decomposition is a skill published in the GitHub repository nerds-odd-e/doughnut (49 stars, last pushed yesterday), licensed MIT. It adds 56 tokens to every session and 1,431 once invoked, about $0.0003 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-09-05.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…