document-release

document-release is a command for Claude Code from ShaheerKhawaja/ProductionOS. It costs 42 tokens per session (365 once invoked), scanned A, original, MIT.

A command that updates project documentation after a release by comparing the latest code changes with files such as the README, architecture notes, and contribution guide.

In plain words
What is it for?
Use it to review and correct release-related project documentation, including README, architecture, contribution, changelog, and agent-instruction files.
Why use it?
It finds documentation that no longer matches what was shipped, such as outdated versions, counts, features, or examples. It is intended for documentation updates after delivery.

Command for Claude Code

Part of the productionos plugin — 4 skills, 41 commands, 11 agents shipped together

Install

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.

agentmods
npx agentmods add commands/shaheerkhawaja/productionos/document-release
Clone the repo
git clone --depth 1 https://github.com/ShaheerKhawaja/ProductionOS

Made for: Claude Code.

Or install productionos, the plugin that ships this one along with the rest of its 4 skills, 41 commands, 11 agents.

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 document-release

README.md
[![agentmods](https://agentmods.dev/badge/commands/shaheerkhawaja/productionos/document-release.svg)](https://agentmods.dev/commands/shaheerkhawaja/productionos/document-release)
Your own site
<a href="https://agentmods.dev/commands/shaheerkhawaja/productionos/document-release"><img src="https://agentmods.dev/badge/commands/shaheerkhawaja/productionos/document-release.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00042 $0.00365
Opus 5 $0.00021 $0.00182
Sonnet 5 $0.00008 $0.00073
Haiku 4.5 $0.00004 $0.00036

Measured 5d ago against content hash a8ab63f7c7a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

document-release 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 5d 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.

.claude/commands/document-release.md · 41 lines

What it actually says

/document-release — Post-Ship Documentation Update

After shipping, update all documentation to match what actually shipped.

Step 0: Preamble

Run templates/PREAMBLE.md. Read the latest git diff.

Step 1: Diff Analysis

# What changed since last release
git log --oneline $(git describe --tags --abbrev=0 2>/dev/null || echo HEAD~10)..HEAD
git diff --stat $(git describe --tags --abbrev=0 2>/dev/null || echo HEAD~10)..HEAD

Step 2: Read Current Docs

Read ALL documentation files: README.md, ARCHITECTURE.md, CONTRIBUTING.md, CLAUDE.md, CHANGELOG.md.

Step 3: Cross-Reference

For each doc, check:

  • Do counts match reality? (agent count, command count, test count)
  • Do version numbers match VERSION file?
  • Are new features documented?
  • Are removed features cleaned up?
  • Are code examples still accurate?

Step 4: Update

For each discrepancy found, update the doc with accurate information. Keep the doc's existing style and tone.

Step 5: Self-Eval

Run templates/SELF-EVAL-PROTOCOL.md. Are all docs now accurate? Did we miss any?

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. 5d ago First seen · 41 lines · 42 tokens per session scan A a8ab63f7c7a2

Subscribe to this mod's changes

document-release is a command published in the GitHub repository ShaheerKhawaja/ProductionOS (8 stars, last pushed 4mo ago), licensed MIT. It adds 42 tokens to every session and 365 once invoked, about $0.0002 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-31.