lucenity0/claude-readout
關於這個 mod
readout 是 Claude Code 外掛,會展開折疊的工具呼叫摘要列,顯示 Read 讀取的檔案路徑與行號、Grep/Glob 的搜尋樣式與範圍、Bash 命令、WebFetch/WebSearch 的 URL 或查詢。支援合併同一工具的連續呼叫、依資料夾聚合、重複讀取標記 ×2、將失敗呼叫標紅,以及在支援的終端機中以連結開啟檔案。它透過 function hooks 實作,可在設定中選擇 inline/expand 模式、連結與背景色。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add lucenity0/claude-readout claude plugin install readout
原文 / README
claude-readout
Shows which files Claude Code read. The folded Read 3 files line names them instead, along with the lines it read and what it searched for.
It answers #21151. Verbose mode shows the names too, but it turns on more than names, and it doesn't reach VS Code. readout changes only the folded line, on every surface, at no token cost.
install
readout runs on function hooks, an early-access part of Claude Code. Turn them on in ~/.claude/settings.json:
{ "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" } }
Then install it and start a new session:
claude plugin marketplace add lucenity0/claude-readout
claude plugin install readout@claude-readout
To hack on it instead, clone it and load the folder with claude --plugin-dir ~/claude-readout.
Function hooks may change between releases. readout was tested on Claude Code 2.1.289.
what it shows
Read the path, relative to the project or under ~, and the lines: date.test.ts:1-60
Grep, Glob the pattern, and where it looked
Bash the command, one row each, wrapping when long
WebFetch, WebSearch the url or the query
Calls in a row to the same tool share a line. Files in one folder gather as src/{a.ts, b.ts}, a file read twice shows ×2, and the call still running is dim until it lands. A line that runs past the window ends in +N more.
In terminals that draw links (iTerm2, Warp, Ghostty, WezTerm, kitty, VS Code), each path is a link: cmd-click it to open the file.
In the terminal, tool rows sit on a quiet band in softer text, so they stand apart from Claude's replies.
A call that failed is red, along with its reason. A call a plugin blocked says which one (blocked by <plugin>).
● Read src/old.ts File does not exist
ctrl+o and --verbose work as before.
settings
{ "pluginConfigs": { "readout@claude-readout": { "options": { "mode": "inline", "links": "auto", "tint": "auto" } } } }
mode is inline (the default: one line per tool, as above) or expand, which unfolds every group into Claude Code's own row per call.
links is auto, on or off. A terminal that can't draw links prints each URL beside its name, so auto only turns them on in the terminals above.
tint is auto (a band to suit your light or dark theme), off, or a band color of your own such as #1d2128.
contributing
claude plugin validate .
claude plugin test .
The labels and layout live in format.ts and the drawing in register.tsx. The demo is drawn with format.ts too: node --experimental-strip-types assets/demo.mts.
<sub>MIT · built with Claude Code</sub>
