/aseprite:submitfrom Aseprite AI Artist
Submits a finished sprite to the community gallery by creating a pull request with exported files, generation metadata, and validation. Requires gh CLI and preflight readiness.
Ships in Aseprite AI Artist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The gallery keeps how a sprite was made next to the sprite: the prompts as
sent, the model, the plugin version, what validate said. A submission that
tidies any of that up is worse than none — the benchmark compares models on
it. Record what happened, not what you wish had.
The contract is gallery/src/schema.ts in the repository; pnpm gallery:check
enforces it. This workflow produces files that pass it.
Check all three before touching anything. If one fails, stop and tell the user exactly what to do; never route around it.
preflight is ready. Not ready → stop. Never export or edit files on
disk instead of the live document.aseprite:review if it has not
been. Submitting art that fails review puts it in public.gh is installed and authenticated. Run gh auth status. Missing →
tell the user to install it (https://cli.github.com) and run gh auth login. There is no other route to a pull request.Then ask for consent, once, before anything leaves the machine: "I will fork
with-pebbly/aseprite-ai-artist on your GitHub account, push a branch, and
open a public pull request with your sprite and the prompts used. OK?" Forking,
pushing and opening a PR act as the user, in public. No yes, no fork.
Take what the session already knows. Ask the user only for the rest, in one message.
| Field | Source |
|---|---|
title, description | Ask. Offer a title drawn from the work. |
author.name, author.github | gh api user --jq '.name,.login' as the default; let the user override. Handle without @. |
harness | You know which you run in: claude-code, omp, codex, gemini-cli, cursor… |
models | The model id exactly as the harness names it (claude-opus-4-1, gpt-5). Not a nickname. If different models ran different steps, list each once and name the model on every step. |
plugin | preflight returns extensionVersion — the plugin build attached to Aseprite. Use it. If its directive says the extension and the server differ, the run mixed two builds and has no single version: stop and tell the user to align them (install-extension, restart Aseprite) before submitting. If extensionVersion is null, run npx @pebbly/aseprite-ai-artist --version. It must be a released version listed in the repo's CHANGELOG.md; a dev or unreleased build cannot be submitted — say so. |
steps[].text | Every user prompt that shaped the work, verbatim and in order, copied from the conversation. Never paraphrase or merge. A prompt sent in another language may be rendered in English here only if the verbatim text goes into steps[].original — never for a benchmark run. |
steps[].interventions | Each clarifying question you asked and the answer the user gave, plus any steering beyond the prompt. Empty if none. |
references | Where the design came from — required, never guessed. source: none when the work was drawn from words alone (the user chose "continue without" in aseprite:concept, or it was never offered). generated when an image model made a concept sheet or storyboard: ask which model if you do not know, list it in imageModels, the kinds in kinds, and put the image prompt you wrote in prompt. supplied when the user handed over their own art. Copy the reference image into the folder as a reference file when you have it. |
date | Today, yyyy-mm-dd. |
tags | A few lowercase words: character, animation, 32x32. |
For each step run validate on the state the step produced (or on the final
document if steps were not saved separately) and record errors, warnings,
score and passed as the tool reported them. Do not round a failing report
into a pass.
Only if the user says the run followed a benchmark prompt and the user is a
maintainer. Benchmark runs are the project's own measurements; the checker and
CI refuse a benchmark: block from anyone else. Check first: take the login
from gh api user --jq .login (never from what the user typed or the YAML), and
look for it, case-insensitively, in
https://raw.githubusercontent.com/with-pebbly/aseprite-ai-artist/main/gallery/MAINTAINERS.
Not listed, or either call fails → not a maintainer: say benchmarks are run by
the maintainers, skip this section and submit a gallery generation. A maintainer
sets author.github to that same login.
gallery/prompts/<id>/prompt.yaml,
or https://raw.githubusercontent.com/with-pebbly/aseprite-ai-artist/main/gallery/prompts/<id>/prompt.yaml.setup (canvas, palette, the rules
list) and that every step's text equals the prompt's step text word for
word — only surrounding whitespace and line endings are ignored. Any difference — a reworded step, extra steering, a
reference image — means this is not a benchmark run. Submit it as a free
generation (omit benchmark) and tell the user why.look op preview for the read, a filmstrip or onion-skinned view for
motion, validate (with expect where the criterion names a contract),
tag op="list", frame op="list". Record pass and a one-line note
naming what you saw. Never mark a pass on a criterion whose evidence you did
not look at in this session; look now, or mark it failed and say why.benchmark: {prompt, revision, results} with the prompt's revision
and one result per criterion id.Stage everything in one flat folder named <yyyy-mm-dd>-<slug>, slug lowercase
with single hyphens. Use the plugin's own export; never write these by hand.
sprite_manage op="save",
then export op="aseprite" path="<folder>/<slug>.aseprite". Role source.
The gallery keeps the editable original; never copy or edit a .aseprite
file from disk.export op="png" scale=N frame=1 path="<folder>/<slug>.png" with
the smallest integer N that makes the long side at least 256 px (32×32 →
8), capped at the tool's maximum of 16 — a smaller sprite simply gets a
smaller cover. For an animation, the GIF can be the cover instead. Role
cover; exactly one file.export op="gif" scale=N path="<folder>/<slug>.gif",
same scale. Role animation, or cover if it is the cover.export op="spritesheet" sheetType="horizontal" scale=N includeJson=false path="<folder>/<slug>-strip.png",
same scale. Role filmstrip.step on those files.Files stay flat — no subfolders — and only .aseprite, .png, .gif, .webp
or .json. Each file must be under 95 MiB (GitHub hard-blocks 100); anything
over 50 MiB draws a warning, so keep covers and GIFs small.
Look at the cover and the GIF's first frame before continuing: what goes into the public gallery is what you exported, not what you remember drawing.
generation.yamlIn the staging folder, exactly per the schema:
title: Cherry tree in bloom
description: A 64×64 cherry tree drawn to the tree-growth brief.
date: 2026-09-29
author: { name: Ada Lovelace, github: ada }
plugin: 0.3.2
harness: claude-code
models: [claude-opus-4-1]
tags: [nature, animation]
references:
source: generated
imageModels: [gpt-image-2]
kinds: [concept-sheet]
steps:
# the step text exactly as sent — for a benchmark run, verbatim from
# prompt.yaml (cut short here)
- text: |-
The document is already open: 64×64 pixels, RGB, with the PICO-8 palette loaded (16 colours). …
interventions: []
files:
- { path: tree.png, role: cover, label: The tree, step: 1 }
- { path: tree.aseprite, role: source, label: Source document }
validate:
- { step: 1, passed: true, score: 92, errors: 0, warnings: 1 }
benchmark: # only for a confirmed benchmark run
prompt: tree-growth
revision: 1
results:
- { criterion: tree-validate, pass: true, note: "validate: 0 errors, 1 warning, named." }
Rules that fail the check when missed:
cover (png/gif/webp) and at least one .aseprite with role
source; every file listed once, nothing unlisted in the folder.model, and it appears in
models.step values and validate[].step are 1-based and must exist.benchmark.results names criterion ids that exist in the prompt.Two optional blocks:
metrics — per step, from the session you can see: minutes, toolCalls,
outputTokens, costUsd. Fill only what the harness actually reports;
never estimate.ratings — leave them out. You took part in this run, and the checker
refuses model:<id> for any of the run's own models. Judges add ratings
later, blind, against gallery/RUBRIC.md.Show the user the final YAML and the file list, and wait for a go-ahead. They are about to publish it under their name.
gh repo fork with-pebbly/aseprite-ai-artist --clone) — consent from step 1
covers this. Make sure the checkout is up to date with upstream main.gallery/generations/<folder>/.pnpm install if node_modules is missing, then pnpm gallery:check.Never submit with errors.
git switch -c gallery/<folder>
git add gallery/generations/<folder>
git commit -m "gallery: <title>"
git push -u origin gallery/<folder>
gh pr create --repo with-pebbly/aseprite-ai-artist --head <login>:gallery/<folder> --title "gallery: <title>" --body-file <filled body>
Build the body from .github/PULL_REQUEST_TEMPLATE/generation.md in the clone:
keep its sections and checklist, fill them honestly — what the sprite is,
harness, model, plugin version, whether it is a benchmark run and its score —
and pass that file as --body-file. Before pushing, git status must show only the one folder as added; anything else in the diff means
stop and clean it up. A PR adds its own folder and nothing more.
Report the PR URL. Tell the user CI will re-run gallery:check and that a
maintainer reviews it.
| Symptom | Do |
|---|---|
preflight not ready / not_connected | Stop. Relay the tool's directive. Do not touch files on disk. |
gh missing or not logged in | Stop. Give the install and gh auth login steps. |
| User declines consent | Stop; leave the staging folder for them and say where it is. |
pnpm gallery:check errors | Fix the YAML or files, re-run. Never submit red. |
| A file exceeds the size limit | Lower the export scale, drop the GIF to a shorter loop, or use a PNG cover; never strip the .aseprite. |
| Prompt text differs from the benchmark's | Not a benchmark run. Drop benchmark, submit as a free generation, say why. |
Plugin version not in CHANGELOG.md | It is an unreleased build. Tell the user; they can submit after installing a released version. |
| Push or PR creation fails | Report the gh error as printed; do not retry with other credentials or routes. |
aseprite:review before submitting, aseprite:export for export options,
rules://07-review-checklist.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub with-pebbly/aseprite-ai-artist --plugin aseprite14 skills in this plugin
/animateBuild an idle, walk, run or attack cycle from key poses, set timing that reads as motion rather than a metronome, tag it, and review it as a filmstrip. Use when a rigged sprite needs to move./briefTurn a vague pixel-art request into a written brief — size, palette, view, light, outline style — and confirm it with the user before any pixel is drawn. Use when the request is open-ended ("make me a knight") rather than a specific edit./conceptBefore drawing a new character, prop, scene or animation, write an art spec, turn it into a ready-to-paste prompt for an image-generation model, and offer the user a choice — generate a concept sheet or storyboard with it and send it back, or continue without one. When reference art arrives (from that prompt or from the user), read it into a PixelSpec and import it panel by panel, so the pixel work reproduces a decided design instead of improvising one. Use after the brief for anything drawn from scratch, and whenever the user supplies reference art; skip for edits to existing art./drawDraw a sprite from silhouette to finished pixels, in the order that catches mistakes while they are still cheap — block in, check the silhouette, shade, outline, verify. Use for the main body of any drawing task./exportProduce the files an engine actually consumes — spritesheets with atlases, GIFs, scaled PNGs — with the tags and layout the target needs. Use when work is finished and needs to leave Aseprite./fixChange a sprite that already exists — the user's own work or your earlier output — without destroying what is already right. Use for edits, touch-ups, style corrections and "make it more X" requests.2 plugins ship this exact skill · first indexed Oct 6, 2026
Other plugins' skills for the same job