Cachetoast — Development skill for Claude Code
Local, provider-neutral handoffs and cache-aware session rotation for coding agents (Claude Code, Codex, Pi).
How to install Cachetoast
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open rhunterharris/cachetoast and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cachetoast does
Local, provider-neutral handoffs and cache-aware session rotation for coding agents (Claude Code, Codex, Pi).
Alternatives in Development
- Coding Agent Session Search — Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C 708 ★
- Alethe Agents — A local-first desktop workspace for running, organizing, and resuming multiple coding agents and shells with r 511 ★
- Puppetmaster — Provider-neutral control plane for durable-state agent swarms: subprocess workers, leases, artifacts, memory 340 ★
README
Cachetoast
When you come back to a **large, idle** coding-agent session whose prompt cache has likely expired, Cachetoast holds your first prompt before the agent re-reads the whole context at full price, and gives you a handoff to continue in a fresh session instead. Works with Claude Code, Codex, and Pi.
Zero dependencies. No LLM calls, API keys, telemetry, or network access. Node.js 22+, macOS/Linux.
Built by [R. Hunter Harris](https://huntersoftwareconsulting.com) at [Hunter Software Consulting](https://huntersoftwareconsulting.com), fractional product and technology leadership for B2B SaaS.
Install
From the repo you want to protect:
npx github:rhunterharris/cachetoast init
It installs for the agents you have (`--provider codex` to choose, `--dry-run` to preview). The runtime is copied into `.cachetoast/runtime`, so hooks never call npm or the network. Run `update` instead of `init` to refresh an existing install; it keeps your providers, policy, state, and handoffs.
Then restart your agent.
- Codex: trust the project, run
codexin the repo, and approve the hooks in/hooks. The Codex app skips unapproved hooks and can't approve them (openai/codex#47283). - Pi: trust the project.
How it works
If a session is at least 100k tokens (`--min-context-tokens`) and has been idle past its cache deadline, your next prompt is held once:
Cachetoast held this prompt!
This ~180k-token session has been idle 55 min with a 1h cache TTL, so its prompt cache has likely expired and continuing would re-read it all as uncached input.
Send it again to continue here OR start a new session (not resume or fork) and run:
/cachetoast-handoff claude-0123456789abcdef01234567
(The handoff includes your prompt.)
Send the prompt again to continue anyway. Or start a **fresh** session in the same repo and run the command from the notice: `/cachetoast-handoff KEY` in Claude Code, `$cachetoast-ha
Related Skills
Continuity Core
Provider-neutral bones of a multi-agent session-continuity system: a lock-file transactional checkpoint store,
Agentic Coding Harness
Run, watch, and meter Claude Code, Codex CLI, Gemini CLI, OpenCode, and Kiro from one CLI. Normalized events,
Black Box
A local ledger coding agents write their reasoning into and read back before they act. Codex and Claude Code s
Cogenity
Cogenity by Kenneth Lynne is a vendor-neutral multi-account manager for Claude Code and Codex. Keep project ac
Prodex
Prodex is a multi-account, multi-provider Codex wrapper with auto-rotation, Super mode, Smart Context, and tok
Agent Session Status
Live OpenCode, Claude Code, and Codex session state for Ironbar and Waybar. Provider events are reduced to a s
Related Agents
Hatch3r Handoff Loader
Session-start agent that surfaces active handoff documents from .hatch3r/handoffs/active/. Use at the beginnin
Pi Implementer
Implementation lane driven by the pi CLI (a local multi-provider coding agent, distinct from omp). Model-agnos
Opencode
Coding subagent that runs inside opencode, on any provider and model opencode supports (OpenAI, Google, Moonsh