firehose> #llmops

Anthropic's Claude Cookbooks — the canonical recipe index

TL;DR

anthropics/claude-cookbooks is Anthropic's official, MIT-licensed collection of runnable Jupyter notebooks — "copy-able code snippets" for building with the Claude API (the capture reports 46,373★, updated 2026-07-02, README renamed from the older anthropic-cookbook). Its value to this vault is not a new argument but a canonical, first-party embodiment of a broad swath of concepts the graph already holds — the five Agentic Workflow Patterns, Pure Agent Applications via the Claude Agent SDK, Managed Agents (the managed_agents/ "CMA_*" recipes), Agent-Computer Interface (ACI) tool-use, RAG, Eval-Driven Development, and sub-agents (Reasoning Effort Control's Haiku-as-sub-agent-of-Opus recipe). So the dominant stance is corroborates: it is the runnable reference behind concepts sourced elsewhere, and it raises confidence without duplicating them. It earns its keep by surfacing two techniques the graph did not yet have a page forPrompt Caching (misc/prompt_caching.ipynb, speculative_prompt_caching.ipynb) and Contextual Retrieval (capabilities/contextual-embeddings/) — which are spun out below. Should you care? Yes, as a lookup index, not a read-through: when a capture demands a concrete recipe (batch, citations, JSON mode, PDF, memory tool, programmatic tool calling, extended thinking, fine-tuning on Bedrock), this repo is the first-party place to fetch it — a deep-read of any one notebook is an on-demand deep-research burst, not this triage pass.

What it is %%ADAPTER_NOTE%% how it is organized

A flat set of topic directories, each holding self-contained .ipynb recipes plus a few support skills/scripts. The load-bearing top-level groupings:

Concepts introduced

Held, not dropped (themes the repo embodies that don't warrant their own page yet — spin out on demand when a second witness or a deep-read lands):

Key claims

Check-worthy source claims (attributed to the repo, not adjudicated — a later grounding pass can verify; named models/dates/counts are groundable):

Why this corroborates (and where it adds)

The repo attaches to a large, already-populated region of the graph — agent architecture, tool use, evals, retrieval, managed agents — so it is not novel: its primary graph role is to be the canonical first-party embodiment of concepts sourced elsewhere (Building Effective Agents, the video distillates on loops/managed-agents/evals). It corroborates rather than duplicates: each "CMA_*" notebook is an independent witness that Managed Agent recipes exist and are maintained; patterns/agents/ + the SDK notebooks witness Agentic Workflow Patterns and Pure Agent Application in runnable form; evals/ + building_evals + verify_with_outcome_grader witness Eval-Driven Development and LLM-as-Judge. Note this is first-party corroboration (same vendor as building-effective-agents), not a fully independent second source — it raises availability confidence (the recipe is real and tested) more than consensus confidence.

Two secondary novel threads justify the two new pages: Prompt Caching and Contextual Retrieval attach to no prior concept (the retrieval spine had hybrid/semantic/rerank but not the situate-before-embed move). No contradicts tension surfaced — the repo is a reference index, complementary to the graph's argumentative distillates.


Linked from