anthropics/claude-cookbooks

A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.

About the project

Claude Cookbooks is a collection of code examples and guides that show developers how to build applications with the Claude API. Users consult its notebooks and recipes to learn techniques such as classification and retrieval-augmented generation. The catalogue add-ons provide commands, skills, agents, hooks, settings, and instructions related to using these examples.

This repository also configures its own agents. See what claude-cookbooks tells them →

54kStars on the repository
22Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

SessionStart

01

anthropics/claude-cookbooks

Hook Claude Code ✓ vendor

One of 3 in settings.json

Runs when a session starts, executing session-start.sh. From anthropics/claude-cookbooks.

not rated 54k +192 today A ✓ AI review tokens not measured original MIT

PreToolUse

02

anthropics/claude-cookbooks

Hook Claude Code ✓ vendor

One of 3 in settings.json

Runs before the agent uses a tool, executing pre-write.sh and pre-bash.sh (2 commands). From anthropics/claude-cookbooks.

not rated 54k +192 today A ✓ AI review tokens not measured original MIT