Skip to content
Back to search

daiver-prompt-view

MarketplaceWorks with Claude CodeGitHub

A Claude Code mod that shows what your session is doing: a status line under the prompt with live agents, usage limits and git state, a framed chat with copy buttons, and a pane with your prompt history

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 20 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/0exp/daiver-prompt-view with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/0exp/daiver-prompt-view'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/0exp--daiver-prompt-view/badge.svg)](/listings/0exp--daiver-prompt-view)

HTML

<a href="/listings/0exp--daiver-prompt-view"><img src="/api/listings/0exp--daiver-prompt-view/badge.svg" alt="findsafeskills safety rating" /></a>

Install

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

/plugin install daiver-prompt-view --marketplace 0exp/daiver-prompt-view

Answer `y` to add the marketplace, then pick a scope (user scope loads it in every session).

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 14 lines
  1. {
  2. "name": "daiver-prompt-view",
  3. "owner": {
  4. "name": "Rustam Ibragimov",
  5. "email": "iamdaiver@gmail.com"
  6. },
  7. "description": "A Claude Code mod that shows what your session is doing: a status line under the prompt with live agents, usage limits and git state, a framed chat with copy buttons, and a pane with your prompt history",
  8. "plugins": [
  9. {
  10. "name": "daiver-prompt-view",
  11. "source": "./"
  12. }
  13. ]
  14. }
