ModsCode / Claude Code Mods / Ranking / agent-taskboard
agent-taskboard
A live task board for Claude Code: plans before building and shows every task, its status, time, subagents and checks in a side panel. Progress survives sessions.
What it does
- Draws a pane
- Adds /taskboard
- Watches tool calls and can refuse them
- Hooks agent.spawn, prompt.compose, prompt.submit, session.start and 2 more
- Keeps its own state between turns
Good points
- No network calls
- Starts no processes
- Written in TypeScript
- Handles errors
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 agent-taskboard by Yohan Garcia (pane), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/yohangarcia-agent-taskboard/
// 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: "‹paneTitle›" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
const title = '…'
const percent = '…'
const elapsed = '…'
const goal = '…'
const value = '…'
const off = '…'
const done = '…'
const total = '…'
const activeAgents = '…'
const totalLine = '…'
const collapse = '…'
const viewBoard = '…'
const clear = '…'
const noticeTitle = '…'
const noticeBlocking = '…'
const skipPlan = '…'
const resumedBanner = '…'
const GLYPH = '…'
const i = '…'
const meta = '…'
const taskDetail = '…'
const tokensLine = '…'
const name = '…'
const agentStatus = '…'
const kind = '…'
const command = '…'
const note = '…'
const start = '…'
const block = '…'
const fail = '…'
const meta2 = '…'
const taskDetail2 = '…'
const tokensLine2 = '…'
const meta3 = '…'
const taskDetail3 = '…'
const tokensLine3 = '…'
const looseAgents = '…'
const helpTask = '…'
const rootLabel = '…'
const tailClip = '…'
const branchLabel = '…'
const noBranch = '…'
return (
<Box flexDirection="column" paddingX={2} paddingY={1} justifyContent="space-between">
<Box flexDirection="column" rowGap={1}>
<Box flexDirection="column" borderStyle="round" borderColor="cyan" paddingX={1}>
<Box justifyContent="space-between">
<Text bold color="cyan">
{`◈ ${title}`}
</Text>
<Text dimColor>
{`${percent}%${elapsed}`}
</Text>
</Box>
<Box flexDirection="column">
<Text bold wrap="truncate">
{goal}
</Text>
<Text wrap="truncate">
<Text color="green">
{value}
</Text>
<Text color="gray">
{off}
</Text>
<Text bold>
{` ${done}/${total}`}
</Text>
</Text>
<Text wrap="truncate">
<Text color="green">
✓ 0
</Text>
<Text dimColor>
{" "}
</Text>
<Text color="cyan">
◐ 0
</Text>
<Text dimColor>
{" "}
</Text>
<Text color="gray">
○ 0
</Text>
<Text color="yellow">
{" ⏸ 0"}
</Text>
<Text color="red">
{" ✗ 0"}
</Text>
<Text color="cyan">
{` ${activeAgents}`}
</Text>
</Text>
<Text dimColor wrap="truncate">
{totalLine}
</Text>
</Box>
</Box>
<Box justifyContent="flex-end" columnGap={1}>
<Button hotkey="e" label={`${collapse}`} />
<Button hotkey="h" label={`${viewBoard}`} />
<Button hotkey="l" label={`${clear}`} />
</Box>
<Box flexDirection="column" borderStyle="round" borderColor="yellow" paddingX={1}>
<Text color="yellow" bold>
{noticeTitle}
</Text>
<Text dimColor wrap="wrap">
{noticeBlocking}
</Text>
<Box>
<Button plain hotkey="o" label={`${skipPlan}`} />
</Box>
</Box>
<Text dimColor>
{resumedBanner}
</Text>
<Box flexDirection="column">
<Box flexDirection="column" borderStyle="round" paddingX={1}>
<Box justifyContent="space-between">
<Box>
<Text>
{`${GLYPH} `}
</Text>
<Button plain hotkey={`${i}`} label={`${title}`} />
</Box>
<Text dimColor>
{meta}
</Text>
</Box>
<Text dimColor wrap="truncate">
{taskDetail}
</Text>
<Text dimColor wrap="truncate">
{tokensLine}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text dimColor wrap="wrap">
{`» ${note}`}
</Text>
<Box columnGap={2}>
<Button plain hotkey="i" label={`${start}`} />
<Button plain hotkey="b" label={`${block}`} />
<Button plain hotkey="f" label={`${fail}`} />
</Box>
</Box>
<Box flexDirection="column" borderStyle="round" paddingX={1}>
<Box justifyContent="space-between">
<Box>
<Text>
{`${GLYPH} `}
</Text>
<Button plain hotkey={`${i}`} label={`${title}`} />
</Box>
<Text dimColor>
{meta2}
</Text>
</Box>
<Text dimColor wrap="truncate">
{taskDetail2}
</Text>
<Text dimColor wrap="truncate">
{tokensLine2}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text dimColor wrap="wrap">
{`» ${note}`}
</Text>
<Box columnGap={2}>
<Button plain hotkey="i" label={`${start}`} />
<Button plain hotkey="b" label={`${block}`} />
<Button plain hotkey="f" label={`${fail}`} />
</Box>
</Box>
<Box flexDirection="column" borderStyle="round" paddingX={1}>
<Box justifyContent="space-between">
<Box>
<Text>
{`${GLYPH} `}
</Text>
<Button plain hotkey={`${i}`} label={`${title}`} />
</Box>
<Text dimColor>
{meta3}
</Text>
</Box>
<Text dimColor wrap="truncate">
{taskDetail3}
</Text>
<Text dimColor wrap="truncate">
{tokensLine3}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="red">
{`⚙ ${name} · ${agentStatus}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text wrap="truncate" color="green">
{`✔ ${kind}: ${command}`}
</Text>
<Text dimColor wrap="wrap">
{`» ${note}`}
</Text>
<Box columnGap={2}>
<Button plain hotkey="i" label={`${start}`} />
<Button plain hotkey="b" label={`${block}`} />
<Button plain hotkey="f" label={`${fail}`} />
</Box>
</Box>
</Box>
<Text dimColor wrap="truncate">
{looseAgents}
</Text>
<Text dimColor wrap="truncate">
{helpTask}
</Text>
</Box>
<Box flexDirection="column">
<Text color="gray">
────────
</Text>
<Text wrap="truncate">
<Text dimColor>
{`${rootLabel}: `}
</Text>
<Text>
{tailClip}
</Text>
</Text>
<Text wrap="truncate">
<Text dimColor>
{`${branchLabel}: `}
</Text>
<Text color="magenta" bold>
{noBranch}
</Text>
</Text>
</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.
hooks/register.tsx lines 545–704 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
// Never name a local `h`: JSX compiles to calls of the global `h`.
const [b, v, past, proj, now] = await Promise.all([
read($, boardAtom),
read($, viewAtom),
read($, historyAtom),
read($, projectAtom),
$.clock.now(),
])
const FULL = Math.max(34, e.props.bodyColumns)
// The panel pads itself (2 columns each side), so W is what fits inside.
const W = FULL - 4
// The pane's own height: the footer sits at its bottom edge, whatever the content.
const rows = e.props.scroll?.bodyRows ?? e.viewport?.rows ?? 24
const { done, total, percent } = progressOf(b.tasks)
const counts = countsOf(b.tasks)
const isHistory = v.mode === 'history'
const g = gauge(done, total, Math.min(16, Math.max(8, W - 30)))
const colorOf = (s: TaskStatus) =>
s === 'done' ? 'green' : s === 'failed' ? 'red' : s === 'blocked' ? 'yellow' : s === 'in_progress' ? 'cyan' : 'gray'
const card = (title: string, right: string, body: unknown) => (
<Box flexDirection="column" borderStyle="round" borderColor="cyan" paddingX={1} width={W}>
<Box justifyContent="space-between" width={W - 4}>
<Text bold color="cyan">{`◈ ${title}`}</Text>
<Text dimColor>{right}</Text>
</Box>
{body}
</Box>
)
const actions = (
<Box justifyContent="flex-end" columnGap={1} width={W}>
{!isHistory && b.tasks.length > 0 ? (
<Button
key="expand-all"
hotkey="e"
label={v.expandAll ? t.collapse : t.expandAll}
onPress={() => update($, viewAtom, x => ({ ...x, expandAll: !x.expandAll }))}
/>
) : null}
<Button
key="toggle-view"
hotkey="h"
label={isHistory ? t.viewBoard : t.viewHistory}
onPress={() => update($, viewAtom, x => ({ ...x, mode: x.mode === 'board' ? ('history' as const) : ('board' as const) }))}
/>
<Button key="clear" hotkey="l" label={t.clear} dimColor={b.tasks.length === 0} onPress={() => clearBoard($)} />
</Box>
)
// ---- where the session runs: the project folder and its branch, at the bottom of every view
const place = (
<Box flexDirection="column" width={W}>
<Text color="gray">{'─'.repeat(Math.max(1, W))}</Text>
<Text wrap="truncate">
<Text dimColor>{`${t.rootLabel}: `}</Text>
<Text>{tailClip(proj.root, W - t.rootLabel.length - 2)}</Text>
</Text>
<Text wrap="truncate">
<Text dimColor>{`${t.branchLabel}: `}</Text>
<Text color="magenta" bold>
{proj.branch ?? t.noBranch}
</Text>
</Text>
</Box>
)
// ---- history: a list, one plan open for its detail
if (isHistory) {
const room = Math.max(3, Math.floor((rows - 8) / 2))
const shown = past.slice(-room).reverse()
return (
<Box flexDirection="column" width={FULL} minHeight={rows} paddingX={2} paddingY={1} justifyContent="space-between">
<Box flexDirection="column" width={W} rowGap={1}>
{card(t.historyTitle, t.plansCount(past.length), <Text dimColor>{t.savedPlans}</Text>)}
{actions}
{shown.length === 0 ? <Text dimColor>{t.noFinished}</Text> : null}
{shown.map((entry, i) => {
const isOpen = v.historyOpen === entry.startedAt
const markColor = entry.reason === 'completed' ? 'green' : entry.reason === 'replaced' ? 'yellow' : 'gray'
const mark = entry.reason === 'completed' ? '✓' : entry.reason === 'replaced' ? '↻' : '✗'
return (
<Box flexDirection="column" borderStyle={isOpen ? 'round' : undefined} borderColor={isOpen ? markColor : undefined} paddingX={isOpen ? 1 : 0}>
<Box>
<Text color={markColor}>{`${mark} `}</Text>
<Button
key={`hist-${entry.startedAt}`}
plain
hotkey={i < 9 ? String(i + 1) : undefined}
label={clip(entry.goal, Math.max(10, W - 8))}
onPress={() => update($, viewAtom, x => ({ ...x, historyOpen: x.historyOpen === entry.startedAt ? null : entry.startedAt }))}
/>
</Box>
<Text dimColor wrap="truncate">{` ${entry.done}/${entry.total} · ${durationOf(entry.durationMs)} · ${stampOf(entry.startedAt)}`}</Text>
{isOpen ? (
<Box flexDirection="column">
{entry.tasks.map(task => (
<Text wrap="truncate" color={colorOf(task.status)}>
{` ${GLYPH[task.status]} ${clip(task.title, W - 8)}`}
</Text>
))}
<Box columnGap={2}>
<Button key={`reopen-${entry.startedAt}`} plain hotkey="r" label={t.reopen} onPress={() => reopenEntry($, entry, t)} />
</Box>
</Box>
) : null}
</Box>
)
})}
<Text dimColor wrap="truncate">{t.historyHelp}</Text>
</Box>
{place}
</Box>
)
}
// ---- the friction notice: visible, with a way out
const notice = b.needsPlan ? (
<Box flexDirection="column" borderStyle="round" borderColor="yellow" paddingX={1} width={W}>
<Text color="yellow" bold>
{t.noticeTitle}
</Text>
<Text dimColor wrap="wrap">
{isEnforcing ? t.noticeBlocking : t.noticeSuggesting}
</Text>
<Box>
<Button key="skip-plan" plain hotkey="o" label={t.skipPlan} onPress={() => skipPlan($)} />
</Box>
</Box>
) : null
if (b.tasks.length === 0) {
return (
<Box flexDirection="column" width={FULL} minHeight={rows} paddingX={2} paddingY={1} justifyContent="space-between">
<Box flexDirection="column" width={W} rowGap={1}>
{card(t.boardTitle, '', <Text dimColor>{t.noPlanBody}</Text>)}
{actions}
{notice}
{notice === null ? <Text dimColor wrap="wrap">{t.noPlanHint}</Text> : null}
{past.length > 0 ? <Text dimColor>{t.historyHint(past.length)}</Text> : null}
</Box>
{place}
</Box>
)
}
// ---- the board: summary, then one row per task, cards for the ones in focus
const elapsed = b.createdAt === null ? '' : ` · ${durationOf(now - b.createdAt)}`
const planTokens =
b.tasks.reduce((n, x) => n + billableOf(x.usage) + billableOf(x.agentUsage), 0) + billableOf(b.untracked)
const planCost = b.tasks.reduce((n, x) => n + x.cost, 0)
const running = b.tasks.reduce((n, x) => n + x.agents.filter(a => a.status === 'running').length, 0) + b.looseAgents.filter(a => a.status === 'running').length
const taskView = (task: Board['tasks'][number], i: number) => {
const ms = elapsedOf(task, now)Licence text (MIT)
MIT License Copyright (c) 2026 Yohan Garcia 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), Deny a tool call
What its code calls
reads filestool callsremembers
What its code shows
Read from the source at commit adba2d47aba7 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.hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.3 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.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).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.starts no programs |
| 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 files, but reaches nothing outside |
| 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 taskboard, adds tool plan, adds tool task |
| 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: prompt.submit, tool.call, command.run (taskboard) · shapes: prompt.compose, turn.step · also: session.start, agent.spawn, turn.complete, ui.render (Pane) · 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.files: …….git, ……HEAD |
| 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.writes no files, environment variables, settings or conversation rows |
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.
From its marketplace
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 YohanGarcia/agent-taskboard/plugin install agent-taskboard@agent-taskboard/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (adba2d47aba7). Compare them before you install. /reload-plugins loads it into a session that is already open.
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/YohanGarcia/agent-taskboardgit -C agent-taskboard checkout adba2d47aba78a419f1355402f5af227dd4012c5claude plugin validate agent-taskboardclaude --plugin-dir agent-taskboardThe 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 "yohangarcia-agent-taskboard" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- blast-radiusdeepseek-ai★ 247,289
- replay-theaterdeepseek-ai★ 247,289
- ruview-liveruvnet★ 97,236
- ruflo-swarmruvnet★ 74,323
- code-modernizationAnthropic★ 37,653
- seo-cockpitAgrici Daniel★ 18,364
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/yohangarcia-agent-taskboard/)