Afk Timer — Development skill for Claude Code
Claude Code mod: shows how long you've been AFK and warns when the prompt cache has likely expired, so you can /clear instead of paying to re-read a big session.
How to install Afk Timer
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open tlq5l/afk-timer and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Afk Timer does
Claude Code mod: shows how long you've been AFK and warns when the prompt cache has likely expired, so you can /clear instead of paying to re-read a big session.
Alternatives in Development
- Projectmem — Open-source coding agent memory 766 ★
- Product Engineering — Agent skills for shipping real products with coding agents, from the first idea to paying users 279 ★
- Clear Cache — Clear validation cache for a plugin or entire system (project) 209 ★
README
afk-timer
A small Claude Code mod that tells you, above the prompt, how long you have been away and whether the session's prompt cache has likely expired. When it has, starting fresh with `/clear` is usually cheaper than carrying on in the same session.
AFK for 23 min · cache expires in 37 min
Cache likely expired (last reply 1 h 0 min ago): your next message re-reads ~182k tokens at full price. Same task? Carry on. New task? /clear first, it costs under half as much.
When this warning shows, your next message may make Claude Code read your whole conversation again at full price, which uses up more of your plan. If you are starting something new, type `/clear` first. If you are continuing the same task, just carry on.
Install
In Claude Code running in a terminal, type:
/plugin install afk-timer --marketplace tlq5l/afk-timer
Press `y` to add the marketplace, then Enter to install for your user. If it asks about the one setting, or says an option isn't set, leave it: it uses `auto`. It starts working right away. The desktop app's Code tab doesn't accept that command, but once you install it from a terminal the line shows there too.
It needs a Claude Code version with function-hook mods (early access; built and tested on 2.1.296).
What it shows
AFK for 23 min · cache expires in 37 min: you haven't typed, sent or clicked anything for 5 minutes. The two numbers count from different moments: AFK from your last action, the cache from Claude's last reply.You were AFK for 23 min(dim): shown for 10 seconds when you come back.Cache likely expired …: shown once the cache has likely lapsed (dim and calm when the conversation is small), including right after you resume an old session. It stays while you type and goes away when you send your next message,/clearor/compact.- It means Claude has likely lost its quick-reuse copy of your conversation, so your next message may cost more than usual. The warni
Related Skills
Claude Rewarm Guard
Warns before Claude Code silently rebuilds an expired prompt cache — and reports what idle-resume re-warms hav
Cornerman
A free, open-source plugin for Claude Code. Before you /clear, Claude writes a short handover you can read and
Teach
View, add, or manage project conventions. Shows what VBW already knows and warns about conflicts.
Ungate
Use your Claude and ChatGPT subscriptions in Cursor instead of paying for API tokens.
Deja
Déjà vu for your coding agent: cache-safe back-reference compression that stops Claude Code from paying twice
Sync Now
Force an immediate Nogging reconciliation instead of waiting for the timer.
Related Agents
GPT 5.6 Luna
General-purpose agent that runs on GPT-5.6-Luna (routed through the shunt gateway to the ChatGPT/Codex subscri
Cost Estimator
Estimates Cloudflare Workers costs before deploying. Reads wrangler.toml, counts D1 tables/rows, estimates KV/
Implement Orchestrator
Use when AFK implementation work is complex enough to need architecture, fixed contracts, slice planning, or w