Cookbook Notebook Audit
Audits an Anthropic cookbook notebook against a review rubric.
Install
npx skills add anthropics/claude-cookbooks --skill cookbook-audit -g -a claude-code -y- Repository
- anthropics/claude-cookbooks54.1k
- Category
- Testing
- Updated
- 6d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- Yes, review before use
What it does
Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.
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:


