claude-cookbooks
CLAUDE.md53k starsChanged 10 months agoMITView on GitHub
A collection of Jupyter notebooks and Python examples for building with the Claude API. Or directly with uv: Notebooks have relaxed rules for mid-file imports (E402), redefinitions (F811), and variable naming (N803, N806). Branch naming: <username>/<feature-description> Commit format (conventional commits): These commands are available in Claude Code and CI:
- Reads credentials
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 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 7, 2026@claude ingest: X post — Anthropic repos as Claude Code 'cheat codes' — ryanaedwardsnavy-sudo/Secondbrain0 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 — clawless-io/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 25, 2026🔥 GitHub Trending AI 晚报 · 2026-07-25 · Top 5 项目 — happydog-intj/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
- Jul 10, 2026Github trending [anthropics/claude-cookbooks] Claude应用开发实战指南 — web1992/github-trending0 reactions
- Jul 8, 2026ipynb to markdown — oubakiou/mdxg-redline0 reactions
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.
The file
We split this CLAUDE.md into the rules it gives an agent
11 rules. About 0 are common, 6 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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
- could be automatic: a setting could enforce it
- Very specific: line 60
API Keys: Never commit .env files. Use dotenv.load_dotenv() then access keys via os.environ or os.getenv()
- Very specific: line 62
Dependencies: Use uv add <package> or uv add --dev <package>.
- Distinctive: line 64
Models: Use current Claude models.
- Distinctive: line 69
Bedrock model IDs: follow a different format.
- Distinctive: line 77
Keep outputs in notebooks (intentional for demonstration)
- Distinctive: line 79
Test that notebooks run top-to-bottom without errors
- Very specific: line 81
Quality checks: Run make check before committing.
- Distinctive: line 108
Create notebook in the appropriate directory
- Very specific: line 109
Add entry to registry.yaml with title, description, path, authors, categories
- Very specific: line 110
Add author info to authors.yaml if new contributor
- Distinctive: line 111
Run quality checks and submit PR
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
Claude Cookbooks
A collection of Jupyter notebooks and Python examples for building with the Claude API.
Quick Start
# Install dependencies
uv sync --all-extras
# Install pre-commit hooks
uv run pre-commit install
# Set up API key
cp .env.example .env
# Edit .env and add your ANTHROPIC_API_KEYDevelopment Commands
make format # Format code with ruff
make lint # Run linting
make check # Run format-check + lint
make fix # Auto-fix issues + format
make test # Run pytestOr directly with uv:
uv run ruff format . # Format
uv run ruff check . # Lint
uv run ruff check --fix . # Auto-fix
uv run pre-commit run --all-filesCode Style
- Line length: 100 characters
- Quotes: Double quotes
- Formatter: Ruff
Notebooks have relaxed rules for mid-file imports (E402), redefinitions (F811), and variable naming (N803, N806).
Git Workflow
Branch naming: <username>/<feature-description>
Commit format (conventional commits):
feat(scope): add new feature
fix(scope): fix bug
docs(scope): update documentation
style: lint/formatKey Rules
- API Keys: Never commit
.envfiles. Usedotenv.load_dotenv()then access keys viaos.environoros.getenv() - Dependencies: Use
uv add <package>oruv add --dev <package>. Never edit pyproject.toml directly. - Models: Use current Claude models. Check docs.anthropic.com for latest versions.
- Sonnet:
claude-sonnet-5 - Haiku:
claude-haiku-4-5 - Opus:
claude-opus-4-8 - Never use dated model IDs (e.g.,
claude-sonnet-4-6-20250514). Always use the non-dated alias. - Bedrock model IDs follow a different format. Use the base Bedrock model ID from the docs:
- Opus 4.8:
anthropic.claude-opus-4-8 - Sonnet 5:
anthropic.claude-sonnet-5 - Haiku 4.5:
anthropic.claude-haiku-4-5-20251001-v1:0 - Prepend
global.for global endpoints (recommended):global.anthropic.claude-opus-4-8 - Note: older Bedrock models use a dated
-YYYYMMDD-v1:0suffix (e.g., Haiku 4.5 above); newer ones use the suffix-lessanthropic.claude-<model>format.
- Opus 4.8:
- Sonnet:
- Notebooks:
- Keep outputs in notebooks (intentional for demonstration)
- One concept per notebook
- Test that notebooks run top-to-bottom without errors
- Quality checks: Run
make checkbefore committing. Pre-commit hooks validate formatting and notebook structure.
Slash Commands
These commands are available in Claude Code and CI:
/notebook-review- Review notebook quality/model-check- Validate Claude model references/link-review- Check links in changed files
Project Structure
capabilities/ # Core Claude capabilities (RAG, classification, etc.)
evals/ # Model evaluation patterns and benchmarks
skills/ # Advanced skill-based notebooks
tool_use/ # Tool use and integration patterns
multimodal/ # Vision and image processing
misc/ # Batch processing, caching, utilities
third_party/ # Pinecone, Voyage, Wikipedia integrations
extended_thinking/ # Extended reasoning patterns
scripts/ # Validation scripts
.claude/ # Claude Code commands and skillsAdding a New Cookbook
- Create notebook in the appropriate directory
- Add entry to
registry.yamlwith title, description, path, authors, categories - Add author info to
authors.yamlif new contributor - Run quality checks and submit PR
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.

