0

Subscription usage, API-equivalent cost and context bar above the prompt

install aitools

Install

/plugin marketplace add pkkid/claude-mods
/plugin install aitools@claude-mods

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.startturn.startsession.measureturn.stepturn.completecommand.runui.renderprompt.submitagent.spawntool.callui.messageui.close
API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.write$.model.fork$.process.run$.session.id$.session.messages$.session.root$.session.surfaces$.session.usage$.state.get$.state.set$.store.get$.store.set$.tool.register$.ui.close$.ui.copy$.ui.focus$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast
Draws
PaneToolUseToolResultToolGroupToolProgressAssistantMessageAbovePrompt
Can see
every promptsubagent spawnsWorkflow calls? callsevery tool call
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processeswrites filesdrives Claudereads filesreads env varsreads the transcriptpersists 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/pkkid/claude-mods
Path in repo
plugins/aitools
Source commit
d453ec5 the exact code the scan read
Author
Michael Shepanski @pkkid
License
No license declared — ask the author before reusing code.
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.