← all repositories
anthropics/claude-cookbooks

Anthropic's official playbook for actually using Claude

A curated stack of Jupyter notebooks showing how to wire Claude into real workflows, from SQL queries to vision pipelines.

45.1k stars Jupyter Notebook LearningLanguage ModelsRAG · Search
claude-cookbooks
Velocity · 7d
+44
★ / day
Trend
steady
star history

What it does The Claude Cookbooks are a collection of copy-pasteable Jupyter notebooks and short guides meant to get developers from “I have an API key” to “this thing is doing useful work.” Recipes cover classification, RAG, summarization, tool use, vision, and prompt caching. Most examples are Python, but the concepts are pitched as language-agnostic.

The interesting bit This is essentially Anthropic’s own answer to “okay, but how do I actually build with this?” The notebooks include specific integrations you don’t always see in generic tutorials—Haiku sub-agents orchestrated under Opus, Stable Diffusion wired to Claude for image generation, and prompt-evaluation pipelines that use Claude to grade itself.

Key highlights

  • Vision recipes go beyond basics: chart/graph interpretation, form transcription, PowerPoint parsing
  • Tool-use section includes a customer-service agent and calculator integration with actual wiring
  • Third-party RAG covers Pinecone, Wikipedia, and web-page ingestion via Haiku
  • Prompt caching and JSON-mode notebooks address production friction, not just demos
  • 45K stars suggests this has become a de facto reference point

Caveats

  • Requires a Claude API key; no free-tier fallback mentioned
  • Some third-party samples (notably AWS) may need modification to work optimally

Verdict Worth bookmarking if you’re shipping with Claude and tired of cobbling together blog posts. Skip it if you’re looking for deep architectural theory—this is practical glue code, well-documented.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.