README.md · README · 672 lines
  1. # daiver-prompt-view
  2. A Claude Code mod that shows what your session is doing: a status line under
  3. the prompt with live agents, usage limits and git state, a framed chat with
  4. copy buttons, and a pane with your prompt history.
  5. ```
  6. Opus 5.5 -> [demo] (sid:419e75ee) <stime:1h23m> <automemory:on> <in:1.2M·out:85k·cash:$4.31>
  7. (effort:high) (outputstyle:Proactive) (thinkmode:thinking) (fastmode:false) ▐▛███▜▌
  8. ⚙ main:thinking (1m13s) │ agents:2 (sub:1 sh:1 mon:0) -> pending:0 running:2 waiting:0 idle:0 ▝▜█████▛▘
  9. -> Explore (time:1m01s) [Find lock index usages] (Grep(lock_index)) ▘▘ ▝▝
  10. ctx ███░░░░░░░ 37% (74k/200k) | lmt ████░░░░░░ 43% (12% -> 25-11-2026) | rst ██████░░░░ 1h56m (at 17:48) | pch ████████░░ 85% 2.1.303
  11. (08d3788a) main [+#?] | ~/Projects/demo
  12. ```
  13. It joins two former mods, [agent-prompt-view](https://github.com/0exp/claude-agent-prompt-view)
  14. and [agent-count](https://github.com/0exp/claude-agent-count), with their history.
  15. ## The lines
  16. The whole status line sits in a frame (dashed by default, a solid rounded line with `borderStyle` `line`) in the theme's `frame` color
  17. (Clawd orange in `default`): as wide as the terminal when its width is known,
  18. else as wide as the widest line, Clawd inside it at the right border.
  19. 1. Model, session name, short session id, session time (`stime`, from the
  20. transcript's creation time), whether auto memory is on in this session
  21. (`automemory`, written by the hooks module: the status line's input has no
  22. such field; read from the settings files themselves when a plugin above
  23. refuses the mod's settings read, and `?` when nothing could be read, never a
  24. guessed `on`), and last the session's tokens and cost: `in` input and `out`
  25. output tokens of every request so far, subagents included, summed from the
  26. session's transcripts (`k` thousands, `M` millions), `cash`
  27. the cost in dollars at API prices, subagents included (on a subscription an
  28. estimate, not a bill); `<in:0·out:0·cash:$0.00>` before the first request.
  29. Hidden with the `statuslineUsage` option off
  30. (`/daiver-prompt-view:statusline:show-usage`).
  31. 2. Modes: reasoning effort, output style, thinking, fast mode (each only when known).
  32. 3. Agents (the `agents` feature):
  33. - `main`: the main loop: `thinking` while its turn runs, `tool:<name>` while
  34. one of its tool calls runs, `waiting` once the turn ended while background
  35. work is still pending, running or waiting, `idle` once the turn ended and
  36. nothing is in flight; while it works, the time spent on the current prompt,
  37. e.g. `(1m05s)`; once idle, the last prompt's time, e.g. `(ltt:2m10s)`.
  38. - `agents`: everything in flight besides the main loop; `sub` subagents and
  39. teammates, `sh` background shell commands, `mon` monitors. While only the
  40. main loop works, `agents:main` replaces the zero.
  41. - `pending` / `running` / `waiting` / `idle`: the same work by state
  42. (finished, failed and killed ones are not counted).
  43. - `-> <type> (time:<run time>) [<task>] (<current work>)`: one line per live
  44. subagent or teammate, oldest first: its agent type (a teammate's name), how
  45. long it has been listed (from the first poll that listed it; starts over on
  46. a reload), the Agent call's `description`, cut to 60 characters, and what it
  47. works on now: its last tool call, as `Bash(git status)` or
  48. `Read(/path/to/file)` (the command's first line, the file, the pattern...),
  49. cut to the `agentActivityLength` option (40 characters by default, `0`
  50. hides it); left out until its first call.
  51. The line is always there: while a session has no state of its own yet (its
  52. start hook has not run, nothing was launched), the status line shows an idle
  53. main loop and zeros everywhere:
  54. `⚙ main:idle │ agents:0 (sub:0 sh:0 mon:0) -> pending:0 running:0 waiting:0 idle:0`.
  55. Agents come from `$.agent.list()`, polled every second. Shells and monitors
  56. are tracked from their `Bash` / `Monitor` calls and dropped on their task
  57. notification, `TaskStop`, or the `Stop` hook's `background_tasks` snapshot.
  58. 4. Bars: `ctx` context window used, with its size in tokens in brackets
  59. (`37% (74k/200k)`: the last request's input over the window, `k` thousands,
  60. `M` millions; `(0/200k)` before the first request), `lmt` 5-hour rate limit used, then in brackets the weekly
  61. limit used and the date it resets, `dd-mm-yyyy` (`43% (12% -> 25-11-2026)`; a
  62. week that has already reset reads `(0%)`; no brackets while Claude Code sends
  63. no weekly limit), `rst` time to
  64. its reset and, in orange, its local time (24-hour `HH:MM`), `pch` prompt
  65. cache hits of the last request. All four show from the start: before the
  66. first response (or once the 5-hour window has reset) `lmt` is 0%, `rst` a
  67. whole 5h00m window and `pch` 0%.
  68. 5. Git: short sha, branch, flags (`+` staged, `#` untracked, `?` unstaged),
  69. the lines added and removed in the diff against HEAD (`+12/-3`; `+N/-N`
  70. when the tree is clean) and the working directory.
  71. ## Clodik
  72. Clawd sits at the right edge of the terminal, vertically centered, in Claude
  73. orange, with the Claude Code version under its feet: as far from the edge as the
  74. status line is from the left one. When the width (`$COLUMNS`) is unknown or too
  75. narrow, it sits right next to the lines.
  76. While Claude Code is busy (the agents line shows the main loop anything but
  77. `idle`), Clawd moves: jump, spin around, sway, blink, cheer, wave, squash and
  78. stretch, hop side to side, tap dance, shiver, fall to pixels and back, dissolve
  79. into the Matrix's rain of glyphs and back. By default it plays the Matrix
  80. (the `clodikAnimation` option); with `random`, a new random animation starts
  81. every 8 seconds. A frame per refresh.
  82. ## Your prompts, Claude's replies, tool calls, the spinner and command output
  83. All of these frames, and the status line's, follow the `borders` option
  84. (`/daiver-prompt-view:chat:show-borders`, see below); these ones also follow
  85. `chatBorders` (`chat:show-chat-borders`), the status line's `statuslineBorders`
  86. (`chat:show-statusline-borders`). How they are drawn, dashed (the default) or a
  87. solid line, is the `borderStyle` option (`chat:border-style`).
  88. Every prompt you send is drawn in the transcript inside a frame in the
  89. theme's `prompt` color (Clawd orange in `default`). Only your own prompts are
  90. framed: background task notifications and messages from other sessions keep the
  91. plain row. Inside the frame the prompt is plain text, without the highlight the
  92. bare row paints under it. The frame is drawing only, the stored message is
  93. untouched, and a theme switch redraws it at once.
  94. Claude's replies get a frame of their own, in the theme's `reply` color (neon
  95. blue in `default`), around each text block as the transcript draws it. A
  96. markdown table in a reply is fitted inside that frame on the terminal: each
  97. column as wide as its widest cell while the room allows, its cells wrapping when
  98. the frame is narrower, so its right edge and corners stay in place. So do
  99. the tool calls' rows (`Bash(ls)` and the result), in the theme's `tool` color
  100. (dark violet in `default`; a call the transcript shows nothing for gets no
  101. frame, in the fullscreen layout, where the terminal says how tall a row is; a
  102. group of calls Claude Code folds into one line, `Ran 5 commands`, is framed the
  103. same, and once expanded (ctrl+o) each call has its own frame), and the spinner line of a running turn
  104. (`Sauteing… (12s)`), in the theme's `spinner` color (the output style's yellow in `default`), and the output row
  105. of a slash command (`/reload-plugins`, `/cost`, this mod's own commands), in the
  106. theme's `command` color (gray in `default`).
  107. In the fullscreen terminal every framed box of the transcript (your prompts,
  108. Claude's replies, tool calls, slash commands' output) carries a copy button,
  109. `⧉`, in its top right corner. A click puts the box's own text on the clipboard,
  110. its markdown as written, with nothing of the frame:
  111. | Frame | A click on `⧉` copies |
  112. | --- | --- |
  113. | Your prompt | the prompt as you typed it |
  114. | A block of Claude's reply | that block's text, its markdown (`**bold**`, tables, fences) as written |
  115. | A Bash call | `$ <command>`, the whole command, then a blank line and its output (stdout, then stderr) once it ended |
  116. | Any other tool call | the call as the history pane names it (`Read(/a/b.ts)`), then a blank line and its result (text as it is, else JSON) |
  117. | A slash command's output | the text the command printed |
  118. For a moment after the click the corner shows `✓`. On the main screen, which
  119. takes no clicks, and with the frames hidden there is no button.
  120. ## Buttons
  121. A row above the prompt with two switches, each showing where it stands:
  122. ```
  123. [ ▣ borders: on ] [ ≡ history: off ]
  124. ```
  125. | Button | Key | A press |
  126. | --- | --- | --- |
  127. | `▣ borders` | `b` | shows or hides the frames, as `/daiver-prompt-view:chat:show-borders` does |
  128. | `≡ history` | `h` | opens or closes the prompt history pane, as `/daiver-prompt-view:history:show` does |
  129. Both buttons are drawn in the theme's `buttons` color (gray in `default`), on
  130. and off alike: the label says which. The row sits in a frame of the theme's
  131. `buttonsFrame` color (a muted dark red in `default`), dashed or a solid line as
  132. `borderStyle` says, and bare while the frames are off (`▣ borders: off`). Under
  133. the pointer the frame turns the theme's `buttonsFrameHover` color (a lighter red
  134. in `default`) and turns back as the pointer leaves (in the fullscreen terminal,
  135. where the mouse reaches Claude Code).
  136. A click presses a button; so does its key while the row holds the focus
  137. (ctrl+x tab, or a click on it). On the main screen, which takes no clicks, the
  138. keys do. The row makes way for a survey, Claude Code's `[-]` (ctrl+x ctrl+a)
  139. collapses it, and the `buttons` option (`/daiver-prompt-view:chat:show-buttons off`)
  140. hides it.
  141. ## Toasts
  142. Claude Code's own toast (on its notification bar, for 4 seconds) when your work
  143. is done, so a look at the terminal is enough. Off by default: the `toasts`
  144. option (`/daiver-prompt-view:toasts:show on`) turns them on.
  145. | Toast | When |
  146. | --- | --- |
  147. | `Task complete` | Claude's turn ends with its answer: the task is done, or Claude waits for your reply. An interrupted turn, an API error and a subagent's turn raise none |
  148. | `/-Command complete` | a slash command you ran has finished (a built-in one, another plugin's or this mod's own); a command that starts a turn for Claude ends with `Task complete` too |
  149. ## Commands
  150. Every command sets the option of the same row in `/config` (so the choice stays
  151. across sessions and reloads), answers at once, and never starts a model turn.
  152. When the row cannot be reached (a plugin above filters the list, or this build
  153. has no such row) the change holds for the session alone (the debug log says so; the mod raises
  154. no toasts).
  155. The prompt box's typeahead lists each command's values: type the command's
  156. prefix (`/daiver-prompt-view:clodik:`) for ready rows such as
  157. `/daiver-prompt-view:clodik:animation spin`, or the first letter of the value
  158. after the command.
  159. | Command | Arguments | Default | What it does |
  160. | --- | --- | --- | --- |
  161. | `/daiver-prompt-view:clodik:animate` | `on`, `off`, or nothing | `off` | Animate Clawd all the time (`on`) or only while Claude Code is busy (`off`); with no argument, toggles |
  162. | `/daiver-prompt-view:clodik:animation` | an animation name, or nothing | `matrix` | Pick the animation Clawd plays; with no argument, shows the current one and the list |
  163. | `/daiver-prompt-view:view:theme` | a theme name, or nothing | `default` | Pick the colors of every line (the agents line's included); with no argument, shows the current one and the list |
  164. | `/daiver-prompt-view:history:show` | `on`, `off`, or nothing | `off` | Show (`on`) or hide (`off`) the pane with this session's prompts; with no argument, toggles |
  165. | `/daiver-prompt-view:toasts:show` | `on`, `off`, or nothing | `off` | Show (`on`) or hide (`off`) the toasts (`Task complete`, `/-Command complete`); with no argument, toggles |
  166. | `/daiver-prompt-view:history:mode` | `fullstory`, `questions`, `answers`, or nothing | `fullstory` | Pick what the history pane lists: prompts, commands and Claude's answers, prompts and commands alone, or answers alone; with no argument, shows the current one and the list |
  167. | `/daiver-prompt-view:chat:show-borders` | `on`, `off`, or nothing | `on` | Show (`on`) or hide (`off`) the frames around prompts, replies, tool calls, the spinner, command output and the status line; with no argument, toggles |
  168. | `/daiver-prompt-view:chat:show-chat-borders` | `on`, `off`, or nothing | `on` | Show (`on`) or hide (`off`) the frames around prompts, replies, tool calls, the spinner and command output, the status line's left as it is; with no argument, toggles |
  169. | `/daiver-prompt-view:chat:show-statusline-borders` | `on`, `off`, or nothing | `on` | Show (`on`) or hide (`off`) the frame around the status line alone; with no argument, toggles |
  170. | `/daiver-prompt-view:chat:show-buttons` | `on`, `off`, or nothing | `on` | Show (`on`) or hide (`off`) the row of buttons above the prompt (borders, history); with no argument, toggles |
  171. | `/daiver-prompt-view:chat:border-style` | `dashed`, `line`, or nothing | `dashed` | Draw every frame dashed (`dashed`) or as a solid line (`line`); with no argument, shows the current one and the list |
  172. | `/daiver-prompt-view:mod:doctor` | nothing | (none) | Check what of the mod works in this session: the hooks a plugin above may pass by and which plugin does it, the status line padding, where auto memory is read from |
  173. | `/daiver-prompt-view:statusline:show-usage` | `on`, `off`, or nothing | `on` | Show (`on`) or hide (`off`) the session's tokens and cost at the end of the status line's first line; with no argument, toggles |
  174. ### `/daiver-prompt-view:clodik:animate [on|off]`
  175. Option `clodikAnimate` (Animate Clawd always), default `off`: Clawd moves only
  176. while Claude Code is busy (the agents line's main loop is anything but `idle`).
  177. | Usage | Result |
  178. | --- | --- |
  179. | `/daiver-prompt-view:clodik:animate on` | Clawd animates all the time, busy or not: `Clawd now animates all the time.` |
  180. | `/daiver-prompt-view:clodik:animate off` | Clawd animates only while busy: `Clawd now animates only while Claude Code is busy.` |
  181. | `/daiver-prompt-view:clodik:animate` | toggles between the two |
  182. | `/daiver-prompt-view:clodik:animate maybe` | nothing changes: `Usage: /daiver-prompt-view:clodik:animate [on\|off]` |
  183. ### `/daiver-prompt-view:clodik:animation [name]`
  184. Option `clodikAnimation` (Clawd's animation), default `matrix`.
  185. | Value | Animation |
  186. | --- | --- |
  187. | `random` | a random one of the others, a new one every 8 seconds, never the same twice in a row |
  188. | `jump` | squash and jump |
  189. | `spin` | turn around |
  190. | `sway` | sway left and right |
  191. | `blink` | blink |
  192. | `cheer` | raise both arms |
  193. | `wave` | wave one arm |
  194. | `stretch` | squash and stretch |
  195. | `hop` | hop side to side |
  196. | `tap` | tap dance |
  197. | `shiver` | shiver |
  198. | `pixels` | fall to pixels and back |
  199. | `matrix` (default) | fall to pixels, then the Matrix's rain of glyphs runs down the canvas, then back |
  200. | Usage | Result |
  201. | --- | --- |
  202. | `/daiver-prompt-view:clodik:animation spin` | Clawd plays `spin`: `Clawd now plays spin.` |
  203. | `/daiver-prompt-view:clodik:animation random` | back to random: `Clawd now plays a random animation.` |
  204. | `/daiver-prompt-view:clodik:animation` | shows the current one: `Clawd's animation: spin (one of random, jump, …)` |
  205. | `/daiver-prompt-view:clodik:animation moonwalk` | nothing changes: `Usage: /daiver-prompt-view:clodik:animation [random\|jump\|…]` |
  206. The animation plays while Clawd animates: while busy, or all the time with
  207. `clodik:animate on`.
  208. ### `/daiver-prompt-view:view:theme [name]`
  209. Option `theme` (Color theme), default `default`.
  210. | Value | Colors |
  211. | --- | --- |
  212. | `default` (default) | white, gray, fuchsia (ctx), lavender (the context's size beside it), sky blue (lmt), light green (rst), Clawd orange, gray-green (pch), khaki (sha), violet (branch), coral (flags), light green (+added), coral (-removed), Clawd orange (the matrix rain, the frame around your prompts, in the chat and in the history pane, and the frame around the status line too), neon blue (the frame around Claude's replies, in the chat and in the history pane), dark violet (the frame around the tool calls, in the chat and in the history pane), yellow (the frame around the spinner, as the output style), gray (the frame around a command's output), Clawd orange (the prompt history pane's frame too), fuchsia (the history message's frame under the pointer, as the ctx bar), near black (the history pane's background), gray (the buttons), muted dark red (the buttons row's frame), lighter red (that frame under the pointer) |
  213. | Usage | Result |
  214. | --- | --- |
  215. | `/daiver-prompt-view:view:theme default` | the status line and the agents line switch at once: `The status line now uses the default theme.` |
  216. | `/daiver-prompt-view:view:theme` | shows the current one: `Status line theme: default (one of default)` |
  217. | `/daiver-prompt-view:view:theme neon` | nothing changes: `Usage: /daiver-prompt-view:view:theme [default]` |
  218. ## Options
  219. Every option is in `/config`, or in `~/.claude/settings.json` under
  220. `pluginConfigs["daiver-prompt-view@daiver-prompt-view"].options`. A change in
  221. `/config` reloads the mod and applies at once.
  222. | Option | `/config` label | Type | Default | Values | Command |
  223. | --- | --- | --- | --- | --- | --- |
  224. | `history` | Show the prompt history pane | boolean | `false` | `true`, `false` | `history:show` |
  225. | `toasts` | Show the toasts | boolean | `false` | `true`, `false` | `toasts:show` |
  226. | `historyMode` | Prompt history pane's messages | choice | `fullstory` | `fullstory`, `questions`, `answers` | `history:mode` |
  227. | `borders` | Show the frames | boolean | `true` | `true`, `false` | `chat:show-borders` |
  228. | `chatBorders` | Show the chat's frames | boolean | `true` | `true`, `false` | `chat:show-chat-borders` |
  229. | `statuslineBorders` | Show the status line's frame | boolean | `true` | `true`, `false` | `chat:show-statusline-borders` |
  230. | `statuslineUsage` | Show the session's tokens and cost | boolean | `true` | `true`, `false` | `statusline:show-usage` |
  231. | `buttons` | Show the buttons row | boolean | `true` | `true`, `false` | `chat:show-buttons` |
  232. | `borderStyle` | Frame style | choice | `dashed` | `dashed`, `line` | `chat:border-style` |
  233. | `clodik` | Show Clawd | boolean | `true` | `true`, `false` | (none) |
  234. | `clodikAnimate` | Animate Clawd always | boolean | `false` | `true`, `false` | `clodik:animate` |
  235. | `clodikAnimation` | Clawd's animation | choice | `matrix` | `random`, `jump`, `spin`, `sway`, `blink`, `cheer`, `wave`, `stretch`, `hop`, `tap`, `shiver`, `pixels`, `matrix` | `clodik:animation` |
  236. | `theme` | Color theme | choice | `default` | `default` | `view:theme` |
  237. | `statuslinePadding` | Status line padding | number | `-1` | whole numbers from `-2` to `20` | (none) |
  238. | `agentActivityLength` | Subagent's current work length | number | `40` | whole numbers from `0` to `200`; `0` hides it | (none) |
  239. For example, in `~/.claude/settings.json`:
  240. ```json
  241. "pluginConfigs": {
  242. "daiver-prompt-view@daiver-prompt-view": {
  243. "options": {
  244. "history": false,
  245. "historyMode": "fullstory",
  246. "toasts": false,
  247. "borders": true,
  248. "chatBorders": true,
  249. "statuslineBorders": true,
  250. "statuslineUsage": true,
  251. "buttons": true,
  252. "borderStyle": "dashed",
  253. "clodik": true,
  254. "clodikAnimate": false,
  255. "clodikAnimation": "pixels",
  256. "theme": "default",
  257. "statuslinePadding": -1,
  258. "agentActivityLength": 40
  259. }
  260. }
  261. }
  262. ```
  263. ### Subagent's current work
  264. Each live subagent's row in the agents line ends with what it works on now,
  265. its last tool call, in parentheses. `agentActivityLength` is the most
  266. characters shown there, the name of the tool included; a longer one is cut,
  267. its end marked with `…`. The row for a subagent running `git status`:
  268. | `agentActivityLength` | The row |
  269. | --- | --- |
  270. | `40` (default) | `-> Explore (time:12s) [Find the lock usages] (Bash(git status))` |
  271. | `12` | `-> Explore (time:12s) [Find the lock usages] (Bash(git st…)` |
  272. | `0` | `-> Explore (time:12s) [Find the lock usages]` |
  273. ### Prompt history pane
  274. With `history` on, a pane at the right (above the prompt in a narrow terminal)
  275. lists the session's story, newest first, each message on its own: the time
  276. (`HH:MM:SS`, local) on top, the text under. What it lists is the `historyMode`
  277. option (`/daiver-prompt-view:history:mode`):
  278. | `historyMode` | The pane lists | Header |
  279. | --- | --- | --- |
  280. | `fullstory` (default) | your prompts and slash commands pushed to the right (8 columns in from the left) and Claude's answers pushed to the left (8 columns in from the right), by time, as in a chat | `History (n)` |
  281. | `questions` | your prompts and slash commands alone, the pane's whole width | `Prompts (n)` |
  282. | `answers` | Claude's answers alone, the pane's whole width | `Answers (n)` |
  283. Each message is framed in the color the transcript frames it with: a prompt in
  284. the theme's `prompt` color (its whole text), a slash command in the `command`
  285. color (`/name args`, its output's first 3 lines dim under it; a built-in
  286. command, another plugin's or this mod's own, read on the session start from
  287. the transcript file and joining as each one runs), Claude's text in the `reply` color
  288. (its first 8 lines, `…` for the rest), a tool call in the `tool` color, one
  289. line with the tool and its main argument (`Bash(ls -la)`, `Read(/src/a.ts)`).
  290. In the fullscreen terminal each message carries a copy button, `⧉`, in its
  291. frame's top right corner, as the transcript's boxes do; it copies the whole
  292. message, never the pane's short form (`✓` for a moment after the click):
  293. | Message | A click on `⧉` copies |
  294. | --- | --- |
  295. | Your prompt | the prompt as you typed it |
  296. | A slash command | `/name args`, then a blank line and its whole output |
  297. | Claude's text | the whole text, its markdown as written, not the first 8 lines |
  298. | A Bash call | `$ <command>`, the whole command, then a blank line and its output, read from the session's transcript file |
  299. | Any other tool call | the call (`Read(/a/b.ts)`), then a blank line and its whole result, from the transcript file; the call's one line when the file has no such call |
  300. Answers are Claude's own on the main conversation (a subagent's are left out),
  301. read on the session start from the session's transcript file and joining as
  302. the session stores them. A click on a message (or Enter on it while the pane
  303. has the keyboard) scrolls the transcript to it: a prompt's or a text's row, a
  304. tool call's own row; under the pointer a message's frame turns the theme's `hover` color
  305. (the ctx bar's fuchsia in `default`) and the other style (dashed, its dots, over
  306. solid frames; solid over dashed ones), and turns back as the pointer leaves; the pane's body sits on the theme's
  307. `paneBackground`, darker than the terminal's own (near black in `default`) (the row's id comes with the row as the session stores it, or from the
  308. session's transcript file for prompts sent before the mod loaded); a prompt
  309. or answer whose row cannot be found is noted in the debug log, nothing on screen. Slash commands are left out. On
  310. the session start the list is read from Claude Code's own prompt log
  311. (`~/.claude/history.jsonl`, this session's rows), so prompts sent before the mod
  312. loaded are there too; from then on each prompt joins as it is sent. The list
  313. lives in the session's state, so it survives a reload of the mod. The wheel
  314. or the scroll keys move the list by messages while the header with the `×`
  315. stays put (`↑3` after the count says how many newer messages are above); a
  316. scrollbar at the list's right edge shows where it stands. A click on the
  317. scrollbar moves the list there, the thumb centered on the row clicked: the top
  318. for the newest messages, the bottom for the oldest, the middle for the middle
  319. of the story; the row under the pointer is highlighted. `▲` over the
  320. scrollbar and `▼` under it move the list a message at a time, newer and older;
  321. each is dim once the list is at that end. While the list is empty the pane's body
  322. is framed in the theme's `history` color (Clawd orange in `default`); with
  323. messages inside, each has its own frame and the body none. The `×` in the top
  324. right corner
  325. (or `x` while the pane has the keyboard, or ctrl+x x) closes it and turns the
  326. option off.
  327. ### `/daiver-prompt-view:history:show [on|off]`
  328. Option `history` (Show the prompt history pane), default `false` (`off`).
  329. | Value | Effect |
  330. | --- | --- |
  331. | `on` | the pane opens and stays open across sessions |
  332. | `off` | the pane closes |
  333. | Usage | Result |
  334. | --- | --- |
  335. | `/daiver-prompt-view:history:show on` | `The prompt history pane is now shown.` |
  336. | `/daiver-prompt-view:history:show off` | `The prompt history pane is now hidden.` |
  337. | `/daiver-prompt-view:history:show` | toggles: `The prompt history pane is now shown.` when it was off, `The prompt history pane is now hidden.` when it was on |
  338. | `/daiver-prompt-view:history:show maybe` | nothing changes: `Usage: /daiver-prompt-view:history:show [on|off]` |
  339. ### `/daiver-prompt-view:toasts:show [on|off]`
  340. Option `toasts` (Show the toasts), default `false` (`off`).
  341. | Value | Effect |
  342. | --- | --- |
  343. | `on` | `Task complete` and `/-Command complete` show as Claude Code's toasts |
  344. | `off` | no toasts |
  345. | Usage | Result |
  346. | --- | --- |
  347. | `/daiver-prompt-view:toasts:show on` | `The toasts are now shown.` |
  348. | `/daiver-prompt-view:toasts:show off` | `The toasts are now hidden.` |
  349. | `/daiver-prompt-view:toasts:show` | toggles: `The toasts are now shown.` when they were off, `The toasts are now hidden.` when they were on |
  350. | `/daiver-prompt-view:toasts:show maybe` | nothing changes: `Usage: /daiver-prompt-view:toasts:show [on\|off]` |
  351. ### `/daiver-prompt-view:history:mode [fullstory|questions|answers]`
  352. Option `historyMode` (Prompt history pane's messages), default `fullstory`.
  353. The pane draws again at once, scrolled back to the newest message.
  354. | Value | Effect |
  355. | --- | --- |
  356. | `fullstory` | your prompts and commands at the right and Claude's answers and tool calls at the left, by time |
  357. | `questions` | your prompts and commands alone, the pane's whole width |
  358. | `answers` | Claude's answers and tool calls alone, the pane's whole width |
  359. | Usage | Result |
  360. | --- | --- |
  361. | `/daiver-prompt-view:history:mode questions` | `The history pane now lists your prompts and commands alone.` |
  362. | `/daiver-prompt-view:history:mode answers` | `The history pane now lists Claude's answers alone.` |
  363. | `/daiver-prompt-view:history:mode fullstory` | `The history pane now lists your prompts, your commands and Claude's answers.` |
  364. | `/daiver-prompt-view:history:mode` | shows the current one: `The history pane lists: fullstory (one of fullstory, questions, answers)` |
  365. | `/daiver-prompt-view:history:mode everything` | nothing changes: `Usage: /daiver-prompt-view:history:mode [fullstory\|questions\|answers]` |
  366. ### `/daiver-prompt-view:chat:show-borders [on|off]`
  367. Option `borders` (Show the frames), default `true` (`on`). It covers every
  368. frame the mod draws in the transcript (your prompts, Claude's replies, tool
  369. calls, the spinner, command output) and the frame around the status line; the
  370. history pane's own frames stay. Under it, `chatBorders` and `statuslineBorders`
  371. hide one half each:
  372. | `borders` | `chatBorders` | `statuslineBorders` | Transcript frames | Status line frame |
  373. | --- | --- | --- | --- | --- |
  374. | `on` | `on` | `on` | drawn | drawn |
  375. | `on` | `off` | `on` | hidden | drawn |
  376. | `on` | `on` | `off` | drawn | hidden |
  377. | `on` | `off` | `off` | hidden | hidden |
  378. | `off` | any | any | hidden | hidden |
  379. | Value | Effect |
  380. | --- | --- |
  381. | `on` | the frames are drawn |
  382. | `off` | every framed row is drawn as Claude Code draws it, the status line bare (whatever `chatBorders` and `statuslineBorders` say) |
  383. | Usage | Result |
  384. | --- | --- |
  385. | `/daiver-prompt-view:chat:show-borders on` | `The frames are now shown.` |
  386. | `/daiver-prompt-view:chat:show-borders off` | `The frames are now hidden.` |
  387. | `/daiver-prompt-view:chat:show-borders` | toggles: `The frames are now hidden.` when they were on, `The frames are now shown.` when they were off |
  388. | `/daiver-prompt-view:chat:show-borders maybe` | nothing changes: `Usage: /daiver-prompt-view:chat:show-borders [on|off]` |
  389. ### `/daiver-prompt-view:chat:show-chat-borders [on|off]`
  390. Option `chatBorders` (Show the chat's frames), default `true` (`on`). It
  391. covers the transcript's frames alone (your prompts, Claude's replies, tool
  392. calls, the spinner, command output) and is separate from `borders`: they are
  393. drawn while both are on, so `borders` off hides them whatever this one says,
  394. and this one off hides them while the status line's frame stays.
  395. | Value | Effect |
  396. | --- | --- |
  397. | `on` | the transcript's rows are framed (while `borders` is on too) |
  398. | `off` | every framed row is drawn as Claude Code draws it, the status line's frame as `borders` and `statuslineBorders` say |
  399. | Usage | Result |
  400. | --- | --- |
  401. | `/daiver-prompt-view:chat:show-chat-borders on` | `The chat's frames are now shown.` |
  402. | `/daiver-prompt-view:chat:show-chat-borders off` | `The chat's frames are now hidden.` |
  403. | `/daiver-prompt-view:chat:show-chat-borders` | toggles: `The chat's frames are now hidden.` when they were on, `The chat's frames are now shown.` when they were off |
  404. | `/daiver-prompt-view:chat:show-chat-borders maybe` | nothing changes: `Usage: /daiver-prompt-view:chat:show-chat-borders [on|off]` |
  405. ### `/daiver-prompt-view:chat:show-statusline-borders [on|off]`
  406. Option `statuslineBorders` (Show the status line's frame), default `true`
  407. (`on`). It covers the status line's frame alone and is separate from `borders`:
  408. the frame is drawn while both are on, so `borders` off hides it whatever this
  409. one says, and this one off hides it while the transcript's frames stay.
  410. | Value | Effect |
  411. | --- | --- |
  412. | `on` | the status line is framed (while `borders` is on too) |
  413. | `off` | the status line is bare, the transcript's frames as `borders` says |
  414. | Usage | Result |
  415. | --- | --- |
  416. | `/daiver-prompt-view:chat:show-statusline-borders on` | `The status line's frame is now shown.` |
  417. | `/daiver-prompt-view:chat:show-statusline-borders off` | `The status line's frame is now hidden.` |
  418. | `/daiver-prompt-view:chat:show-statusline-borders` | toggles: `The status line's frame is now hidden.` when it was on, `The status line's frame is now shown.` when it was off |
  419. | `/daiver-prompt-view:chat:show-statusline-borders maybe` | nothing changes: `Usage: /daiver-prompt-view:chat:show-statusline-borders [on|off]` |
  420. ### `/daiver-prompt-view:chat:show-buttons [on|off]`
  421. Option `buttons` (Show the buttons row), default `true` (`on`): the row above
  422. the prompt with the `▣ borders` and `≡ history` switches (see **Buttons**).
  423. | Value | Effect |
  424. | --- | --- |
  425. | `on` | the row is drawn above the prompt |
  426. | `off` | no row; the frames and the history pane stay as they are |
  427. | Usage | Result |
  428. | --- | --- |
  429. | `/daiver-prompt-view:chat:show-buttons on` | `The buttons row is now shown.` |
  430. | `/daiver-prompt-view:chat:show-buttons off` | `The buttons row is now hidden.` |
  431. | `/daiver-prompt-view:chat:show-buttons` | toggles: `The buttons row is now hidden.` when it was on, `The buttons row is now shown.` when it was off |
  432. | `/daiver-prompt-view:chat:show-buttons maybe` | nothing changes: `Usage: /daiver-prompt-view:chat:show-buttons [on|off]` |
  433. ### `/daiver-prompt-view:mod:doctor`
  434. No option and no value: it reports. An organization may seat a security plugin
  435. above the user's plugins (`cc-plugin-sec-default`) that sends some events on
  436. past this mod; the command says which parts of the mod that touches, one line
  437. each, and which plugin does it, as Claude Code's notices in the session's
  438. transcript name it (the mod cannot see the plugins above it otherwise):
  439. | Line | What it says |
  440. | --- | --- |
  441. | `settings.read` | checked now: `answered by the mod` (the padding option applies), `passed on past the mod by a plugin above`, or by the plugin a notice names (the padding option cannot apply, the frame follows `settings.json`), or `refused` (auto memory is read from the settings files) |
  442. | `prompt.section` | how many times it ran since the mod loaded; it runs with each turn, so `not seen yet` after a turn means a plugin above passes it by; `skipped: "<plugin>" runs first and sends it on past the mod` when a notice names the plugin: a session whose auto memory is blocked is not told apart then |
  443. | `classic.Stop` | the same; it runs as a turn ends and drops finished shells and monitors from the agents line |
  444. | `padding` | the `statuslinePadding` option and the padding the status line is drawn with |
  445. | `buttons row` | how many times the mod drew the buttons row since it loaded and how often it was in the band Claude Code stacks: `never asked of the mod` (a plugin above answers the band over it), `the band's list never reached the mod` or `left out of the band's list` (a plugin above takes the row away), or `off` when the `buttons` option is; then whether the band is open (and how many rows it may take) or collapsed (ctrl+x ctrl+a opens it) |
  446. | `auto memory` | `on`, `off` or `?`, and where it was read from: the merged settings, the settings files, `CLAUDE_CODE_DISABLE_AUTO_MEMORY`, `/pause-memory`, or nothing |
  447. | `skipped by` | each plugin that sends the mod's hooks on past it, with those hooks, as Claude Code's notices say (it notices once a session for each hook); the mod cannot get past a plugin seated above it, whoever manages that plugin (an organization's admins for a managed one) can let the hooks through. `no plugin` when no notice came |
  448. | Usage | Result |
  449. | --- | --- |
  450. | `/daiver-prompt-view:mod:doctor` | the report, for example:<br>`daiver-prompt-view doctor`<br>`settings.read: answered by the mod (checked now): the padding option applies`<br>`prompt.section: ran 3 times; it tells a session whose auto memory is blocked`<br>`classic.Stop: ran 3 times; it drops finished shells and monitors from the agents line`<br>`padding: statuslinePadding -1, drawn -1`<br>`buttons row: drawn 12 times, in the band's list 12 of 12 times; the band open, 20 rows`<br>`auto memory: on, from the merged settings`<br>`skipped by: no plugin, as Claude Code's notices in this session's transcript say` |
  451. | `/daiver-prompt-view:mod:doctor`, under a plugin that skips some hooks | for example:<br>`settings.read: passed on past the mod by "cc-plugin-sec-default" (checked now): the padding option cannot apply, the frame follows settings.json`<br>`prompt.section: skipped: "cc-plugin-sec-default" runs first and sends it on past the mod; it tells a session whose auto memory is blocked`<br>…<br>`skipped by: "cc-plugin-sec-default" (settings.read, prompt.section, classic.Stop), as Claude Code's notices in this session's transcript say; the mod cannot get past a plugin seated above it, whoever manages that plugin (your organization's admins for a managed one) can let these hooks through` |
  452. | `/daiver-prompt-view:mod:doctor now` | nothing is checked: `Usage: /daiver-prompt-view:mod:doctor` |
  453. ### `/daiver-prompt-view:statusline:show-usage [on|off]`
  454. Option `statuslineUsage` (Show the session's tokens and cost), default `true`
  455. (`on`). It covers the segment at the end of the status line's first line: the
  456. input and output tokens of every request in the session, subagents included,
  457. and the session's cost in dollars at API prices.
  458. | Value | Effect |
  459. | --- | --- |
  460. | `on` | the first line ends with the segment: `Opus 5.5 -> [demo] (sid:419e75ee) <stime:1h23m> <automemory:on> <in:1.2M·out:85k·cash:$4.31>` |
  461. | `off` | the first line ends where it did before: `Opus 5.5 -> [demo] (sid:419e75ee) <stime:1h23m> <automemory:on>`, and the session's transcripts are not read |
  462. | Usage | Result |
  463. | --- | --- |
  464. | `/daiver-prompt-view:statusline:show-usage on` | `The session's tokens and cost are now shown.` |
  465. | `/daiver-prompt-view:statusline:show-usage off` | `The session's tokens and cost are now hidden.` |
  466. | `/daiver-prompt-view:statusline:show-usage` | toggles: `The session's tokens and cost are now hidden.` when they were shown, `The session's tokens and cost are now shown.` when they were hidden |
  467. | `/daiver-prompt-view:statusline:show-usage maybe` | nothing changes: `Usage: /daiver-prompt-view:statusline:show-usage [on\|off]` |
  468. ### `/daiver-prompt-view:chat:border-style [dashed|line]`
  469. Option `borderStyle` (Frame style), default `dashed`. It sets how every frame
  470. the mod draws looks: the transcript's (your prompts, Claude's replies, tool
  471. calls, the spinner, command output), the history pane's and the status line's.
  472. Whether a frame is drawn at all is still up to `borders`, `chatBorders` and
  473. `statuslineBorders`.
  474. | Value | What the frames look like |
  475. | --- | --- |
  476. | `dashed` (default) | a dashed line with open corners: `╌` across, `╎` down |
  477. | `line` | a solid line with rounded corners: `─` across, `│` down, `╭╮╰╯` |
  478. ```
  479. ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╭───────────────────╮
  480. ╎ fix the login bug ╎ │ fix the login bug │
  481. ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ╰───────────────────╯
  482. dashed line
  483. ```
  484. | You type | What happens |
  485. | --- | --- |
  486. | `/daiver-prompt-view:chat:border-style line` | every frame is redrawn at once: `The frames are now line.` |
  487. | `/daiver-prompt-view:chat:border-style dashed` | every frame is redrawn at once: `The frames are now dashed.` |
  488. | `/daiver-prompt-view:chat:border-style` | shows the current one: `Frame style: dashed (one of dashed, line)` |
  489. | `/daiver-prompt-view:chat:border-style wavy` | nothing changes: `Usage: /daiver-prompt-view:chat:border-style [dashed|line]` |
  490. ### Adding a theme
  491. Every theme is written once, in `hooks/shared/themes.ts`: the hooks module draws
  492. the agents line with it and writes the status line's colors to
  493. `~/.claude/daiver-prompt-view/theme.sh` for the script. A new theme is an entry
  494. in `THEMES` there, its name in the `theme` option's `options` in
  495. `.claude-plugin/plugin.json`, and in `commands/view/theme.md`'s `argument-hint`.
  496. The commands are the plugin's `commands/<feature>/<name>.md` files, which Claude
  497. Code names `/daiver-prompt-view:<feature>:<name>`; the hooks module answers each
  498. itself.
  499. ## Install
  500. ```
  501. /plugin install daiver-prompt-view --marketplace 0exp/daiver-prompt-view
  502. ```
  503. Answer `y` to add the marketplace, then pick a scope (user scope loads it in
  504. every session).
  505. ## Show it in the status line
  506. On every session start the mod copies its script (`statusline/daiver-prompt-view.sh`)
  507. to `~/.claude/daiver-prompt-view/statusline.sh`, a path that stays the same across
  508. plugin updates. Point `statusLine` in `~/.claude/settings.json` at it:
  509. ```json
  510. "statusLine": {
  511. "type": "command",
  512. "command": "sh \"$HOME/.claude/daiver-prompt-view/statusline.sh\"",
  513. "refreshInterval": 1
  514. }
  515. ```
  516. The padding comes from the mod: Claude Code draws the status line 2 columns in
  517. from each edge of the terminal and adds `statusLine.padding` to that, and while
  518. `statusLine` runs this script the mod sets that padding to its
  519. `statuslinePadding` option (`-1` by default), in the settings as Claude Code
  520. merges them: nothing is written to `settings.json`, and a `padding` there is
  521. overridden. The frame is built for the padding Claude Code really draws with,
  522. read back from the merged settings every few seconds. Where a plugin seated
  523. above this one (an organization's security plugin) passes the settings on past
  524. the mod, the option cannot reach Claude Code: the status line keeps the
  525. `statusLine.padding` of `settings.json` (`0` with none), the frame still fits
  526. it, and the debug log says the option is not applied; set the same value in
  527. `settings.json` to have it there. Another status line's `padding` is left as it is.
  528. | `statuslinePadding` | Free columns on each side of the frame |
  529. | --- | --- |
  530. | `-1` (default) | 1 |
  531. | `-2` | 0: from edge to edge |
  532. | `0` | 2, Claude Code's own indent |
  533. | `1` | 3 |
  534. Requires `jq` and `git`; the branch glyph needs a Nerd Font. The script uses
  535. macOS `stat -f`; elsewhere `stime` falls back to the session's duration.
  536. What the mod keeps in `~/.claude/daiver-prompt-view/`: `statusline.sh`, `config`
  537. (the options), `theme.sh` (the active theme's colors), `agents/<session_id>`, `agents.idle` (the agents line of a session with no state yet),
  538. and `automemory/<session_id>`.
  539. ## Develop
  540. Development rules (docs for every option and command, typeahead for every
  541. command's values, a `CHANGELOG.md` entry for every change) are in
  542. `.claude/CLAUDE.md`. What changed in each version is in `CHANGELOG.md`.
  543. ```
  544. hooks/register.ts the hooks module: options, the one session.start, typeahead
  545. hooks/features/ statusline, agents, clodik, view: a file per feature
  546. hooks/shared/ config, themes, commands, files, options
  547. commands/<feature>/*.md the slash commands
  548. statusline/ the status line script (POSIX sh + jq + git)
  549. tests/ claude plugin test .
  550. skills/daiver-prompt-view/ how Claude checks, changes, reloads and releases the mod
  551. CHANGELOG.md what changed in each version (Keep a Changelog)
  552. ```
  553. ```
  554. claude --plugin-dir . # run a session with the mod loaded from this folder
  555. claude plugin validate . # manifest, marketplace and hooks module
  556. claude plugin test . # the tests
  557. ```

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.