doughnut: Skill for Claude Code

.agents/skills/dough-story-wrap-up/SKILL.md

dough-story-wrap-up is a skill for Claude Code, Codex from nerds-odd-e/doughnut. It costs 111 tokens per session (3,205 once invoked), scanned A, original, MIT.

A closing process for a completed feature story or limited correction after its plan and retrospective are finished. It preserves lasting product knowledge and removes spent work history when the required inputs are present.

In plain words
What is it for?
Use it to close selected stories or corrections, update product knowledge, clean up their plans, and report missing prerequisites.
Why use it?
It prevents unfinished or poorly identified work from being marked complete and leaves the project with an accurate record of what remains.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is nerds-odd-e/doughnut's own configuration. It tells Claude Code and Codex how to work on doughnut itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything doughnut configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/nerds-odd-e/doughnut/main/.agents/skills/dough-story-wrap-up/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nerds-odd-e/doughnut

Made for: Claude Code, Codex.

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 dough-story-wrap-up

README.md
[![agentmods](https://agentmods.dev/badge/skills/nerds-odd-e/doughnut/dough-story-wrap-up/github.svg)](https://agentmods.dev/skills/nerds-odd-e/doughnut/dough-story-wrap-up)
Your own site
<a href="https://agentmods.dev/skills/nerds-odd-e/doughnut/dough-story-wrap-up"><img src="https://agentmods.dev/badge/skills/nerds-odd-e/doughnut/dough-story-wrap-up/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 dough-story-wrap-up

Your own site · 80×15
<a href="https://agentmods.dev/skills/nerds-odd-e/doughnut/dough-story-wrap-up"><img src="https://agentmods.dev/badge/skills/nerds-odd-e/doughnut/dough-story-wrap-up.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,205 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.00111 $0.03205
Opus 5.5 $0.00044 $0.01282
Sonnet 5.5 $0.00022 $0.00641
Haiku 4.5 $0.00011 $0.00320

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

Security

Grade A, and why

dough-story-wrap-up 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.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/trunk-closure-arguments.mjs, scripts/trunk-closure-completion.mjs, scripts/trunk-closure-observer.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/dough-story-wrap-up/SKILL.md · 251 lines

How it starts

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

Story wrap-up

Close one selected feature story, bounded retrospective correction, or contextual instruction when the coordinator invokes wrap-up explicitly or through Execute Plan's authorized planned continuation. That continuation retains the same execution context and publication authority, including local-only/no-push instructions. Use available execution context and optional retrospective advice. Leave maintained product knowledge without spent source or plan history in the current snapshot. Do not invent findings, records, or another-conversation requirements. With --process-retrospective, also review this wrap-up's process.

Resolve this project's context

Require one selected work identity. Use a canonical story — a feature story, or a correction's minimal story linked to its plan — when it is that work's active home. A plan-homed correction uses its plan when it satisfies the correction-input contract in planning scope and lifecycle; do not require or create a seed for it. When the source is neither a story nor a correction plan, use a contextual instruction with retained execution identity, changes, and proof; do not require or create a story, plan, or queue entry. Name any missing required field, leave the affected work intact, and stop before closure. Do not invent conventions, artifacts, another review, or claim closure.

Resolve from this project, not this skill's location:

  • repository root and Git working tree;
  • canonical seed location, story identity, heading or stable-anchor conventions for a selected feature story;
  • for planned work: executable-plan location, status vocabulary, and the selected work's plan identity;
  • for planless work: the supplied story or instruction, its changes, available execution results, and retained execution identity;
  • optional retrospective advice when present, including an empty result, and the product advice in the plan's execution-complete record;
  • Git commit conventions used to preserve a recoverable revision;
  • selected mode, execution checkout and branch, authorized remote and target branch, and an originating or default checkout only when one is available;
  • the product backlog path when a Taken or Backlog list entry points at the selected work; and
  • shared records that name the selected work: its seed when applicable, process log (DearDough.md unless this project sets another canonical location), incoming links, and assessment records.

Read the full file on GitHub · 251 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. yesterday Changed dfabc90434ee
  2. 9d ago Changed · -13 tokens per session e82b32feba08
  3. 14d ago Changed f340164a4e1b
  4. 18d ago Changed · -22 lines a6d185e11dfd
  5. 19d ago Changed · +1 lines 3d5b2a0f3539
  6. 23d ago Changed · +16 lines · +28 tokens per session cea9e93c3b6b
  7. 26d ago Changed · +16 lines 2217dbab0082
  8. 27d ago Changed · -9 lines b8702832bc0d
  9. 1mo ago Changed · -2 lines 45788c5b9b69
  10. 1mo ago First seen · 251 lines · 96 tokens per session scan A a84d5a8b0c67

Subscribe to this mod's changes

dough-story-wrap-up is a skill published in the GitHub repository nerds-odd-e/doughnut (50 stars, last pushed today), licensed MIT. It adds 111 tokens to every session and 3,205 once invoked, about $0.0004 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-09-11.