roo-fix-volatile-msg

Fix volatile-message cache thrash in Roo Code's Anthropic integration.

113|8|Updated May 28, 2026
One-click install
npx skills add https://github.com/OnlyTerp/prompt-cache-skills --skill roo-fix-volatile-msg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: roo-fix-volatile-msg
Source: https://github.com/OnlyTerp/prompt-cache-skills/tree/main/skills/roo-fix-volatile-msg
Command: npx skills add https://github.com/OnlyTerp/prompt-cache-skills --skill roo-fix-volatile-msg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Roo Code inherits Cline's volatile-message cache bug, leading to unnecessary cache writes and reduced cache hit rates.

Core Features & Use Cases

  • Fix Cache Thrash: Corrects the bug that causes Roo Code to cache volatile messages, improving cache hit rates.
  • Target Harness: Specifically designed for Roo Code users who want to enhance their Anthropic integration.
  • Use Case: Users can apply this skill to their Roo Code setup to eliminate cache thrash and increase cache hit rates.

Quick Start

Apply the roo-fix-volatile-msg skill to your Roo Code setup to resolve cache thrash issues.

Frequently Asked Questions about roo-fix-volatile-msg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does Roo Code have low Anthropic cache hit rates?

Low Anthropic cache hit rates in Roo Code are caused by an inherited volatile-message cache bug from Cline that triggers unnecessary cache writes and cache thrash.

How do I fix cache thrash in Roo Code's Anthropic integration?

To fix cache thrash in Roo Code's Anthropic integration, apply the volatile-message cache fix to correct the bug and improve your overall cache hit rates.

What is a volatile-message cache bug in Roo Code?

A volatile-message cache bug in Roo Code occurs when rapidly changing messages are cached unnecessarily, leading to cache thrash and reduced Anthropic API cache hit rates.

Can I use this cache fix if I only use Roo Code with Anthropic models?

Yes, this cache fix is specifically designed for Roo Code users who want to enhance their Anthropic integration and eliminate cache thrash.

Does Roo Code still inherit the Cline cache thrash bug?

Yes, Roo Code inherits Cline's volatile-message cache bug, but applying the targeted cache fix corrects the issue and restores proper Anthropic cache hit rates.