The task queue
This page covers writing tasks for Claude in the web app while no conversation is running, showing what you mean by drawing on frames, changing joints and motions, describing a new asset, ordering and pricing a batch, having Claude do them all with one prompt, and accepting, reopening or rejecting what comes back.
Why use it: without the queue, every change starts as a message, one conversation at a time, and feedback you give when nobody is waiting goes nowhere. With it, you can look through a game's assets in the web app, line up a session's worth of changes, point at exactly what's wrong, and hand it all over in one go, with a budget.
How it works#
Three kinds of work wait for someone:
| Who asks | Who does it | Where it lives | |
|---|---|---|---|
Job (gen_…) |
Claude | a provider | the database |
Human request (hum_…) |
Claude | you | the database, shown in Work |
Task (tsk_…) |
you | Claude | art/tasks/<id>/, checked in with the game |
A task goes draft → queued → claimed → review → done. Claude can also set it blocked with a question, and you can cancel it at any time.
- You write and queue it on Work → Queue, with New task on an asset, by marking up a frame, with New asset, with Fix this beside a QA issue, or with a recipe button that needs Claude's judgement (page 15).
- Claude claims it in a later conversation, does the work, and leaves it in review with a summary.
- You accept it, reopen it with a note (and marks, if you like), or reject it, which puts the frames back as they were.
Everything Claude generates while it holds a task is tagged with the task. History (on the Settings page) has a Task column, and the task's page lists what was done and what it cost.
The web app never queues what it can do itself. Moving joints, editing a motion and creating an asset's record are free and happen at once. Only the drawing (which needs judgement or money) goes to Claude.
Recipe: write a task#
In the web app, open an asset, stop playback on the frame that's wrong, and click New task. The form starts with that asset, animation, direction and frame. Or click New task on Work → Queue.
- Kind:
edit(change frames),regenerate(redo an animation or a direction),animate(add an animation: type its new name),variations(options to pick from),pose(joints or a motion changed: redraw),reference(cut something out of a reference or a mockup, and draw variations, a turnaround or poses from it: see Reference images),brief(a new asset) ornote(anything else). - Scope: which animation, directions and frames the task covers. Leave them empty for all of them.
- Instructions: what to change and how it should look. Claude never rewrites these. It answers in the task's thread.
- References: drop in a concept, an earlier design or a screenshot. They're saved in the task's
refs/folder. - Claude may:
auto(generate, normalise and QA, then leave it for review),candidates(stop at a pick for you), orplan(spend nothing: write a plan and an estimate first). The project default istasks.defaultModeinatelier.json, which starts asauto. - Spend at most: a cap for this task alone. A paid call that would go over it is refused, and Claude asks you instead.
- After: tasks that must be finished first.
Click Queue it, or Save as draft to queue it later.
Request changes counts too. If you answer a review with Request changes after the conversation that asked for it has stopped waiting, your notes become a queued edit task, so the next run picks them up.
Recipe: show what you mean on the frames#
Words are slow for "this bit, here". The asset viewer has markup tools next to Place, Pan and Zoom:
| Tool | Key | Does |
|---|---|---|
| Pin | P | A numbered note on one spot |
| Box | R | A numbered box round an area |
| Arrow | D | A freehand line, with an arrowhead if ticked ("tilt it this way") |
| Mask | M | Paint what may change. Everything else is kept |
| Paint | B | Paint roughly what you want: the colours and shapes, not the finish |
| Pick | I | Pick a paint colour from the frame |
- Open the asset, pick the frame, and mark it. Each pin, box or arrow gets a number and a note field: type the note and press Enter (or Esc) to get the tool keys back.
- Move to other frames and directions and mark those too. Click a number in the list to jump back to its frame.
- Under New task, check the scope (it starts as the frames you marked), write the instructions, and click Queue it.
To add marks to a task you already wrote, click Mark up on the asset on its page, then Save to the task.
On a reference or a mockup, the panel also has Cut out: the boxes (or the mask) become a new reference straight away, for free. The New task there is a reference task.
Masks and paint-overs go on raw frames, because raw frames are what edit_image changes. Picking Mask or Paint switches the viewer to raw. Each task has one mask and one paint-over, each on one frame. Painting on another frame moves it there, after asking.
- Mask tools: brush size, Erase (E, or hold Alt), Whole sprite, Invert, All, Clear, and the overlay's opacity.
- Paint tools: the style guide's palette as swatches, a colour picker, Pick (I), and the layer's opacity. Pixel art paints whole pixels.
- Onion skin shows the frames before and after while you paint, so the change can match its neighbours.
Check what Claude will see. On the task's page, Preview what Claude sees shows exactly what task_get gives Claude: the scope's frames, each marked frame with its numbered marks, the mask over its frame, the paint-over beside and over its frame, and the references.
With a paint-over, Claude uses edit_image { paintover }: the paint is laid over the frame, its area (grown a few pixels) becomes the mask, and the provider redraws that area cleanly in the sprite's style. OpenAI and Ludo can do this; PixelLab can't. Paint-overs are experimental.
Recipe: change joints or a motion#
On a character's page, click Edit joints. This is the skeleton editor from Skeletons, opened by you rather than by Claude:
- Drag the joints, try a motion with Play on this pose, and click Save joints. The joints change straight away and cost nothing.
- Frames drawn from the old joints don't move by themselves. The page lists them and offers Queue the redraw: one
posetask per animation, for Claude to redraw withanimate_from_skeleton.
Below the editor, the motion keyframes strip edits one of the skeleton's motions:
- Each cell is one frame of the motion, played on the pose above. ◆ marks a key, and ticks mark foot contacts.
- Click a frame, then move a bone's slider. At a key it changes that key; between keys it adds one.
- remove this key, add a bone… for a bone the motion doesn't move yet, and frames, fps, mode and the ground lock.
- Play on this pose plays the edited motion before you save it.
- Save motion changes the skeleton for every character that uses it, then lists the animations drawn from it and offers to queue their redraw.
- Copy as new starts a new motion from this one.
Recipe: describe a new asset#
On the Production page, click New asset:
- id, kind and description: what it is and what it looks like.
- Canvas: the sizes your other assets use are offered first ("32×32 like hero"), then common sizes.
- Directions and mirroring: as
asset_createtakes them. - Animations wanted: each with a name, frames and fps, and either the beats in words or a skeleton motion to draw it from.
- References: pick from your reference images (all of one, or single images); they stay on the asset, so later generations use them too. Or add image files: tick style on an image of the look rather than the subject. Style references go to
art/style/refs/, the rest to the task.
Create and queue makes the asset record straight away (free) and queues a brief task to draw it. Claude generates the still with your references, then each animation.
Recipe: run the queue#
On Work → Queue, drag the tasks into the order you want, tick some (or none, for all of them), type a budget and click Copy prompt. Paste it into a conversation with Atelier connected:
Using Atelier, complete the queued tasks within a budget of $<2>.
Clients that list MCP prompts also offer complete-queued-tasks, with budgetUsd, assetId, limit and tasks.
Claude then:
- Plans with
task_list: the queue in your order, with an estimate each, and which tasks fit the budget. Tasks waiting on another task are skipped. - Works through each task:
task_claim,task_get(which shows Claude the frames, references and anything drawn on them), the normal tools, then normalise, QA andtask_complete. It submits every task's provider jobs before collecting them, so slow providers overlap. - Reports what's waiting for your review, what's blocked and why, and what was spent.
Claude doesn't stop to ask you anything mid-run. A question blocks that task and Claude moves on.
Without a conversation: Run the queue now#
Run the queue now on Work → Queue starts the same run with no conversation open: Claude Code runs headless in the game project (claude -p), with only Atelier's tools allowed and the same protocol, within the budget you type there (default work.budgetUsd, $2). Its progress shows on the card as it goes: each tool it calls, errors, and its report at the end. Stop ends it; what it finished stays done.
From a terminal, atelier work --budget 3 does the same and prints the progress. To run the queue every night, set Run the queue daily at on the Settings page (e.g. 02:30; it applies to this machine only): while the web app is running, a run starts at that time if anything is queued.
It needs Claude Code installed and signed in (SETUP). It uses this install of Atelier and your own Claude Code settings, never the game's .mcp.json or .claude/ settings. Claude Code's use is billed to your Claude account; Atelier's budget caps the provider spend. Unattended runs never wait on a human step: they block the task with a question instead.
Recipe: review the results#
Finished tasks show up under Waiting for you, on Home and in Work. A task's page shows Claude's summary, what it spent, any pick it left for you, and the frames before and after:
- Slider: drag across the frame. Before is left of the line, after is right of it.
- Onion: before laid faintly over after.
- Side by side.
It plays through the frames (pause it to step through them), and shows QA as it is now for the task's animation.
- Accept closes it, then offers to keep the fix as a standing note, so it holds next time: pre-filled with your instructions, or Claude's summary if you prefer its words, on the asset or the whole style guide. It goes into every prompt for it from then on (page 1). No thanks hides the offer.
- Reopen with note: write what still needs changing in the thread box first. The task goes back in the queue with your note, and the next run picks it up.
- Reopen with markup: opens the asset with the task's marks. Mark what's still wrong, write the note, and click Reopen with this markup.
- Reject: puts the scope back as it was when Claude started, one
asset_revertper baseline generation, and cancels the task. Parts with no generation behind them (imported or hand-made frames) and animations the task added are left as they are, and the page says so. - A blocked task shows Claude's question (or its plan, in
planmode) at the top. Write your answer and click Answer and queue.
Recipe: reuse instructions with a template#
Instructions you write again and again ("our walk: 8 frames, contacts on 1 and 5, arms swing opposite") can be a template:
- Save one from New task's form (Save as template: the kind, instructions, scope without the asset, and policy), from New asset's animations (Save these as a template), or from a recipe's form (Save inputs as a template). Or ask: "save our walk as a template: 8 frames, contacts on 1 and 5".
- Use one with From a template at the top of New task, beside New asset's animations, or Inputs from a template in a recipe's form (only that recipe's templates). A template fills what you haven't; its instructions come before yours.
- Claude can too:
task_create { template },template_list,template_save.
Templates are files in art/templates/<id>.json, checked in with the game like tasks.
Pointing, both ways#
Claude can ask you to point at something, and show you what it means:
Ask me which frames of the
herowalk look wrong.
human_annotate opens the asset with Pin, Box and Arrow and Claude's question. Mark what you mean, add notes, and click Send to Claude: Claude gets the marks drawn on their frames.
Show me where the
herowalk has problems.
annotate_frames draws numbered marks on frames. The pictures go in Claude's reply, and a page in the web app shows the marks over the frames with Claude's message. Close it with Got it, with a note if you like. With fromQa: true it marks what qa_report found: a box round each stray speck, and round the sprite where a part has a warning.
Estimates and budgets#
Every estimate is labelled as one. It's the median of recent spend for the same kind of job and provider, per direction, times the directions the task covers. With no history, it uses list prices: OpenAI's per-image prices, Replicate's and Ludo's published credits. Without either it says "unknown". A plan task is free. A brief counts the still, its rotations and each animation it asks for.
Three budgets apply to a queue run, on top of the per-session ones in Jobs and costs:
| Budget | Set by | Holds |
|---|---|---|
| The run's budget | the prompt (budgetUsd) |
for that run. task_claim refuses a task whose estimate won't fit, and paid calls stop at the budget |
policy.maxUsd |
the task's "spend at most" | for that task |
budgets.perDayUsd, perDayUnits |
atelier.json |
for the calendar day, across restarts |
Set Atelier's daily budget to $<5> and <200> Ludo credits.
Files#
art/tasks/<id>/task.json the task: what you asked, your marks, the thread, the result
art/tasks/<id>/refs/ references you dropped in
art/tasks/<id>/mask.png the area that may change, on a raw frame: white = change
art/tasks/<id>/paintover.png your rough paint, the size of its raw frame
art/style/refs/ style references from New asset
art/.atelier/snapshots/<id>/ the frames when Claude claimed it, for before/after (not checked in)
task.json has a rev that goes up on every write. If the web app and Claude both change a task at once, the second write is refused and the page asks you to reload, so nothing is overwritten.
Next: Reference images.
Found a mistake? Edit this page on GitHub.