/agent-canvas:agent-canvasfrom agent-canvas
Use when asked to install, populate or maintain a complete Figma-like UI landscape from a web or native app repository, or capture a website URL into an editable desktop landscape with components, variants, states and flows.
Ships in agent-canvas. 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.
Deliver a navigable Agent Canvas landscape using the input path below. For repository input, deliver the complete UI landscape. The user supplies a repository and a capable coding agent; the agent owns discovery, state enumeration, fixtures, render setup, population and coverage verification. Keep the canvas engine in the shared @tombelieber/agent-canvas package; each application owns its inventory, catalog, synthetic fixtures, preview adapter and checks.
For a website URL, read references/url-import.md
and use its desktop capture/edit/save/reopen contract. URL imports report
observed scope; the source completeness requirements below remain unchanged for
repository population. The URL workflow requires v0.13.0 or later: verify the CLI supports
import, capture-script, capture, status, link and open instead of assuming the published pin has it. Durable URL projects also require
projects, backup, recover and --allow-ephemeral; omit --out for the
independent private library, and preserve explicit repository-owned paths. Never
place long-running project data in disposable ignored artifacts by default. Agent Canvas + the agent form the URL workflow; prefer the user-authorized browser without moving its session.
Read references/completion.md before integrating or populating a canvas. Adding Agent Canvas to an application means complete population by default. A skill/CLI-only installation stays within that requested scope. A pilot, representative subset or a few working screens is an intermediate result; continue through the remaining inventory without asking whether to proceed. Narrow scope only when the user requests it. Missing previews, component isolation and test data are implementation tasks owned by the agent.
Build the source inventory independently of the canvas catalog. Account for all screens, shared UI, variants, states and navigation, including data-driven and platform-specific branches. Map every item to rendered cases and state-specific evidence. Enable the independent UI-delivery and all-case gates at handover; a passing catalog alone is insufficient. Group by actual page → feature → state, with platform/size as variants. Keep the whole-app overview and connected flows usable for a newcomer. A blocked item remains incomplete, visible and counted. Reporting a limitation never converts it to accepted scope.
Follow the population workflow: run plan on the whole original repository, inspect all files and UI anchors, enumerate meaningful states and reconcile them against actual navigation. Use agent-canvas guide from the installed CLI so the instructions match its capabilities. Final UI delivery requires --ui-complete; populate runs the durable adapter queue and then that fresh gate. The existing --complete remains an unchanged, stricter all-source audit. Keep audit-only work separate from missing UI; never relabel an audit failure as a pass. If both are requested, finish both.
For UIKit/storyboards, SwiftUI, Android Views/XML/Compose, React Native or other device UI, also read references/native.md. Use the original native renderer and agent-authored harnesses. Full native captures are valid canvas surfaces with source/build provenance; distinguish captured UI from live native interaction. Select this path from the actual framework, without requiring a React rewrite.
For first-time integration, read the agent guide matching the installed tool revision. For web/Vite integration also read its React/Vite reference. The hosted synthetic StoolSense canvas demonstrates the overview and web interactions. An agent can follow the guide without a vendor-specific skill loader.
github:tombelieber/app-canvas#v0.16.1 with the project's package manager and lockfile, or pin a newer verified tool revision. Ensure it exports @tombelieber/agent-canvas/inventory for the completion gate. Run npx agent-canvas browsers. Optional user skill setup: npx agent-canvas install --target both. A global CLI installation is also supported. This skill and its references are canonical at tombelieber/app-canvas, skills/agent-canvas, and ship with the matching CLI release. No separate skill repository is required.title, groups, catalog, flows, optional pages and checked journeys, watchPaths, and preview(ctx). The preview returns url(screen) and optional build, handle, close hooks. readScenario from virtual:app-canvas-preview retains the synthetic case through ordinary HTML navigation. ctx.createVitePreview reuses the application's Vite configuration. Vite and custom HTML served through handle receive the shared frame bridge automatically; separate-origin custom servers apply ctx.bridgeHtml(html) before app scripts. See the working example before inventing another renderer.pages: [{ id, title, route? }] and pageId/feature on each state. Existing configs fall back to groups; do not invent routes or infer hierarchy from graph hops. Fixtures provide inputs and dependencies, never a second implementation of the screen. Shared components can map to containing screens when every distinct variant is visible there.
Follow UI object lifetimes through first entry, retry and reused controllers. A toolbar or input accessory allocated after the first render may appear only after a later field is regenerated; capture that visible state and its real controls rather than treating allocation or an initial nil binding as coverage.ui:review and resumable population tasks with explicit device resources, dependency/input fingerprints and artifact receipts. Run populate or --ui-complete with the independent UI inventory and semantic state/transition evidence from verifyUi. Run the separate --complete if all-source audit is requested. Keep one project writer/device actor, continue independent work after a blocker, and resume checkpoints instead of rebuilding completed batches. Use --check / --verify during construction. Use source-rendered DOM for web and provenance-linked full captures or a verified device adapter for native. Check interactions at their actual runtime, failure recovery, reset/isolation, layout variants, source refresh/recapture and network isolation. Configure supported routeCoverage too. Prove omitting a state from both inventory and catalog still fails, and source changes invalidate evidence.ui-review/README.md. Inspect every rendered case for the distinguishing condition, correct source, layout and assets. Continue fixing omissions and render failures until complete. Verify app operations separately from canvas controls; a drawn edge is not interaction proof. Hand over a populated working URL and reproducible refresh commands. Follow the completion reference's delivery fields.nativeOverview atlas for captured UI, following the package's native overview contract. Keep original full captures, source provenance and the existing runtime/player/flow behavior. Atlas pixels are a display optimization, never source/state acceptance evidence or a replacement for Web/React DOM. Requalify capture mapping, near-view originals, retained input, playback, clickable flows and failure fallback on the actual app.--verify executes authored journeys. Wait for distinguishing output or replacement DOM after asynchronous changes; the file action supports replaces for an asynchronously replaced form. Retain real pointer/keyboard E2E checks too.kind: "case" journey with a state-specific DOM assertion and explicit starting condition. Enable coverage: { requireAllCases: true, requireConnected: true }; prove a missing case/connection fails. Use outcome labels for neutral/success/failure/pending/warning and dashed condition/reference edges for fixture variants instead of inventing clicks. See the journey contract for the exact schema.agent-canvas export --config <config> --out <new-directory> shares the same canvas runtime; preview.exportStatic supplies the reviewed frontend. It does not automatically remove private data or make any backend static.For an explicitly scoped review-only deployment, use export --review-only with
a source config whose preview sets exportDom: true, or export --project <directory> --review-only for saved URL captures. This shares existing cases;
it does not qualify source completeness or provider interactions. Keep app
fixtures, build/deploy commands, domain and Access configuration in the consumer
repo. Read references/sharing.md and the matching package
hosting guide.
agents/openai.yaml (opens in a new tab)references/completion.md (opens in a new tab)references/native.md (opens in a new tab)references/population.md (opens in a new tab)references/sharing.md (opens in a new tab)references/source-audit.md (opens in a new tab)references/url-import.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tombelieber/app-canvas --plugin agent-canvas2 skills in this plugin