easel
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Easel — an HTML design canvas for AI agents. Claude Code / Codex write screens, you see and edit them live (MCP)
Easel
A design canvas where your coding agents and you work on the same real HTML.
No export, no hand-off, no design file: screens are HTML files in your repo, and Claude Code, Codex, Cursor and Gemini edit them on the same canvas you do.
A real Claude Code run on the bundled demo. The agent's working time is sped up 16× (about 93 seconds shown in 6); everything else plays at real speed.
Easel turns a folder of plain HTML files into a design canvas. Your agent writes a screen and it shows up on the canvas a moment later. Drag, resize, retype or restyle anything on the canvas, and only that part of the source file changes. Your designs stay in your repo as HTML and merge with git like any other code.
Try it in 30 seconds
npx easel-canvas@latest --demo
That copies the demo to ./easel-demo and opens it at http://localhost:4317: Intercut No.14, a film festival identity with a phone app, a desktop timetable and campaign pieces, 12 boards set in bundled open-licence fonts. Click anything on a screen and start editing, or open the AI tab (⌘J) and ask your agent for a change. (@latest makes npx fetch the newest version instead of reusing a copy it cached; see Updates.)
Already have HTML screens? Run it in your project:
npx easel-canvas@latest # opens ./docs/design (or the current folder if it has screens/)
npx easel-canvas@latest --init # starts a new ./docs/design with one screen
npx easel-canvas@latest --dir ./designs # any folder of screens/*.html
npx easel-canvas@latest up # the same in the background: prints the URL, reuses a canvas already running here
Install into your agent
One line gives your agent the Easel tools and a skill that knows the canvas: when to open it, how to claim and write a board, check tokens, look at a screenshot and leave a comment, and how to lay out alternatives for you to pick from.
| Agent | Install | What you get |
|---|---|---|
| Claude Code | claude plugin marketplace add nemodleo/easel --sparse .claude-plugin plugin && claude plugin install easel@easel |
MCP tools, the easel skill, /easel:open, /easel:variants, and a hook that wakes the session for canvas requests |
| Codex | codex plugin marketplace add nemodleo/easel --sparse .agents/plugins --sparse plugin && codex plugin add easel@easel |
MCP tools and the easel skill |
| Cursor | npx skills add nemodleo/easel --skill easel -a cursor |
The easel skill; add the tools with npx easel-canvas connect |
--sparse checks out only the plugin's folders instead of the whole repository with its screenshots, so the install stays fast on a slow connection.
Then, in your project, ask for what you want: "open the design canvas", "make three variants of the sign-up screen side by side", "fix what I selected". In Claude Code, /easel:open starts the canvas for the project (or shows the one already running) and /easel:variants signup.html 4 lays out four alternatives in a row below the original. The agent starts the canvas with npx -y easel-canvas@latest up, which prints the URL and never starts a second one for the same folder.
Why Easel
- HTML is the source of truth. Each
screens/*.htmlfile is one board. What you see is what ships to the browser, with nothing to export or keep in sync. - Built for AI agents. An MCP server with 22 tools lets agents see the boards, read your selection, comment, check tokens and arrange the canvas. The in-app chat runs Claude Code, Codex, Cursor Agent, Gemini CLI or your own command with your selection as context. A Claude Code run started there carries Easel's tools for that canvas without
connect, and its permission requests come up as cards you answer there. - Several agents and people, no overwrites. One writer per board: a second agent gets a fork beside it, not your file. Every change is tagged with who made it, and an agent's whole run undoes in one step.
- Surgical edits. Changes are patched into the exact source range (parse5 locations), so formatting, comments and the rest of the file stay as they were. If an agent changed the same element first, your edit is refused instead of overwriting it.
- A copy anyone can open. Share exports a view-only canvas you can host anywhere, or one
.htmlfile to attach to a message or a PR. - Git-friendly. Layout, notes and comments live in small JSON files, one entry per line, so branches that move different boards merge without conflicts.
- Local-first. It runs on
127.0.0.1against the files in your repo. No account, no cloud, no lock-in.
Features
![]() |
|
See every screen at once. Each HTML file in screens/ is a board on one canvas, next to notes and arrows, with token and accessibility checks for the one you pick. |
|
![]() |
![]() |
| Edit the real screen. Click any element to drag, resize, align, retype or restyle it; only that part of the HTML changes. Layers, wrap in flex or grid, copy and paste across boards. | Ask your agent. Claude Code, Codex, Cursor Agent or Gemini CLI get your selection, boards and comments as context. Watch the board redraw, ask for variants side by side, and undo the whole run in one step. |
![]() |
![]() |
| Work alongside several agents. One writer per board: a second agent works on a fork beside it, every change is tagged with who made it, and Use this one keeps the version you want. | Share a view-only copy. Export the canvas, a page or the selected boards as a static site to host anywhere, or as one .html file to attach; PDF and PNG too. |
![]() |
Everything a canvas should do.
|
Connect your AI agent
Keep the canvas running (npx easel-canvas@latest). Agents write HTML files directly, and what they change shows up in the canvas's undo history (one step per in-app AI request, or per burst of edits from an outside agent); the MCP server lets them see (list_boards, read_board, screenshot, list_errors), know what you mean (get_selection with the selected element, visible boards and the current page), talk (comments and replies) and arrange (place_board, create_board, notes, pages, check_tokens, save_snapshot). When several agents share a canvas, claim_board (before editing a file with their own tools) or write_board (a whole board through Easel) keeps one writer per board: a second agent on a busy board is given a fork next to it and told which file it is on.
Then, in your project folder (not needed for an agent that has the plugin, which brings the same server):
npx easel-canvas connect
The in-app chat does not need this for Claude Code: each run it starts gets its own copy of these tools, bound to that canvas and that run, and a project's easel server is set aside for the run so the agent sees one set. Codex, Cursor Agent and Gemini CLI runs from the chat use the tools only once the project is connected.
It adds the Easel MCP server to your agents' configs and leaves everything else in those files as it was: .mcp.json (Claude Code), .cursor/mcp.json (Cursor) and .gemini/settings.json (Gemini CLI) in the project, and [mcp_servers.easel] in ~/.codex/config.toml (Codex). Cursor, Gemini CLI and Codex are written only when they are found on your machine; pick agents with --agents claude,cursor,gemini,codex, or preview with --dry-run. Restart your agent afterwards.
There is no port to set: the MCP server finds the canvas running for the folder your agent works in (each canvas registers itself in ~/.easel/servers/), and a busy port 4317 simply moves the canvas to the next free one. With several canvases open outside any of their projects, pass --port <n> to easel-mcp to pick one.
Claude Code (.mcp.json in the project root), Cursor (.cursor/mcp.json), Gemini CLI (.gemini/settings.json):
{ "mcpServers": { "easel": { "command": "npx", "args": ["-y", "-p", "easel-canvas", "easel-mcp"] } } }
Codex (~/.codex/config.toml):
[mcp_servers.easel]
command = "npx"
args = ["-y", "-p", "easel-canvas", "easel-mcp"]
default_tools_approval_mode = "approve" # the tools only view, comment and arrange
Add "--port", "4317" to args to pin one canvas instead of finding it by folder.
Using Easel as a submodule (below)? Point args at tools/easel/bin/mcp.mjs with "command": "node" instead.
Then try:
"Fix what I selected on the canvas: make the button text shorter."
"Make three variants of the sign-up screen."
"Create an onboarding screen at 390×844 and put it next to Home."
New files with <meta name="board-size" content="390x844"> are placed on the canvas automatically at that size.
Send AI requests to the agent you're already talking to
When you already work with an agent next to the canvas (Claude desktop's Browser pane beside a Claude Code session, say), Easel does not need to start a second agent of its own. In the AI tab (or the ⋯ menu) set AI requests go to to The agent you're talking to; it is remembered for the project (.easel/requests.json, not committed).
From then on Ask AI on an element, Send to AI on a comment and Ask AI to fix (token check, accessibility, errors) leave a request on the canvas instead: a comment marked For AI, written in a small composer where the element toolbar sits. The pin gets an AI flag, the board says "1 waiting", and the AI button shows the count. Easel cannot type into your agent's chat. With the Claude Code plugin the session wakes up by itself; otherwise say there (the list shows this line once, with Copy, while a request waits):
handle the Easel requests
(or Easel 요청 처리해 줘, or run /easel:requests with the plugin). The agent calls list_requests, take_request (one agent per request; the request says "Claude Code working" and the board "is editing…") and finish_request: its one-line reply lands under the comment, the comment is resolved, the changed board is one click away, and the board's activity tag has Undo. A request row is a comment with one mark and one line. A waiting request can be cancelled (it stays as a normal comment) or, behind its ⋯, sent to Easel chat instead; a taken one cannot be cancelled, only undone afterwards. In a pane 1200 px wide or less the AI tab lists the requests first and shows the setting as one line ("Requests go to: your agent"). With two or more agents connected you can address one of them. View-only exports show For AI comments as ordinary comments.
Claude Code wakes up for a request
The Claude Code plugin (not the MCP server alone, and not Codex, Cursor or Gemini) adds a hook that ends the "now go tell your agent" step: while the session sits idle, a request you leave on the canvas wakes it within a few seconds, and it handles the request as /easel:requests does. You see the session start working on its own.
- How.
plugin/hooks/claude-code.json(declared in the Claude Code manifestplugin/.claude-plugin/plugin.jsononly, and not at the defaulthooks/hooks.json, so other agents' plugin loaders, such as Codex's, do not pick it up) runsplugin/hooks/wake.mjs(Node, no dependencies) onSessionStartand again after every turn (Stop), as anasyncRewakehook: it waits in the background and exits with code 2 to wake the session. It finds the running canvas for the session's folder in the registry (~/.easel/servers), the same way the MCP server does, but only a canvas whose folder contains the session's folder or is the one canvas inside it; it never starts a canvas, and when none is running it checks again every 5 seconds. Every 2 seconds it reads the waiting requests (GET /api/requests, read only; it does not count as an agent looking). - What wakes it. Only waiting requests meant for Claude Code (for any agent, or addressed to Claude Code), and only while AI requests go to is The agent you're talking to. Easel's own chat runs and requests for another agent never wake it.
- Once per request, again if the wake was lost. A request is announced as soon as it waits (
~/.easel/wake/announced/). A wake that lands while the session's turn is still running can be dropped, so after the session's next turn ends the new watcher announces the request again if no agent has listed it yet (the request has noseenAt), at most 3 more times and no sooner than 20 seconds after the last announcement. A request an agent has listed but not taken is not announced again. It starts over when it goes back to waiting (sent again after a failure, or the agent that took it left). - Several sessions on one project. Each session has its own watcher (one per session; a second one exits at once), but they share the announcements, so only one watcher wins each announcement and wakes its session; a watcher that was already running when a request was announced never announces it again. If two sessions do act on the same request,
take_requestlets only one take it. - What Claude reads. One line with the number of new requests and what to do. The request text is never in it; Claude reads it with
list_requests. - Opt out. Set
EASEL_NO_WAKE=1in the environment Claude Code starts with, or keep AI requests go to on Easel chat. - Limits. The hook runs for at most a day (
timeout: 86400); a session idle for longer than that is not woken until its next turn ends, which starts a new watcher. A request made while the session is busy is announced during that turn; if that wake is lost, it is announced again once the turn has ended and at least 20 seconds have passed since the first announcement. With several sessions open, the repeat can wake another session started or re-armed since then, not necessarily the one that lost it. macOS and Linux; on Windows the hook does nothing. It needs a Claude Code version withasyncRewakehooks. SetEASEL_WAKE_LOG=<file>to log what the watcher does.
Each board frame also carries data-easel-file (and data-easel-path while you have something selected on it), so when your host's own element picker grabs part of the canvas, the agent can turn it into a file and element with resolve_pick.
Share a view-only copy
Share (at the top of the right card) writes a static, read-only copy of the whole canvas, the current page or the selected boards to <project>/easel-export/: boards with their pages, notes and comments, Play, and a stamp with the export time and repo@commit. Nothing in it calls back to Easel, so any static host works (Vercel, GitHub Pages, a PR preview, under any sub-path), and index.html also opens straight from disk (comment pins then stack in their board's corner, because browsers keep file:// frames apart). Copy deploy command gives you npx vercel deploy easel-export. Turn on One .html file for a single self-contained file to attach to Slack, email or a PR; its size shows before you save. PDF (one board per page) and PNG (one 2× image per board) need Playwright's Chromium.
The same from the terminal, with no canvas running (it works in CI):
npx easel-canvas export # web folder in ./easel-export
npx easel-canvas export --single-file # one self-contained .html
npx easel-canvas export --page Onboarding --pdf --png
npx easel-canvas export --boards home.html,ticket.html --out dist/design-preview
To show the copy inside another page, frame its index.html with ?embed: the board list and comments card step aside, the zoom joins the dock, and the wheel stays with your page until someone clicks the canvas (Esc or a click outside gives it back). fit names the boards (or note ids) the opening view frames, inset keeps that view clear of what your page floats over the frame (CSS order, in px; a negative side lets boards run off that edge), and dock puts the dock left, center or right:
<iframe src="easel-export/index.html?embed&fit=home.html,ticket.html&inset=80,24,0,668&dock=left" title="Design canvas"></iframe>
Exporting again replaces what the previous export of the same kind wrote there (a small .easel-export.json lists it) and leaves anything else in the folder alone; a non-empty folder Easel did not create is never cleared. Dot folders (.easel/, .thumbs/…) and files outside the design folder are never copied. A single file inlines the screens' images, fonts, CSS and scripts but not HTML embedded with <iframe>; the export lists what it skipped.
Pin it in your project
npx easel-canvas@latest is all most projects need. To pin an exact version for your team, add it as a dev dependency (npm i -D easel-canvas, then "design": "easel-canvas" in your scripts) or as a git submodule. With your designs in <project>/docs/design/screens/:
git submodule add https://github.com/nemodleo/easel.git tools/easel
{
"scripts": {
"design:install": "git submodule update --init tools/easel && npm --prefix tools/easel install",
"design": "npm --prefix tools/easel start"
}
}
npm run design:install # once: fetch the submodule and install
npm run design # http://localhost:4317
- The default design folder is
../../docs/designrelative to the tool, sotools/easelopens yourdocs/designwith no flags. Anywhere else:npm --prefix tools/easel start -- --dir <design folder> --port <port>. - It installs separately from your app, so it never touches your app's dependencies, build or deploy, and CI that skips submodules (the
actions/checkoutdefault) is unaffected. - To update: push to this repo, then run
git submodule update --remote tools/easelin your project and commit the new pointer. Teammates runnpm run design:installaftergit pull.
Updates
npx keeps the copy it downloaded first, so run npx easel-canvas@latest to get a new version (and npm i -D easel-canvas@latest if you pinned it). To tell you when one is out, the canvas asks the npm registry once a day which version is the latest: one request to registry.npmjs.org, nothing about your project. When a newer one exists, the terminal says so at start and a toast at launch shows the update command for how you installed Easel; Copy command or × puts it away until the next version. Set EASEL_NO_UPDATE_CHECK=1 to turn the check off; it is also off in CI and when Easel runs from a git checkout.
Screenshots, thumbnails and PDF/PNG export share one headless Chromium, started on the first one and closed after two minutes without any. Set EASEL_BROWSER_IDLE_SECONDS to change that wait (0 closes it after every render).
| To do this | How |
|---|---|
| Pan and zoom | Drag empty space, Space, or Hand (H); trackpad scroll; ⌘+wheel or pinch (4–400%). ⇧1 Fit all, ⇧2 selection, ⌘0 Zoom to 100%, Minimap (M) |
| Find | Left "Boards" tab (the first button in the top-left card): ⌘K search and list; pages (drag to reorder; right-click to rename, delete, or set the launch page). The top-left card shows the current page (with the page count when there are several): click it for every page (⋯ or → on a row for that page's menu) and New page |
| Boards | Draw with the board tool (B), use a "New board" template (Blank · Watch, Mobile, Tablet and Desktop screens · Document · Email), or drop an HTML file on the canvas. Duplicate ⌘D, rename F2 (renaming the file offers to update references), Delete (confirm, trash, undo), Bring to front / Send to back ⌘] ⌘[, Export PNG (right-click: downloads <file>.png at 2×, needs Playwright's Chromium) |
| Multiple items | Drag on empty space to marquee-select or use Shift; move together (snap guides, Alt to disable); arrow keys 1, Shift 10, Option 100 |
| Board options | Right "Properties": position, size, Radius, No frame, Show Play button (a dot, and the label's ▶ stays visible at rest; not needed to play), Stretch to window, Open as launch screen, Layout guides (Columns · Rows · Grid, up to 6, ⌃G), Adjustable values |
| View | Focus view (F, ←→), Play in place on any board (P with one board selected, or right-click; ▶ at the top right of the label: on every board while it is selected or hovered, always on boards with Show Play button, Stop while playing; Esc stops), Play full screen (right-click). Playing never writes to board.json. With no board or several selected, P is the pen |
| Notes and shapes | Title (T), sticky note (N, 8 colors, size, bold, italic), Rectangle (R), Oval (O), Line (L), Arrow (A), Pen (P when no board is selected), image (Assets or paste) |
| Select elements | No mode to enter: click anything on a board (drag the board to move it). Shift-click or Shift-drag for several, Esc lets go (then of the board), ↑ parent, ↓ or Enter first child, ←→ siblings, Option+↑↓ to reorder, ⌘A for all siblings, ⌘G Wrap in flex, Tab into the element toolbar |
| Direct editing | The element toolbar, in the line above the dock: Text (size, weight), Fill (your tokens first, written as a CSS variable, then Custom), Radius, Spacing (padding, gap), Ask AI, Comment. Double-click text to edit it (Shift+Enter for a line break). Move with handles (Alt drops inside a box) and resize, 6 align options, Properties panel in design words with the breadcrumb (CSS names on hover, everything else under More (CSS), ⚠, contrast), Replace image, ⌘C/⌘V to paste into another board |
| Undo | ⌘Z / ⌘⇧Z. Canvas actions, HTML edits and board create/delete share one history (100 entries). The ▾ next to Undo lists it newest first (who, what, when; Now marks where you are): Go back to here undoes or redoes step by step to that entry, and Redo brings the rest back. The history lasts until Easel restarts |
| Who changed what | A board changed by someone else (an agent over MCP or the in-app chat, a file edited outside Easel, another browser) gets a tag above its title, e.g. "Codex · 2m · 1 change", with a person or agent mark and the name, and the changed element is outlined. Click the tag: the change ("Get started" → "Start free"), Before / After, and Undo (only that change; asks first if one of its boards changed since). Tags fade once you open them or select the board, and clear a day later |
| Design system | Register tokens (tokens.json) and themes in the left "Tokens" tab, Theme in the project menu (the title at the top left), Token check and Accessibility lists on the right |
| Collaboration | Comments (Reply, Resolve, author), Snapshot menu (git-commits only the design folder) |
| Language | English or Korean (한국어): the browser's language picks it on first load (ko-* is Korean, everything else English), Language in the project menu switches it and is remembered in this browser. The exported view-only copy follows the browser's language |
| Share | "Share" at the top of the right card: whole canvas, this page or the selected boards as a web folder or one .html file, PDF or PNG; Reveal, Copy deploy command, and the matching npx easel-canvas export line |
| Who is on which board | A board someone is editing says so above its title with a mark and the name: "Claude Code is editing…", "You · editing", then "Claude Code · done 13:52"; the board list shows a dot (blue for you, ink for anyone else). An agent holds a board from its first write until its in-app run ends, or 45 s after its last write over MCP (or when it disconnects). A second agent writing a board another agent holds works on a fork beside it ("Welcome · Codex"), with an arrow back that says when and why; you are never forked. When both are done, Use this one on either keeps that version under the original's name, title, position and comments, and sends the other to trash; one Undo brings both back |
| Pick a variant | Variants from the AI tab land in the first free row (never on notes or boards) and each gets Use this: Apply makes it the original board and sends the other variants to trash (toast with Undo), Keep all leaves them as ordinary boards |
| AI | Right "AI" tab (⌘J): Claude Code, Codex, Cursor Agent, Gemini CLI, or your own command; selection, boards, visible boards, comments and references go along as context; N variants; Ask AI for a review |
| AI permissions | When Claude Code wants to run a command or edit outside what it may, the chat shows the exact request: Allow once, Always allow (that tool, or a command's first two words, until Easel restarts; never for file edits, for commands with ; && | > and the like, or for sh -c-style wrappers), or Deny |
| Undo an AI run | Each run that changed files ends with the boards it changed and added: Undo this run (one step, ⌘Z brings it back; asks first if you changed one of them since), Redo, Compare before and after. After a restart: Restore the copy from before this run (the newest 10 are kept) |
| Custom agent | Agent menu › Custom command…: a name and a command with {prompt}, e.g. aider --message {prompt} --yes. Saved in ~/.easel/agents.json (not in the project), run without a shell, output shown as plain text |
| Screen | An app bar above the canvas: the project's title menu (find, share, snapshot, appearance, theme, language, where AI requests go, keyboard shortcuts) on the left; Comments, AI and Share on the right. On the canvas, a top-left card (left panel, page, Canvas / Prototype) and a top-right card (▷ play, the properties panel ⌘\, the zoom percent with zoom in/out, fit ⇧1, selection ⇧2, 50/100/200%, layout guides ⌃G, minimap M, clean view ⇧⌘\). F6 moves between regions, Tab between boards; clean view leaves the canvas alone (Esc, the same key or the small handle at the bottom right bring the tools back). ▷ lists the page's prototypes and static boards; Canvas / Prototype in the top-left card switches to one board at a time (board switcher, ← →, Fill / Fit, Esc back). The URL keeps #page-<id>, #artboard-<file> or #play-<file>: back and forward walk pages and the prototype view, a link lands there, and Copy page link (a page's ⋯) and Copy link (a board's menu) copy one. Links are local to the port the canvas runs on |
| Pane width | The same arrangement at every width. At 1200 wide or less (the browser pane beside an agent's chat) the left panel opens over the canvas and steps away when you pick a board from it, press Esc or press on the canvas; opening it there lasts for that tab, the choice made in a wide window is the one remembered. The right panel opens at once, roomy, on a pick (Properties), on AI, on Comments or on a comment; it follows your next pick, and Esc, a press on the empty canvas, or a pan or zoom puts it back (not while you are typing in one of its fields). Resting bars keep their place and open panels grow away from them: the cards are 36 px, the dock 40 px and centred; the minimap sits at the bottom left (144 px wide at pane width, 192 wider), on unless you switched it off, shown where it fits beside the dock |
| Labels and hints | At rest a board's label is its title in grey; a change by someone else is a dot after it. Point at the board, select it or tab into its label for the file name and the full tag ("Outside Easel · 11m · 2 changes"); who is editing right now, forks and Use this one always show in full. No hint at rest: the first visit shows two hints above the dock for 8 seconds or until the first press. On hover, selection or keyboard focus a label offers ↓ export (PNG 2×), ⤢ full window (Fill / Fit, Esc back with the board selected), the board's adjustable values when it declares them, and ▷ Play with a menu (in place, full screen); playing in place ▷ reads Edit and the dock steps away |
How it works
your-project/docs/design/
├── screens/*.html ← one board per file; agents and you both edit these
├── board.json ← positions, titles, pages, notes, shapes (one line per entry)
├── comments.json ← comment threads pinned to elements
└── tokens.json ← optional design tokens and themes
- A small Node server watches the folder (chokidar) and tells the browser which board changed, so only that board reloads, keeping scroll and selection.
- Element paths and hashes are computed from the source with parse5. Every edit is a minimal string patch into that range, written atomically.
- The canvas is a Vite + React app. Each board is an iframe of the real HTML, so scripts, links and CSS behave exactly as in a browser.
- The server listens on 127.0.0.1 only and refuses changes (and the live connection) from other web pages open in your browser: only requests with no
Origin(the CLI, the MCP server) or from the canvas page itself, on a local host name, get through. Boards are your project's own HTML and run inside the canvas page, with the same access to it as you have, so open only design folders you trust.
Easel and Claude Design
Claude Design makes designs inside Claude, as artifacts. Easel keeps them as HTML files in your repo, edited by whichever agent you use, and exports a static copy when you want to show them. A feature-by-feature comparison is in PARITY.md (last checked on 2026-10-09, before 0.2.0).
Development
npm test # unit tests (source patching, board format, chat parsing, tokens…)
npm run test:e2e # Playwright end-to-end tests against test/fixtures/design
npm run typecheck
npm run demo # run the repo's demo from source
npm run design:css # rebuild docs/design/assets/easel.css after changing app/src/style.css, so the boards in docs/design keep matching the app
npm run verify:agents # before a release: install Easel into each agent CLI on PATH, in throwaway config homes
npm run verify:agents (tools/verify-agents.mjs) checks the agent plugin for real. For each of claude, codex, cursor-agent and gemini found on PATH, it installs Easel into a config home under a temp folder (CLAUDE_CONFIG_DIR, CODEX_HOME, or HOME for Cursor and Gemini; never your own ~/.claude, ~/.codex, ~/.cursor or ~/.gemini). It checks that the plugin, the skill and the MCP server are listed, prints pass, skip or fail per check, and removes the temp folder. By default it installs from this checkout; -- --source github (or github@<ref>) installs from GitHub the way the README does. -- --live also asks each agent to call list_boards on a scratch canvas, but only for an agent that is logged in inside its temp home, which means its own API key variable is already set in your environment. The script reads and stores no keys. It is not part of npm test.
test/fixtures/design/intentionally keeps Korean screen content and board titles: it mimics real user content and is needed to test Korean text input (IME) and rendering. SetDESIGN_CANVAS_E2E_DIR=<folder>to run the e2e tests against another design folder.examples/demo/is Intercut No.14, the project--democopies and the one in the demo video and the screenshots above. Its two fonts are bundled under the SIL Open Font License (see License).
| Folder | Contents |
|---|---|
bin/ |
server.mjs (app server), mcp.mjs (MCP stdio server) |
server/ |
API and routes, board.json, file watching, element paths and hashes, source patching, history, chat runner, tokens |
app/ |
Canvas UI (Vite + React + TypeScript); all UI text lives in app/src/strings.ts, in English and Korean (the Korean object is typed against the English one, so a missing string is a type error) |
test/ |
node --test unit tests and Playwright e2e tests |
tools/ |
Repo maintenance scripts, not shipped: mkcss.mjs builds the design boards' stylesheet from the app's, plugin-sync.mjs keeps the plugin manifests at the package version, verify-agents.mjs checks real agent installs |
plugin/ |
The agent plugin: MCP server entry, the easel skill, /easel:open, /easel:variants and /easel:requests, and the Claude Code wake hook (hooks/) |
Background reading: the original plan is in PLAN.md and the work log is in tasks.md.
Contributions are welcome: open an issue or a pull request.
License
MIT © Hyun Park
The demo bundles two fonts in examples/demo/assets/fonts/, each under the SIL Open Font License 1.1 with its licence text beside it: Anton (OFL-Anton.txt) and JetBrains Mono (OFL-JetBrainsMono.txt), both taken from the Fontsource 5.3.0 packages.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found





