cookbook-audit
Skill53k starsChanged 10 months agoMITView on GitHub
Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.
- Reads credentials
- Installs packages
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Who's talking about anthropics/claude-cookbooks
- SuperClaude-Org/SuperClaude_Framework“Consider migrating Modes to Skills”GitHub · Oct 16, 2025 · 6 reactions
- anthropics/claude-code“[BUG] Consider permissive license for devcontainer configs”GitHub · Nov 7, 2025 · 3 reactions
- @github-trending.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 anthropics / claude-cookbooks ⭐ 46,842 (+194) 🗒 Jupyter Notebook A …”Bluesky · Jul 9, 2026 · 2 likes
- SimonSchubert/Kai“[Feature Request] Add Anthropic-Style Prompt Caching – Save Up to 90% on Token Costs & Make API Usage 10x …”GitHub · Mar 16, 2026 · 2 reactions
- deepset-ai/haystack“Add Tool Search Tool”GitHub · Jan 8, 2026 · 2 reactions
The biggest 5 of 55 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 55
Talked about on GitHub, Bluesky and Hacker News (55 times).
On GitHub · 50
- Oct 16, 2025Consider migrating Modes to Skills — SuperClaude-Org/SuperClaude_Framework6 reactions · 2 comments
- Nov 7, 2025[BUG] Consider permissive license for devcontainer configs — anthropics/claude-code3 reactions · 7 comments
- Mar 16, 2026[Feature Request] Add Anthropic-Style Prompt Caching – Save Up to 90% on Token Costs & Make API Usage 10x Cheaper! — SimonSchubert/Kaisays it tested it2 reactions · 4 comments
- Jan 8, 2026Add Tool Search Tool — deepset-ai/haystack2 reactions · 2 comments
- Jul 1, 2026optimize context usage and compaction algorith, — zew1me/fitness-coach-agent1 reaction · 5 comments
45 more on GitHub
- May 10, 2026🔗 Broken links detected — ARUNAGIRINATHAN-K/ai-agent-registry1 reaction
- Dec 13, 2025Support Anthropic Agent Skills — vinhnx/VTCode1 reaction
- Oct 17, 2025Support for Claude Agent Skills — vercel/ai1 reaction · 3 comments
- Oct 16, 2025[FEATURE] Implement Claude Memory Api with Basic Memory — basicmachines-co/basic-memory1 reaction · 1 comment
- Nov 30, 2026[Auto-Discover] 发现 54 条官方 AI 学习资源更新 — fantoagi/ai-learning-hub0 reactions
- Nov 30, 2026[V7 review] Google Antigravity ACP using "custom-agent" consumes 4x quota per token — wsysgz/VS_AI0 reactions
- Nov 29, 2026[Auto-Discover] 发现 79 条官方 AI 学习资源更新 — fantoagi/ai-learning-hub0 reactions
- Nov 27, 2026[AI-P1] AI 프롬프트·맥락·도구 오케스트레이션 재설계 — ts825360/newchatbot0 reactions
- Nov 23, 2026T074: read-only memory maintenance review with drift and provenance diagnostics — wang1299/dsh-reforge0 reactions
- Nov 21, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 0-unstable-2026-11-04 → 0-unstable-2026-11-20 — sudosubin/agents.nix0 reactions
- Nov 9, 2026Detector research digest — 2026-11-09 — watsonrm/tokenmin-scanner0 reactions
- Nov 8, 2026官方源码执行契约与迁移差异 — TreeTreeDi/yume0 reactions · 1 comment
- Nov 4, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 0-unstable-2026-11-02 → 0-unstable-2026-11-04 — sudosubin/agents.nix0 reactions
- Nov 3, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 0-unstable-2026-10-29 → 0-unstable-2026-11-02 — sudosubin/agents.nix0 reactions
- Nov 2, 2026Detector research digest — 2026-11-02 — watsonrm/tokenmin-scanner0 reactions
- Oct 31, 2026content: fix every dead external link, and the claims behind them — RBJGlobal/clawdemy0 reactions · 1 comment
- Oct 29, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 0-unstable-2026-10-24 → 0-unstable-2026-10-29 — sudosubin/agents.nix0 reactions
- Oct 24, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 0-unstable-2026-10-17 → 0-unstable-2026-10-24 — sudosubin/agents.nix0 reactions
- Oct 24, 2026agent-skills.github.anthropics.claude-cookbooks: 0-unstable-2026-07-03 → 0-unstable-2026-10-24 — sudosubin/agents.nix0 reactions
- Oct 19, 2026Detector research digest — 2026-10-19 — watsonrm/tokenmin-scanner0 reactions
- Oct 17, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 0-unstable-2026-10-14 → 0-unstable-2026-10-17 — sudosubin/agents.nix0 reactions
- Oct 16, 2026Point the Go Deeper cookbook link at the renamed Claude Cookbooks repo — erikaflowers/openvector0 reactions
- Oct 14, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 39cd5a7 → b2b0aa1 — sudosubin/agents.nix0 reactions
- Oct 14, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 0-unstable-2026-10-10 → 0-unstable-2026-10-14 — sudosubin/agents.nix0 reactions
- Oct 14, 2026claude-code-plugins.github.anthropics.claude-cookbooks: 0-unstable-2026-09-28 → 0-unstable-2026-10-10 — sudosubin/agents.nix0 reactions
- Oct 8, 2026feat: absorb latest Anthropic design guidance — grapeot/design_skill0 reactions
- Oct 4, 2026claude-code-plugins.github.anthropics.claude-cookbooks: init at 0-unstable-2026-09-28 — sudosubin/agents.nix0 reactions
- Oct 4, 2026# - []()** @ ** — sajjadfarooq768-ai/refactored-octo-parakeet0 reactions
- Sep 28, 2026Detector research digest — 2026-09-28 — watsonrm/tokenmin-scanner0 reactions
- Sep 25, 2026agent-skills.github.anthropics.claude-cookbooks: init at 0-unstable-2026-07-03 — sudosubin/agents.nix0 reactions
- Sep 21, 2026Detector research digest — 2026-09-21 — watsonrm/tokenmin-scanner0 reactions
- Sep 8, 2026Refresh every section for September 2026: add 154 resources, retire 3 — jayvicsanantonio/web-development-hub0 reactions · 3 comments
- Aug 28, 2026[V7 review] AI Engineer Notebooks – free, framework-free RAG/agents/evals on Colab — wsysgz/VS_AI0 reactions
- Aug 17, 2026Detector research digest — 2026-08-17 — watsonrm/tokenmin-scanner0 reactions
- Aug 10, 2026Detector research digest — 2026-08-10 — watsonrm/tokenmin-scanner0 reactions
- Jul 27, 2026Detector research digest — 2026-07-27 — watsonrm/tokenmin-scanner0 reactions
- Jul 27, 2026feat(claude): Claude-Codex 위임 하네스 — 결정표·scout 에이전트·안내 훅 — greenheadHQ/nixos-config0 reactions · 3 comments
- Jul 25, 2026🔥 GitHub Trending AI 早报 · 2026-07-26 · Top 5 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Jul 25, 2026🔥 GitHub Trending AI 早报 · 2026-07-26 · Top 5 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Jul 25, 2026🔥 GitHub Trending AI 晚报 · 2026-07-25 · Top 5 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Jul 14, 2026[V7 review] Show HN: BillAI Bass, an AI-Powered Big Mouth Billy Bass Using Strands Agents — wsysgz/VS_AI0 reactions
- Jul 13, 2026Detector candidate: Coordinator pattern: expensive model used for worker subagents instead of cheap models — watsonrm/tokenmin-scanner0 reactions
- Jul 13, 2026Detector research digest — 2026-07-13 — watsonrm/tokenmin-scanner0 reactions
- Jul 13, 2026Github trending [anthropics/claude-cookbooks] Claude API 代码实战指南 — web1992/github-trending0 reactions
- Jul 12, 2026refactor(forge): one shared standards-modeling abstraction for agent mode + copilot — Agenticstiger/forge-cli0 reactions · 1 comment
On Bluesky · 4
- Jul 9, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 anthropics / claude-cookbooks ⭐ 46,842 (+194) 🗒 Jupyter Notebook A collection of notebooks/recipes… — @github-trending.bsky.social2 likes and reposts
- Jul 25, 2026今日のGitHubトレンド anthropics/claude-cookbooks 開発者がClaudeを用いた開発を効率的に行えるよう、実装ガイドやコピーして利用可能なコードスニペットを提供するリポジトリです。… — @dailygithubtrends.bsky.social1 likes and repost
- Jul 10, 20263. Claude Managed Agents reduce agentic workflow costs by 54% LINK 4. Aria runtime enables on-device Stable Audio 3 generation without… — @hackobar.bsky.socialsays it tested it0 likes and reposts · 1 reply
- Apr 13, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / claude-cookbooks ⭐ 38,971 (+328) 🗒 Jupyter Notebook A collection of notebooks/recipes… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Nov 14, 2025Front End Aesthetics: A Prompting Guide1 point · 1 comment
In this repository6 other files it gives its agents.
- claude_agent_sdk/chief_of_staff_agent/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- skills/CLAUDE.mdCLAUDE.md
- analyzing-financial-statementsSkill
- applying-brand-guidelinesSkill
- creating-financial-modelsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 10 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
IMPORTANT: Always read style_guide.md first before conducting an audit.
- Distinctive: line 22
Follow these steps for a comprehensive audit:
- Distinctive: line 25
Identify the notebook: Ask user for path if not provided
- Very specific: line 26
Run automated checks: Use python3 validate_notebook.py <path> to catch technical issues and generate markdown
- Distinctive: line 33
Manual review: Read through the markdown version evaluating against style guide and rubric
- Distinctive: line 35
Generate report: Follow the audit report format below
- Distinctive: line 71
Use this to ensure comprehensive coverage:
- Distinctive: line 170
Avoid jargon without definition
- Distinctive: line 171
Use headers to break up sections
- Distinctive: line 174
Always explain before showing: Every code block should be preceded by explanatory text
- Distinctive: line 176
Comments explain why, not what: Use meaningful variable names
- Very specific: line 178
Good habits: Use dotenv.load_dotenv() instead of os.environ
- Distinctive: line 199
Use action verbs (Build, Implement, Deploy, etc.)
- Very specific: line 213
Use %%capture for pip installs
- Very specific: line 214
Use dotenv.load_dotenv() not os.environ
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Cookbook Audit
Instructions
Review the requested Cookbook notebook using the guidelines and rubrics in style_guide.md. Provide a score based on scoring guidelines and recommendations on improving the cookbook.
The style guide provides detailed templates and examples for:
- Problem-focused introductions with Terminal Learning Objectives (TLOs) and Enabling Learning Objectives (ELOs)
- Prerequisites and setup patterns
- Core content structure
- Conclusions that map back to learning objectives
IMPORTANT: Always read style_guide.md first before conducting an audit. The style guide contains the canonical templates and good/bad examples to reference.
Workflow
Follow these steps for a comprehensive audit:
- Read the style guide: First review
style_guide.mdto understand current best practices - Identify the notebook: Ask user for path if not provided
- Run automated checks: Use
python3 validate_notebook.py <path>to catch technical issues and generate markdown- The script automatically runs detect-secrets to scan for hardcoded API keys and credentials
- Uses custom patterns defined in
scripts/detect-secrets/plugins.py - Checks against baseline at
scripts/detect-secrets/.secrets.baseline
- Review markdown output: The script generates a markdown file in the
tmp/folder for easier review (saves context vs raw .ipynb)- The tmp/ folder is gitignored to avoid committing review artifacts
- Markdown includes code cells but excludes outputs for cleaner review
- Manual review: Read through the markdown version evaluating against style guide and rubric
- Score each dimension: Apply scoring guidelines objectively
- Generate report: Follow the audit report format below
- Provide specific examples: Show concrete improvements with line references using the style guide templates
Audit Report Format
Present your audit using this structure:
Executive Summary
- Overall Score: X/20
- Key Strengths (2-3 bullet points)
- Critical Issues (2-3 bullet points)
Detailed Scoring
1. Narrative Quality: X/5
[Brief justification with specific examples]
2. Code Quality: X/5
[Brief justification with specific examples]
3. Technical Accuracy: X/5
[Brief justification with specific examples]
4. Actionability & Understanding: X/5
[Brief justification with specific examples]
Specific Recommendations
[Prioritized, actionable list of improvements with references to specific sections]
Examples & Suggestions
[Show specific excerpts from the notebook with concrete suggestions for improvement]
Quick Reference Checklist
Use this to ensure comprehensive coverage:
Introduction (See style_guide.md Section 1)
- Hooks with the problem being solved (1-2 sentences)
- Explains why it matters (1-2 sentences)
- Lists learning objectives as bullet points (2-4 TLOs/ELOs)
- Focuses on value delivered, not machinery built
- Optional: mentions broader applications (1 sentence)
Prerequisites & Setup (See style_guide.md Section 2)
- Lists required knowledge clearly
- Lists required tools (Python version, API keys)
- Mentions recommended background if applicable
- Uses %%capture for pip install to suppress output
- Uses dotenv.load_dotenv() not os.environ
- Defines MODEL constant at top
- Groups related installs in single command
Structure & Organization
- Has logical section progression
- Each section teaches through demonstration
- Code blocks have explanatory text before them
- Includes what we learned after code blocks
- Uses headers to break up sections
Conclusion (See style_guide.md Section 4)
- Maps back to learning objectives
- Summarizes what was accomplished
- Suggests ways to apply lessons to user's context
- Points to next steps or related resources
Code Quality
- All code blocks have explanatory text before them
- No hardcoded API keys (automatically checked by detect-secrets)
- Meaningful variable names
- Comments explain "why" not "what"
- Follows language best practices
- Model name defined as constant at top of notebook
Output Management
- pip install logs suppressed with %%capture
- No verbose debug output
- Shows relevant API responses
- Stack traces only when demonstrating error handling
Content Quality
- Explains why approaches work
- Discusses when to use this approach
- Mentions limitations/considerations
- Provides transferable knowledge
- Appropriate model selection
Technical Requirements
- Executable without modification (except API keys)
- Uses non-deprecated API patterns
- Uses valid model names (claude-sonnet-4-6, claude-haiku-4-5, claude-opus-4-6)
- Uses non-dated model aliases (never dated IDs like claude-sonnet-4-6-20250514)
- Model name defined as constant at top of notebook
- Includes dependency specifications
- Assigned to primary category
- Has relevant tags
Content Philosophy: Action + Understanding
Cookbooks are primarily action-oriented but strategically incorporate understanding and informed by Diataxis framework.
Core Principles:
- Practical focus: Show users how to accomplish specific tasks with working code
- Problem-first framing: Lead with the problem being solved and value delivered, not the machinery
- Builder's perspective: Written from the user's point of view, solving real problems
- Agency-building: Help users understand why approaches work, not just how
- Transferable knowledge: Teach patterns and principles that apply beyond the specific example
- Critical thinking: Encourage users to question outputs, recognize limitations, make informed choices
- Learning contracts: State learning objectives upfront, then map back to them in conclusions
What Makes a Good Cookbook
A good cookbook doesn't just help users solve today's problem, it also helps them understand the underlying principles behind the solutions, encouraging them to recognize when and how to adapt approaches. Users will be able to make more informed decisions about AI system design, develop judgement about model outputs, and build skills that transfer to future AI systems.
What Cookbooks Are NOT
Cookbooks are not pure tutorials: We assume users have basic technical skills and API familiarity. We clearly state prerequisites in our cookbooks, and direct users to the Academy to learn more on topics. They are not comprehensive explanations: We don't teach transformer architecture or probability theory. We need to understand that our users are following our cookbooks to solve problems they are facing today. They are busy, in the midst of learning or building, and want to be able to use what they learn to solve their immediate needs. Cookbooks are not reference docs: We don't exhaustively document every parameter, we link to appropriate resources in our documentation as needed. Cookbooks are not simple tips and tricks: We don't teach "hacks" that only work for the current model generation. We don't over-promise and under-deliver. Cookbooks are not production-ready code: They showcase use cases and capabilities, not production patterns. Excessive error handling is not required.
Style Guidelines
Voice & Tone
- Educational and agency-building
- Professional but approachable
- Respectful of user intelligence and time
- Either second person ("you") or first person plural ("we") - be consistent within a notebook
Writing Quality
- Clear, concise explanations
- Active voice preferred
- Short paragraphs (3-5 sentences)
- Avoid jargon without definition
- Use headers to break up sections
Code Presentation
- Always explain before showing: Every code block should be preceded by explanatory text
- Explain after running: Include what we learned after code blocks execute
- Comments explain why, not what: Use meaningful variable names
- Use constants: Define MODEL as a constant at the top
- Good habits: Use
dotenv.load_dotenv()instead ofos.environ
Output Handling
Remove extraneous output with %%capture:
- pip install logs (always suppress these)
- Verbose debug statements
- Lengthy stack traces (unless demonstrating error handling)
Show relevant output:
- API responses that demonstrate functionality
- Examples of successful execution
Structural Requirements
See style_guide.md for detailed templates and examples
1. Introduction (Required)
Must include:
- Problem hook (1-2 sentences): What problem are we solving?
- Why it matters (1-2 sentences): Why is this important?
- Learning objectives (2-4 bullet points): "By the end of this cookbook, you'll be able to..."
- Use action verbs (Build, Implement, Deploy, etc.)
- Be specific about capabilities
- Include context/constraints
- Optional: Broader applications (1 sentence)
❌ Avoid: Leading with machinery ("We will build a research agent...") ✅ Do: Lead with problem/value ("Your team spends hours triaging CI failures...")
2. Prerequisites & Setup (Required)
Must include:
- Required Knowledge: Technical skills needed
- Required Tools: Python version, API keys with links
- Recommended: Optional background that helps
- Setup: Step-by-step with explanations
- Use
%%capturefor pip installs - Use
dotenv.load_dotenv()notos.environ - Define
MODELconstant at top
- Use
3. Main Content (Required)
Organized by logical steps or phases, each with:
- Clear section headers
- Explanatory text before code blocks (what we're about to do)
- Code examples
- Explanatory text after code blocks (what we learned)
- Expected outputs (where relevant)
- Optional: Understanding callouts (why it works, when to use, limitations)
4. Conclusion (Recommended)
Must include:
- Recap: Map back to learning objectives
- What was accomplished: Summary of key points
- Application guidance: How to apply lessons to user's context
- Next steps: Related resources or ideas to pursue
❌ Avoid: Generic summaries ("We've demonstrated how the SDK enables...") ✅ Do: Actionable guidance ("Consider applying this to X... Next, try Y...")
Optional Sections
- How It Works: Brief explanation of underlying mechanism
- When to Use This: Appropriate use cases and contexts
- Limitations & Considerations: Caveats, failure modes, constraints
- Troubleshooting: Common issues and solutions
- Variations: Alternative approaches or extensions
- Performance Notes: Optimization considerations
- Further Reading: Links to relevant docs, papers, or deeper explanations
Common Anti-Patterns to Flag
Refer to style_guide.md for detailed good/bad examples. Watch for these issues:
Introduction Anti-Patterns
❌ Leading with machinery: "We will build a research agent using the Claude SDK..." ❌ Feature dumps: Listing SDK methods or tool capabilities ❌ Vague learning objectives: "Learn about agents" or "Understand the API" ✅ Problem-first framing with specific, actionable learning objectives
Setup Anti-Patterns
❌ Noisy pip install output without %%capture
❌ Multiple separate pip install commands
❌ Using os.environ["API_KEY"] = "your_key" instead of dotenv
❌ Hardcoding model names throughout instead of using a MODEL constant
✅ Clean setup with grouped installs, dotenv, and constants
Code Presentation Anti-Patterns
❌ Code blocks without explanatory text before them ❌ No explanation of what we learned after running code ❌ Comments that explain "what" the code does (code should be self-documenting) ❌ Over-explaining obvious code ✅ Context before code, insights after code, comments explain "why"
Conclusion Anti-Patterns
❌ Generic summaries: "We've demonstrated how the SDK enables..." ❌ Simply restating what the notebook did without guidance ❌ Not mapping back to the stated learning objectives ✅ Actionable guidance on applying lessons to user's specific context
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

