cm-tool-call-counter
by ClaudeMods · ★ 0 · updated 5 days ago
Counts Claude's tool calls per turn and per session, shows the count beside the spinner, and adds /tally for a per-tool breakdown with error counts.
Install
/plugin marketplace add rotbit/claudemods-marketplace/plugin install cm-tool-call-counter@claudemodsThen 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
session.startturn.starttool.callui.rendercommand.run- API calls
$.command.register$.state.get$.state.set$.ui.status- Draws
Spinner- Can see
every tool call- Reach
- level 1 of 3 other: $.state.getother: $.state.setdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/rotbit/claudemods-marketplace
- Path in repo
cm-tool-call-counter- Source commit
7a6da12the exact code the scan read- Author
- ClaudeMods @rotbit
- 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 rotbit/claudemods-marketplace
cm-block-dangerous-commands
rotbit/claudemods-marketplace
Refuses destructive Bash commands (rm -rf /, force-push to main, DROP TABLE, curl | sh, ...) before Claude runs them, and tells Claude why.
cm-context-meter
rotbit/claudemods-marketplace
Puts context-window fill, 5-hour/7-day plan usage and session cost in the status line, and warns once when the context gets full.
cm-done-toast
rotbit/claudemods-marketplace
Shows "Done in 2m 14s" and plays a short chime when a long Claude turn finishes; optional macOS/Linux system notification.
cm-git-branch
rotbit/claudemods-marketplace
Shows the current git branch, how many files changed and ahead/behind counts in a one-line band above the prompt.