peek
Reviewed
at commit 3b1ce1c
Typing "status" while background shells or subagents run opens a pane with each task's exact elapsed time, the tail of its output and any percent it printed…
0 upvotes
Log in to upvote or save- Made by
- Vedant Andhale
- Pinned commit
-
3b1ce1cbf8ac2378fc2933ad401f385a8d011973 - What we checked
-
Typing just "status" while background shells or subagents run, or /peek, opens a pane with each task's elapsed time, the last three lines of its output and any percent figure it printed, and the prompt is not sent to Claude. It reads the output files Claude Code writes for background shells (up to 4 MB), makes no network calls and stores nothing.
Review details
Static review of the source at the pinned commit; not run. Hooks: session.start (registers /peek), tool.call (observes Bash and PowerShell calls that went to the background and TaskStop, without changing them), agent.spawn, turn.start, turn.complete, prompt.submit (drops a prompt that is exactly "status" when something runs, with a message shown to you; task notifications are read to mark tasks finished), command.run for /peek, ui.close, session.end, ui.render for the pane. Runtime calls: $.ui.open, $.clock.every (1 s tick only while the pane is open and something runs), $.agent.list, $.fs.stat and $.fs.read on the output file path that Claude Code names in the background-task result text (last lines only, files over 4 MB skipped). That path is parsed from the tool result text, so a command that prints a crafted 'Output is being written to:' line could make the pane show the last lines of another local file to you; nothing is sent anywhere. State is kept in memory only. No network, no process execution, no obfuscation. Not reviewed: the host's task-notification format.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: yes
- 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
Typing "status" while background shells or subagents run opens a pane with each task's exact elapsed time, the tail of its output and any percent it printed, instead of sending the prompt to Claude. /peek opens it too. No tokens spent.
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/peek/)