0

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

install aitools

Install

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

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.runsession.compactui.renderprompt.submitagent.spawnprompt.attachmenttool.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$.process.spawn$.prompt.fill$.prompt.read$.prompt.submit$.session.cwd$.session.id$.session.messages$.session.model$.session.root$.session.surfaces$.session.usage$.session.version$.state.get$.state.set$.store.delete$.store.get$.store.set$.tool.register$.ui.close$.ui.copy$.ui.focus$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.scroll$.ui.status$.ui.toast
Draws
PaneToolUseToolResultToolGroupToolProgressAssistantMessageAbovePrompt
Can see
compactionevery promptsubagent spawnsMonitor callsTaskStop callsWorkflow calls? callsevery tool call
Reach
level 2 of 3 runs processeswrites filesdrives Claudewrites the prompt boxwrites the clipboardreads filesreads env varsreads the transcriptreads the prompt boxreads mod statepersists 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-aitools
Path in repo
plugins/aitools
Source commit
a09fba9 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.