Claude Skill

rigc-ingest

Work with a Spine skeleton.json somebody else authored — exported from the Spine editor or another tool — using rigc. Read and validate it, understand a complaint rigc raised about it, decompile it into rigc specs with `rigc ingest`, normalise, re-pivot or rename it, and extend i

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download rig-c-core-skills_rigc-ingest-844d2a1.zip · 2 KB
Part of rig-c/core — 5 skills

Install

skills CLI npx skills add https://github.com/rig-c/core/tree/main/skills/rigc-ingest
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install rig-c-core@llmmart
Git git clone https://github.com/rig-c/core.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole rig-c/core collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Ingest — a skeleton you did not author

Load this when what you were handed is already a skeleton: a skeleton.json with its .atlas and page images, and a request to understand it, answer a complaint about it, re-express it, or extend it. Every rule below is owned by INGEST.md; this file says when to open it and what it will not do for you.

📖 A failure line ends with the command that prints its row of the guide — (see rigc guide <RULE>). Run that command first, before reading anything else: it prints that rule's row of the shipped guide and nothing else. rigc guide §<n> (and §<n>.<m>, §<n>.<m>.<k>) prints the section's heading, own prose and subsection index from docs/AUTHORING.md; add --all to include subsection bodies. A leaf prints its full text either way. Sizes describe full ledger spans; --all with a rule name is refused, exit 2. A compile error points at its stable CE_ code row. rigc guide §5.1.<k> prints a numbered compile-error group of at most 30,000 UTF-8 bytes, and rigc guide §5.1 prints the introduction and index within that same limit; only legacy uncoded library errors point at §5.1.

Non-negotiables

  • Validation is never bypassed. validate reads a foreign file as it is, and build writes nothing on a red gate — AUTHORING §0.
  • The compiler never invents a value, and neither does the decompiler. The specs state every bone, slot and key; what the export left implicit is written down before it compiles. rigc ingest obeys the same rule from the other side — what it cannot read out of the skeleton is a named finding, never a guess — INGEST §2.0 and §2.
  • The validator's messages are the instructions. A red line on an export is a fact about the file, and sometimes about the rule — INGEST §3 says which, and AUTHORING §5 names the file to change.

Start here: rigc ingest

rigc ingest hero.json --out specs/
rigc build --rig specs/rig.json --motion specs/motion.json --images parts/ --out build/

It reads the skeleton — only the skeleton — and writes the rig spec and motion spec that rebuild it: byte for byte for a skeleton rigc emitted, and for an editor export the weaker claim diff measures, with three kinds of benign difference left — INGEST §2.3. Two values it will not guess: the stage (a skeleton that declares none is carried as declaring none, and --stage adds a box to one — an editor export may be such a file, though every one in the example corpus carries a box, and passing the flag at a file that declares a box is refused rather than ignored) and each animation's duration (the largest key time, recorded as a finding). Read findings.json: a BLOCK line means the rebuild will be missing something and the command exits non-zero. Every code it can print — gutter, exit, meaning, what to do — is the finding-code table in INGEST §2.0. Keep the note both specs carry.

What this guide will not do

rigc still cannot edit a skeleton: there is no command that opens one and changes it, so every change is expressed in the specs — INGEST §0. diff's ratios say how much of a reference's structure a candidate reproduces, so extending or renaming a foreign skeleton lowers them by design, and neither validate nor diff has a pass bar — INGEST §0 and §4.

⚠️ This section said "there is no route from it to specs, so every change goes through transcription" until 2026-09-17. That route exists now and it is the first thing to reach for; transcription by hand is what you fall back on for a construct ingest reports as a blocker.

Read, in this order

  1. INGEST.md — what every command will and will not do with a foreign file (§0), ingest and transcription (§2), what each validator complaint means on an export (§3), and the re-pivot, rename and extend recipes (§4).
  2. AUTHORING.md — the two spec files the transcription targets (§3–§4), the failure map (§5–§6), and the coordinate contract (§11.2).
  3. Then RIGGING.md for why the re-pivot edit has the shape it has, and MOTION.md for the animation you are adding.

Every guide linked here is in the installed package at node_modules/rig-c/docs/, which is the copy that matches the rigc you run; the links go to the repository's main. Inside the Claude Code plugin the same files are at ${CLAUDE_PLUGIN_ROOT}/docs/.

The install line and the build → validate → render → check loop are in the rigc skill.

