/game-assets:art-asset-registryfrom game-assets
Maintains a JSONL ledger tracking generated 2D/3D assets: prompts, file hashes, lineage, approvals, and staleness. Useful for art pipelines where multiple generation tools produce files that need versioning and review.
Ships in game-assets. 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.
Every generation skill writes files, and none of them remembers which prompt, anchor, seed or
workflow made which file, or whether anyone looked at it. A hand-written manifest.md drifts the
same way in every project: rows for files that are gone, files no row names, rows still PENDING
after the spec locked, and nothing that notices an approved image being overwritten. The
ledger keeps the facts a script can know (paths, hashes, lineage, links, gates, status) and leaves
the prose to people. It treats 2D and 3D alike: a sprite sheet, a mesh with its raw original, a
rig with the .blend it came from, a clip, a QA sheet.
| The request or symptom | Read |
|---|---|
"Track generated assets": starting a ledger, recording after each generation (sha256 per file, each .blend version too), check and its fixes, moving a file, several writers at once | reference/workflow.md; Commands |
| "Which asset came from which prompt": lineage (parent, links to the art direction, a job or an evidence image), what a field means, the vocabularies, how an id is made, every check rule, the exit codes (0/2/3), the JSON output | reference/ledger-schema.md |
| "Which version is current", or setting a status as a person's act | Working contract; history ID, status ID approved in reference/workflow.md |
| "Stale after a style bump": what a newer upstream made stale, a change record and which evidence wins | stale in reference/workflow.md |
| "A manifest.md with PENDING rows": a hand-written manifest and no ledger, read once into records (dry run first, the manifest never edited); rows to paste back | reference/adopt.md; render |
| A producer's JSON output (a codex call, a frames sidecar, a Blender report) turned into records | reference/ingest.md |
A model with a territory limit, the Sales territory: line, the known licence sources and their territories | reference/licences.md |
| The flags of one command | scripts/registry.py <command> --help and the module docstrings |
The ledger is the truth;
manifest.mdis the story. Record, check the disk still matches, and let a person approve.
ArtDirection/assets.jsonl, one JSON record per line, appended and
never edited. A correction is a new revision; an id's current record is its last line.history ID names the current version and the previous good one.manifest.md is prose. Nothing here rewrites it: render prints rows to paste, and adopting
an existing manifest reads it without changing it.status ID approved follows a person looking at the asset where it
will be seen, never the end of a script, and names who and on what image (--approver,
--evidence). It refuses a failed verdict, a failing gate, a missing or changed file, output of
an unsaved Blender file, and a diagnostic run.mv). Changed bytes are a new revision, back to candidate. One file
belongs to one asset.params holds prompt_file and prompt_sha256, never the prompt
text, and server_label, never a URL. Purchased and third-party files carry source, license
and vendor: true, and stay out of git.licence: {source, id, territory}; ART_DIRECTION.md declares Sales territory:; check
fails an approved asset whose licence, or one up its parent and depends-on links, excludes
part of it, and only warns while the territory is undecided.| Command | Does | Exit |
|---|---|---|
init | creates the empty ledger; warns when git ignores it | 0 · 3 |
record | appends a record built from a partial record (--json FILE or stdin) and flags (--art-version N, --link REL=TO); hashes every file and the .blend named in file; refuses a schema break, an unknown parent or link, a cycle, a file another id holds | 0 · 2 refused · 3 bad input |
check [--strict] | every rule, a licence that excludes part of the declared sales territory among them, then orphans under ArtDirection/ | 0 · 2 · 3 |
stale [--art-version N] [--at NS:KEY=N] | current candidate and approved records with a link behind: an upstream asset with newer bytes, or an outside version given here; writes nothing | 0 · 3 |
status ID STATE | the status change as a new revision; approved refuses what check would fail; superseded --by ID refuses an unknown, dead or circular successor | 0 · 2 · 3 |
history ID | every revision, with the current version and the previous good one marked | 0 · 3 |
mv ID NEWPATH | the same id at its new path, hashed again | 0 · 2 · 3 |
render | Markdown rows for manifest.md, printed only | 0 · 3 |
adopt --dry-run [--out FILE] · adopt --write | reads manifest.md (never written) once into records; prints counts and line numbers only; the dry run never opens the ledger | 0 · 2 nothing written · 3 |
ingest [--json FILE] [--write] | a producer's JSON output — anything with a record key (the Blender reports), frames.json, a codex call — as a partial record, printed; --write hands it to record | 0 · 2 · 3 |
selftest | every case in a temporary directory, 100 concurrent appends among them | 0 · 2 |
Every command takes --root DIR and --ledger PATH (or ART_LEDGER). record and ingest read
their input from --json FILE (or stdin); every other command takes --json to print one JSON
object. Exit codes follow unity-debug's merge_results.py: 0 green, 2 failed or refused, 3
harness. scripts/registry_ledger.py is the library (load, last_by_id, current_version,
content_rev, append, validate, sha256_file, slugify) the other scripts import.
The courier run: Runner has a locked anchor, a run sheet, a hammer prop Mallet and a
GateLatchSwing clip.
registry.py init creates ArtDirection/assets.jsonl. Git ignores
ArtDirection/raw/ and the purchased ArtDirection/vendor/, not the ledger.codex-visual writes ArtDirection/sheets/runner_run.png from the anchor.
record --kind sheet --source generated --art-version 2, with the call's gates, its prompt file
and hash, and the anchor as parent: id artdirection/sheets/runner-run, rev 1, candidate,
linked made-under art:direction rev 2.kind qa-sheet). At game scale the
run reads right: status artdirection/sheets/runner-run approved --approver lead --evidence artdirection/qa/runner-run. Overwriting it later fails check with
changed-after-approval until the new bytes are recorded or put back.comfyui-asset-generation turns the Mallet turnaround
into Assets/Models/HeroProp/Mallet/Mallet.glb (shipped, listed first) and a raw original
under ArtDirection/raw/3d/Mallet/ (role source), the turnaround as parent and as a
depends-on link. A raw shape-decode export made only to see where sheets come from is
recorded --status diagnostic: kept, never approved.GateLatchSwing report from blender-retarget carries a record key;
ingest --kind clip --file …@GateLatchSwing.fbx --write records it with its gates and the
.blend's state and sha256. The .blend was unsaved, so approval refuses with dirty-file;
saved, exported and ingested again, it is approved.stale lists the
mallet, whose depends-on link still says rev 1. ART_DIRECTION.md goes to Version 3:
stale --art-version 3 lists everything made under 2. Each is regenerated, carried forward
(recorded again with --art-version 3, then approved) or rejected, with a change record.render prints one row per asset; the user pastes the new ones under its own
table.rev-gap means someone
edited the ledger, and the fix is the ledger from git, not new numbers.local-only, no-hash, moved-on, torn-line and orphans
pass check; read them anyway.registry_ledger, calls
validate, then append(..., assign_rev=True), so its revisions are numbered inside the lock.| Not here | Go to |
|---|---|
| Generating 2D art, sheets, turnarounds and QA sheets; the art bible itself | codex-visual |
| Generating meshes and textures through ComfyUI | comfyui-asset-generation |
| Rigging a humanoid; skinning and the game mesh in Blender | character-autorig (default) · blender-character-rig (hand-built fallback, game mesh) |
| Retargeting clips onto a rig in Blender | blender-retarget |
| Which stage of a character comes next, and its gate | game-character-pipeline |
| Which packs may be bought, and the reading of a licence's terms | The project's own policy; the ledger records source, license and licence, keeps vendor files out of git, and holds what reference/licences.md lists against the declared territory |
Outputs here are engine-neutral files; the engine plugin today is unity-dev:
unity-3d-modelsreference/adopt.md (opens in a new tab)reference/ingest.md (opens in a new tab)reference/ledger-schema.md (opens in a new tab)reference/licences.md (opens in a new tab)reference/workflow.md (opens in a new tab)scripts/fixtures/make_tree.py (opens in a new tab)scripts/fixtures/manifest_courier.md (opens in a new tab)scripts/fixtures/negative/bad_cjk_owner/ArtDirection/調色盤/信差.hex (opens in a new tab)scripts/fixtures/negative/bad_cjk_owner/EXPECT (opens in a new tab)scripts/fixtures/negative/bad_cjk_owner/bad_cjk_owner.jsonl (opens in a new tab)scripts/fixtures/negative/bad_cycle/ArtDirection/palettes/gate.hex (opens in a new tab)scripts/fixtures/negative/bad_cycle/ArtDirection/palettes/latch.hex (opens in a new tab)scripts/fixtures/negative/bad_cycle/ArtDirection/palettes/pickup.hex (opens in a new tab)scripts/fixtures/negative/bad_cycle/ArtDirection/palettes/sentry.hex (opens in a new tab)scripts/fixtures/negative/bad_cycle/EXPECT (opens in a new tab)scripts/fixtures/negative/bad_cycle/bad_cycle.jsonl (opens in a new tab)scripts/fixtures/negative/bad_gap/ArtDirection/palettes/courier.hex (opens in a new tab)scripts/fixtures/negative/bad_gap/EXPECT (opens in a new tab)scripts/fixtures/negative/bad_gap/bad_gap.jsonl (opens in a new tab)scripts/fixtures/negative/bad_hash/ArtDirection/palettes/courier.hex (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
asset-tracking, ledger, art-pipeline, versioning, generation-tracking
10 skills in this plugin
/blender-character-rigHand-built Blender rig, fallback to the default character-autorig: mascot bodies, pack-skeleton fit./blender-retargetPut stock or purchased clips on a rigged character in Blender: retarget, clip library, weight repair./character-autorigRig a humanoid with a licensed Auto-Rig Pro in one command: its AI plus mesh markers, gates.Other plugins' skills for the same job
/codex-visualGenerate 2D art in one locked style: sprites, icons, pixel-art tilesets, sheets, breathing idles.npx claudepluginhub tipoli5890/game-studio --plugin game-assets