modscode / Gallery / dash-pane
dash-pane
Session dashboard pane: workspace, git, agent, tasks, limits and cost
What it does
- Draws a pane
- Adds /dash-pane
- Watches tool calls
- Hooks classic.UserPromptSubmit, prompt.compose, prompt.submit, session.measure and 3 more
- Starts processes
Good points
- No network calls
- Written in TypeScript
- Has a desktop-specific branch
- Handles errors
Code to start from
Two kinds: a starter modscode writes from the design above, and the lines of the mod's own code that draw it.
Starter (register.tsx)
import type { Register } from 'claude-code'
// Drawn like dash-pane by nikbrunner (pane), as modscode read it from the mod's code:
// https://modscode.com/gallery/nikbrunner-dash-pane/
// Written by modscode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
// the pane: open it with $.ui.open({ id: 'my-pane', title: "Dash" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text } = $.ui.resolve(e)
const ICON = '…'
const repo = '…'
const cwd = '…'
const t = '…'
const duration = '…'
const model = '…'
const account = '…'
const effort = '…'
const mode = '…'
const style = '…'
const turns = '…'
const ICON2 = '…'
const b = '…'
const b2 = '…'
const done = '…'
const length = '…'
const subject = '…'
const subject2 = '…'
const subject3 = '…'
const ICON3 = '…'
const b3 = '…'
const b4 = '…'
const percent = '…'
const tokens = '…'
const window = '…'
const LIMIT_LABEL = '…'
const b5 = '…'
const b6 = '…'
const percent2 = '…'
const until = '…'
const LIMIT_LABEL2 = '…'
const b7 = '…'
const b8 = '…'
const percent3 = '…'
const until2 = '…'
const LIMIT_LABEL3 = '…'
const b9 = '…'
const b10 = '…'
const percent4 = '…'
const until3 = '…'
const hit = '…'
const misses = '…'
const added = '…'
const removed = '…'
const cost = '…'
const ICON4 = '…'
const branch = '…'
const upstream = '…'
const hash = '…'
const subject4 = '…'
const age = '…'
const status = '…'
const path = '…'
const added2 = '…'
const removed2 = '…'
const status2 = '…'
const path2 = '…'
const added3 = '…'
const removed3 = '…'
const status3 = '…'
const path3 = '…'
const added4 = '…'
const removed4 = '…'
const length2 = '…'
return (
<Box flexDirection="column">
<Box flexDirection="column" paddingX={1}>
<Text dimColor wrap="truncate-end">
╌╌╌╌╌╌╌╌
</Text>
<Box justifyContent="space-between">
<Box gap={1} alignItems="center">
<Text>
{ICON}
</Text>
<Text bold>
{repo}
</Text>
</Box>
<Text color="suggestion">
worktree
</Text>
</Box>
<Box flexDirection="column">
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
cwd
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text wrap="truncate-start">
<Text>
{cwd}
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
session
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text color="suggestion" italic>
{t}
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
age
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text>
{duration}
</Text>
</Text>
</Box>
</Box>
</Box>
<Box flexDirection="column" paddingX={1}>
<Text dimColor wrap="truncate-end">
╌╌╌╌╌╌╌╌
</Text>
<Box justifyContent="space-between">
<Box gap={1} alignItems="center">
#4eba65
<Text color="success" bold>
{model}
</Text>
</Box>
<Text color="error" bold>
⚠ WORK
</Text>
</Box>
<Box flexDirection="column">
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
account
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text color="suggestion">
{account}
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
effort
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text color="warning">
{effort}
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
mode
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text>
{mode}
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
style
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text>
{style}
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
turns
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text>
{turns}
</Text>
</Text>
</Box>
</Box>
</Box>
<Box flexDirection="column" paddingX={1}>
<Text dimColor wrap="truncate-end">
╌╌╌╌╌╌╌╌
</Text>
<Box justifyContent="space-between">
<Box gap={1} alignItems="center">
<Text>
{ICON2}
</Text>
<Text bold>
tasks
</Text>
</Box>
<Box>
<Text>
<Text>
{b}
</Text>
<Text color="rate_limit_empty">
{b2}
</Text>
</Text>
<Text bold>
{" "}
{done}
/
{length}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Text color="warning" wrap="truncate-end">
{"✓ "}
{subject}
</Text>
<Text color="warning" wrap="truncate-end">
{"✓ "}
{subject2}
</Text>
<Text color="warning" wrap="truncate-end">
{"✓ "}
{subject3}
</Text>
</Box>
</Box>
<Box flexDirection="column" paddingX={1}>
<Text dimColor wrap="truncate-end">
╌╌╌╌╌╌╌╌
</Text>
<Box justifyContent="space-between">
<Box gap={1} alignItems="center">
<Text>
{ICON3}
</Text>
<Text bold>
session
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Box justifyContent="space-between">
<Box>
<Box width={9} flexShrink={0}>
<Text color="inactive">
context
</Text>
</Box>
<Text>
<Text>
{b3}
</Text>
<Text color="rate_limit_empty">
{b4}
</Text>
</Text>
<Text bold>
{" "}
{percent}
%
</Text>
</Box>
<Text dimColor>
{`${tokens}k/${window}M`}
</Text>
</Box>
<Box justifyContent="space-between">
<Box>
<Box width={9} flexShrink={0}>
<Text color="inactive">
{LIMIT_LABEL}
</Text>
</Box>
<Text>
<Text>
{b5}
</Text>
<Text color="rate_limit_empty">
{b6}
</Text>
</Text>
<Text bold>
{" "}
{percent2}
%
</Text>
</Box>
<Text dimColor>
{until}
</Text>
</Box>
<Box justifyContent="space-between">
<Box>
<Box width={9} flexShrink={0}>
<Text color="inactive">
{LIMIT_LABEL2}
</Text>
</Box>
<Text>
<Text>
{b7}
</Text>
<Text color="rate_limit_empty">
{b8}
</Text>
</Text>
<Text bold>
{" "}
{percent3}
%
</Text>
</Box>
<Text dimColor>
{until2}
</Text>
</Box>
<Box justifyContent="space-between">
<Box>
<Box width={9} flexShrink={0}>
<Text color="inactive">
{LIMIT_LABEL3}
</Text>
</Box>
<Text>
<Text>
{b9}
</Text>
<Text color="rate_limit_empty">
{b10}
</Text>
</Text>
<Text bold>
{" "}
{percent4}
%
</Text>
</Box>
<Text dimColor>
{until3}
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
cache
</Text>
</Box>
<Box marginRight={1} flexShrink={0}>
#ffc107
</Box>
<Text wrap="truncate-end">
<Text>
<Text>
{`${hit}% hit`}
</Text>
<Text dimColor>
{" "}
{"· "}
{`expires ${until}`}
</Text>
<Text color="error">
{" · "}
{misses}
{" miss"}
</Text>
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
edits
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text>
<Text color="success">
+
{added}
</Text>
<Text dimColor>
/
</Text>
<Text color="error">
-
{removed}
</Text>
<Text dimColor>
{" lines"}
</Text>
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
cost
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text color="warning">
$
{cost}
</Text>
</Text>
</Box>
</Box>
</Box>
<Box flexDirection="column" paddingX={1}>
<Text dimColor wrap="truncate-end">
╌╌╌╌╌╌╌╌
</Text>
<Box justifyContent="space-between">
<Box gap={1} alignItems="center">
<Text>
{ICON4}
</Text>
<Text bold>
{branch}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
upstream
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text>
<Text>
{upstream}
</Text>
<Text color="success">
{" ↑"}
0
</Text>
<Text color="error">
{" ↓"}
0
</Text>
<Text dimColor>
{" in sync"}
</Text>
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
last
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text>
<Text color="warning">
{hash}
</Text>
<Text>
{" "}
{subject4}
</Text>
<Text dimColor>
{" · "}
{age}
</Text>
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
stashes
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text color="suggestion">
0
</Text>
</Text>
</Box>
<Box alignItems="center">
<Box width={9} flexShrink={0}>
<Text color="inactive">
changes
</Text>
</Box>
<Box marginRight={1} flexShrink={0} />
<Text>
<Text>
<Text color="success">
+
0
{" added "}
</Text>
<Text color="warning">
~
0
{" modified "}
</Text>
<Text color="error">
-
0
{" deleted "}
</Text>
<Text color="suggestion">
?
0
{" untracked"}
</Text>
</Text>
</Text>
</Box>
<Box flexDirection="column" marginTop={1}>
<Box justifyContent="space-between">
<Text wrap="truncate-start">
<Text color="warning">
●
{" "}
{status}
{" "}
</Text>
<Text>
{path}
</Text>
</Text>
<Text>
<Text color="success">
+
{added2}
</Text>
<Text color="error">
{" -"}
{removed2}
</Text>
</Text>
</Box>
<Box justifyContent="space-between">
<Text wrap="truncate-start">
<Text color="warning">
●
{" "}
{status2}
{" "}
</Text>
<Text>
{path2}
</Text>
</Text>
<Text>
<Text color="success">
+
{added3}
</Text>
<Text color="error">
{" -"}
{removed3}
</Text>
</Text>
</Box>
<Box justifyContent="space-between">
<Text wrap="truncate-start">
<Text color="warning">
●
{" "}
{status3}
{" "}
</Text>
<Text>
{path3}
</Text>
</Text>
<Text>
<Text color="success">
+
{added4}
</Text>
<Text color="error">
{" -"}
{removed4}
</Text>
</Text>
</Box>
<Text dimColor>
{"… "}
{length2}
{" more"}
</Text>
<Text dimColor>
● staged ○ unstaged
</Text>
</Box>
</Box>
</Box>
</Box>
)
})
}
The mod's own code
Its licence text was not found at the commit read, so only the places in the source are linked.
What its code calls
runs programsreads filestool calls
The design, read from code
Drawn from the mod's source at the commit read, not from a run: a list is drawn three times, a condition takes its first branch that draws in the desktop app, and a value only the run time knows is shown as a made-up sample (dotted underline) or left out. Colours and type are this site's.
What its code shows
Read from the source at commit 1f005cafc46a on 2026-10-06. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.
| Decides the listing: code you can check | |
|---|---|
| Entry read | Every module hooks/hooks.json names was read.common/.claude/mods/dash-pane/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.2 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs |
| Calls in the open | Network and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open |
| For you to weigh before installing | |
| Where it draws | The terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, with its own branch for the desktop |
| Install line | Whether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.its repository's .claude-plugin/marketplace.json does not list it: no install line to give |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks |
| Network | Whether every fetch names its https host in the code.no network |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.common/.claude/mods/dash-pane/hooks/register.tsx:80 sh (a shell or interpreter); common/.claude/mods/dash-pane/hooks/register.tsx:122 sh (a shell or interpreter); common/.claude/mods/dash-pane/hooks/register.tsx:145 sh (a shell or interpreter) |
| Reads and sends | Whether it both reads files or environment variables and reaches the network.reaches no network |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets modscode show its code; otherwise the code is linked.no licence |
This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen
Install it
Check it yourself before you install it. Mods run unsandboxed, with your permissions, and modscode does not vouch for what this code does. Read the code below (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.
Its repository's .claude-plugin/marketplace.json does not list it, so there is no install line to give. Read it as code, or follow its author's README.
Ask Claude about it
With the modscode connector added, Claude can read this design, what its code reaches and its code, and build on them. Ask it like this:
Read the modscode design "nikbrunner-dash-pane" with its code and make me a pane like itSearch them from Claude: the MCP connector
Similar designs
-
Ask Claude…Approved appsApproved appsComputer use can control these apps without asking.High riskAlways allowed (3)None. Allow one below.Not installed (3)This conversation (3)None.Allow an app App name, bundle id or path allowbuilda1b2c3dbuilda1b2c3dbuilda1b2c3d
-
Ask Claude…AgentsFix loginExpand≈$1.24 · 12.4k tokens · 2h 10mNo subagents yet.Running · 3▸ Finished · 3Planned · 3▢ 3. Fix login ◷ Plan · · after Planned▢ 3. Fix login ◷ Plan · · after Planned▢ 3. Fix login ◷ Plan · · after Planned
-
Ask Claude…Fix loginRemoveCopy markdownacme/app · mainCopy linkCopy markdownbuild2h 10mbuild2h 10mbuild2h 10mHosted on uploads.sh, not committed to the repo.They will appear in a comment on the pull request once opened.
-
What it does
- Draws a band above the prompt, a pane
- Adds /progress
- Watches tool calls and can refuse them
- Hooks classic.SessionStart, prompt.compose, prompt.submit, session.start and 2 more
-
Ask Claude…Skins0 Your promptadd rate limiting to the hub api0 Tool rows: finished, running, failedYour prompt Spinner0 Folded group of reads and searches●main · note 3 · note 3 · note 30 Edit diff cardDesktop only; the terminal keeps Claude Code's diff.0 Shell output cardDesktop only.0 Code block cardDesktop only; the terminal keeps Claude Code's markdown.0 TableAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopyAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopyAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopy0 SpinnerAccent SpinnerSpinnerSpinner… 2h 10m0 Band above the prompt: normal, then nudging to compact█████░░░ 42% build█████░░░ 42% build█████░░░ 42% buildContext is 42% full0 Compact now0 Band above a questionTable BashBashBash0 Turn footer (terminal)3 build in 2h 10m · Grep · +3 −3
-
What it does
- Draws a pane, a band above the prompt
- Adds /clawd
- Watches tool calls and can refuse them
- Hooks prompt.submit, session.compact, session.start, turn.complete and 2 more