Claude Cookbooks is a collection of code examples and guides that show developers how to build applications with the Claude API. Users consult its notebooks and recipes to learn techniques such as classification and retrieval-augmented generation. The catalogue add-ons provide commands, skills, agents, hooks, settings, and instructions related to using these examples.
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.
git clone --depth 1 https://github.com/anthropics/claude-cookbooksWrote 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/commands/anthropics/claude-cookbooks/model-check)<a href="https://agentmods.dev/commands/anthropics/claude-cookbooks/model-check"><img src="https://agentmods.dev/badge/commands/anthropics/claude-cookbooks/model-check/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.
<a href="https://agentmods.dev/commands/anthropics/claude-cookbooks/model-check"><img src="https://agentmods.dev/badge/commands/anthropics/claude-cookbooks/model-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00008 | $0.00512 |
| Opus 5.5 | $0.00003 | $0.00205 |
| Sonnet 5.5 | $0.00002 | $0.00102 |
| Haiku 4.5 | $0.00001 | $0.00051 |
Grade A, and why
model-check 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 2d 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.
Copies of this mod
3 near-identical copies found in the catalogue:
- model-check — 100% identical, 10 lines differ
- model-check — 100% identical, 10 lines differ
- model-check — 100% identical, 10 lines differ
What it actually says
IMPORTANT: Only review the files explicitly listed in the prompt above. Do not search for or review additional files.
Review the specified changed files for Claude model usage.
First, fetch the current list of allowed models from: https://platform.claude.com/docs/en/about-claude/models/overview.md
Then check:
- All model references are from the current public models list (currently
claude-opus-5-5,claude-sonnet-5-5,claude-fable-5-1,claude-haiku-4-5; trust the fetched page if it differs) - Distinguish two kinds of older model and say which one you found:
- Superseded (still served, but a newer model exists in the same family, e.g.
claude-opus-5,claude-opus-4-8,claude-sonnet-5,claude-sonnet-4-6,claude-fable-5): recommend updating to the latest in that family, unless the file pins it for a documented reason (pricing tables, recorded eval/benchmark results, model-specific billing behaviour), in which case note the pin and move on - Retired or deprecated (the model-deprecations page lists it as Retired or Deprecated, e.g. any
claude-3-*ID,claude-opus-4-0,claude-opus-4-1,claude-sonnet-4-0,claude-sonnet-4-5): flag as must-fix, since requests to it fail now or will after the retirement date; check https://platform.claude.com/docs/en/about-claude/model-deprecations.md when unsure which bucket a model is in
- Superseded (still served, but a newer model exists in the same family, e.g.
- Flag any internal/non-public model names
- Suggest the non-dated alias (e.g.
claude-sonnet-5-5), never dated IDs likeclaude-sonnet-4-5-20250929
Provide clear, actionable feedback on any issues found.
IMPORTANT: Post your findings as a comment on the pull request using the command: gh pr comment $PR_NUMBER --body "your findings"
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.
- 2d ago Changed · +2 lines cb0b61c98278
- 1mo ago First seen · 21 lines · 8 tokens per session scan A fa169bfa0f91
model-check is a command published in the GitHub repository anthropics/claude-cookbooks (53,812 stars, last pushed 2d ago), licensed MIT. It adds 8 tokens to every session and 512 once invoked, about $0.0000 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-08-30.
Other commands, from other repositories
review-branch
Review the current branch's diff against base by dispatching atomic-reviewer. No orchestration loop, no spec required — pre-flight before /commit pr or /commit merge.
refactor
Systematic code refactoring with smart scope detection.
init
Install the formatters this repository needs, with every command visible before it runs.
spec-trace-requirements
You are verifying that implementation changes trace back to specification requirements.
merge-conflict-analysis
You are analyzing merge conflicts for PR #${{ pr-number }}.
boot
Start a new PromptKit prompt assembly session (alias for /bootstrap).