modscode / Gallery / dashboard
dashboard
Unified workbench: a status band for subagents and mmrun reviews, plus a seven-page pane (Overview / Agents / Reviews / GPU / Timeline / Usage / Progress; Reviews, GPU and Progress show once they have data); the Progress page lists the per…
What it does
- Draws a band above the prompt, a pane
- Adds /dashboard, /subagents, /mmrun, /timeline
- Watches AskUserQuestion calls and can refuse them
- Hooks agent.spawn, classic.PermissionDenied, classic.PermissionRequest, classic.PostModelSwitch and 18 more
- Keeps its own state between turns
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 dashboard by Paradox07127 (pane, band, status, toast), as modscode read it from the mod's code:
// https://modscode.com/gallery/paradox07127-dashboard/
// 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 band above the prompt; what else goes there is drawn under it
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
const { Box, Text, Button } = $.ui.resolve(e)
const map = '…'
const workbench = '…'
return (
<Box flexDirection="column">
<Box flexDirection="column" width="100%">
<Box justifyContent="space-between" columnGap={1} alignItems="center">
<Text wrap="truncate">
{map}
</Text>
<Button label={`${workbench}`} variant="primary" />
</Box>
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "‹workbench›" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box } = $.ui.resolve(e)
return (
<Box flexDirection="column" rowGap={1}>
<Box flexDirection="column" rowGap={1}>
<Box flexDirection="row" columnGap={1} />
<Box flexDirection="row" columnGap={1} />
</Box>
</Box>
)
})
}
The mod's own code
Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.
plugins/dashboard/hooks/register.tsx lines 2289–2348 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
// A reload for a changed option raises no session.start: the first drawing starts the loops instead.
start($)
docksPanes = e.viewport?.isFullscreen
await read($, tick)
if (e.props.hasSurvey) {
return next(e)
}
const bNow = await boardNow($)
armBandWake($, nextBandChange(await read($, gates), bNow.now, await read($, trees)), bNow.now)
const board = bandLines(bNow, Math.min(e.props.maxRows, MAX_BAND_ROWS), e.props.bodyColumns - buttonColumns())
const lines = board.length === 0 ? [await idleNow($)] : board
const needsYou = bNow.entries.some(entry => entry.tier === 1)
if (e.surface === 'desktop') {
const el = $.ui.resolve(e)
const { Box } = el
return (
<Box flexDirection="column">
{drawDesktopBand(el, lines, () => void goTo($, 'overview'), needsYou)}
{await next(e)}
</Box>
)
}
const { Box, Button, Text } = $.ui.resolve(e)
const width = e.props.bodyColumns
const draw = (line: Line, columns: number) => (
<Text wrap="truncate">
{fitLine(line, columns).map(seg => (
<Text
{...(seg.color !== undefined && { color: seg.color })}
{...(seg.bold === true && { bold: true })}
{...(seg.dim === true && { dimColor: true })}
>
{seg.text}
</Text>
))}
</Text>
)
return (
<Box flexDirection="column">
<Box flexDirection="column">
<Box>
{draw(lines[0] ?? [], width - buttonColumns())}
<Text> </Text>
<Button key="dash-open" label={t().workbench} onPress={() => void goTo($, 'overview')} />
</Box>
{lines.slice(1).map(line => draw(line, width))}
</Box>
{await next(e)}
</Box>
)
}).catch(($, e, next) => {plugins/dashboard/hooks/desktop.tsx lines 209–238 · Band
export function drawDesktopBand(el: El, lines: readonly Line[], onOpen: () => void, needsYou = false) {
const { Box, Button, Text } = el
const draw = (line: Line) => (
<Text wrap="truncate">
{line.map(seg => (
<Text
{...(seg.color !== undefined && { color: seg.color })}
{...(seg.bold === true && { bold: true })}
{...(seg.dim === true && { dimColor: true })}
>
{seg.text.replace(/ {3,}/g, ' ')}
</Text>
))}
</Text>
)
const isPrimary =
needsYou ||
lines.some(l => l.some(s => s.color === 'error' || (s.color === 'warning' && s.text.includes('!'))))
return (
<Box flexDirection="column" width="100%">
<Box justifyContent="space-between" columnGap={1} alignItems="center">
{draw(lines[0] ?? [])}
<Button key="dash-open" label={t().workbench} variant={isPrimary ? 'primary' : 'secondary'} onPress={onOpen} />
</Box>
{lines.slice(1).map(draw)}
</Box>
)
}plugins/dashboard/hooks/register.tsx lines 2498–2498 · Band
const draw = (line: Line) => <Text wrap="truncate">{fitLine(line, columns).map(segText)}</Text>plugins/dashboard/hooks/register.tsx lines 2412–2571 · Pane
on('ui.render', { component: 'Pane', requestId: PANE_ID }, async ($, e) => {
await read($, tick)
await resumeGpu($)
// A pane drawn before any opening this load, as after a reload, checks once here.
shownTabs ??= await tabsWithData($).catch(() => null)
if (e.surface === 'desktop') {
const current = (await read($, page)) ?? 'overview'
return drawDesktopPane($.ui.resolve(e), {
page: current,
pages: pagesShown(current),
now: await $.clock.now(),
columns: e.props.bodyColumns,
agents: await read($, agents),
snap: await read($, runs),
seen: await read($, seen),
gpu: await read($, gpu),
gpuHosts: autoHosts,
onConnectGpu: host => void connectGpu($, host),
onChangeGpuHost: () => void forgetGpu($),
disclosures: openDisclosures,
onToggleDisclosure: key => toggleDisclosure($, key),
gates: await read($, gates),
trees: await read($, trees),
guards: (await read($, guards))?.blocks ?? [],
peers: (await read($, peers)) ?? [],
paneRuns: PANE_RUNS,
detail: await read($, detail),
reports: await read($, reports),
timeline: await read($, timeline),
timelineTurnId: (await read($, timelineTurn)) ?? undefined,
flights: await flightsNow($),
agentsSeenBefore: await read($, agentsSeenBefore),
isFoldOpen: await read($, agentsFoldOpen),
peek: await read($, peek),
usage: await usageNow($),
progress: await read($, progress),
onToggleFold: () => void update($, agentsFoldOpen, was => !was),
onTimelineTurn: turnId => void pickTurn($, turnId ?? null),
timelineView: await read($, timelineView),
onTimelineView: () => void update($, timelineView, was => (was === 'hotspots' ? 'turn' : 'hotspots')),
timelinePage: (await read($, timelinePage)) ?? undefined,
onTimelinePage: to => void update($, timelinePage, () => to),
onPage: to => void goTo($, to),
onReadAgent: agentId => void readAgent($, agentId),
onReadRun: runid => void readRun($, runid),
onOpenItem: item => void openItem($, item),
onBack: () => void closeDetail($),
onToggleSeverity: () => void toggleSeverity($),
onPickModel: model => void pickReportModel($, model),
onFinding: finding => void pickFinding($, finding),
onCopyResume: (sessionId, surface) => void copyResume($, sessionId, surface),
onCopyCd: (path, surface) => void copyCd($, path, surface),
onClose: () =>
void (async () => {
await closedByPerson($)
await $.ui.close({ id: PANE_ID })
await syncStatus($)
})(),
})
}
const { Box, Button, Markdown, Text } = $.ui.resolve(e)
const current = (await read($, page)) ?? 'overview'
const now = await $.clock.now()
const columns = e.props.bodyColumns
const plain = (text: string, style: { dim?: boolean; color?: string; bold?: boolean } = {}) => (
<Text
wrap="truncate"
{...(style.dim === true && { dimColor: true })}
{...(style.color !== undefined && { color: style.color })}
{...(style.bold === true && { bold: true })}
>
{fit(text, columns)}
</Text>
)
const segText = (seg: Seg) => (
<Text
{...(seg.color !== undefined && { color: seg.color })}
{...(seg.bold === true && { bold: true })}
{...(seg.dim === true && { dimColor: true })}
>
{seg.text}
</Text>
)
const draw = (line: Line) => <Text wrap="truncate">{fitLine(line, columns).map(segText)}</Text>
const buttonRow = (row: ButtonRow, key: string, hotkey: string | undefined, onPress: () => void, isDim = false) => (
<Box>
{row.before.map(segText)}
<Button key={key} label={row.label} plain {...(hotkey !== undefined && { hotkey })} {...(isDim && { dimColor: true })} onPress={onPress} />
{row.after.map(segText)}
</Box>
)
const tabs = paneTabs($, { Box, Button }, current)
const backRow = (title: string) => (
<Box columnGap={1}>
<Button key="dash-back" label={t().back} onPress={() => void closeDetail($)} />
<Text bold wrap="truncate">
{title}
</Text>
</Box>
)
const open = await read($, detail)
const openAgent = open?.page === 'agents' && current === 'agents' ? (await read($, agents)).find(one => one.agentId === open.agentId) : undefined
const openRun = open?.page === 'mmrun' && current === 'mmrun' ? (await read($, runs))?.runs.find(one => one.runid === open.runid) : undefined
const openReport = openRun === undefined ? undefined : (await read($, reports))[openRun.runid]
let body
if (openAgent !== undefined) {
const last = await read($, peek)
const peeked = openAgent.state === 'running' && last?.agentId === openAgent.agentId ? last : undefined
const labelled = (label: string, text: string) => draw([{ text: `${label} `, dim: true }, { text }])
const peekRows =
peeked === undefined
? []
: peeked.failed === true
? [plain(t().peekUnreadable, { color: 'warning' })]
: [
...(peeked.task === '' ? [] : [labelled(t().peekTask, peeked.task)]),
...(peeked.calls.length === 0 ? [] : [plain(t().peekCalls, { dim: true }), ...peeked.calls.map(call => plain(` ${call}`))]),
...(peeked.text === '' ? [] : [labelled(t().peekText, peeked.text)]),
]
body = [
backRow(`${openAgent.subagentType} · ${openAgent.description}`),
plain(openAgent.state === 'running' ? t().agentStillRunning : t().agentAnswerHead, { color: 'warning', bold: true }),
...(openAgent.usage === undefined ? [] : [plain(usageText(openAgent.usage), { dim: true })]),
...peekRows,
<Markdown text={openAgent.answer ?? ''} />,
]
} else if (open?.page === 'mmrun' && openRun !== undefined && openReport !== undefined) {
body = [
backRow(`${runLabel(openRun)} · ${openRun.runid}`),
<Box columnGap={1}>
<Text color="warning" bold>
{t().modelReport}
</Text>
<Button key="dash-severity" label={open.showAll ? t().criticalMajorOnly : t().allSeverities} onPress={() => void toggleSeverity($)} />
</Box>,
...openReport.models.flatMap(model => [
<Text wrap="truncate">
<Text bold>{model.name}</Text>
<Text dimColor>{` ${model.status}`}</Text>
</Text>,
<Markdown text={model.markdown} />,
]),
]
} else if (current === 'overview') {
const snap = await read($, runs)
const polledAt = snap?.polledAt ?? now
const allGates = await read($, gates)
const found = await read($, trees)
const overview = overviewOf(await read($, agents), snap, await read($, seen), now, (await read($, peers)) ?? [], allGates, found)
const flights = await flightsNow($)
const recent = recentGates(allGates, OVERVIEW_GATES)
const blocks = (await read($, guards))?.blocks ?? []
const section = (rows: RenderChildren) => (
<Box flexDirection="column" marginTop={1}>
{rows}plugins/dashboard/hooks/desktop.tsx lines 1314–1338 · Pane
export function drawDesktopPane(el: El, data: PaneData) {
const { Box } = el
const body =
detailBody(el, data) ??
(data.page === 'overview'
? overview(el, data)
: data.page === 'agents'
? agentCards(el, data)
: data.page === 'mmrun'
? runCards(el, data)
: data.page === 'timeline'
? timelineBody(el, data)
: data.page === 'usage'
? usageBody(el, data)
: data.page === 'progress'
? progressBody(el, data)
: gpuBody(el, data))
return (
<Box flexDirection="column" rowGap={1}>
{tabs(el, data)}
{body}
</Box>
)
}plugins/dashboard/hooks/desktop.tsx lines 240–273 · Pane
function tabs(el: El, data: Pick<PaneData, 'page' | 'pages' | 'onPage' | 'columns'>) {
const { Box, Button } = el
const isNarrow = widthTierOf(data.columns) === 'narrow'
const buttonOf = (one: { page: DashPage; label: string }) => (
<Button
key={`page-${one.page}`}
label={one.label}
variant={one.page === data.page ? 'primary' : 'secondary'}
onPress={() => data.onPage(one.page)}
/>
)
if (isNarrow) {
const row1 = data.pages.slice(0, 3).map(buttonOf)
const row2 = data.pages.slice(3).map(buttonOf)
return (
<Box flexDirection="column" rowGap={1}>
<Box flexDirection="row" columnGap={1}>
{row1}
</Box>
<Box flexDirection="row" columnGap={1}>
{row2}
</Box>
</Box>
)
}
return (
<Box flexDirection="row" columnGap={1}>
{data.pages.map(buttonOf)}
</Box>
)
}Licence text (MIT)
MIT License Copyright (c) 2026 Paradox07127 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
What its code calls
runs programswrites filesenv varsdrives Claudetool callsremembers
What its code shows
Read from the source at commit 0b3a6da7617f 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.plugins/dashboard/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.21 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.listed in its repository's .claude-plugin/marketplace.json: installs from there |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).plugins/dashboard/hooks/register.tsx:675 kill (not on Windows); plugins/dashboard/hooks/register.tsx:1045 tail (not on Windows); plugins/dashboard/hooks/register.tsx:1895 tail (not on Windows); plugins/dashboard/hooks/register.tsx:2015 tail (not on Windows) |
| 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.plugins/dashboard/hooks/register.tsx:1341 a program named at run time |
| Reads and sends | Whether it both reads files or environment variables and reaches the network.reads environment variables and files and reaches the 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.MIT |
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 is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:
/plugin marketplace add Paradox07127/claude-utopia/plugin install dashboard@claude-utopiaThis installs the marketplace's latest commit, which may not be the one read here (0b3a6da7617f). Compare them before you install.
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 "paradox07127-dashboard" with its code and make me a pane like itSearch them from Claude: the MCP connector
Similar designs
-
Ask Claude…2h 10m · █████░░░✓ build ✓ build ✓ buildJavaKotlin3 Python■ ok 3 ■ ok 3 ■ ok 3 Razor proven 3 Razor proven 3 Razor proven 3Phases ──────── 3/3build Pythonbuild Pythonbuild Python… 3 more phasesLua ──────── 3/Kotlin■ the whole upgrade Ruby■ build build Ruby■ build build Ruby■ build build Ruby … 3 moreNext ──────── PythonRuby (by hand)Podsclick a button, or ctrl+x tab then Tab, EnterAttention ──────── 3! Scala ! Scala ! Scala … 3 moreSession ──────── okJava
-
Open a file first: /crit-tui file <path>Reopen this one in the crit browser view.Ask Claude…
-
Ask Claude…TodayOct 63 left · Mar overdueRemCTL: Sep✓ All done for today.● build3● Fix login ● ⚑Jul · build✓● Fix login ● ⚑Jul · build✓● Fix login ● ⚑Jul · build✓● build3● Fix login ● ⚑Jul · build✓● Fix login ● ⚑Jul · build✓● Fix login ● ⚑Jul · build✓● build3● Fix login ● ⚑Jul · build✓● Fix login ● ⚑Jul · build✓● Fix login ● ⚑Jul · build✓Updated 14:32UndoRefresh
-
Ask Claude…TO graph› Fix login › Fix login › Fix loginScopeThis featureWhole projectHide done stepsReconnect
-
Ask Claude…InboxUntitled captureFinishing Open in localvoxtralUntitled captureFinishing Open in localvoxtralUntitled captureFinishing Open in localvoxtral
-
Ask Claude…InboxUntitled captureFinishing Open in localvoxtralUntitled captureFinishing Open in localvoxtralUntitled captureFinishing Open in localvoxtral