← Registry

agent-prompt-caching-best-practices

Community

uygnoey/agent-prompt-caching-best-practices

Keep prompt cache hit rate high in long-running agents by following the patterns Claude Code's team uses — lay out static-then-dynamic, push updates into messages instead of editing the system prompt, never change models or tools mid-session, model state transitions as tools (Plan Mode), defer tool loading instead of removing tools, and implement compaction as cache-safe forking. Treat cache breaks as incidents.

Install

skillpm install uygnoey/agent-prompt-caching-best-practices

Format score

100/100

Spec

v1.0

Installs

0

Author

@uygnoey

Published

September 6, 2026