Skill / SKILL.md

cachebeat

ARahim3/cachebeat

Keep the Anthropic prompt cache warm by firing a tiny heartbeat only after N minutes of true session inactivity (any exchange resets the clock), so the next real turn reads the conversation at cached price / cached quota instead of a full uncached re-read. The heartbeat is a background Stop hook this skill registers (asyncRewake) - it re-arms itself after every turn, with no tool calls and no permission prompts. Use when the session may sit idle (training runs, CI, downloads, the user stepping away) longer than the cache TTL. Args - idle threshold in minutes (default 50), optional max hours (default 8), or "stop".
2 views 92 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Keep the Anthropic prompt cache warm by firing a tiny heartbeat only after N minutes of true session inactivity (any exchange resets the clock), so the next real turn reads the conversation at cached price / cached quota instead of a full uncached re-read. The heartbeat is a background Stop hook this skill registers (asyncRewake) - it re-arms itself after every turn, with no tool calls and no permission prompts. Use when the session may sit idle (training runs, CI, downloads, the user stepping away) longer than the cache TTL. Args - idle threshold in minutes (default 50), optional max hours (default 8), or "stop".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/ARahim3/cachebeat' skill-source

Use the complete skill-source directory with your client’s skill installer.

Source directory .

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
4 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
b5f899a5c26c82ed32af11150a0ed7ba4a9a58ad32f0cb8cfb9e1a30e69ddc78
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills