start

start is a command for Claude Code from opensesh/canvas-to-code. It costs 21 tokens per session (1,558 once invoked), scanned A, original, MIT.

A command that starts or resumes a canvas-to-code workflow, a process for turning design work into code through eleven review gates.

In plain words
What is it for?
Use it to prepare a feature, resume pending work, jump to a gate, or review a slice pull request with file-and-line feedback.
Why use it?
It lets you continue from the right feature or gate instead of manually tracking the workflow state.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the canvas-to-code plugin — 4 commands, 7 agents shipped together

Good fit Use it to prepare a feature, resume pending work, jump to a gate, or review a slice pull request with file-and-line feedback.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/opensesh/canvas-to-code/start
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/opensesh/canvas-to-code

Made for: Claude Code.

Or install canvas-to-code, the plugin that ships this one along with the rest of its 4 commands, 7 agents.

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 start

README.md
[![agentmods](https://agentmods.dev/badge/commands/opensesh/canvas-to-code/start/github.svg)](https://agentmods.dev/commands/opensesh/canvas-to-code/start)
Your own site
<a href="https://agentmods.dev/commands/opensesh/canvas-to-code/start"><img src="https://agentmods.dev/badge/commands/opensesh/canvas-to-code/start/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 start

Your own site · 80×15
<a href="https://agentmods.dev/commands/opensesh/canvas-to-code/start"><img src="https://agentmods.dev/badge/commands/opensesh/canvas-to-code/start.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,558 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.00021 $0.01558
Opus 5.5 $0.00008 $0.00623
Sonnet 5.5 $0.00004 $0.00312
Haiku 4.5 $0.00002 $0.00156

Measured 1mo ago against content hash 8b2ff7a2bfb4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

start 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 1mo 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.

commands/start.md · 103 lines

How it starts

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

/canvas-to-code:start — Universal workflow entry

One command, all eleven gates. Spawns @canvas-to-code-pm.md, which inspects .claude-design/ and .canvas-to-code/state/, then routes by flag or by current phase.

How it dispatches

Flags Behavior
--prep <feature> (or --feature <name> --prep) Scaffold only. Creates .claude-design/<feature>/ + screenshots/, source-meta.yaml stub, notes.md stub. No conversation. Refuses if the folder already exists.
--pr <num> Review a slice PR. Spawns @canvas-to-code-reviewer.md with the PR diff + the slice spec from status.json.slices[]. Returns PASS/REVISE with file:line citations.
--gate <n> Jump to gate n (0–10). Re-runs that gate fresh, or for the first time if not yet reached. --gate 5 is the canonical "re-validate the component mapping" shortcut.
--feature <name> (alone) Resolve to that feature and auto-advance from its next pending gate.
(no flags) Guided discovery. PM scans .claude-design/ and presents a menu of what's there (see below).

Guided discovery (default path)

When called with no flags, the PM agent presents one unified menu so the user picks where the source comes from. PM never silently advances past Gate 0.

  1. Scan .claude-design/ (depth ≤ 5). Categorize:

    • Active features — subfolder has status.json with phase ≠ "done".
    • Iter folders (v2) — iter-* directories with source-meta.yaml containing metaVersion: 2. The producer (e.g. the paper-design skill) emits these; the bridge auto-fills feature, subpage, route, and source from the iter's source-meta.yaml.
    • Loose materials — subfolder with review.html, screenshots/, or source-meta.yaml but no status.json and not an iter folder.
    • Completed features — status.json with phase = "done".
  2. Print one menu:

    Welcome to canvas-to-code. Scanning .claude-design/…
    
    Found:
      Active features
        1. <feature>  (Gate N in progress, last touched <when>)
      Iter folders (v2)
        2. <feature>/<subpage>  <iter-name>  (<source>, <when>)
      Loose materials
        3. <subfolder>/  (review.html, no status.json)
      Completed
        4. <feature>  (done, <date>)
    
      5. Import from external source (Claude Design, Figma, V0, Lovable, Webflow)
      6. Start blank — I'll walk you through capturing materials
    
    Reply with a number, or paste a path to an iter folder.
    

Read the full file on GitHub · 103 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. 1mo ago First seen · 103 lines · 21 tokens per session scan A 8b2ff7a2bfb4

Subscribe to this mod's changes

start is a command published in the GitHub repository opensesh/canvas-to-code (7 stars, last pushed 7d ago), licensed MIT. It adds 21 tokens to every session and 1,558 once invoked, about $0.0001 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-31.