doughnut: Skill for Claude Code

.agents/skills/dough-update/SKILL.md

dough-update is a skill for Claude Code, Codex from nerds-odd-e/doughnut. It costs 41 tokens per session (1,929 once invoked), scanned A, original, MIT.

A release updater for Open Dough guidance, a set of project instructions used by coding tools. It installs the latest numbered release from the project's recorded source or a repository URL supplied during first setup.

In plain words
What is it for?
Use it to update Open Dough across the supported coding tools in a project. It is not for adopting, repairing, or removing project-specific guidance.
Why use it?
It avoids manually comparing and installing guidance for Codex, Cursor, and Claude Code. It also prevents unsupported version requests or local-guidance replacements from being treated as release updates.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; 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-update/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-update

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nerds-odd-e/doughnut/dough-update"><img src="https://agentmods.dev/badge/skills/nerds-odd-e/doughnut/dough-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,929 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.00041 $0.01929
Opus 5.5 $0.00016 $0.00772
Sonnet 5.5 $0.00008 $0.00386
Haiku 4.5 $0.00004 $0.00193

Measured 26d ago against content hash 5ef519f1b044, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dough-update 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 26d 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.

.agents/skills/dough-update/SKILL.md · 136 lines

How it starts

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

Update Open Dough

Install and update the latest numeric Open Dough release for Codex, Cursor, and Claude Code together. Codex and Cursor share .agents/skills/; Claude Code uses .claude/skills/. The running tool is only the entry context used to find the recorded source for a no-URL update. Pin that release with Git before any repository script runs, then call the inspected snapshot's helper. Do not reimplement the helper's comparison or installation decisions.

