A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.
Claude Cookbooks is an official Anthropic repository of Jupyter notebooks that teach developers how to build applications using the Claude API. Organized into capability-focused sections, the collection covers text classification, retrieval-augmented generation with Pinecone vector databases, summarization, tool use (including a customer service agent, calculator integration, and SQL query generation), multimodal tasks such as chart interpretation and form transcription, and advanced techniques including prompt caching, JSON mode enforcement, automated evaluations, and content moderation filters. One notable recipe demonstrates using Claude Haiku as a sub-agent alongside Opus, illustrating a cost-conscious multi-model architecture. Third-party integrations include Voyage AI embeddings, Wikipedia search, and Stable Diffusion for image generation. All examples connect to Claude through the Anthropic API using Python, with concepts adaptable to other languages. The resource targets developers at varying experience levels, from those starting with API fundamentals to those building production-grade pipelines, and accepts community contributions via pull requests and GitHub issues.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Trusted owner (anthropics)
- ✓Mature repo (>1y old)
git clone https://github.com/anthropics/claude-cookbooksResumen de Tools
# 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](https://www.anthropic.com)). 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](https://github.com/anthropics/courses/tree/master/anthropic_api_fundamentals) 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: - [Anthropic developer documentation](https://docs.claude.com/claude/docs/guide-to-anthropics-prompt-engineering-resources) - [Anthropic support docs](https://support.anthropic.com) - [Anthropic Discord community](https://www.anthropic.com/discord) ## 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](https://github.com/anthropics/anthropic-cookbook/issues). ## Table of recipes ### Capabilities - [Classification](https://github.com/anthropics/anthropic-cookbook/tree/main/capabilities/classification): Explore techniques for text and data classification using Claude. - [Retrieval Augmented Generation](https://github.com/anthropics/anthropic-cookbook/tree/main/capabilities/retrieval_augmented_generation): Learn how to enhance Claude's responses with external knowledge. - [Summarization](https://github.com/anthropics/anthropic-cookbook/tree/main/capabilities/summarization): Discover techniques for effective text summarization with Claude. ### Tool Use and Integration - [Tool use](https://github.com/anthropics/anthropic-cookbook/tree/main/tool_use): Learn how to integrate Claude with external tools and functions to extend its capabilities. - [Customer service agent](https://github.com/anthropics/anthropic-cookbook/blob/main/tool_use/customer_service_agent.ipynb) - [Calculator integration](https://github.com/anthropics/anthropic-cookbook/blob/main/tool_use/calculator_tool.ipynb) - [SQL queries](https://github.com/anthropics/anthropic-cookbook/blob/main/misc/how_to_make_sql_queries.ipynb) ### Third-Party Integrations - [Retrieval augmented generation](https://github.com/anthropics/anthropic-cookbook/tree/main/third_party): Supplement Claude's knowledge with external data sources. - [Vector databases (Pinecone)](https://github.com/anthropics/anthropic-cookbook/blob/main/third_party/Pinecone/rag_using_pinecone.ipynb) - [Wikipedia](https://github.com/anthropics/anthropic-cookbook/blob/main/third_party/Wikipedia/wikipedia-search-cookbook.ipynb/) - [Web pages](https://github.com/anthropics/anthropic-cookbook/blob/main/misc/read_web_pages_with_haiku.ipynb) - [Embeddings with Voyage AI](https://github.com/anthropics/anthropic-cookbook/blob/main/third_party/VoyageAI/how_to_create_embeddings.md) ### Multimodal Capabilities - [Vision with Claude](https://github.com/anthropics/anthropic-cookbook/tree/main/multimodal): - [Getting started with images](https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/getting_started_with_vision.ipynb) - [Best practices for vision](https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/best_practices_for_vision.ipynb) - [Interpreting charts and graphs](https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/reading_charts_graphs_powerpoints.ipynb) - [Extracting content from forms](https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/how_to_transcribe_text.ipynb) - [Generate images with Claude](https://github.com/anthropics/anthropic-cookbook/blob/main/misc/illustrated_responses.ipynb): Use Claude with Stable Diffusion for image generation. ### Advanced Techniques - [Sub-agents](https://github.com/anthropics/anthropic-cookbook/blob/main/multimodal/using_sub_agents.ipynb): Learn how to use Haiku as a sub-agent in combination with Opus. - [Upload PDFs to Claude](https://github.com/anthropics/anthropic-cookbook/blob/main/misc/pdf_upload_summarization.ipynb): Parse and pass PDFs as text to Claude. - [Automated evaluations](https://github.com/anthropics/anthropic-cookbook/blob/main/misc/building_evals.ipynb): Use Claude to automate the prompt evaluation process. - [Enable JSON mode](https://github.com/anthropics/anthropic-cookbook/blob/main/misc/how_to_enable_json_mode.ipynb): Ensure consistent JSON output from Claude. - [Create a moderation filter](https://github.com/anthropics/anthropic-cookbook/blob/main/misc/building_moderation_filter.ipynb): Use Claude to create a content moderation filter for your application. - [Prompt caching](https://github.com/anthropics/anthropic-cookbook/blob/main/misc/prompt_caching.ipynb): Learn techniques for efficient prompt caching with Claude. ## Additional Resources - [Anthropic on AWS](https://github.com/aws-samples/anthropic-on-aws): Explore examples and solutions for using Claude on AWS infrastructure. - [AWS Samples](https://github.com/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.
Lo que la gente pregunta sobre claude-cookbooks
¿Qué es anthropics/claude-cookbooks?
+
anthropics/claude-cookbooks es tools para el ecosistema de Claude AI. A collection of notebooks/recipes showcasing some fun and effective ways of using Claude. Tiene 45.4k estrellas en GitHub y se actualizó por última vez 3d ago.
¿Cómo se instala claude-cookbooks?
+
Puedes instalar claude-cookbooks clonando el repositorio (https://github.com/anthropics/claude-cookbooks) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar anthropics/claude-cookbooks?
+
Nuestro agente de seguridad ha analizado anthropics/claude-cookbooks y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene anthropics/claude-cookbooks?
+
anthropics/claude-cookbooks es mantenido por anthropics. La última actividad registrada en GitHub es de 3d ago, con 229 issues abiertos.
¿Hay alternativas a claude-cookbooks?
+
Sí. En ClaudeWave puedes explorar tools similares en /categories/tools, ordenados por popularidad o actividad reciente.
Despliega claude-cookbooks en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/anthropics-claude-cookbooks)<a href="https://claudewave.com/repo/anthropics-claude-cookbooks"><img src="https://claudewave.com/api/badge/anthropics-claude-cookbooks" alt="Featured on ClaudeWave: anthropics/claude-cookbooks" width="320" height="64" /></a>Más Tools
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph. App code + database schema + infrastructure in one graph.
A light-weight and powerful meta-prompting, context engineering and spec-driven development system for Claude Code by TÂCHES.
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies