toolmarks
Reviewed
at commit 867b81f
KOZMOS Toolmarks: badges on tool rows. Each finished call gets a family-colored glyph and its duration at the row's end, Bash calls their exit status, failed…
0 upvotes
Log in to upvote or save- Made by
- KOZMOS
- Pinned commit
-
867b81f5651059bb0c22563c8b175475787c84ae - What we checked
-
Adds a small badge to finished tool rows: a colored glyph and how long the call took, Bash and PowerShell exit codes, and a red mark for failed or denied calls. Folded groups show total time and failure count. It times calls and reads the exit status from error text, changes nothing, and /toolmarks turns it on or off.
Review details
Static review of the source at the pinned commit; not run. Hooks session.start, command.run (/toolmarks on|off), tool.call (records the time before and after next(), whether the result was an error or denied, interrupted or backgrounded, and for shell tools parses an exit code from the error text with a regex; the result is returned unchanged, a .catch fallback passes the call on), ui.render for ToolUse and ToolGroup (wraps the engine's own row with a badge, falls back to the engine's row for any unexpected shape). Runtime calls: $.clock.now, $.state family keyed by tool_use_id, $.store get/set for the on/off flag, $.command.register. Only tool name, duration and exit number are kept, in memory. No network, file, process or model calls. Shared lib/kz.ts is drawing helpers. Unresolved ../types is the bundled types/index.d.ts. hooks/lib/probe.ts is not bundled and not imported (checked in the clone).
- 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: yes
- Shows something on screen: yes
KOZMOS Toolmarks: badges on tool rows. Each finished call gets a family-colored glyph and its duration at the row's end, Bash calls their exit status, failed calls a red mark, and a folded group its total time and failures. /toolmarks toggles them.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/toolmarks/)