
claude-cookbooks
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up claude-cookbooks (git-clone project) into my current project. Found on https://claudeers.com/claude-cookbooks Repo: https://github.com/anthropics/claude-cookbooks Homepage/docs: — Detected install method: git-clone → git clone https://github.com/anthropics/claude-cookbooks Category: rag. Platforms: api, web. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: active; community-verified: false. Confirm the source before running anything.
git clone https://github.com/anthropics/claude-cookbooks
// compatibility
| Platforms | api, web |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | Jupyter Notebook |
Claude Cookbooks
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.
Prerequisites
To make the most of the examples in this cookbook, you'll need a Claude API key (sign up for free here).
While the code examples are primarily written in Python, the concepts can be adapted to any programming language that supports interaction with the Claude API.
If you're new to working with the Claude API, we recommend starting with our Claude API Fundamentals course to get a solid foundation.
Explore Further
Looking for more resources to enhance your experience with Claude and AI assistants? Check out these helpful links:
Contributing
The Claude Cookbooks thrives on the contributions of the developer community. We value your input, whether it's submitting an idea, fixing a typo, adding a new guide, or improving an existing one. By contributing, you help make this resource even more valuable for everyone.
To avoid duplication of efforts, please review the existing issues and pull requests before contributing.
If you have ideas for new examples or guides, share them on the issues page.
Table of recipes
Capabilities
- Classification: Explore techniques for text and data classification using Claude.
- Retrieval Augmented Generation: Learn how to enhance Claude's responses with external knowledge.
- Summarization: Discover techniques for effective text summarization with Claude.
Tool Use and Integration
- Tool use: Learn how to integrate Claude with external tools and functions to extend its capabilities.
Third-Party Integrations
- Retrieval augmented generation: Supplement Claude's knowledge with external data sources.
- Embeddings with Voyage AI
Multimodal Capabilities
- Vision with Claude:
- Generate images with Claude: Use Claude with Stable Diffusion for image generation.
Advanced Techniques
- Sub-agents: Learn how to use Haiku as a sub-agent in combination with Opus.
- Upload PDFs to Claude: Parse and pass PDFs as text to Claude.
- Automated evaluations: Use Claude to automate the prompt evaluation process.
- Enable JSON mode: Ensure consistent JSON output from Claude.
- Create a moderation filter: Use Claude to create a content moderation filter for your application.
- Prompt caching: Learn techniques for efficient prompt caching with Claude.
Additional Resources
- Anthropic on AWS: Explore examples and solutions for using Claude on AWS infrastructure.
- AWS Samples: A collection of code samples from AWS which can be adapted for use with Claude. Note that some samples may require modification to work optimally with Claude.
// faq
What is claude-cookbooks?
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.. It is open-source on GitHub.
Is claude-cookbooks free to use?
claude-cookbooks is open-source under the MIT license, so it is free to use.
What category does claude-cookbooks belong to?
claude-cookbooks is listed under other in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/claude-cookbooks)
// retro hit counter
[](https://claudeers.com/claude-cookbooks)
// reviews
// guestbook
// related in RAG & Knowledge
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant contex…
✨ Light and Fast AI Assistant. Support: Web | iOS | MacOS | Android | Linux | Windows
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
// built by
2 of its contributors also build on official projects — typescript-sdk
→ see how claude-cookbooks connects across the ecosystem