·prompt-caching
""

prompt-caching

lobbi-docs/claude

Claude API 的提示缓存可减少高达 85% 的延迟和高达 90% 的成本。激活缓存控制、临时缓存、缓存断点和性能优化。

6安装·0热度·@lobbi-docs

安装

$npx skills add https://github.com/lobbi-docs/claude --skill prompt-caching

SKILL.md

Leverage Anthropic's prompt caching to dramatically reduce latency and costs for repeated prompts.

| TTL | Write Cost | Read Cost | Use Case |

| 5 minutes (default) | 1.25x base | 0.1x base | Interactive sessions | | 1 hour | 2.0x base | 0.1x base | Batch processing, stable docs |

Claude API 的提示缓存可减少高达 85% 的延迟和高达 90% 的成本。激活缓存控制、临时缓存、缓存断点和性能优化。 来源:lobbi-docs/claude。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/lobbi-docs/claude --skill prompt-caching
分类
""沟通写作
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 prompt-caching?

Claude API 的提示缓存可减少高达 85% 的延迟和高达 90% 的成本。激活缓存控制、临时缓存、缓存断点和性能优化。 来源:lobbi-docs/claude。

如何安装 prompt-caching?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/lobbi-docs/claude --skill prompt-caching 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/lobbi-docs/claude

详情

分类
""沟通写作
来源
skills.sh
收录时间
2026-02-01