/forge:fg-monitorfrom forge
Read-only live web dashboard showing current project, branch, and Claude Code session including main and subagent observations. Start with fg-monitor on, stop with fg-monitor off.
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.
None: SKILL.md is the whole skill.
Language: Write every user-facing message and question 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: Read ../../core/HOST.md and the active host adapter before execution. The first-launch question uses structured_choice, falling back to a numbered text question. This version collects live sessions only in Claude Code. On Codex, opencode, Pi, or an unknown host, explain that live collection and automatic shutdown are unsupported and stop; do not fabricate Claude identity or present another host as supported.
Forge root: Read ../fg-run/FORGE-ROOT.md. Task state follows the resolved branch root. .forge/config.json and runtime .forge/monitor/ always remain at the project top level. The monitor fixes the actual project path, branch, forge root and session when started.
Resolve the installed plugin root through HOST.md (including the loaded skill path fallback); verify scripts/forge-monitor.js exists. Keep cwd at the user's project. Require Node 22+ and the actual inherited CLAUDE_CODE_SESSION_ID and live CLAUDE_PID; never supply a guessed parent shell PID, a stale session ID, or another session's identity. Missing ownership is an error, not a reason to claim automatic cleanup. Hooks load at session start: after installing or updating this plugin, begin a fresh Claude session. Exec-form hooks were observed on Claude Code 2.1.303; older Claude versions have not been verified.
Run Node directly, with the absolute installed script path and separate arguments (no bash or PowerShell requirement):
node <plugin>/scripts/forge-monitor.js on — default loopback 127.0.0.1, available port.node <plugin>/scripts/forge-monitor.js on --host 0.0.0.0 — explicitly requested external access only.--port N selects a port; an occupied port reports an error.node <plugin>/scripts/forge-monitor.js off — only this caller's monitor, idempotent.Read the JSON result. On needs-configuration, ask once: delete this session's observation records when it ends, or keep activity summaries for later viewing? Do not choose for the user. On their answer run node <plugin>/scripts/forge-monitor.js config delete or config keep, then retry the same on arguments. This preserves other .forge/config.json keys. Existing valid monitorRetention is reused without asking. Invalid JSON must be repaired explicitly, never overwritten or silently treated as delete.
On started or already-running, return the actual url/urls with access key intact. Never present 0.0.0.0 as a destination. Open the returned local URL with the host's browser-opening facility when available, best-effort; failure to open does not invalidate the URL. Do not open a different browser or change binding merely because no local opener is available. Repeat on reuses the existing server; if requested binding differs, report the error and give off then the requested on sequence instead of silently ignoring it. On stopped/already stopped, state the result. Report nonzero errors honestly; do not declare a server started without a returned URL.
/fg-config monitorRetention delete|keep changes the project default for the next launch only. The running server keeps its launch policy; changing keep to delete never bulk-deletes earlier archives. Retained summaries appear under monitor history for the same project and branch, separate from live state. Browser views are read-only: no execute, cancel, configuration or delete action.
The A layout has a top stage flow, project/view navigation, and task/agent panels. Agent activity is evidence, not task verification: a tool error is not terminal agent failure, and missing observations appear as unknown. Full prompts, conversations and tool input/output are not collected for display.
Stop means a turn ended and leaves the monitor alive. SessionEnd requests shutdown; owner-process death is checked as a fallback. Idle but live Claude remains monitored. /clear ends the old session's monitor; the new identity is not automatically attached and needs its own on. Normal session end targets 2 seconds; process death targets 10 seconds. Do not claim those guarantees on a host whose identity cannot be verified.
Shutdown removes temporary credentials/PIDs for either retention policy. Delete removes this run's summaries only; keep retains summaries, never existing forge plan/run/done state. .forge/monitor/ is self-ignored, session-isolated runtime data. No handoff table or loop transition: report the URL or shutdown result and stop. fg-showme remains a separate design companion with a separate lifetime.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gyuha/forge --plugin forge25 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'./fg-askGrilling session that stress-tests your plan against the project's domain model, terminology, and documented decisions, updating CONTEXT.md/ADRs inline. The forge loop's entry point (the plan-grilling stage), always conversational. Use to start or refine a task — "start a new task", "start with forge", "let's work on this", "refine the plan", '새 작업 시작', '계획 다듬자', '이 계획 그릴링해줘'./fg-cleanupRetires stale or superseded ADRs out of the active decision set — proposes candidates with rationale, and on your approval moves each to .forge/adr/retired/ (IDs never reused, nothing deleted). fg-ask stops reading retired/ as source of truth, so retired decisions drop out of grilling fuel. On-demand utility outside the loop (sealing a task is fg-done, not this). Use in contexts like 'forge cleanup', 'ADR 정리', '오래된 ADR 치워'./fg-configUnified settings surface for forge — every key in .forge/config.json: `simple` (auto-seal — fg-run verifies then seals in the same turn, no questions), `eco` (sonnet-capped subagents + ECO.md discipline), `tdd` (test-first default), `driveCommit`/`driveCommitMessage`, `defaultBranch`, `monitorRetention`. `fg-config` (no arg) shows all and offers changes via a menu; `fg-config <key> <value>` sets one directly. Outside the loop. Use in contexts like 'forge config', '설정', 'simple mode', '심플 모드', 'eco on', 'eco off', '에코 모드', 'tdd on', 'tdd off', 'TDD 켜', 'TDD 꺼'.Other plugins' skills for the same job