Files (core)
  • SKILL.md 5.3 KB
    ---
    name: rigc-ingest
    description: Work with a Spine skeleton.json somebody else authored — exported from the Spine editor or another tool — using rigc. Read and validate it, understand a complaint rigc raised about it, decompile it into rigc specs with `rigc ingest`, normalise, re-pivot or rename it, and extend it with an animation it does not have. Use when the input is an existing skeleton.json with its .atlas and page images rather than loose part PNGs. Not for Live2D file conversion or runtime tracking.
    license: MIT
    compatibility: Requires Bun 1.2 or later and the npm package rig-c.
    ---
    
    # Ingest — a skeleton you did not author
    
    Load this when what you were handed is **already a skeleton**: a `skeleton.json`
    with its `.atlas` and page images, and a request to understand it, answer a
    complaint about it, re-express it, or extend it. Every rule below is owned by
    [INGEST.md](https://github.com/rig-c/core/blob/main/docs/INGEST.md); this file says when to open it and what it will
    not do for you.
    
    📖 **A failure line ends with the command that prints its row of the guide** —
    ` (see rigc guide <RULE>)`. Run that command first, before reading anything else:
    it prints that rule's row of the shipped guide and nothing else. `rigc guide §<n>`
    (and `§<n>.<m>`, `§<n>.<m>.<k>`) prints the section's heading, own prose and
    subsection index from `docs/AUTHORING.md`; add `--all` to include subsection
    bodies. A leaf prints its full text either way. Sizes describe full ledger spans;
    `--all` with a rule name is refused, exit 2. A compile error points at its stable
    `CE_` code row. `rigc guide §5.1.<k>` prints a numbered compile-error group of
    at most 30,000 UTF-8 bytes, and `rigc guide §5.1` prints the introduction and
    index within that same limit; only legacy uncoded library errors point at `§5.1`.
    
    ## Non-negotiables
    
    - **Validation is never bypassed.** `validate` reads a foreign file as it is, and
      `build` writes nothing on a red gate — AUTHORING §0.
    - **The compiler never invents a value, and neither does the decompiler.** The
      specs state every bone, slot and key; what the export left implicit is written
      down before it compiles. `rigc ingest` obeys the same rule from the other side —
      what it cannot read out of the skeleton is a named **finding**, never a guess —
      INGEST §2.0 and §2.
    - **The validator's messages are the instructions.** A red line on an export is a
      fact about the file, and sometimes about the rule — INGEST §3 says which, and
      AUTHORING §5 names the file to change.
    
    ## Start here: `rigc ingest`
    
    ```bash
    rigc ingest hero.json --out specs/
    rigc build --rig specs/rig.json --motion specs/motion.json --images parts/ --out build/
    ```
    
    It reads the skeleton — **only** the skeleton — and writes the rig spec and motion
    spec that rebuild it: **byte for byte for a skeleton rigc emitted**, and for an editor
    export the weaker claim `diff` measures, with three kinds of benign difference left —
    INGEST §2.3. Two values it will not guess: the
    **stage** (a skeleton that declares none is carried as declaring none, and `--stage`
    adds a box to one — an editor export *may* be such a file, though every one in the
    example corpus carries a box, and passing the flag at a file that declares a box is
    refused rather than ignored) and each animation's **duration** (the largest key time,
    recorded as a finding).
    Read `findings.json`: a `BLOCK` line means the rebuild will be missing something and
    the command exits non-zero. Every code it can print — gutter, exit, meaning, what to
    do — is the finding-code table in INGEST §2.0. Keep the `note` both specs carry.
    
    ## What this guide will not do
    
    rigc still cannot **edit** a skeleton: there is no command that opens one and
    changes it, so every change is expressed in the specs — INGEST §0. `diff`'s ratios
    say how much of a reference's structure a candidate reproduces, so extending or
    renaming a foreign skeleton lowers them by design, and neither `validate` nor `diff`
    has a pass bar — INGEST §0 and §4.
    
    ⚠️ This section said *"there is no route from it to specs, so every change goes
    through transcription"* until 2026-09-17. That route exists now and it is the first
    thing to reach for; transcription by hand is what you fall back on for a construct
    `ingest` reports as a blocker.
    
    ## Read, in this order
    
    1. [INGEST.md](https://github.com/rig-c/core/blob/main/docs/INGEST.md) — what every command will and will not do with
       a foreign file (§0), `ingest` and transcription (§2), what each validator
       complaint means on an export (§3), and the re-pivot, rename and extend
       recipes (§4).
    2. [AUTHORING.md](https://github.com/rig-c/core/blob/main/docs/AUTHORING.md) — the two spec files the transcription
       targets (§3–§4), the failure map (§5–§6), and the coordinate contract (§11.2).
    3. Then [RIGGING.md](https://github.com/rig-c/core/blob/main/docs/RIGGING.md) for why the re-pivot edit has the shape
       it has, and [MOTION.md](https://github.com/rig-c/core/blob/main/docs/MOTION.md) for the animation you are adding.
    
    Every guide linked here is in the installed package at `node_modules/rig-c/docs/`,
    which is the copy that matches the rigc you run; the links go to the repository's
    `main`. Inside the Claude Code plugin the same files are at `${CLAUDE_PLUGIN_ROOT}/docs/`.
    
    The install line and the build → validate → render → check loop are in the `rigc`
    skill.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related