Claude Warmline — Security skill for Claude Code
Makes Claude Code's prompt-cache state visible: HOT/COLD in your statusline from Claude Code's own data, plus an audit of when your sessions went cold, why, and what it cost.
How to install Claude Warmline
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Miguel-Barroso/claude-warmline and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Warmline does
Makes Claude Code's prompt-cache state visible: HOT/COLD in your statusline from Claude Code's own data, plus an audit of when your sessions went cold, why, and what it cost.
Alternatives in Security
- ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
- Audit Agent Sessions — Analyze all agent sessions from the last 3 days across Claude, Codex, and Gemini 238 ★
- Loongsuite Pilot — Local-first telemetry collector for AI coding agents — unified OpenTelemetry events for Claude Code, Codex, Cu 150 ★
README
claude-warmline
**English** | [日本語](README.ja.md) | [繁體中文](README.zh-TW.md) | [简体中文](README.zh-CN.md)
[](https://github.com/Miguel-Barroso/claude-warmline/actions/workflows/test.yml) [](https://github.com/Miguel-Barroso/claude-warmline/tags) [](LICENSE)
**Warmline makes Claude Code's prompt-cache state visible.**
Claude Code can silently go cold
A working session carries tens or hundreds of thousands of tokens — system prompt, tools, every file it read, every reply — and Claude Code re-sends all of it on every turn. While the prompt cache holds, that context is *read back* at roughly **0.1×** the normal input price. When the cache goes cold, the same context is processed again at about **2×**. It goes cold after about an hour of inactivity, and instantly whenever the start of the conversation is rewritten — `/compact` and auto-compaction both do that. Come back to a big session after lunch and your next message pays the rebuild on all of it, at exactly the moment you wanted results, and nothing in the session tells you so.
**Warmline puts the cache state directly in your statusline, and gives you the tools to see what it has been doing historically.**
Opus 5 | claude-warmline | ctx 64% (127k) | cache HOT (127k, cold ~11:58) | 5h 78%
No guessing, and no timing-based inference. Since v2.1.251 Claude Code hands the statusline its own `prompt_cache` object — whether the prefix is warm, which TTL it is on, the second it expires — and warmline prints what that object says.
Then, for everything before this turn:
warmline audit
grades every recorded API turn of a session from the usage Claude Code wrote for it, and `--all` ranks every session on this machine.
![The warml
Related Skills
Claude Cache Guard
Claude Code skill that stops prompt-cache thrash: -88% token burn in image-heavy agent sessions, with an audit
AI Spend
Audit Claude Code token efficiency: MCP overhead, session patterns, skill cost, cache hit rate. Add --full for
Claude Memory Kit
Memory for Claude Code that survives the session boundary — install the plugin into any repo: a hot cache inje
Cost Autopsy
Session token-burn autopsy (TCO v1). Reads the TIS telemetry log and reports per-session token spend (input /
Cache Audit
A Claude Code skill that audits your setup against the 6 prompt caching rules from Anthropic's engineering tea
Cc Cache Audit
A/B test proving Claude Code's billing header breaks cross-session prompt cache sharing. One env var fix saves
Related Agents
Lauda
Lauda (Лауда) — performance specialist — finds and explains bottlenecks: N+1 queries, hot-path cost, async mis
Worker Apply Opus
Resumable implementation worker for non-SDD work units. Applies multi-file changes from a handoff, absorbs fol
Gemini Dispatcher
Dispatches an already-prepared batch of gemini-swarm subtask prompt files to parallel agy (Gemini) sessions, w