/swarmstorm:create-workbenchfrom swarmstorm
Creates a workbench page and skill for collaborative development tasks that require real project data, such as comparing model answers or walking through agent calls. Builds an interactive dev tool with a feed and operating steps.
Ships in swarmstorm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Some work is done with the person in the loop, and time goes into aligning on how to do it. That alignment is kept as a skill, so the next session does not explain it all again; a workbench keeps it with a dev tool beside it, fed the project's real data. It is made at the start of the work or mid-session.
Mid-session, propose it in one line, at a pause, when three things hold: the session spent turns aligning on how to do a kind of work, that work recurs, and real project data could show it. Build only on a yes; one no ends it for that work in the session.
A workbench is a dev tool for iterating on an idea, and it has two users: the person, who needs a clear UI that opens on what is being tried now, and the agent, who needs the bench cheap to read, change and check. It is judged by the time from "what if…" to the result seen.
Two things are produced, and a later agent works the bench from them alone: the page,
in the data home like every document, and the project's workbench-<bench> skill, which
holds the feed that fills the page and the steps to operate it.
The bench's skill makes the agent operating it the bench's owner, by its role: that agent keeps the page, the feed and the scripts true, fast and easy to drive, adapting them in place when the project moves on. No other skill maintains them.
A bench is never tested. No test file for its page, feed or scripts, by any agent, at any
time: a bench changes with every idea, and tests would freeze it. It is checked by being
run: the feed's loud failures, check.mjs, the screenshot, the person.
The person is in the build. Every change is shown in the watched browser before the
next question, as the design-prototype skill paces a prototype. A bench described in chat
was not seen.
workbench-<bench> skill's scope covers this question in the project's local
skill folder: read it and its page, and add the question to both as a view or a mode.
Never a second bench for one scope: one bench per question and the project's local
skills grow with every plan.--remote-debugging-port=9222, say so, and stop it at the end.interview skillEach answer is written into the bench skill's head as it lands.
node scripts/page.mjs <path> --label "<label>", at the path the aiview
skill gives for YYYY-MM-DD-<bench>.workbench.html. Register it through the aiview
skill: kind workbench, tags the bench and trace for a walk, group the
piece of work it serves. Open it in the watched browser. The page carries Basecoat,
jsonTree and the loader, bench; the bench's code goes between its
<!-- bench-code --> markers, put on by the bench's code.mjs. A bench that makes one
page per run (a walk, a session) keeps the page's code in its skill instead, and each
run's page has its own sidecar: its feed's init makes each run's page, and its refresh
puts changed code onto every page as page.mjs --replace does, the code block replaced,
the sidecar untouched.scripts/data-folder.mjs into the bench skill's scripts/ and write
feed.mjs over it. It writes the sidecar, the folder YYYY-MM-DD-<bench>.workbench/
beside the page. A derived feed calls writeDerived and takes --watch. A log feed, new
ones included, takes verbs that call appendEntry and annotate. Run it: the page updates
in place. Before writing the feed or a view, read references/sidecar.md.page.mjs:
class="btn" data-variant="outline" data-size="sm", card, tabs, badge, input,
select. Basecoat carries no Tailwind utilities, so layout is the page's own CSS.
page.mjs sets Basecoat's variables to aiview's identity, so the bench reads as part of
the viewer: the bench's CSS colours through those variables (--primary, --muted,
--border, --ok, --warn, --danger), never a colour of its own beyond data hues. The
product the bench shows (a document, a screen, a card) is drawn in the project's design
language, from the design-prototype skill's reference when there is one.jsonTree, the reader page.mjs inlines, with its toolbar
(Fold all, Unfold all, Unfold n levels with 2 by default, Copy): never a <pre> dump or a reader of the
bench's own. When the bench shows any JSON, read references/json-data.md.One set every bench follows; the API and the thresholds are references/sidecar.md's.
bench, never its own fetch.bench.view, which sets data-ready when drawn and
renders the path and status on a fetch error.loading <run>.bench.state.--full, machine
output with --json. The agent reads summaries and diffs, never the raw files the bench
shows (a prompt, a reply, a recording): a result is checked without filling the context.shot verb with --mobile takes a phone-width PNG of any view, with one item
opened if asked, and prints only its path. --md on the reading verbs also writes the
output as a short markdown file laid out for a phone: lists, not wide tables. The agent
sends the file it names (the harness's send-file tool) and reads neither.check.mjs and shot.mjs load the page at its aiview URL, never file://, wait on
data-ready, and fail on data-error.A bench whose data sits in the page (made before the sidecar, fed through its own skill's copy
of the old data-block script, which this skill no longer ships) opens and feeds as it did; no mechanism upgrades it. When it is next
worked on, it is reworked to this shape: page made fresh by page.mjs --replace at the same
path, code put back by code.mjs, sidecar filled by the feed. Read references/sidecar.md
first; its last section is the order.
workbench-<bench>/SKILL.md in the folder the project already uses for local skills,
.claude/skills/ when it has none, with every deterministic step a script in its
scripts/. Written to the shape in bench-skill.md, read before its first line: the
sentences outside its brackets are carried as written.
Run the feed from a clean shell, see the page reload with real data in the watched browser, and walk once, with the person, what they do on it. A bench whose feed has not run is not handed over.
The page's URL, the skill's path, the sources and the feed's kind, what was walked.
| Thought | Reality |
|---|---|
| "I'll map the data to a cleaner shape for the page" | The page adapts to the project's shape. A translation hides what the app really produced, and drifts from it unseen. |
| "Quicker to paste the data into the page" | Only the feed writes the sidecar. A pasted copy is stale on the next run and nothing says so. |
| "I'll keep the old view in case" | A dropped idea leaves with its view, its code and its feed fields, in the same change. A bench that only grows is slow for both users. |
"This JSON is small, a <pre> will do" | Every JSON goes through jsonTree, with its toolbar. One reader, read the same way everywhere. |
| "I'll add a test so the feed doesn't break" | A bench is never tested. Its scripts fail loudly and are adapted in place; a test is one more thing to change at every idea. |
| "The feed can sit next to the page in the data home" | It reads the project, so it lives in the project's skill. In the data home it breaks without anyone seeing. |
assets/basecoat/LICENSE.md (opens in a new tab)assets/basecoat/VERSION (opens in a new tab)assets/basecoat/basecoat.min.css (opens in a new tab)assets/basecoat/basecoat.min.js (opens in a new tab)assets/bench/bench.js (opens in a new tab)assets/json-tree/json-tree.css (opens in a new tab)assets/json-tree/json-tree.js (opens in a new tab)bench-skill.md (opens in a new tab)references/json-data.md (opens in a new tab)references/sidecar.md (opens in a new tab)scripts/data-folder.mjs (opens in a new tab)scripts/page.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ovich/swarmstorm --plugin swarmstorm38 skills in this plugin
/aiviewUse whenever a document is produced for the user to read and react to while it evolves: a brainstorm board, a plan, a design language, a prototype, a PR analysis, a review report, a live PDF. Also when a document must be registered, opened, listed, moved or retired, or a prototype's bindings checked. Not for code, tests or configuration, or any file nobody opens in a browser./brainstormUse when a person wants to think an idea through and keep the discussion: a feature, a tool choice, an architecture question, before a plan or without one, with the agent through an interview. Produces a board in aiview holding the decisions, the diagrams and what was investigated. Not for a swarm of seats working it (brainswarm), not for an implementation plan and not for bug fixes./brainswarmOther plugins' skills for the same job