afk-timer

by tlq5l · ★ 1 · updated 19 days ago

BandsCommandsPromptwarnings

0

Shows how long you have been away from a Claude Code session and warns when its prompt cache has likely expired, so you can /clear instead of paying to re-read a big conversation

install afk-timer

Install

/plugin marketplace add tlq5l/afk-timer
/plugin install afk-timer@afk-timer

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startsession.attachprompt.editprompt.submitcommand.runui.pressui.inputui.selectturn.startturn.completeclassic.SessionStartui.render
API calls
$.clock.after$.clock.every$.clock.now$.session.surfaces$.session.usage$.state.get$.state.set$.ui.resolve
Draws
AbovePrompt
Can see
every promptclassic hooks
Reach
level 1 of 3 reads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/tlq5l/afk-timer
Path in repo
repository root
Source commit
f2c2b6b the exact code the scan read
Author
@tlq5l
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.