Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/yujiachen-y/claude-code-cache-keepaliveWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/plugins/yujiachen-y/claude-code-cache-keepalive/cache-keepalive)<a href="https://agentmods.dev/plugins/yujiachen-y/claude-code-cache-keepalive/cache-keepalive"><img src="https://agentmods.dev/badge/plugins/yujiachen-y/claude-code-cache-keepalive/cache-keepalive/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/plugins/yujiachen-y/claude-code-cache-keepalive/cache-keepalive"><img src="https://agentmods.dev/badge/plugins/yujiachen-y/claude-code-cache-keepalive/cache-keepalive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
cache-keepalive scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
{
"name": "cache-keepalive",
"version": "0.1.1",
"description": "Keep Claude Code's 5-minute prompt cache warm across idle pauses by injecting cheap keepalive turns from a Stop hook. Saves real money on API-billed sessions with normal thinking gaps.",
"author": {
"name": "yujiachen-y"
},
"homepage": "https://github.com/yujiachen-y/claude-code-cache-keepalive",
"repository": "https://github.com/yujiachen-y/claude-code-cache-keepalive",
"license": "MIT",
"keywords": [
"cache",
"prompt-cache",
"keepalive",
"ttl",
"cost-optimization",
"hooks"
],
"userConfig": {
"interval_seconds": {
"type": "number",
"title": "Keepalive interval (seconds)",
"description": "Seconds the Stop hook sleeps before injecting a keepalive ping. Claude Code's prompt cache TTL is 300s (5 min); 240 leaves a 60s safety margin.",
"default": 240,
"min": 30,
"max": 290,
"required": false,
"sensitive": false
},
"keepalive_message": {
"type": "string",
"title": "Keepalive message",
"description": "Text injected as a user-side keepalive turn. Keep it bland so Claude replies cheaply without starting tools or generating long output.",
"default": "got it, i need some time to think about the next move",
"required": false,
"sensitive": false
},
"max_loops_per_turn": {
"type": "number",
"title": "Max keepalive loops per turn",
"description": "Max consecutive keepalive cycles per idle turn before giving up. At interval=240 and max=7, one idle turn keeps the cache warm for ~28 minutes.",
"default": 7,
"min": 1,
"max": 60,
"required": false,
"sensitive": false
}
}
}
What it installs
The manifest is a name and a version. 3 hooks travel with it, and installing the plugin installs all of them. Each is measured on its own page, and each can be installed alone.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 50 lines scan A e566fbb211f6
cache-keepalive is a plugin published in the GitHub repository yujiachen-y/claude-code-cache-keepalive (19 stars, last pushed 7mo ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
cache-keepalive compared with plugins from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cache-keepaliveyujiachen-y/claude-code-cache-keepalive | Plugin | 19 | 7mo ago | MIT | A | — | Claude Code |
| humanizerblader/humanizer | Plugin | 67k | 12d ago | MIT | A | — | Claude Code |
| claude-plugins-official marketplaceanthropics/claude-plugins-official | Plugin | 47k | today | Apache-2.0 | A | — | Claude Code |
| nextjsvercel/next.js | Plugin | 143k | today | MIT | A | — | Claude Code |
| themes-examplegoogle-gemini/gemini-cli | Plugin | 109k | today | Apache-2.0 | A | — | Gemini CLI |
| knowledge-work-plugins marketplaceanthropics/knowledge-work-plugins | Plugin | 35k | 3d ago | Apache-2.0 | A | — | Claude Code |
| code-modernizationanthropics/claude-plugins-official | Plugin | 47k | today | Apache-2.0 | A | — | Claude Code |