ModsCode / Claude Code Mods / Ranking / board-pane
board-pane
/board opens a pane with the kit's board output and a Refresh button
What it does
- Draws a pane, a band above the prompt
- Adds /board
- Hooks session.start, turn.complete
- Starts processes
Good points
- No network calls
- Written in TypeScript
- Handles errors
- Writes no files
Code to start from
A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.
Starter (register.tsx)
import type { Register } from 'claude-code'
// Drawn like board-pane by dwarvesf (pane, band), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/dwarvesf-board-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: "Board" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Button, Text, Input } = $.ui.resolve(e)
const repos = '…'
const active = '…'
const queued = '…'
const filter = '…'
const line = '…'
const line2 = '…'
const line3 = '…'
const nextLabel = '…'
const index = '…'
const rail = '…'
const repoLabel = '…'
const repoNo = '…'
const rail2 = '…'
const rail3 = '…'
const idle = '…'
const stamp = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row">
<Button label={`‹ back`} hotkey="b" />
<Button label="Refresh" hotkey="r" />
<Button label="Close" hotkey="q" role="dismiss" />
</Box>
<Box flexDirection="row">
<Text bold>
{`Board · ${repos} repos · ${active} in flight · ${queued} queued`}
</Text>
</Box>
<Input placeholder="filter repos, IDs, titles" value={`${filter}`} />
<Box flexDirection="column">
<Text dimColor>
no registry: set BOARD_REGISTRY for the cross-repo view
</Text>
<Text dimColor wrap="truncate-end">
{line}
</Text>
<Text dimColor wrap="truncate-end">
{line2}
</Text>
<Text dimColor wrap="truncate-end">
{line3}
</Text>
</Box>
<Box flexDirection="column">
<Text dimColor>
NEXT
</Text>
<Button plain label={`${nextLabel}`} hotkey={`${index}`} />
<Button plain label={`${nextLabel}`} hotkey={`${index}`} />
<Button plain label={`${nextLabel}`} hotkey={`${index}`} />
</Box>
<Box flexDirection="column">
<Text dimColor>
{rail}
</Text>
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
</Box>
<Box flexDirection="column">
<Text dimColor>
{rail2}
</Text>
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
</Box>
<Box flexDirection="column">
<Text dimColor>
{rail3}
</Text>
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
<Button plain label={`${repoLabel}`} hotkey={`${repoNo}`} />
</Box>
<Box flexDirection="row">
<Text dimColor wrap="truncate-end">
{`idle ${idle}`}
</Text>
</Box>
<Text dimColor>
{`press a repo to open it · Esc back${stamp}`}
</Text>
</Box>
)
})
// the band above the prompt; what else goes there is drawn under it
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
const { Box, Text } = $.ui.resolve(e)
return (
<Box flexDirection="column">
<Box flexDirection="row">
<Text dimColor>
{" · "}
</Text>
<Text dimColor>
{" · "}
</Text>
<Text dimColor>
{" · "}
</Text>
</Box>
{await next(e)}
</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.
integrations/claude-code/board-pane/hooks/register.tsx lines 256–395 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const ui = $.ui.resolve(e)
const { Box, Text, Button } = ui
// Not every surface draws an Input; where it is missing the filter is skipped.
const Input = 'Input' in ui ? ui.Input : undefined
const board = await read($, state)
const { repos, filter, isExpanded, isFallback, errorLines, refreshedAt, next } = board
const isWide = e.props.bodyColumns >= WIDE_COLUMNS
// The hotkey label and a tone bullet take about 6 cells; the rest is the row.
const room = Math.max(12, e.props.bodyColumns - 6)
const open = repos.find(repo => repo.name === board.repo)
const back = () => update($, state, prev => ({ ...prev, repo: undefined, filter: '', isExpanded: false }))
const setFilter = (value: string) => update($, state, prev => ({ ...prev, filter: value }))
const controls = (
<Box flexDirection="row">
{open && !isFallback && <Button key="back" label="‹ back" hotkey="b" onPress={back} />}
<Button key="refresh" label="Refresh" hotkey="r" onPress={() => refresh($)} />
<Button key="close" label="Close" hotkey="q" role="dismiss" onPress={() => $.ui.close({ id: PANE })} />
</Box>
)
const filterInput = Input && (
<Input key="filter" placeholder="filter repos, IDs, titles" value={filter} onInput={setFilter} onSubmit={setFilter} />
)
const notes = (
<Box flexDirection="column">
{isFallback && <Text dimColor>no registry: set BOARD_REGISTRY for the cross-repo view</Text>}
{errorLines.map(line => (
<Text dimColor wrap="truncate-end">
{line}
</Text>
))}
</Box>
)
const stamp = refreshedAt ? ` · ${refreshedAt}` : ''
if (open) {
const flying = filterItems(inFlightItems(open), filter)
const queued = filterItems(queuedItems(open), filter)
const shown = isExpanded ? queued : queued.slice(0, QUEUED_SHOWN)
let itemNo = 0
const row = (item: BoardRepo['items'][number]) => {
itemNo += 1
const tone = itemTone(item.state)
// Button has no color prop, so the state tone rides on a bullet beside it.
// A press fills the prompt instead of submitting: a stray key must never start a turn.
return (
<Box flexDirection="row">
{tone && <Text color={tone}>* </Text>}
<Button
key={`item-${itemNo}`}
plain
label={itemLabel(item, room, isWide)}
hotkey={itemNo <= 9 ? String(itemNo) : undefined}
onPress={() => $.prompt.fill({ text: promptFor(item, open) })}
/>
</Box>
)
}
return (
<Box flexDirection="column">
{controls}
<Box key="repo-title" flexDirection="row">
<Text bold>{open.name}</Text>
{open.behind > 0 && <Text dimColor>{` ↓${open.behind} behind upstream`}</Text>}
</Box>
{filterInput}
{notes}
{flying.length > 0 && <Text bold>{`IN FLIGHT ${flying.length}`}</Text>}
{flying.map(row)}
{queued.length > 0 && <Text bold>{`QUEUED ${queued.length}`}</Text>}
{shown.map(row)}
{!isExpanded && queued.length > shown.length && (
<Button
key="more"
plain
dimColor
label={`+ ${queued.length - shown.length} more`}
onPress={() => update($, state, prev => ({ ...prev, isExpanded: true }))}
/>
)}
<Text dimColor>{`press an item to put it in the prompt · Esc back${stamp}`}</Text>
</Box>
)
}
const sum = totals(repos)
const overview = buildOverview(repos, filter)
const nameWidth = Math.min(16, Math.max(0, ...repos.map(repo => repo.name.length)))
const picks = rankNext(next, filter)
// NEXT rows take the first hotkeys, then the repos, so 1 to 9 map to the visible rows in order.
let repoNo = picks.length
return (
<Box flexDirection="column">
{controls}
<Box key="header" flexDirection="row">
<Text bold>{`Board · ${sum.repos} repos · ${sum.active} in flight · ${sum.queued} queued`}</Text>
</Box>
{filterInput}
{notes}
{picks.length > 0 && (
<Box key="next" flexDirection="column">
<Text dimColor>NEXT</Text>
{picks.map((pick, index) => (
<Button
key={`next-${index + 1}`}
plain
label={fit(nextLabel(pick), room)}
hotkey={index < 9 ? String(index + 1) : undefined}
onPress={() => $.prompt.fill({ text: nextPrompt(pick, repos) })}
/>
))}
</Box>
)}
{overview.groups.map(group => (
<Box key={`rail-${group.rail}`} flexDirection="column">
<Text dimColor>{group.rail}</Text>
{group.repos.map(repo => {
repoNo += 1
return (
<Button
key={`repo-${repo.name}`}
plain
label={fit(repoLabel(repo, nameWidth, isWide), room)}
hotkey={repoNo <= 9 ? String(repoNo) : undefined}
onPress={() => update($, state, prev => ({ ...prev, repo: repo.name, filter: '', isExpanded: false }))}
/>
)
})}
</Box>
))}
{overview.idle.length > 0 && (
<Box key="idle" flexDirection="row">
<Text dimColor wrap="truncate-end">{`idle ${overview.idle.join(' · ')}`}</Text>
</Box>
)}
<Text dimColor>{`press a repo to open it · Esc back${stamp}`}</Text>
</Box>
)
})integrations/claude-code/board-pane/hooks/register.tsx lines 397–451 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
if (e.props.hasSurvey) return next(e)
const { tasks, handoffs, worktrees, staleWorktrees: stale, prs } = await read($, summary)
const { Box, Text, Button } = $.ui.resolve(e)
// A press fills the prompt and never submits: the person reads it and presses Enter.
const fill = (text: string) => () => $.prompt.fill({ text })
const segments = []
if (tasks) {
segments.push(
<Box key="seg-tasks" flexDirection="row">
<Button key="band-tasks" plain dimColor label="tasks" hotkey="b" onPress={() => toggleBoard($)} />
<Text color="cyan"> {tasks.queued}</Text>
<Text dimColor>q </Text>
<Text color={tasks.executing > 0 ? 'yellow' : undefined}>{tasks.executing}</Text>
<Text dimColor>act</Text>
</Box>,
)
}
if (handoffs !== undefined) {
segments.push(
<Box key="seg-handoffs" flexDirection="row">
<Text>{handoffs}</Text>
<Button key="band-handoffs" plain dimColor label="ho" hotkey="h" onPress={fill(HANDOFF_PROMPT)} />
</Box>,
)
}
if (worktrees !== undefined) {
segments.push(
<Box key="seg-worktrees" flexDirection="row">
<Text>{worktrees}</Text>
<Button key="band-worktrees" plain dimColor label="wt" hotkey="w" onPress={fill(WORKTREE_PROMPT)} />
{stale !== undefined && stale > 0 && <Text dimColor>{` (${stale} stale)`}</Text>}
</Box>,
)
}
if (prs !== undefined) {
segments.push(
<Box key="seg-prs" flexDirection="row">
<Text>{prs}</Text>
<Button key="band-prs" plain dimColor label="pr" hotkey="p" onPress={fill(PR_PROMPT)} />
</Box>,
)
}
// The tree beneath (other mods, then the engine's band) stacks under this row, so none is swallowed.
const below = await next(e)
if (segments.length === 0) return below
return (
<Box flexDirection="column">
<Box flexDirection="row">
{segments.flatMap((segment, index) => (index === 0 ? [segment] : [<Text dimColor>{' · '}</Text>, segment]))}
</Box>
{below}
</Box>
)
})Licence text (MIT)
MIT License Copyright (c) 2026 Dwarves Foundation 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.
How to build this: Pane (panel), Add a slash command
What its code calls
runs programsreads filesenv vars
What its code shows
Read from the source at commit 86a4f0e0c744 on 2026-10-11. 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.integrations/claude-code/board-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, the same in both |
| 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 marketplace line to give; the page shows how to try the commit read |
| 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.integrations/claude-code/board-pane/hooks/register.tsx:80 a program named at run time; integrations/claude-code/board-pane/hooks/register.tsx:81 a program named at run time; integrations/claude-code/board-pane/hooks/register.tsx:90 a program named at run time; integrations/claude-code/board-pane/hooks/register.tsx:143 a program named at run time |
| Reads and sends | Whether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads environment variables, 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 |
| Settings hooks | Hooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone |
| Servers it ships | MCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/ |
| Skills, commands, agents | What its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows |
| Tools and MCP | Whether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command |
| Asks of the model | Completions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.adds command board |
| Events it hooks | By what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: command.run (board) · also: session.start, turn.complete, ui.render (Pane, AbovePrompt) · timers: clock.every |
| Reads, by name | The environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: DWARVES_KIT, HOME, BOARD_REGISTRY; files: a path computed at run time, …/.claude/handoffs |
| Writes, by name | The files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.the prompt box |
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 its code (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 marketplace line to give.
Try the commit ModsCode read
No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:
git clone https://github.com/dwarvesf/dwarves-kitgit -C dwarves-kit checkout 86a4f0e0c7447f11d6c57eca483440139d998662claude plugin validate dwarves-kit/integrations/claude-code/board-paneclaude --plugin-dir dwarves-kit/integrations/claude-code/board-paneThe validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.
Ask Claude about it
With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:
Read the ModsCode mod "dwarvesf-board-pane" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- code-modernizationAnthropic★ 37,653
- ai-maestro-secrets23blocks-OS★ 817
- pulse-ccfatwang2★ 113
- hopeSaad Shahd★ 35
- agent-discoverkeshrath★ 7
- fanyijax★ 5
Badge for your README
If this is your mod, paste this into your README. It links to this page.
[](https://modscode.com/claude-mods/mods/dwarvesf-board-pane/)