agent-state

by M-i-k-e-l · ★ 0 · updated 6 days ago

PanesReskinsGuardsPromptAudiowarnings

0

Shows the state of Claude (working, permission, input, idle, background, compacting) in the iTerm2 tab subtitle and in a Sessions pane in the desktop app, which can also push to your phone when a session waits.

install agent-state

Install

/plugin marketplace add M-i-k-e-l/agent-state
/plugin install agent-state@agent-state

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.startclassic.SessionStartclassic.UserPromptSubmitsession.attachui.closeui.rendersession.endturn.startturn.completeclassic.Stoptool.callsession.compactclassic.PermissionRequesttelemetry.log
API calls
$.agent.list$.audio.play$.clock.every$.clock.sleep$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.http.fetch$.mcp.call$.process.run$.session.cwd$.session.surfaces$.store.get$.store.set$.ui.close$.ui.copy$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
SessionModePane
Can see
classic hooksevery tool callcompaction
Reach
level 3 of 3 networkMCP serversruns processeswrites fileswrites the clipboardreads filesreads env varsplays audiopersists 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/M-i-k-e-l/agent-state
Path in repo
repository root
Source commit
a072d4e the exact code the scan read
Author
@M-i-k-e-l
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.

Other mods in Panes, close to this one by stars.