Widgets in the conversation
In Claude Desktop's chat, some of Atelier's results come with a small interactive view right in the conversation: frames you can play, candidates you can pick, a review card, a mask painter, the skeleton editor, frames to mark up, the queue with ticks and a budget, spend meters, and the export playing through the real game packages. Picking, reviewing, painting a mask, placing joints and pointing things out then need no browser: you do it in the conversation (in full screen if you like), and Claude carries on. This page covers:
- where widgets show, and how to connect Atelier so they do;
- what each widget does, and full screen;
- picking, reviewing, painting and posing without the web app;
- the questions Atelier asks you directly, where the client can ask;
- the widget preview page, for trying widgets in any browser.
How it works#
- Widgets are extras. Every tool still returns the same text and images it always did. A client that renders widgets (an "MCP Apps" host) also shows the view; any other client, such as Claude Code in a terminal, shows the text, and everything works through the web app's links as before.
- Atelier asks the client. When Claude connects, the client says whether it renders widgets. Only then do
human_pick,human_review,human_mask,human_poseandhuman_annotatetell Claude to let you answer in the conversation; otherwise they give the URL and Claude waits withjob_wait. - Nothing is stored in the widget. Anything you do in one goes through Atelier's tools into the same files and database as the web app, so the conversation, the web app and the widget always agree.
- Old widgets know they're old. Scroll back to an earlier pick and it says "Already answered" instead of letting you pick twice. A frame viewer whose asset has changed since says so, and shows the frames as they are now.
- Frames come as pictures, not links. A widget runs in a sandbox that can't reach the web app, so it fetches the frames it shows through Atelier itself. It needs no network access.
Where widgets show#
| Where you talk to Claude | Widgets? |
|---|---|
| Claude Desktop, chat (Atelier added as a local server) | Yes |
| Claude Desktop, Code tab | Yes, but a widget that appeared before the session was ready can't reach Atelier: it says so and shows the result's own pictures. Use its web app link |
| Claude Code in a terminal | No: text and links |
To use them, add Atelier to Claude Desktop's chat for the game you're working on, as SETUP describes. The chat has no project folder, so the config names the game with --project. Add one entry per game.
The widgets#
| Tool | The widget |
|---|---|
contact_sheet, normalise_frames, preview_gif |
Frame viewer: every animation and direction, played at its fps; pause and step; zoom; the pivot and baseline; a strip of the frames with contact frames ticked |
qa_report |
The frame viewer with the QA issues: frames a warning names are marked red in the strip, and clicking an issue jumps to its animation and direction |
generate_variations, human_pick |
Candidate picker: click one (or press 1–n), add a note, Use candidate. From a human_pick, None of these is there too |
human_review |
Review card: the frames playing, then Approve, Request changes or Reject with notes. Pivot, baseline and attachment points stay in the web app, behind a link |
human_mask |
Mask painter: the frame with a brush, Erase, Whole sprite, Invert, All and Clear, zoom and the overlay's strength; a note, then Use this mask. The mask is saved where edit_image wants it |
human_pose |
Skeleton editor: each direction's still with its joints (blue the character's left, orange its right); drag them, nudge with the arrow keys, swap left and right, and play a motion on the joints before saving |
human_annotate |
Markup: the question, then Pin, Box and Arrow on any frame of the stage (animation, direction and frame to choose, the marked frames underlined in the strip), a note on each mark, and Send |
annotate_frames |
Claude's marks: the frames with Claude's numbered marks and message; click a mark to go to its frame. Got it closes it; a reply goes to Claude as a message |
extract_objects { dryRun: true } |
Object picker: each object found, ticked; untick the ones you don't want, name the rest, and cut them out (free) |
task_list |
Queue plan: the queued tasks with estimates, ticks and a budget; the estimate and which tasks fit update as you tick. Run selected puts them first in the queue and starts the run |
usage_report |
Spend: this session, today, a queue run and all time, against their caps |
usage_balance |
Balances: a bar per provider meter, with Refresh |
export_asset |
Export preview: the exported sheet loaded through content-manager → texture-atlas → sprite and every animation and direction played, as the game will play it |
Each widget has a link to the matching web app page, for anything it doesn't do.
Full screen#
Every widget has a Full screen link at the top right, where the client offers it (Claude Desktop shows full screen in its side panel). The painters (mask, joints, markup) also have a bigger Paint in full screen button under their heading, since they want the room: the frame gets bigger and the tools sit beside it. Exit full screen puts it back in the conversation. Nothing is lost either way: it's the same widget.
Where the client doesn't offer full screen (or in Claude Code), the link isn't there; the painters work inline too, at a smaller zoom.
Recipe: pick and review without the browser#
Using Atelier, make 4 variations of
<chest>'s still and let me pick one, then normalise it and ask me to review it.
generate_variationsshows the candidates. Claude callshuman_pick, and the picker appears.- Click a candidate, add a note if you like, and press Use candidate. The pick goes into
raw/at once, and a message ("I picked candidate #3 for chest: …") goes to Claude as if you'd typed it. - Claude normalises and calls
human_review. Play the frames, write notes, and press Approve, Request changes or Reject. Claude gets the decision as a message and carries on.
Request changes from a widget goes straight to Claude, who's in the conversation, rather than into the queue as a task.
If the widget doesn't appear, the result still has the web app's link: open it, answer there, and ask Claude to collect it with job_wait.
Recipe: paint, pose and point without the browser#
Using Atelier, ask me to paint the area of
<hero>'s walk/w frame 2 that should change, then replace the hat with a helmet.
human_mask shows the painter. Press Paint in full screen, paint over the hat (Alt or Erase to take some back, Whole sprite for everything), add a note, and press Use this mask. The mask is saved at assets/<id>/masks/<request>.png, and "I painted the area to change on hero (walk/w/2): …" goes to Claude with the path, so it carries on to edit_image with it.
Using Atelier, the arms look swapped facing north on
<hero>: let me fix the joints.
human_pose shows the skeleton editor. Pick a direction, drag the joints, and press Play on this pose to see a motion on them before saving. Save poses keeps what you moved as source: "human", and Claude hears which directions changed and which animations were drawn from the old joints.
Using Atelier, ask me which foot slides on
<hero>'s walk.
human_annotate shows the frames with Pin, Box and Arrow. Mark what you mean on any frame, write a note on each mark, and press Send. Claude gets the list of marks as a message and, with job_wait, the frames with them drawn on.
When Claude draws on frames to show you something (annotate_frames), its marks appear in the same view. Press Got it to close them, or write a reply first: a reply goes to Claude as a message, while Got it alone doesn't interrupt it.
Recipe: start a queue run from the plan#
Using Atelier, what's queued?
task_list shows the plan. Untick what should wait, type a budget, and press Run selected: the ticked tasks move to the front of the queue in the order shown, and "Using Atelier, complete the queued tasks … within a budget of $…" goes to Claude, which then works through them as page 9 describes.
Recipe: cut out only some objects#
Using Atelier, show me the objects in
<tavern>'s layers.
extract_objects { dryRun: true } shows each object with a tick and a name field. Untick the shadows and duplicates, name the rest (table, stool…) and press Cut out. That runs extract_objects again with only (the objects you kept, by number) and names. You can ask for the same thing in words: "cut out objects 1, 3 and 4 as table, stool and lamp".
Questions from Atelier#
Some clients let a tool ask you something directly, in a small dialog of their own ("elicitation"), and Atelier uses that for two small things where the client can. Nothing depends on it: where the client can't ask, everything works as it always did.
- A run's budget. When Claude lists the queue to start a run and no budget was given (and there's no queue plan widget to type one into), Atelier asks once a session: "2 queued task(s) ready to run, estimated ~$0.40. What's the most this run may spend on providers?", with
work.budgetUsdfilled in. Answer, and the run is capped at it; decline, and the run has no budget of its own, as before. - A paid call that would be refused. A loop that jumps at its seam or skips part of a stride (page 12), or a chibi with no rest poses about to get a typical adult's body, stops a paid animation before anything is sent. Where the client can ask, Atelier asks you instead: "… Send it to the provider as it is anyway?" Yes sends it (the result says you were asked); no keeps it refused, and tells Claude you said no, so it fixes the motion instead of overriding you. Where the client can't ask, the refusal says to pass
acceptSeamorconfirmTypicalBody, as before.
The widget preview page#
The web app has a page that shows any widget as Claude Desktop would, in a browser: open /widgets on the web app (for example http://127.0.0.1:4903/widgets, in a browser that has opened the web app from a link before). Pick a tool, give its arguments as JSON, and press Run:
- the left side shows what the model sees (the text and images);
- the right side shows the widget, in a sandboxed frame like the real one;
- the log underneath lists what the widget did: the tools it called, and the messages it would have sent to Claude ("to Claude, as the user: …") or put in its context;
- Full screen works there too: the widget covers the page until you exit it.
It runs only free tools (contact_sheet, qa_report, human_pick, human_mask, human_pose, human_annotate, annotate_frames, export_asset…), never a paid one, so it's safe to try on a real project. A pick, review, mask or pose made there really happens, as it would in the web app.
The export preview in the web app#
The same player is the web app's Export preview page: on an asset that has been exported, press Export preview at the top of its page (or open #/ship/<id>). It plays the last export through the packages the game uses: the game's own node_modules first, then ATELIER_GAME_COMPONENTS, then the published packages. The player runs in a sandboxed frame there, since it runs the game's own copy of the packages.
Troubleshooting#
| Symptom | Fix |
|---|---|
| No widgets in Claude Desktop's chat | Check Atelier is in the chat's config (SETUP) and restart Claude Desktop. Hosts cache widgets until they restart, so after updating Atelier restart it too. |
| A widget says "Waiting for Atelier…" and stays that way | The host didn't hand it the result. Ask Claude to run the tool again; the text result above it has everything. |
| "Already answered" | You (or the web app) answered that request already. It's the old copy of the widget. |
| No Full screen link | The client doesn't offer full screen. The painters work inline; for more room use the web app link. |
| Atelier didn't ask about a budget or a seam | The client doesn't support questions from tools (elicitation), or a queue plan widget showed instead. Claude passes budgetUsd, or the flag, itself, once you've said so in the conversation. |
| The export preview says the packages came from unpkg | The game doesn't have them installed and ATELIER_GAME_COMPONENTS isn't set, so it plays the latest published ones. Install them in the game to see exactly what it runs. |
| The export preview shows a tileset error | Tilesets play in their HTML preview (exports/<id>/<id>.preview.html), which draws them with tile-map. |
Found a mistake? Edit this page on GitHub.