Local-guidance replacement is not supported by dough-update. Do not inspect, assess, prepare, repair callers for, or remove the target project's local guidance. Do not fetch a source or run an installer for such a request. A one-time adoption is project-specific work outside this reusable updater. Ordinary Open Dough release updates remain available from the recorded source.

  1. Capture the target project's absolute path before fetching anything. Use this project unless the user supplied another target. Keep this target distinct from the Open Dough source fetched below.

  2. If the user asked to install or update a specific version, tag, or branch, stop. Say Open Dough installs and updates the latest numeric release only. Requested-version updates are not supported. Do not fetch or write.

  3. Identify the running tool from the current host. Do not infer it from which skill directories exist. Pass it as the installer platform hint, then install the same released payload into every native root:

    Running tool --platform Installed files
    Codex codex (omitting --platform is equivalent) .agents/skills/
    Cursor cursor .agents/skills/ (shared with Codex)
    Claude Code claude .claude/skills/

    The release payload includes skill entrypoints and supporting files declared by the pinned release's installer and baseline-comparison helper. Treat that release as authoritative: payload skills may be added between releases, so a path absent from the installed release is not by itself a reason to stop. The numeric VERSION record and the recorded SOURCE live beside each dough-update/SKILL.md. Installation writes the same SOURCE from the supplied repository URL or local path, then VERSION, in both physical roots. Ordinary no-URL updates reuse the invoking root's recorded SOURCE.

  4. Resolve the Open Dough source from the invoking root. If that updater destination already exists and has a usable recorded dough-update/SOURCE, use that source. For an ordinary update, if that record is missing or unusable, stop and report that ordinary update cannot establish the recorded baseline. Do not ask for a URL, do not treat the destination as a first install, and do not substitute the target project's remote or local working-tree content. If the destination does not exist, use the repository URL supplied by the user; if none was supplied, ask for it before proceeding. First installation takes a supplied source. Explicit force uses the recorded SOURCE when present; otherwise it takes a supplied --url.

  5. Make a fresh temporary directory. Using only Git, pin the highest numeric release before any repository script runs. Do not clone the default branch, and do not execute install.sh or open-dough-release.sh from the working tree or from an unpinned clone.

    a. Run git ls-remote --tags -- <source-url>. Keep vMAJOR.MINOR.PATCH tags. When both a tag object and a peeled ^{} line exist, use the peeled commit. Select the highest version by comparing each component as a decimal integer string; do not use shell arithmetic. b. git init the work directory, git fetch --depth 1 <source-url> <commit>, and check out that commit detached. Confirm git rev-parse HEAD equals the peeled commit. c. Inspect that snapshot's src/install/open-dough-release.sh, src/install/open-dough-release-apply.sh, install.sh, src/install/open-dough-install-payload.sh, the helpers they source or run (including src/install/open-dough-payload-bytes.mjs, src/install/open-dough-register-hooks.sh, src/install/open-dough-register-hooks.mjs, src/install/open-dough-register-hooks-merge.mjs, and src/install/open-dough-register-hooks-fragments.mjs when present), and every release payload source they declare under src/skills/. d. Run the inspected helper, quoting paths. Codex may omit --platform. For an ordinary update of a recorded installation, run bash <snapshot>/src/install/open-dough-release.sh apply --target <captured-project> --platform <tool> --checkout <snapshot> and do not pass --url; the helper reads SOURCE. For a first installation, also pass --url <source-url>. Pass --force only when the user explicitly authorized a forced reinstall. When the invoking root has a usable SOURCE, omit --url; otherwise include --url <source-url>. If apply reports that HEAD is not the pinned latest, stop. Do not fetch or check out replacement files after inspection. Proceed only if the inspected files write solely to the release-declared payload paths under both native skill roots, removal there of files at paths an earlier release declared and this release does not, each updater's SOURCE and VERSION records, and the managed host-hook settings they register (.codex/hooks.json, .cursor/hooks.json, and .claude/settings.json) in the captured target project, preserving distributable source, unrelated project files, unrelated settings entries, and home guidance. Registration is an install/update concern; after apply, observation readiness and observer start/stop belong to execute-plan and must not rewrite those settings.

  6. Trust the helper's comparison. An ordinary update without a supplied URL fetches the recorded VERSION tag as data and compares the installation with the payload declared by that recorded release before any skip or replacement. Payload paths newly added by the release must be absent before the helper may add them; a pre-existing collision refuses without writes. Equal recorded versions that still match that baseline must not invoke install.sh or write the selected files; untagged source changes alone do not require writes. Changed or missing managed files, or an unavailable recorded tag, refuse without writing even when the recorded version equals latest. An older recorded installation is replaced with latest only when those files are unchanged. Edited files at paths an earlier release declared and latest does not also refuse without writes; unedited ones are removed. If ordinary update cannot establish that baseline — missing or unusable SOURCE or VERSION, an unavailable recorded tag or source, baseline metadata mismatch, or changed or missing managed files — refuse without writing, forcing, or treating the destination as a first install. Explicit --force skips that comparison and replaces the selected installation with latest, including edited, incomplete, equal, or newer files, writing the payload then SOURCE then VERSION, and removes files at paths latest no longer declares, edited or not. A supplied-URL missing selected record advances directly to latest. A verified newer selected record is preserved with no downgrade; an unverifiable newer record is unsupported without writes. A malformed selected VERSION is an error, not unknown. Fetch, tag, and invalid-highest release failures must not write the target or fall back to a lower release or branch. If replacement starts and then fails, report that installed files may be incomplete, that the last successful record was left unchanged, and that explicit --force reinstall is the recovery path.

  7. Report the helper's source URL, release tag and commit, running tool and native skill root, all installed payload paths, the files it removed from each root, previous version or unknown, and actual outcome. After a replacement, tell the user to start a fresh session in the same tool, then invoke /dough-update in Cursor or Claude Code, or $dough-update in Codex, to use the updated guidance. Do not claim an update succeeded if fetching, validation, comparison, or installation failed. Manual reading of the tagged CHANGELOG.md is sufficient; do not print changelog text here.

Read the full file on GitHub · 136 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 26d ago Changed · +5 lines 5ef519f1b044
  2. 1mo ago Changed · +1 lines c6fa5d0cd8d6
  3. 1mo ago Changed 7c6b6f75b3f3
  4. 1mo ago Changed · +1 lines 264a83f21900
  5. 1mo ago Changed · +1 lines 338b859243c5
  6. 1mo ago Changed · +7 lines b8d7329a84b5
  7. 1mo ago First seen · 121 lines · 41 tokens per session scan A 37f27b262209

Subscribe to this mod's changes

dough-update is a skill published in the GitHub repository nerds-odd-e/doughnut (50 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,929 once invoked, about $0.0002 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-08.