tool-timing

Reviewed at commit 39335b2

Measure observed tool latency, call counts, and failures.

Made by
Yash Thakker
What we checked

Times every tool call Claude makes and shows call counts, average duration and failures per tool in a pane opened with /tool-timing. It only passes calls through unchanged, keeps the numbers in memory for the session, makes no network calls and writes nothing to disk.

Review details

Static review of the source at the pinned commit; not run. Registers session.start (registers the /tool-timing command), command.run (opens the pane), tool.call and ui.render for its own Pane. The tool.call handler reads $.clock.now before and after next(e), records only the tool name, call count, total milliseconds and a failure count (when the result has deny or isError), and returns the original result untouched; errors are rethrown. Tool inputs and outputs are not stored or displayed. Counters live in a module variable and are lost on restart. No file, process or network access. ui.js is a set of pure display helpers. No npm dependencies.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Screenshot of tool-timing
Made this mod? Add a badge to your README

modsforClaude badge for tool-timing

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/tool-timing.svg)](https://modsforclaude.com/mods/tool-timing/)

← All mods