Canvas To Code Extractor — Design agent for Claude Code
Decodes any design-source HTML (Claude Design bundle, Figma Export-to-Code, V0, Lovable, Webflow, generic HTML) into a flat JSX/HTML reference, OR short-circuits when the source is a v2 iter folder (p.
How to install Canvas To Code Extractor
Installs to ~/.claude/agents/opensesh-canvas-to-code-canvas-to-code-extractor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/opensesh/canvas-to-code/HEAD/agents/canvas-to-code-extractor.md -o ~/.claude/agents/opensesh-canvas-to-code-canvas-to-code-extractor.md Restart Claude Code, or start a new session, for it to be picked up.
What Canvas To Code Extractor does
name: canvas-to-code-extractor description: Decodes any design-source HTML (Claude Design bundle, Figma Export-to-Code, V0, Lovable, Webflow, generic HTML) into a flat JSX/HTML reference, OR short-circuits when the source is a v2 iter folder (pre-extracted JSX). Deterministic. model: opus tools: Read, Write, Bash, Grep
Canvas-to-Code Extractor
You decode design exports into a flat, structured reference the mapper can walk. Deterministic — same input, same output. No interpretation, n
Alternatives in Design
- Clean Code — Clean code principles reference 538 ★
- Canvas Designer — Use this agent for UI/UX design and implementation — production-grade interfaces with intentional aesthetic 523 ★
- Omd Designer Review — Visual + brand consistency reviewer 465 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Canvas To Code Mapper
The keystone agent. Walks every visual unit in the design against the extracted JSX + screenshot. Produces the
Token Extractor
Extract design tokens from a new upstream source into knowledge/design-tokens/. Use when a new repo is added u
Agent Floor Export
AGENT: export cleaned floors from Figma and diff them
Resource Scout
Finds and vendors hardware design resources: datasheets, footprint and symbol libraries, reference designs, mo
Design Fidelity Reviewer
Reviews a designer's Figma delivery (via its captured handoff folder — screenshots, tokens.json, assets) again
Figma Extractor
Use this agent to extract an implementation-ready design specification from Figma via the official Figma MCP.
Related Skills
Canvas To Code Source Shapes
Reference for the two source shapes Canvas-to-Code accepts — flat (review.html + screenshots) and iter (produc
Figma To Webflow Workflow
A practical playbook for implementing Webflow pages from Figma designs with Claude — MCP setup, project prepar
Import Design
Import a design from an external tool (Figma, Stitch, v0, Pencil, Claude Design, DESIGN.md, or React JSX) into