tool-counter
by Rob Gruhl · ★ 0 · updated 9 days ago
Counts Claude's tool calls and shows the count in the status line
Install
git clone https://github.com/RobGruhl/claude-modsclaude --plugin-dir ./claude-mods/samples/ours/tool-counterThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
tool.call- API calls
$.ui.status- Can see
every tool call- Reach
- level 0 of 3 draws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/RobGruhl/claude-mods
- Path in repo
samples/ours/tool-counter- Source commit
3e43e4ethe exact code the scan read- Author
- Rob Gruhl @RobGruhl
- 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.
More from RobGruhl/claude-mods
blast-guard
RobGruhl/claude-mods
DURING the turn: refuses destructive shell commands, tidies the rest, and pins Explore subagents to Haiku
house-rules
RobGruhl/claude-mods
BEFORE the turn: adds a system-prompt section, attaches the local time to each prompt, and registers /house-rules
ledger
RobGruhl/claude-mods
DURABLE: counts turns and tool calls per session ($.state) and for all time ($.store), shown in a band above the prompt
turn-receipt
RobGruhl/claude-mods
AFTER the turn: prints a one-line receipt (time, tool calls, tokens) beneath each answer