/praxinoscope:praxinoscopefrom praxinoscope
Bulk-generates consistent game art using Codex's image tool with style packs, manifests, overnight batches, contact sheets, and review pages. For characters, expressions, backgrounds, props, tiles, sprites, and CGs.
Ships in praxinoscope. 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.
Read when SKILL.md points to them; scripts run unread.
Codex as an image generator: a game's art drawn in bulk, in one consistent style. The agent writes the style pack and the manifest, runs the batches and looks at the results; the person decides at a few gates. Talk to the person in their language.
The core in one line: in a set of assets, what stays fixed and what changes. Every reference picture means "take these things from that picture, change the rest". The manifest writes both down; prompts, checks and fixes all come from there.
Run the script, don't read it: python3 scripts/prax.py with no arguments prints every command and its options. Read a reference only when this table sends you there:
| When | Read |
|---|---|
| The person names a game, an artist or a look instead of giving pictures | references/gathering.md |
| Exploring (looks × subjects, matrix, narrow), reversing a style pack, filling | references/flows.md |
Writing style.md or assets.json past the minimum below: spec, bake options, seq, look, redraws, stale | references/files.md |
| Running a batch, reviewing on the page, sheets and scenes, Codex's sizes and limits | references/running.md |
| Frame sequences, bake, pixel art, motion made in code | references/bake-sequences-motion.md |
| Atlases for an engine | references/export.md |
| 3D: a model from a picture (lift), sprites from a model (turn), light | references/3d.md |
| You are Codex | references/codex.md |
| Writing a subject or kind; something drifted, came out wrong or was blocked | references/lessons.md |
Read the project: the art folders, how many pictures and what sizes, whether there is a style.md / assets.json, what the design docs say about art. Then confirm with the person in one sentence: "I think you are at this step." In the same message ask what you can't read from the project: the display size (screen resolution, and how big a character, a prop, an icon is on screen). Write the answer into style.md and as bake: lines straight away. If you must assume it, say so and bake to the assumption.
| The project | Start at |
|---|---|
| No art, no idea of the style | Explore |
| A few pictures or references they like | Explore, narrowing from those |
| Only a name: "like game X" | Gather references, then reverse a style pack |
| A body of art, but the style is not written down | Reverse the style pack, then fill |
| A style pack already | Fill |
| Only a pose, expression, frame or one change | Write the variants directly |
The agent cannot tell whether something "belongs to this family" (doomer test: the drummer was drawn correctly, and the person saw at once it was "not this series"). At a gate, stop: start serve in the background, end your turn with the question, and let the person decide on the page (or show contact sheets and preview shots). If your session waits for its background jobs before the turn can end (headless claude -p), a plain serve hangs it: give --minutes 60, or skip serve, show the sheets and give the person the command.
When the person asks straight away for a trial batch ("draw a few to try"), don't stop to ask first. Before the first run, in one message, state the entry point, the references (none: say the look is the model's first picture, and offer to explore at gate 3), the assumed display size and the viewpoint you chose; then draw the pilot. At gate 3 put the references sheet next to the pilot and the baked pictures, and let the person confirm or overturn every assumption there.
Between gates the agent runs on its own: draw, check, compare against the style pack, redraw what is plainly broken. If the person says "it's all yours", gates can be skipped, but note which ones and have them looked at afterwards.
Every "no" from the person becomes a rule in that project's style pack: write it into style.md with a reason, bump the version, redraw, and show old and new side by side. A rule about one game's taste stays in that game's style.md; it does not belong in this skill.
{"from": "anchor"} with no keep; the prompt says "draw it the same way, but draw nothing that is in it". Pick references unlike the subject (a four-legged reference for a four-legged beast leaks its content).keep the construction of the base face, change hair, accessories, expression, clothes. Used only as a style reference it draws a new face.When reversing, decide which one it is and say so at the top of style.md.
| Relation | keep | change |
|---|---|---|
| Style reference | (nothing: the way it is drawn) | the subject |
| Face template | the base face's construction | hair, accessories, expression, clothes |
| Pose | face, clothes, proportions, details | the pose; the silhouette clearly different |
| Expression | everything but the face, incl. place and size | the face; add "same": "silhouette" |
| Change one thing | everything but X | X; restate the whole subject in the prompt |
| Time of day | composition, where everything is | light and sky |
| Frame sequence | the still parts, line for line | the moving parts, one sentence per frame |
| CG | each character's identity, the place's look | composition, action |
keep and say again what it is; "as before" is not enough.role saying what it is for ("only for how big the face is").One folder per project (inside the game's repo, e.g. art/prax/): style.md (the style pack), assets.json (the manifest), anchors/ (anchor pictures, references from the person); the scripts write out/<id>.png with out/<id>.json (its exact prompt), baked/, export/, log.tsv, review.tsv and _rejected/<id>.<reason>.png. Full layout and formats: references/files.md.
style.md: sections are ## name; the script reads only ## style, ## setting, ## kind: X (with spec: and bake: lines) and ## look: X. Start the file with: version, which kind of consistency, where it is seen (display size, background), and each change with its reason.
## style
The style paragraph every prompt carries (English; concrete: line width, palette, "never").
## kind: sprite
spec: {"ar": "2:3", "alpha": true, "touch": ["bottom"]}
bake: {"h": 600}
The frame for this kind: aspect, composition, transparent background … {setting}
The model reads only the text. spec is never sent: state the format in the kind's words too ("Portrait format 3:4, taller than wide").
assets.json:
[
{"id": "girl", "kind": "sprite", "subject": "the heroine: short black bob, choker, black t-shirt …",
"refs": [{"from": "anchors/doomergirl.png", "role": "the character", "keep": "her face, hair, choker", "change": "crop widened to the waist"}]},
{"id": "girl.cry", "kind": "sprite", "subject": "the heroine, crying quietly …",
"refs": [{"from": "girl", "role": "the sprite to copy", "keep": "the whole sprite line for line: pose, clothes, size and place", "change": "only the face", "same": "silhouette"}]}
]
from is another entry's id (it waits until that one is drawn) or a path in the project. Ids are dotted (girl.cry, bg.gate.night) so sheets and the page group them by prefix.
The script is this skill's scripts/prax.py.
python3 prax.py run PROJECT --par 2 --wait 1800 # draw everything not drawn yet; --only a,b for just those
python3 prax.py run PROJECT --stale 1 # move stale pictures to _rejected/<id>.stale.png and redraw
python3 prax.py status PROJECT # drawn, blocked, stale, manifest mistakes
python3 prax.py serve PROJECT [--minutes 60] # the asset library at http://127.0.0.1:8765: keep / reject / accept
python3 prax.py take PROJECT ID [PICTURE] # Codex drawing in its own session: the prompt, then file the picture
python3 prax.py describe PROJECT refs/a.png refs/b.png --ask "…" # Codex looks and writes, draws nothing
uv run --with pillow prax.py ref PROJECT URL NAME --note "…" # one reference from the web, source recorded
uv run --with pillow prax.py cut PROJECT IMAGE --grid 6x4 --box x0,y0,x1,y1 --inset 0.03
python3 prax.py lint PROJECT # manifest only: missing refs, duplicates, cycles, unknown kind, roles
uv run --with pillow prax.py check PROJECT # aspect, transparency, edges, tile seams, silhouette drift
uv run --with pillow prax.py sheet PROJECT out.png anchors/a.png / girl girl.cry girl.smile --h 300
uv run --with pillow prax.py scene PROJECT shot.png --fill bg.room-night --put girl:640:720:600 --say "Her|…"
uv run --with pillow prax.py bake PROJECT # game-size pictures per the bake: lines; --only, --force 1
uv run --with pillow prax.py motion PROJECT girl girl.idle --bob 0.03 --frames 6 # frames made in code
uv run --with pillow prax.py motion PROJECT girl.walk girl.walk.red --swap ff2d95:c8102e # recolour, exact hex
uv run --with pillow prax.py export PROJECT --max 2048 --pad 2 --godot 1 # atlas pages + JSON for the engine
python3 prax.py explore PROJECT --kind probe --subject hero="…" --subject coin="…" # every look x subject
uv run --with pillow prax.py matrix PROJECT matrix.png --h 240 # looks x subjects, labelled, gaps kept
python3 prax.py narrow PROJECT woodblock ../pack # picked look(s) -> a new style pack's start
python3 prax.py turn PROJECT models/fox.glb fox --kind fox --views 8 --angle 30 --action Walk --fps 12 # Blender, not Codex
uv run --with pillow prax.py lift PROJECT chest # out/chest.png -> models/chest.glb on fal.ai (FAL_KEY); --resume REQUEST_ID
To redraw one: move it to _rejected/<id>.<reason>.png, change subject or style.md, run. After changing the style pack or the manifest, status lists what is stale and run --stale 1 redraws it.
check, a sheet per family, scene for a few typical frames._rejected/ with a reason and redraw.style.md or the project notes: what drifted and how it was fixed.serve (or show sheets and previews) and wait for the person.After a review, read the new lines in review.tsv: for each reject, decide whether it is about that picture (change its subject) or the whole kind (a rule in style.md, version bumped), then run.
references/3d.md (opens in a new tab)references/bake-sequences-motion.md (opens in a new tab)references/codex.md (opens in a new tab)references/export.md (opens in a new tab)references/files.md (opens in a new tab)references/flows.md (opens in a new tab)references/gathering.md (opens in a new tab)references/lessons.md (opens in a new tab)references/running.md (opens in a new tab)scripts/page.html (opens in a new tab)scripts/prax.py (opens in a new tab)scripts/test_prax.py (opens in a new tab)scripts/turn.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dozentwelve/praxinoscope --plugin praxinoscopeOther plugins' skills for the same job