tool-lines

Reviewed at commit ac40237

Draws each tool call as one compact 'tool_call: Tool(input) - meta' line and hides its result block

Made by
Pulkit Arya
What we checked

Redraws each tool call in the terminal as one compact line (tool name, a shortened main argument such as the command or file path, and a note like error or timed out) and hides the separate result block. Display only: it changes nothing Claude runs, reads no files, runs no programs, makes no network calls and stores nothing.

Review details

Static review of the source at the pinned commit; not run. A single module (hooks/register.ts) registers four ui.render hooks: UserMessage (only to learn whether the expanded transcript view is open, then $.ui.invalidate), ToolUse (replaces the row with a one-line Box/Text built from the tool name, the first of a fixed list of input fields clipped to 35 characters, and flags read from the tool row: interrupted, error, backgroundTaskId, timedOutAfterMs, 'Shell cwd was reset' in stdout/stderr, returnCodeInterpretation), ToolGroup (forces groups open so each call goes through the ToolUse hook) and ToolResult (returns an empty Box so the result block is not shown). Everything is skipped outside the terminal surface and in the expanded transcript or verbose view. It uses no $.fs, $.process, $.http, $.env, $.model or $.store calls, has no npm dependencies and no network hosts. Tool inputs and results are only read to build the on-screen line; nothing is written anywhere. Note that the result block is hidden in the compact view, so tool output is only visible in the expanded transcript.

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
Made this mod? Add a badge to your README

modsforClaude badge for tool-lines

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-lines.svg)](https://modsforclaude.com/mods/tool-lines/)

← All mods