/phase-runner:phase-viewerfrom phase-runner
Starts the phase-viewer live dashboard (npx phase-viewer) in the background and reports its localhost URL. Shows phases, sprints, tasks, and gate results from docs/phases/ with live updates during phase-builder runs.
Ships in phase-runner. 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.
Starts phase-viewer, a local read-only dashboard for phase-runner builds, and hands the user its URL. The server runs in the background, so the session stays free, and only one viewer runs per project: asking again returns the same URL.
The viewer reads docs/phases/ and the run logs in docs/phases/.runs/. It never writes to the project. It needs Node.js 20 or later.
Don't block the session. phase-viewer keeps running until it's stopped. Never run it as an ordinary foreground command: that call would never return.
The viewer listens on 127.0.0.1 of the machine that runs it. In a cloud session that is the remote machine, and the user's browser can't reach it.
Check the environment with a shell command, e.g. echo "${CLAUDE_CODE_REMOTE:-}" in Bash or $env:CLAUDE_CODE_REMOTE in PowerShell.
true: this is a remote Claude Code session. Start nothing. Tell the user to run the viewer on their own machine, from their local checkout of the project:
cd <your local checkout>
npx phase-viewer@latest
It prints a URL to open; Ctrl+C stops it. Stop here.
Anything else (unset or empty): local. Continue. Remote Control, where a phone or claude.ai steers a session running on the user's machine, is local too.
The project folder is the one that holds docs/phases/. Start from the session's working directory, and search the same places the CLI does:
phase-planner creates docs/phases/), and that the viewer can be pointed elsewhere with npx phase-viewer --dir <path>. Stop here.Settle this before starting. When the CLI can't settle on a folder itself, it still starts a server but records no instance for it, so the next request would start a second one.
From the project folder, run:
cd "<project folder>" && npx --yes phase-viewer@latest --json
Use the host's background mode for this command, e.g. run_in_background: true on Claude Code's Bash tool. The call returns at once with a task id and an output file.
--yes skips npx's install prompt the first time the package is downloaded.@latest makes npx check for a newer release instead of reusing the copy it cached the first time. A newer viewer that finds an older one running for the project stops it and takes over, so the run log's newer events are always read by a viewer that knows them.With --json, the viewer prints exactly one line of JSON on stdout once it's listening:
{"url":"http://localhost:4747","reused":false,"root":"C:\\Users\\me\\my-project"}
Read the task's output (the output file the background call returned, or the host's tool for reading background output) until a line parses as JSON with a url field. Ignore anything else in the output, such as npm warnings.
phase-viewer: ... error (or an npm error, e.g. npx not found or Node too old). Go to the fallback and include that error.Give the user the URL and say which case it was:
"reused": false: "The phase viewer is running at http://localhost:4747." Mention that it keeps running in the background until its process is ended or the machine restarts."reused": true: "The phase viewer was already running for this project: http://localhost:4747." Nothing new was started; the background task has already exited, which is expected.Keep the report to those one or two lines. Don't open a browser for the user unless they ask and the host has a tool for it.
When the viewer can't be started from here (no background shell, a CLI or npm error, or no URL within about 60 seconds), say why in one line, then give the command to run in their own terminal:
cd "<project folder>"
npx phase-viewer@latest
It prints the URL to open, and Ctrl+C stops it. If a background task from Step 3 is still running (e.g. still downloading), leave it: if it finishes, it will be the running viewer, and the next "open the viewer" returns its URL.
phase-viewer/, or PHASE_VIEWER_INSTANCE_DIR if set) and reuses it whatever --port says. A viewer that was killed hard leaves a stale file, which the next start detects and replaces.--port <n> if the user asks for a specific port.docs/phases/.runs/ to the project's .gitignore if it isn't there: the logs change on every run and only mean something on the machine that ran the build.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/design-plannerEstablishes visual design language and screen contracts between project scope docs and phase-planner. Produces docs/design/DESIGN.md (Google design.md spec), screen specs, HTML mockups (screens/*.html + index hub), and design-system.md for phase-builder. Use when the user wants to design UI before phase planning, lock a design system, write screen specs, review HTML mockups, or run the design pass after a scope/rebuild plan. Trigger phrases: design pass, design-planner, design the UI, design system, DESIGN.md, screen specs, visual direction, before phase planner./phase-builderOrchestrates automated sprint implementation from phase plans — e.g. 'run phase 1', 'implement sprint 1.3', 'run phase 4 in a worktree'. Optional worktree mode isolates a phase run on its own branch so two phases can run at once. Spawns phase-ui-implement (UI sprints + docs/design/design-system.md), general implementation (data/mixed), phase-verify, phase-wave-test (design asserts), phase-doc-sync. Skill-router per sprint. Clean orchestrator thread. Max 3 retries per gate then escalate. Pauses at blockers and phase boundaries./phase-doc-syncApplies sprint implementation results to docs/phases/ phase plan files. Used by phase-builder as a sub-agent after each implementation wave — updates task Status columns from structured SPRINT RESULT payloads in batched edits. Orchestrator must never edit phase files directly during a phase run; spawn this instead. Also use when the user asks to sync phase docs from sprint results without re-implementing code./phase-plannerCreates and maintains phase plan documents in docs/phases/ files. Use when turning design chat into a structured phase plan, or when adding, removing, editing, moving, or changing task status in sprint plans, viewing sprint or phase progress, or restructuring sprints. Also used by the phase-doc-sync sub-agent when phase-builder applies SPRINT RESULT updates after each implementation wave./phase-ui-implementUI implementation sub-agent for phase-builder. Spawned for UI-primary sprints — reads docs/design/design-system.md first if it exists, then any optional UI-pattern skill for component patterns. Project design system overrides generic skill defaults. Runs a quick self-check (typecheck + its own tests) before returning; no full suite, no browser QA./phase-verifyPer-wave CLI verification for phase-builder. Spawned as a sub-agent after implementation calls return — runs the project's build and typecheck, the tests related to the wave's changes, and sprint acceptance grep patterns, then reviews the wave diff against a contract: a verdict per acceptance criterion, test-integrity checks, and scope against each sprint's Module column. Once per phase, in suite mode, runs the full test suite. Returns structured VERIFY RESULT. Orchestrator must never run CLI checks directly for verification.npx claudepluginhub ayejk/phase-runner --plugin phase-runnerOther plugins' skills for the same job