PROMPT CACHE HIERARCHY
# Prompt Cache Hierarchy — Repository Standard
**Purpose:** Repository-wide convention for keeping the Anthropic prompt-cache hit rate high across skill loads, `_common/` shared context, and per-task variable input.
**Read when:** Designing a new skill, restructuring `_common/`, authoring an orchestration recipe, or auditing prompt-cache miss rate via `hone`.
**Source:** [platform.claude.com — Prompt Caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching), [platform.claude.com — Pricing](https://platform.claude.com/docs/en/about-claude/pricing).
---
## The hierarchy
Anthropic's prompt cache invalidates strictly top-down:when to use it
Community prompt sourced from the open-source GitHub repo simota/agent-skills (MIT). A "PROMPT CACHE HIERARCHY" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
writingcommunitygeneral
source
simota/agent-skills · MIT
more in Writing
Writing✓ tested
Explain anything to a smart friend
great teacher who refuses to dumb things down
Writing✓ tested
Line-edit my draft (keep my voice)
sharp copy editor who tightens without flattening
Writing✓ tested
Outline a long piece before you write it
editor who structures the argument before a word is drafted