Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

Anthropic’s notebooks and Python examples for building with the Claude API. Folders cover tool use, retrieval, Skills, Claude Agent SDK and Managed Agents. The setup notes cover uv, pip, the keys for the root, skills, Agent SDK and Managed Agents folders, Claude Code commands and reading online.
Claude Cookbooks is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.
git clone https://github.com/anthropics/claude-cookbooks.git cd claude-cookbooks uv sync --all-extras
Claude Cookbooks is Anthropic’s repository of Jupyter notebooks and Python examples for building with the Claude API, kept under the MIT license. Its README says the guides offer copy-able code snippets you can drop into your own projects. The examples are mostly Python, and the README says the ideas carry to any language that can call the Claude API. Folders cover tool use, retrieval, classification, summarization, vision, Skills, the Claude Agent SDK, Claude Managed Agents, cost and latency, each with notebooks you can run against your own key.
Developers who write some Python and want a working example of a Claude API feature before they build their own. The README suggests the Claude API Fundamentals course if you are new to the API. These are teaching recipes. Each one shows a technique, not a finished product.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software teams | Developers adding Claude to a product | Copy a tool use or retrieval recipe as the starting point for a feature | A backend developer reads the customer service agent notebook before writing a support bot. |
| Data and analytics | Analysts who write Python | Follow the classification and text to SQL guides, which also show how to evaluate the results | An analyst follows the text to SQL guide and reads how it tests syntax, data correctness and row count. |
| Platform and operations teams | Engineers who watch spend and delay | Work through the cost and latency notebooks, which measure each setting on an agent | An engineer reads the cost notebook’s pass rate against its cost per task to pick a configuration. |
| Agent builders | Developers using the Claude Agent SDK or Claude Managed Agents | Start from the numbered SDK recipes or the Managed Agents tutorials | A developer starts with the one-liner research agent in recipe 00, then moves on to recipe 01. |
Skip it if you want a finished app to install, since the Managed Agents README sends its full apps to a separate repository, claude-quickstarts.
The recipes are Jupyter notebooks and Python files, so they run wherever those do, with a Claude API key. The maker’s pages describe these routes:
| Folder | Environment | Keys |
|---|---|---|
| Repository root | uv sync, Python 3.11 or 3.12 | ANTHROPIC_API_KEY |
| skills | pip and a virtual environment | ANTHROPIC_API_KEY and ANTHROPIC_MODEL, which the example sets to claude-sonnet-5-5 (its comment says Skills require Claude 4.5 Sonnet or newer) |
| claude_agent_sdk | uv sync and a Jupyter kernel, plus Docker for recipe 02 | ANTHROPIC_API_KEY, GITHUB_TOKEN for recipe 02, OPENAI_API_KEY for recipe 04 |
| managed_agents | Jupyter, where each notebook installs its own dependencies | ANTHROPIC_API_KEY, and GITHUB_TOKEN or MONGO_URI for the notebooks that name them |
Get it saves a zip of Mindket’s setup notes in your downloads folder. It holds a page of steps each for the repository root, the skills, claude_agent_sdk and managed_agents folders, the Claude Code commands and reading online. Start with uv and a clone of the repository.
| Need | Detail |
|---|---|
| A Claude API key | The README links anthropic.com to sign up. The example env file points to console.anthropic.com/settings/keys for the key |
| Python | 3.11 or 3.12 for the root and claude_agent_sdk folders. The skills README says 3.8 or higher |
| uv | CONTRIBUTING.md calls it the recommended package manager. The pages give a shell line and a Homebrew line, and no Windows line |
| Git | To clone the repository |
| Jupyter | Listed in the root pyproject.toml. The skills route installs it with pip |
| Docker | The Agent SDK README asks for it running for recipe 02, and recipe 07 hosts an agent on it |
git clone https://github.com/anthropics/claude-cookbooks.git cd claude-cookbooks uv sync --all-extras cp .env.example .env
The skills folder’s README uses pip and a virtual environment instead of uv:
git clone https://github.com/anthropics/claude-cookbooks.git cd claude-cookbooks/skills python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt cp .env.example .env
Pick a folder for what you want to build, open one notebook and run its cells in order. Because the repository keeps saved outputs on purpose, each notebook also shows its results.
| Folder | Open first |
|---|---|
| capabilities | guide.ipynb inside classification, retrieval_augmented_generation, summarization or text_to_sql |
| tool_use | customer_service_agent.ipynb or calculator_tool.ipynb, the two the root README names |
| skills | notebooks/01_skills_introduction.ipynb, which its README says to start with |
| claude_agent_sdk | 00_The_one_liner_research_agent.ipynb, the first recipe in its README |
| managed_agents | data_analyst_agent.ipynb to get started, or CMA_iterate_fix_failing_tests.ipynb as the entry-point tutorial |
| multimodal | getting_started_with_vision.ipynb |
CLAUDE.md says a notebook should run top to bottom without errors. The skills README starts Jupyter with this line, after its pip install:
jupyter notebook
The pages give no launch line for the uv route, so open a notebook your usual way. In the Agent SDK folder, this line registers its environment as a kernel:
uv run python -m ipykernel install --user --name="cc-sdk-tutorial" --display-name "Python (cc-sdk-tutorial)"
You want to see how Claude can call many tools without filling its context with their results. You clone the repository, add your key to .env and open tool_use/programmatic_tool_calling_ptc.ipynb. Its page on the Claude Cookbook site is titled “Programmatic tool calling (PTC)” and says the technique lets Claude write code that calls tools in the code execution environment. The notebook uses a mock team expense API. Its query opens with this question, then gives the standard $5,000 quarterly travel budget and asks Claude to check custom budget exceptions for anyone over it:
Which engineering team members exceeded their Q3 travel budget?
It answers first with ordinary tool calls and then with programmatic tool calling, and at the end it prints a table that compares API calls, total tokens and elapsed time. The notebook loads your key from .env. No key sits in the file.
If you are new. The Claude API lets your code send Claude a message and read its reply. A notebook mixes notes with code cells that you run one at a time, and the cells that call Claude need an API key from your Anthropic account. The README suggests Anthropic’s Claude API Fundamentals course first. You can also just read a notebook. Its saved outputs show what each cell printed.
For experts. Recipe 08 in the Agent SDK folder triggers dynamic workflows. Claude writes a JavaScript orchestration script, and a runtime runs it across parallel subagents in the background. Recipe 07 hosts an agent on Docker, Modal and Kubernetes behind one HTTP interface.
The code and notebooks sit on your machine. Cells that call Claude send your prompts to the Claude API with your key. Files the Skills notebooks generate are stored temporarily on Anthropic’s servers. Managed Agents run your agent in Anthropic’s hosted, sandboxed environment, with the files you mount. Recipe 04 in the Agent SDK folder also calls OpenAI with your OPENAI_API_KEY. CONTRIBUTING.md asks Managed Agents notebooks to tag each agent with an anthropic_cookbook value, so Anthropic can see which cookbooks people run.
This kit holds setup notes only. Mindket wrote them. The notebooks, code and sample data stay in Anthropic's repository: https://github.com/anthropics/claude-cookbooks
These notes are not made or endorsed by Anthropic. The repository's README says: "The Claude Cookbooks provide code and guides designed to help developers build with Claude, offering copy-able code snippets that you can easily integrate into your own projects." The notes were written from the README, the folder READMEs, CONTRIBUTING.md, CLAUDE.md, the files under .claude and the Claude Cookbook site, all read on 3 November 2026.
License: MIT. The LICENSE file (https://github.com/anthropics/claude-cookbooks/blob/main/LICENSE) reads "Copyright (c) 2023 Anthropic".
CLAUDE.md calls it "A collection of Jupyter notebooks and Python examples for building with the Claude API." The README says the examples are mostly Python and that the ideas carry to any language that can call the Claude API. You need a Claude API key. For a first look at the API, the README points to the Claude API Fundamentals course: https://github.com/anthropics/courses/tree/master/anthropic_api_fundamentals
Sources: https://github.com/anthropics/claude-cookbooks/blob/main/README.md and https://github.com/anthropics/claude-cookbooks/blob/main/CLAUDE.md
Folder names come from the repository's file tree (https://api.github.com/repos/anthropics/claude-cookbooks/git/trees/main?recursive=1). What a folder holds comes from its README where it has one, and from the file names where it does not.
| Folder | What it holds | Where that comes from |
|---|---|---|
| capabilities | Guides on classification, retrieval augmented generation (plain and with contextual embeddings), summarization, text to SQL, knowledge graphs and content policy enforcement | capabilities/README.md |
| tool_use | Notebooks on tool use: a customer service agent, a calculator, tool choice, parallel tools, structured JSON, memory, context compaction, programmatic tool calling and tool search | the root README and file names |
| skills | Notebooks on Claude's Skills feature, with sample financial data and custom skills | skills/README.md |
| claude_agent_sdk | Numbered recipes 00 to 08 for the Claude Agent SDK, and a standalone scheduled repository reviewer | claude_agent_sdk/README.md |
| managed_agents | Tutorials and applied notebooks for Claude Managed Agents | managed_agents/README.md |
| multimodal | Notebooks on images, charts and forms, and on Haiku as a sub-agent | the root README |
| third_party | Folders for Deepgram, ElevenLabs, LlamaIndex, MongoDB, Pinecone, Voyage AI and Wolfram Alpha | folder names |
| misc | Batch processing, prompt caching, citations, JSON mode, evals, a moderation filter, PDF upload and more | the root README and file names |
| .claude | Slash commands, a code review agent and the cookbook-audit skill | the files under .claude |
Other folders hold one topic each: extended_thinking, observability (OpenTelemetry tracing and the usage and cost API), cost_optimization, latency_optimization, finetuning (fine-tuning on Bedrock), coding (prompting for frontend aesthetics), tool_evaluation, evals/agentic_search and patterns/agents.
These are differences between pages and files read on 3 November 2026. None of them stops you, but each can cost a few minutes.
pip install -e ".[dev]". pyproject.toml puts its dev tools under [dependency-groups] and defines no extra called dev.README.md 6 KB setup/claude-agent-sdk.md 5 KB setup/claude-code.md 4 KB setup/managed-agents.md 5 KB setup/python-and-uv.md 4 KB setup/read-online.md 3 KB setup/skills-notebooks.md 5 KB
Updated by Mindket to the current version of this kit.
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…