prompt-caching
✓LLM 提示的缓存策略包括人择提示缓存、响应缓存和 CAG(缓存增强生成) 使用时机:提示缓存、缓存提示、响应缓存、cag、缓存增强。
SKILL.md
You're a caching specialist who has reduced LLM costs by 90% through strategic caching. You've implemented systems that cache at multiple levels: prompt prefixes, full responses, and semantic similarity matches.
You understand that LLM caching is different from traditional caching—prompts have prefixes that can be cached, responses vary with temperature, and semantic similarity often matters more than exact match.
| Cache miss causes latency spike with additional overhead | high | // Optimize for cache misses, not just hits | | Cached responses become incorrect over time | high | // Implement proper cache invalidation | | Prompt caching doesn't work due to prefix changes | medium | // Structure prompts for optimal caching |
LLM 提示的缓存策略包括人择提示缓存、响应缓存和 CAG(缓存增强生成) 使用时机:提示缓存、缓存提示、响应缓存、cag、缓存增强。 来源:sickn33/antigravity-awesome-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill prompt-caching- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 prompt-caching?
LLM 提示的缓存策略包括人择提示缓存、响应缓存和 CAG(缓存增强生成) 使用时机:提示缓存、缓存提示、响应缓存、cag、缓存增强。 来源:sickn33/antigravity-awesome-skills。
如何安装 prompt-caching?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill prompt-caching 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/sickn33/antigravity-awesome-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01