Worker Board
A VS Code side-panel extension showing every AI task running right now, in one place: Claude Code sessions and subagents, plus external Spark (muse), Codex and Gemini (Antigravity agy) workers.
Rozszerzenie VS Code z panelem w pasku bocznym, pokazującym w jednym miejscu wszystkie zadania AI wykonywane w tej chwili: sesje i subagentów Claude Code oraz workery zewnętrzne Spark (muse), Codex i Gemini (Antigravity agy).
English | Polski
The extension is free and available on the Visual Studio Marketplace:
code --install-extension dtcode.worker-board.
What it is
A VS Code extension with a side-panel showing, in one place, every AI task
running right now: Claude Code sessions and subagents, and the external
Spark (muse), Codex and Gemini (Antigravity agy) workers. The panel is read-only — it never launches
a worker; the only mutating actions are killing a process by PID and deleting
the files of finished heartbeats.
What it shows:
- Claude Code main sessions and subagents (read from
~/.claude/projectstranscripts), - Spark, Codex and Gemini workers (read from
~/.claude/worker-statusheartbeats), - for each task: model, effort, git branch, current tool, context and token usage — wherever that can reliably be determined from the source file.
What a row shows
The panel has no per-engine section, and no separate section for waiting
sessions. The layout is a single tree rooted in the conversation: the
root of each branch is a Claude Code session, and beneath it — indented one
fixed step per level — hang all of its subtasks regardless of engine:
Claude subagents and Spark/Codex/Gemini workers pinned by sessionId (see
CRITICAL: how to use it). A session stays visible
in the tree even when it isn't doing anything itself, as long as it has at
least one visible child — otherwise starting a single worker would collapse
the whole branch. At the end of the tree sits the fallback group "Unassigned"
for workers that can't be pinned to any visible conversation. The panel
header carries a single number — the total count of visible tasks across the
whole tree, not a sum per section (since there's no longer a section per
engine).
A single row consists of:
| Element | Description |
|---|---|
| Status badge | The row's only carrier of color — see the Statuses section. |
| Title | Name of the session/subagent/worker (for a subagent: its subtitle, if present). |
| Meta line | Second line, text with no background. Starts with the engine name (claude/codex/spark/gemini, lowercase) — with no per-engine sections, this is the only way for a row to say on its own what it's running on. The engine name is omitted when the shortened model already starts with it (e.g. spark-1.3 on engine spark — repeating it would be pure noise). Next, in two tiers of visual hierarchy: for a subagent, its role + shortened model in the foreground color; the rest (effort, repo name, branch, PID, current tool/activity, context, tokens) in the muted descriptive color, separated by ·. Examples: claude · opus · high · MyApp · main · Bash · 429k/1M · 4.2M, spark-1.3 · medium · WorkerBoard · PID 33664 (here spark is omitted), gemini-3.8-flash · high · MyApp (here gemini is omitted). |
| Context bar | A narrow fill bar under the meta line — drawn only when both contextTokens and contextWindow are known (without that data the card ends after two lines, with no empty bar). |
The context bar's color is a signal, not decoration — thresholds are
inclusive (>=):
| Fill | Color |
|---|---|
| < 80% | neutral |
| >= 80% | yellow (warning) |
| >= 95% | red (critical) |
The context window size (the bar's denominator) isn't present in the
transcript — it comes from the workerBoard.contextWindowTokens setting
(see Configuration); it's never read from any session file.
Statuses
The panel shows only tasks in one of two visible states — everything else (finished, inactive, abandoned) is hidden; the panel is not a history log.
| Status | Meaning |
|---|---|
w toku (in progress) / aktywna (active) |
The task is genuinely working right now. |
czeka (waiting) |
The Claude Code session closed its turn and is waiting for a human to react. |
Rule for determining status (positive evidence from the transcript, never a guessed activity-time threshold):
w toku(in progress) — the last assistant message hasstop_reason: tool_use, and either (a) that specific tool call has no result yet (tool_result) in the file, or (b) the turn is still formally open (samestop_reason: tool_usecondition, no newer user message) and the transcript file was written to within the last 60 seconds. The second case covers the window where the model is composing its next step — momentarily there's no unpaired tool call in the file, but a fresh write to disk proves the session is working.czeka(waiting) — the assistant closed its turn (a terminalstop_reason:end_turn,stop_sequence, ormax_tokens) and there's no newer user message after it.- a deliberately hidden state — "the user sent a message, but nothing has been produced yet." From the transcript file alone there's no way to tell a model that's currently thinking apart from a message sitting queued with no reaction at all — the panel prefers to show nothing rather than guess either way.
Subagents and workers (Spark/Codex/Gemini) never get the czeka (waiting) status —
that status exists only for Claude Code main sessions.
"czeka (waiting)" is no longer a separate section — it's a row state. A
waiting session sits in the tree exactly where its place in the conversation
puts it (the root of its branch), just dimmed (reduced opacity) and with
a frozen counter for X min — unlike w toku (in progress) tasks, whose
counter ticks every second, this one stands still because the session isn't
doing anything anymore.
Requirements
Requirements split by level — see Installation for what each level means.
| Requirement | Needed for | Level |
|---|---|---|
VS Code or VS Code Insiders, version 1.96.0 or newer, with the code/code-insiders CLI available — either on PATH or in the standard install location |
running the panel | always |
| A Claude Code you're already using | seeing Claude Code sessions and subagents in the panel | Level 1 (Marketplace install) — nothing further to install |
WSL with an Ubuntu* distribution (Ubuntu-22.04, Ubuntu-24.04, …) + the muse command in it |
seeing Spark workers | Level 2 — Spark only |
codex on PATH |
seeing Codex workers | Level 2 — Codex only |
agy (Antigravity CLI) — via the WORKER_RUN_AGY_EXE variable, at %LOCALAPPDATA%\agy\bin\agy.exe, or on PATH |
seeing Gemini workers | Level 2 — Gemini only |
PowerShell 7 (pwsh, e.g. winget install --id Microsoft.PowerShell) |
running worker-run.ps1 — measured 2026-09-09: the same Codex call fails under Windows PowerShell 5.1 with stdin is not a terminal and succeeds under pwsh 7 |
Level 2 — all three engines |
Node.js >= 20 (recommended: 26), npm, and @vscode/vsce (installed on demand via npx) |
building the extension from source | Level 2, route A (installer) only |
Node.js, npm and @vscode/vsce are not needed to install or run the
extension from the Marketplace — they only matter if you build it yourself.
A missing Spark/Codex/Gemini requirement doesn't break anything else: the rest of
the panel keeps working, that worker's rows just never appear.
Installation
Worker Board has two independent levels. Almost everyone only needs Level 1.
Level 1 — Claude Code sessions and subagents (Marketplace install)
This is the default path and the only thing most people need.
- Install the extension:
- from VS Code: open Extensions, search for
Worker Board, click Install; or - from a terminal:
code --install-extension dtcode.worker-board.
- from VS Code: open Extensions, search for
Ctrl+Shift+P→Developer: Reload Window.- Click the Workery icon in the activity bar.
- Verify:
View→Output→ pick theWorker Boardchannel — an entryWorker Board <version> uruchomiony("Worker Board
Nothing else needs installing or configuring at this level. The panel
reads Claude Code sessions and subagents straight from
~/.claude/projects, with no wrapper script and no extra setup involved.
The only requirements are VS Code (1.96.0+) and a Claude Code you're
already using — Node.js and npm are not needed here (see
Requirements).
If the panel looks empty right after installing, that's most likely correct, not a bug: it only ever shows tasks that are currently running or sessions waiting for a reply. A quiet moment with nothing in flight looks empty by design — see Statuses.
Level 2 — Spark, Codex and Gemini workers (needs the wrapper)
Skip this unless you actually run Spark (muse), Codex or Gemini workers and want
them to show up in the panel too. In one sentence: Spark leaves no trace on
disk, Codex writes no completion marker, and the agy log alone carries no panel-readable state, so the panel needs the state
records that only the worker-run.ps1 wrapper writes — see
CRITICAL: how to use it.
There are two ways to get the wrapper and the skill in place:
A. Via the installer (recommended)
git clone https://github.com/DTCodePL/WorkerBoard.git
cd WorkerBoard
powershell -File install.ps1
This route additionally requires Node.js >= 20 (recommended: 26) and
npm, because the installer builds the extension from source
(npm ci/npm install → npm run build → npx @vscode/vsce package)
before installing it — and it replaces the Marketplace build with your
own build.
The script runs on the Windows PowerShell 5.1 that ships with every Windows
install — no separate PowerShell 7 setup is required. If PowerShell 7
(pwsh) is installed, pwsh -File install.ps1 works identically.
The script, in order: checks requirements (see above), builds the package,
installs the extension in every detected VS Code edition, and deploys two
dependencies that live outside the repository into ~/.claude/ (see the
CRITICAL: how to use it section). Once it's
done, reload the window and verify the same way as in Level 1 above.
Switches:
-SkipBuild— skipsnpm ci/build/vsce packageand installs the newest (by modification time).vsixfile already present in the repository directory. Useful when the package was built moments earlier.-SkipDeploy— skips step D (deployingdeploy/claudeinto~/.claude/):worker-run.ps1and the skill are left untouched. Only builds, packages and installs the extension. Useful when~/.claude/is already up to date or managed by hand.-DryRun— prints the full plan of action (detected requirements, what would be built/installed/overwritten), changing nothing on disk.
The installer is idempotent — rerunning it against an unchanged
repository and ~/.claude/ state gives the same outcome (aside from the
repeated uninstall+install of the extension, which VS Code performs on
every run regardless, since it can keep the old copy when the version
number hasn't changed).
B. Manually, no cloning, no Node.js
For anyone who wants to keep the Marketplace build and add only the two missing pieces. Download these two files from the repository and place them at:
deploy/claude/bin/worker-run.ps1→%USERPROFILE%\.claude\bin\worker-run.ps1deploy/claude/skills/external-workers/SKILL.md→%USERPROFILE%\.claude\skills\external-workers\SKILL.md
then create the (empty) directories %USERPROFILE%\.claude\worker-status
and %USERPROFILE%\.claude\worker-status\logs. No Node.js, no npm, no
vsce — the Marketplace build of the extension is left untouched.
Either route, Spark, Codex and Gemini workers still MUST be launched through the wrapper to show up in the panel — see CRITICAL: how to use it.
CRITICAL: how to use it
Spark, Codex and Gemini MUST be launched through
~/.claude/bin/worker-run.ps1. Calling rawwsl.exe/codex.cmd/agy.exedirectly, bypassing the wrapper, still starts the worker correctly, but the Worker Board panel won't see it at all — neither that it's running nor that it finished.
Reason: Spark leaves no trace on disk beyond ~/.config/muse (just
auth.json/settings.json/trust.json, zero session history), and Codex
writes no marker of a run's completion at all, and the agy log alone carries no panel-readable state. The wrapper fixes this
itself — it writes and closes a state record in
~/.claude/worker-status/<id>.json, plus a full log in
~/.claude/worker-status/logs/<id>.log, for the entire duration of the run.
Pinning a worker to a conversation is automatic. The state record
carries a sessionId field, which the panel uses to attach the worker
under the right tree branch (see What a row shows).
The wrapper fills it in on its own from the CLAUDE_CODE_SESSION_ID
environment variable, inherited by the child process — nothing needs to
be passed by hand. The field is optional: records written before this
mechanism existed, and workers launched outside Claude Code (without that
variable in the environment), don't have it and land in the "Unassigned"
group.
The installer also deploys a modified version of the Claude Code skill
external-workers (~/.claude/skills/external-workers/SKILL.md) — thanks
to it, Claude Code calls the wrapper itself whenever it delegates work
to Spark, Codex or Gemini; you don't have to remind it every conversation.
Spark (muse) — via WSL:
C:\Users\<username>\.claude\bin\worker-run.ps1 `
-Engine spark `
-Title "Short description shown on the card in the panel" `
-BriefFile C:\...\brief.md `
-Repo D:\projects\DTCode\RepoName
Codex — natively on Windows:
C:\Users\<username>\.claude\bin\worker-run.ps1 `
-Engine codex `
-Title "Short description shown on the card in the panel" `
-BriefFile C:\...\brief.md `
-Repo D:\projects\DTCode\RepoName `
-Model gpt-6-luna -Effort xhigh
Gemini (Antigravity agy) — natively on Windows:
C:\Users\<username>\.claude\bin\worker-run.ps1 `
-Engine gemini `
-Title "Short description shown on the card in the panel" `
-BriefFile C:\...\brief.md `
-Repo D:\projects\DTCode\RepoName `
-Model gemini-3.8-flash-high
Parameters:
| Parameter | Meaning |
|---|---|
-Engine |
spark, codex or gemini (required). |
-Title |
Short description shown on the card in the panel (required). |
-BriefFile |
Path to the file with the full brief for the worker — the worker doesn't see the conversation (required). |
-Repo |
The repository directory the worker should work in (required). For Spark, the wrapper translates the Windows path to WSL itself. |
-Model |
Overrides the default model (muse-spark-1.3-contributor for Spark, gpt-6-sol for Codex, gemini-3.8-flash-high for Gemini). |
-Effort |
Overrides the default effort (xhigh for Spark, medium for Codex). For Gemini the effort is part of the model name (the -low/-medium/-high suffix): -Effort must match the suffix, or be low/medium/high for a model without one. |
-Passthru |
Extra CLI flags passed through unchanged to muse exec/codex exec/agy. |
-TimeoutMinutes |
Gemini only — --print-timeout for agy, in minutes (default 30). |
Gemini specifics. After a transient HTTP 503 from the permissions check
(Eligibility check failed), the wrapper retries the whole run — up to 3
attempts in total (20 s, then 40 s apart), keeping a single state record and
a single log. A turn that exits 0 but has no usable answer (no result
event, a non-SUCCESS status, or an empty response — e.g. the only tool
was denied) is reported as failed with exit code 3. WORKER_RUN_AGY_EXE
overrides where the wrapper looks for the agy binary (a test hook — a
.ps1 file there is run through pwsh instead of the real CLI, so retries
and empty turns can be tested without spending the quota).
The full justification for every mandatory flag inside the wrapper
(-d Ubuntu, --trust-workspace, --approval-mode never, path translation
for Spark; -s workspace-write, --skip-git-repo-check, brief via stdin
for Codex) is documented in
deploy/claude/skills/external-workers/SKILL.md.
Configuration
All workerBoard.* keys (Settings → Worker Board in VS Code):
| Key | Type | Default | Description |
|---|---|---|---|
workerBoard.pollIntervalMs |
number | 5000 |
Interval between full refreshes, in milliseconds. |
workerBoard.claudeLookbackHours |
number | 24 |
How many hours back to consider Claude Code sessions when scanning. |
workerBoard.subagentStaleAfterMinutes |
number | 15 |
After how many minutes with no transcript write a subagent with no completion signal is considered porzucony (abandoned). |
workerBoard.contextWindowTokens |
number | 1000000 |
Context window size used as the fill bar's denominator. The Claude Code transcript doesn't contain this value, so it has to be supplied. |
workerBoard.waitingLookbackMinutes |
number | 120 |
How long a session waiting for a reply stays visible in the panel after its last activity. |
workerBoard.claudeProjectsPath |
string | "" |
Path to the ~/.claude/projects directory. Empty = default value. |
workerBoard.workerStatusPath |
string | "" |
Path to the ~/.claude/worker-status directory. Empty = default value. |
workerBoard.codexSessionsPath |
string | "" |
Path to the ~/.codex/sessions directory. Empty = default value. |
What the panel does not show and why
- Spark doesn't report tokens. The
muse exec --jsonstream contains no token-usage events at all — thetokensUsed/contextTokensfield for Spark tasks is always absent (undefined), never zero. - The context window size doesn't come from the transcript. It's always
the value from
workerBoard.contextWindowTokens— the panel has no way to read the model's real limit from a session file. - Agents launched through the
workflowsfeature are out of scanning scope — the panel recognizes main sessions and subagents in the standard transcript format, not agents from older/alternative harnesses. - The "Kill" button on a Spark task kills
wsl.exe, not themuseprocess on the WSL side. The PID stored in the heartbeat is the PID of thewsl.exeprocess on the Windows side (the only thing the panel can check and kill) — themuseinvocation itself inside WSL may be left orphaned afterwsl.exeis killed and need manual cleanup on the Linux side.
Troubleshooting
| Symptom | Cause / fix |
|---|---|
| The panel shows stale data or no badges after installation | The VS Code window wasn't reloaded. Ctrl+Shift+P → Developer: Reload Window, then check the version in View → Output → Worker Board. |
| The panel is empty | That's normal — the panel shows only tasks genuinely running right now (w toku (in progress) / czeka (waiting)), not history. An empty panel means nothing is running right now. |
| A wor |
