Discover / Token & Cost Optimization

Anthropic Prompt Caching

by anthropicsJupyter Notebook

Cache long system prompts and context blocks for up to 90% cost reduction.

Claude Skillexperimental

Maturity: experimental because active but has never tagged a release. Derived from release and commit history, not a rating.

Stars
51k
Forks
6.0k
Downloads / mo
Last commit
2026-07-23
License
MIT
Open issues
293

Market and trust evidence

Edition not yet matched

No exact skills.sh identity match is available for this repository. Repository adoption and freshness remain visible above; install momentum is not inferred.

Trust analysis is a screening signal, not a security warranty. Read the ranking and trust methodology.

In practice

Written by AI from this repository’s README · medium confidence

Patterns like tool use, RAG, evals, and prompt caching are easy to get wrong without a working reference.

Use it when

When you need a known good example for a Claude API technique before writing your own implementation.

Not the right pick when

These are recipes rather than a maintained library, so nothing here is a dependency you can install and call.

Capabilities

  • recipes for classification, RAG and summarization
  • tool use examples including a customer service agent and SQL queries
  • multimodal vision guides for images, charts and forms
  • sub-agent patterns and automated evaluations
  • JSON mode and moderation filter recipes
  • prompt caching techniques

Requirements

  • a Claude API key

Cost: Cost not stated

Install

Derived from the published package name in the repository, not from a model.

Video walkthroughs

Third-party YouTube uploads matched to this tool by title, channel and repository name on 2026-08-03. Not made, reviewed or endorsed by SkillPilot. View counts and publish months are as of the match date and the month is approximate. Nothing loads from YouTube until you press play.

What the repository ships

Ships CLAUDE.mdHas testsCI configured

Detected from the actual files in the repository root.

Tags

README

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

Tool Use and Integration

Third-Party Integrations

Multimodal Capabilities

Advanced Techniques

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.

Related tools