cassini-workshop: Command for Claude Code

.claude/commands/document.md

document is a command for Claude Code from robconery/cassini-workshop. It costs 20 tokens per session (487 once invoked), scanned A, a copy of document, MIT.

A documentation-maintenance command that compares project documentation with the actual code and file structure. It covers the README, architecture description, and a project memory log.

In plain words
What is it for?
Use it to update setup, testing, architecture, and project-history documentation after the implementation has changed.
Why use it?
It removes contradictions and outdated instructions caused by code changes. Unresolved design questions are recorded and sent to the command responsible for deciding them.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Claude Code.

This is robconery/cassini-workshop's own configuration. It tells Claude Code how to work on cassini-workshop 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 cassini-workshop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to robconery/cassini-workshop. 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/robconery/cassini-workshop/main/.claude/commands/document.md
Clone the repo
git clone --depth 1 https://github.com/robconery/cassini-workshop

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/robconery/cassini-workshop/document/github.svg)](https://agentmods.dev/commands/robconery/cassini-workshop/document)
Your own site
<a href="https://agentmods.dev/commands/robconery/cassini-workshop/document"><img src="https://agentmods.dev/badge/commands/robconery/cassini-workshop/document/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 document

Your own site · 80×15
<a href="https://agentmods.dev/commands/robconery/cassini-workshop/document"><img src="https://agentmods.dev/badge/commands/robconery/cassini-workshop/document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 487 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 100% copy Near-identical to another mod 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.00020 $0.00487
Opus 5.5 $0.00008 $0.00195
Sonnet 5.5 $0.00004 $0.00097
Haiku 4.5 $0.00002 $0.00049

Measured 2mo ago against content hash 3f74c109dc7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

document 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 2mo 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.

Origin

This is a copy

100% identical to document — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/document.md · 50 lines

What it actually says

document

Bring the human-facing docs in line with what actually exists. Not a phase — a reconciler you run whenever code and docs have drifted. It detects drift; it does not re-interview the project.

Scope

  • IN: README, ARCHITECTURE.md prose accuracy, curating docs/MEMORY.md.
  • OUT: making product/architecture decisions (that's /explore, /design). If reconciling reveals an undecided question, log it and point at the owning command — don't decide it here.

Preflight

  1. Read CLAUDE.md, docs/PROJECT.md, docs/ARCHITECTURE.md, docs/SPEC.md, docs/MEMORY.md, README.md.
  2. Read the actual code/structure. Diff docs vs. reality, not docs vs. docs. Build a short drift list (claimed but absent, present but undocumented, contradictions).

Interview

Minimal and targeted. Only ask when reconciliation is genuinely ambiguous (e.g. "ARCHITECTURE says Postgres, code uses SQLite — which is intended?"). No standing question bank. If nothing is ambiguous, ask nothing.

Produce

  • README.md (owned): accurate for a human arriving cold — what it is, how to run it, how to test it, where the docs are. Concise.
  • docs/ARCHITECTURE.md: correct stale prose to match reality. Don't redesign — if reality diverged from a deliberate decision, flag it for /design rather than rewriting the decision.
  • docs/MEMORY.md (curated here): dedupe, order by date, keep it a tight log of decisions-made-with-AI and why. This is the project's memory for Claude Code — terse, durable, not a changelog of everything.

Hand off

Report the drift found and what you reconciled vs. flagged. Suggested next is context-dependent — e.g. /design if a contradiction needs a real decision, otherwise nothing.

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. 2mo ago First seen · 50 lines · 20 tokens per session scan A 3f74c109dc7c

Subscribe to this mod's changes

document is a command published in the GitHub repository robconery/cassini-workshop (1 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 487 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to document, differing in 0 lines, and is treated as a copy.