live-canvas

live-canvas is a command for Claude Code from hamr0/liteagents. It costs 46 tokens per session (4,905 once invoked), scanned A, original, Apache-2.0.

A browser-based workflow for exploring and refining user interfaces through design interviews, generated variations, and click-to-annotate feedback. It streams feedback into the active coding session so interface changes can be made during review.

In plain words
What is it for?
Use it to compare UI variations, collect annotated comments, refine a design interactively, preview the result, and finalise it.
Why use it?
It keeps design discussion and visual feedback connected to the editing session instead of requiring separate, delayed feedback rounds.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash packages/claude/plugins/live-canvas-marketplace/setup.sh.

Good fit Use it to compare UI variations, collect annotated comments, refine a design interactively, preview the result, and finalise it.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/hamr0/liteagents
agentmods
npx agentmods add commands/hamr0/liteagents/live-canvas

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for live-canvas

README.md
[![agentmods](https://agentmods.dev/badge/commands/hamr0/liteagents/live-canvas/github.svg)](https://agentmods.dev/commands/hamr0/liteagents/live-canvas)
Your own site
<a href="https://agentmods.dev/commands/hamr0/liteagents/live-canvas"><img src="https://agentmods.dev/badge/commands/hamr0/liteagents/live-canvas/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for live-canvas

Your own site · 80×15
<a href="https://agentmods.dev/commands/hamr0/liteagents/live-canvas"><img src="https://agentmods.dev/badge/commands/hamr0/liteagents/live-canvas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,905 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.04905
Opus 5.5 $0.00018 $0.01962
Sonnet 5.5 $0.00009 $0.00981
Haiku 4.5 $0.00005 $0.00490

Measured 17d ago against content hash 5ca982bd3d18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

live-canvas scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

packages/droid/commands/live-canvas.md · 310 lines

How it starts

The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Live Canvas Skill

Interview, generate variants, collect feedback, refine, preview, finalize. Why each rule exists: docs/product/live-canvas-README.md.

Rules

  • Always ask the feedback mode with AskUserQuestion (Live vs JSON), every run. Never auto-select or auto-detect it.
  • Never run the install or relaunch commands yourself. Print them; the user runs them.
  • Never start the dev server, check ports, open a browser or wait for one.
  • The overlay is always wired: copy overlay-vanilla.js, call LiveCanvas.init once, put data-variant on every variant container. Never generate a lab without it.
  • Only delete what this skill created, inside .claude-design/ or listed in routes: / overlay:. Never a user-authored file; verify each path first.
  • Temp files never outlive the run. On finish and on abort, clean up (Phase 8.1).
  • Never use generic or predefined visual styles; infer them from the project (Phase 0).

Feedback mode

Tool names (plugin-namespaced): mcp__plugin_live-canvas-channel_live-canvas__channel_open, mcp__plugin_live-canvas-channel_live-canvas__batch_open, mcp__plugin_live-canvas-channel_live-canvas__channel_close. Every tool returns JSON {status, port, message?, ...}.

Host: run test "$CLAUDECODE" = 1. If not Claude Code (Droid, Amp, Opencode), skip the question, announce 📝 JSON mode (Live channel requires Claude Code), omit channelUrl and batchEndpoint in the overlay init, never mention the channel plugin, and go to Phase 0.

Claude Code: ask with AskUserQuestion:

Header Question Options
Feedback mode Pick a feedback mode Live channel — overlay streams each Save into this session; requires a session started with live-claude, else Live refuses to start. JSON file — overlay writes feedback to .claude-design/feedback.jsonl; tell me "done" when ready; works in any session.

If JSON: call mcp__plugin_live-canvas-channel_live-canvas__batch_open.

Read the full file on GitHub · 310 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · -776 lines 5ca982bd3d18
  2. 1mo ago Changed · +2 lines · -4 tokens per session c2c02b0ed754
  3. 1mo ago First seen · 1,084 lines · 50 tokens per session scan A 94eb6866fb35

Subscribe to this mod's changes

live-canvas is a command published in the GitHub repository hamr0/liteagents (26 stars, last pushed 5d ago), licensed Apache-2.0. It adds 46 tokens to every session and 4,905 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.