/forge:fg-showmefrom forge
Opens a local browser-based visual companion for showing mockups, diagrams, and A/B comparisons as HTML, and captures user clicks or text input as structured events. Useful when visual content is better seen than read.
Ships in forge. 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.
This is not a stage of the forge loop. It is an on-demand utility that opens a browser tab next to the conversation for content that is better seen than read — UI mockups, layout comparisons, architecture diagrams — and takes the user's answers back as structured events — a click settles a choice question, and a screen may carry a text input (ADR 260730-224259). It is a display surface and a secondary answer channel: read both channels and merge them, asking one line only when they genuinely contradict. A confirmed selection can now wake you directly, no terminal turn required (the wake watch, armed at session start — ADR 260805-005436); an unconfirmed, exploratory click still wakes nothing. Pillar #1 stays intact either way — not because only the terminal can resume you, but because the browser is never a runtime input to a Dynamic Workflow, and grilling stays a one-question-at-a-time conversation outside any workflow regardless of what wakes it.
The engine is vendored from obra/superpowers v6.1.1 and re-checked against v6.3.0 — the five engine files differ only by forge's own modifications, and upstream shipped no visual-companion change in v6.2.0 or v6.3.0, so there is nothing to port (MIT, Copyright (c) 2025 Jesse Vincent — see LICENSE): a zero-dependency Node server (scripts/server.cjs) with session-key auth, path sandboxing, restart/reconnect survival, and a 4-hour idle shutdown. forge modifications: session files under .forge/showme/, superpowers branding/telemetry removed (the server makes no remote requests). Rationale and alternatives: ADR 260719-224442-vendor-superpowers-visual-companion.
Language: This skill file is authored in English, but you MUST write every message shown to the user — status lines, URLs, prompts, and handoff text — in the user's language (detect it from the user's own messages), never mirroring this file's English. Screen content (HTML you push) is also written in the user's language.
Explaining forge: forge's vocabulary is not the user's — verified: failed, unsealed tail, a pillar or gate name means nothing unread. Always, never gated on eco: gloss a forge-specific term on first use in a message (a few words, not a paragraph), put the purpose before the mechanism, and lead with the answer, closing on what it means for the user. A gloss is not filler — with eco on, ECO.md's terse rules govern form (length, padding) while these govern vocabulary, so terseness never deletes a gloss.
Evidence and candor: every claim you make about code, state, or results — in a message or in a document you write (plan, run notes, retro, ADR) — carries its evidence in the same sentence (a file:line, a command and its output) or a label: Measured (you checked it this session), Inferred (reasoned from what you checked), Guess (a prediction or an unseen cause), rendered in the user's language. A label is not a license to skip a check — if a cheap check would settle it, run it; never hand the user a check you could run. Agreement is not the default: when asked whether to do something, invited to add scope, or shown an approach, give your real judgment first — the strongest objection, and "don't do it" when that is true. Change a recommendation only for a new fact or argument, never for repetition; the decision stays the user's — state the objection once, then follow their call without re-arguing or silently deviating. Output a deterministic script printed is already measured and needs no label.
Host contract: the wake watch — a confirmed click resuming the conversation with no terminal turn — depends on the host's event_wake capability. Read ../../core/HOST.md and look the key up in ../../hosts/<host>/capabilities.json before arming anything: it is true on Claude Code (the Monitor tool provides it) and false on Codex. On a false host the companion still works — every other behavior here is unchanged — but the user has to send a terminal turn after confirming, and you tell them so once, at session start (see Behavior 3). The false side is declared in docs/codex.md's support table.
fg-showme (no argument) → start a companion session for this conversation: read VISUAL.md (the full operating guide — when to use the browser vs the terminal, screen authoring, the event loop), start the server, arm the wake watch if event_wake is true (a persistent Monitor on the events file, so a confirmed click can wake you with no terminal turn), and share the keyed URL — on a false host, with the one-time fallback note in the same message. Then push screens as the conversation calls for them.fg-showme stop → stop the running session's server and its wake watch (TaskStop) — the session directory is deleted with it, and when the last session goes, the whole .forge/showme/ goes too (nothing left to review or commit; copy a mockup out first if the user wants to keep it).fg-showme (no arg)
→ read VISUAL.md
→ scripts/start-server.sh --project-dir <repo root> --open
→ event_wake true? yes → arm the wake watch (Monitor, persistent)
│ no → skip the watch; note the terminal-turn fallback once with the URL
→ share the full keyed URL
→ loop: push screen → user looks/clicks/confirms → confirmed click (or submitted text) wakes you, or read state_dir/events + terminal reply
fg-showme stop
→ find the session under .forge/showme/ (state/server-info present, no server-stopped)
→ scripts/stop-server.sh <session_dir>
→ TaskStop the wake watch
VISUAL.md before the first screen. It is the single operating guide (progressive disclosure — loaded only when the companion actually runs): the browser-vs-terminal test, session start/restart, fragment authoring, CSS classes, the events format, the waiting-screen unload, and cleanup. Follow it; do not improvise a parallel workflow here.--project-dir = the repo root and --open. Sessions land under the top-level .forge/showme/<session>/ — a deliberate global location on every branch (like .forge/config.json / .forge/codebase/, never the branch root: a branch root is git-tracked whole, and mockup HTML must not end up in commits). It is volatile display state with no path into git in any project: start-server.sh writes a self-ignoring .forge/showme/.gitignore (a single *) on first use, so session artifacts stay out of the user's git even where forge's own .gitignore policy doesn't exist — forge never edits the user's own .gitignore; this self-ignore inside forge's state directory is the one exception (ADR 260719-224442, amended 2026-09-02). The same start also sweeps dead sessions (stopped marker or dead PID) left by a crash or the idle timeout — live concurrent sessions and .last-* are untouched.Monitor watches the events file for a confirmed selection or a submitted text event only — an exploratory click never matches, so browsing alone never wakes you (VISUAL.md's Starting a Session and Confirm button sections have the exact command and markup; do not restate them here). Whether the watch can be armed is the host's event_wake capability — look it up first (Host contract above) instead of discovering a missing Monitor at call time. When it is false, skip the watch and say so once, in the message that hands over the URL: on this host, press 확정 and then send anything in the terminal to resume. Once at session start — never repeated per screen (The Loop's per-screen line already tells them what to do for that screen).A -> B -> C carries it, stay in the terminal (the test in VISUAL.md). Push a waiting screen when the conversation returns to the terminal.fg-showme stop (which also stops the wake watch), or proactively when the session's purpose is served. Stopping deletes the session directory (and, when it was the last one, all of .forge/showme/). The 4-hour idle timeout is the backstop for forgotten servers, not the normal exit — a directory it leaves behind is swept at the next start.fg-ask offers the companion automatically, just-in-time during grilling — the first time a question would be clearer shown than told — and drives it by reading this directory's files directly (VISUAL.md, scripts/); it does not invoke this skill (the same file-reference pattern as fg-config/ECO.md and fg-run/FORGE-ROOT.md). Within fg-ask, the server stops at Output time (plan written → companion's job done). The offer discipline lives in fg-ask's Forge integration section; this skill is the standalone entry for every other conversation.
url from the server JSON, ?key= included — a bare host:port gets a 403 by design..forge/showme/ (or /tmp without --project-dir).scripts/ keep their upstream form — bash launcher, node server, and deliberately outside forge's bash+node twin convention for mechanical scripts (ADR-0022); see the vendoring ADR. They are not kept byte-for-byte with upstream: forge adjusted branding and theme at vendoring time (remote logo and telemetry removed — ADR 260719-224442 §1) and again when the frame was rethemed to the repo-root DESIGN.md palette. Each file's header records its own modifications, so upstream tracking stays a readable diff rather than a byte comparison. The confirm button is an inline onclick handler in the screen HTML you push, never a vendored-file edit.event_wake), never a hard dependency. On a false host the companion runs exactly as before — no wake watch, the user presses 확정 (or submits an Ask input) and still sends a terminal turn to resume you — and that fallback is stated once at session start, not discovered by a failing tool call. Same graceful pattern as a missing fg-map/eco/tdd; the false side lives in docs/codex.md's support table so a Codex user can know it before opening a session..forge/showme/<session>/{content,state}/ session files plus a self-ignoring .forge/showme/.gitignore (volatile, structurally kept out of the user's git; top-level on every branch). All of it is deleted again on stop — the session directory, and the whole .forge/showme/ once the last session goes; dead sessions a crash or the idle timeout leaves are swept at the next start. The wake watch is a background Monitor task, not a file — it leaves nothing on disk and is stopped with TaskStop alongside the server. Nothing else.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
visual-companion, mockups, diagrams, browser-server, user-input
25 skills in this plugin
/fg-adversarial-reviewOptional adversarial review between fg-run and the seal (fg-done) — a reviewer assumes the result is WRONG and hunts for evidence across six lenses (failure points, hidden assumptions, misread requirements, security/perf/data-loss, unexpected misuse, weak decisions), fanning out as parallel subagents; fix-needed findings become a fix-forward plan on your approval. Outside the loop, never a seal gate, always skipped in fg-next all / fg-loop. Use in contexts like 'adversarial review', '적대적 리뷰', '이 결과 공격적으로 검토', '허점 찾아줘', 'red team this'./fg-agendaA decision queue for foggy work — outside the forge loop. Settles the destination with you, grills breadth-first to surface what must be decided, and keeps it in .forge/agenda.md (destination · decided · open questions · fog · out of scope), resolving one question at a time via fg-ask until the way is clear, then deleting itself. The agent finds the decisions; you answer them. Use in contexts like 'forge agenda', '의제', '결정 대기열', '뭘 결정해야 하는지 정리해줘', '어디서 시작할지 모르겠다'./fg-agentsGenerates a project's domain agents — conversational grilling derives the recurring roles, then writes standard Claude Code subagent cards to .claude/agents/<role>.md (each `description` carrying a "when to use" so fg-run can dispatch a matching role as agentType). Cards load only at session start, so RESTART the session after generating them before fg-run can use them. On-demand utility outside the loop. Use in contexts like 'forge agents', '도메인 에이전트 만들어', '에이전트 팀 구성', 'create project agents', 'domain agents', 'agent roles'.npx claudepluginhub gyuha/forge --plugin forgeOther plugins' skills for the same job