tool-counter

by Rob Gruhl · ★ 0 · updated 9 days ago

Status lineGuardsvalidates

0

Counts Claude's tool calls and shows the count in the status line

install tool-counter

Install

git clone https://github.com/RobGruhl/claude-mods
claude --plugin-dir ./claude-mods/samples/ours/tool-counter

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
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
3e43e4e the 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

★ 0Status lineGuards

house-rules

RobGruhl/claude-mods

BEFORE the turn: adds a system-prompt section, attaches the local time to each prompt, and registers /house-rules

★ 0CommandsPromptAutomation

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

★ 0BandsGuards

turn-receipt

RobGruhl/claude-mods

AFTER the turn: prints a one-line receipt (time, tool calls, tokens) beneath each answer

★ 0GuardsAutomation