visual-plan
An agent skill that turns a plan you already made into one self-contained HTML page you can screen-share in a meeting — editable Excalidraw diagrams, decisions as side-by-side option cards, open questions with answer fields.
The room picks options and redraws the architecture live. One button exports the result as JSON, which you paste back to the agent that implements it.

Why
Plans die in two places: a wall-of-text doc nobody reads before the call, and a whiteboard photo nobody can act on after it. This produces something in between — a page that presents a recommendation to attack, and a diagram people can actually restructure while arguing, that comes back machine-readable.
- Diagrams are editable, not decorative. You author Mermaid; the page converts it to a real Excalidraw scene on load, so anyone can drag a box, add an arrow, or scribble a note. Full-screen button per diagram for when it turns into a whiteboard session.
- Every decision has a recommendation. A page that just lists options makes the room argue from zero.
- Every option has a con. An option with no downside is a decision you already made.
- It round-trips. The export includes the diagram as
nodes / edges / notes — so if the room rewired the architecture, the implementer knows.
Install
Claude Code plugin
/plugin marketplace add nickmaglowsch/visual-plan
/plugin install visual-plan@visual-plan
/reload-plugins
Then /visual-plan.
Any other agent
npx github:nickmaglowsch/visual-plan # → ./.claude/skills/visual-plan
npx github:nickmaglowsch/visual-plan --global # → ~/.claude/skills/visual-plan
npx github:nickmaglowsch/visual-plan --dir path/to/skills
It's a SKILL.md plus a template.html — no build, no runtime deps. Any agent that reads markdown skill files can use it; point --dir at wherever that agent keeps them. Or just copy skills/visual-plan/ by hand.
Use
/visual-plan # use the plan from the current conversation
/visual-plan docs/PRD-billing.md # use a PRD, spec, or design-session notes
/visual-plan "should sessions live in redis or postgres"
This is the last step before the meeting, not the first step of the design — it presents thinking that already happened. It won't interview you; if the input is too thin to contain real decisions, it says what's missing instead of inventing choices.
Output is visual-plan.html in the working directory (or wherever you ask). Open it in any browser.
What the page looks like
Decisions — options side by side, recommended one pre-selected, effort and risk on each, a note field per decision:

Open questions and the agreed next steps, with blocking questions flagged:

What comes back
Export decisions copies JSON to the clipboard (and dumps it in a textarea, because file:// blocks the clipboard API):
{
"title": "Rate limiting for the public API",
"diagrams": [
{ "title": "Proposed", "edited": true,
"nodes": ["Clients", "nginx", "rate limiter", "api service", "429 + Retry-After"],
"edges": ["nginx -> rate limiter", "rate limiter -> api service [under limit]"],
"notes": ["put the limiter behind the LB, not in front"] }
],
"decisions": [
{ "id": "where", "chosen": "gateway", "note": "ops agreed to own the Lua" }
],
"answers": [
{ "id": "enterprise-contracts", "answer": null }
]
}
Paste it back to your agent. The skill tells it to:
- treat
chosen + note as settled — no re-litigating,
- treat an
edited: true diagram's edges and notes as the authority over the original prose, because the drawing is the newer decision,
- stop and ask on a
null answer to a question marked blocking.
Authoring diagrams
Mermaid is the seed, not the final artifact — you never place a coordinate. flowchart, sequenceDiagram and classDiagram convert to editable shapes; other Mermaid types render as a flat image inside the canvas (usable, but nobody can restructure them).
To reuse a drawing instead of re-deriving it, save it from the editor's menu → Save to disk and pass the .excalidraw file's elements array as diagrams[].scene, which wins over mermaid.
Notes