context-cache-management

Official

Make context compression safe and cache-friendly.

Authorlinkerdog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps prevent broken prompts and lost tool evidence when you change how RARA compresses context, projects tool results, budgets tokens, and handles provider-side prompt caching.

Core Features & Use Cases

  • Stable prompt prefix preservation: Keeps the ordering of system guidance, tool schemas, stable skills and memory, compacted history carry-over, and volatile suffix context consistent.
  • Correct tool pair handling: Ensures tool_use and tool_result blocks remain intact as a paired unit, avoiding partial or mismatched history edits.
  • Provider cache capability alignment: Applies compression strategies based on explicit cache capability profiles (automatic prefix cache, usage accounting, cache edit, and retention control), avoiding assumptions about OpenAI-compatible backends.
  • Memory placement discipline: Places retrieved memory in a volatile suffix near the latest user request unless explicitly promoted into stable workspace memory.

Quick Start

Ask RARA to apply this skill while you adjust context compression or provider cache behavior for a specific model backend, ensuring the saved transcript remains unchanged except for explicit user-requested lifecycle compaction.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: context-cache-management
Download link: https://github.com/linkerdog/rara/archive/main.zip#context-cache-management

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.