Claude Cookbook
Practical guides and examples for using Claude effectively
Programmatic tool calling (PTC)
Reduce latency and token consumption by letting Claude write code that calls tools programmatically in the code execution environment.
Tool search with embeddings
Scale Claude applications to thousands of tools using semantic embeddings for dynamic tool discovery.
Automatic context compaction
Manage context limits in long-running agentic workflows by automatically compressing conversation history.
Giving Claude a crop tool for better image analysis
Give Claude a crop tool to zoom into image regions for detailed analysis of charts, documents, and diagrams.
Prompting for frontend aesthetics
Guide to prompting Claude for distinctive, polished frontend designs avoiding generic aesthetics.
Introduction to Claude Skills
Create documents, analyze data, automate workflows with Claude's Excel, PowerPoint, PDF skills.


