Skip to content

Rebuild the object in a reference image as a code-only, procedural, quality-gated, animation-ready Three.js model. Token-efficient image-to-3D.

docs(skill): document the img2 harness — install, diagnose, and resolve plugins

kokorolxc6d05cc377a2
diff --git a/SKILL.md b/SKILL.md
index 4883edf..caad344 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -380,6 +380,27 @@ infer the shape from the reference, as for any other object.
blocked run: it is the generic path, and the reconstruction proceeds by inference.
- This pipeline names no domain. If a rule is domain-specific, it lives in that domain's plugin.
+### The img2 harness
+
+Plugins are installed and managed by the `img2` harness
+([img2threejs/img2](https://github.com/img2threejs/img2)), a separate stdlib-only CLI. This skill
+never installs anything itself: when `state.py init` names a needed profile as unavailable, that is
+a missing plugin — name the `img2 add` command and stop, rather than vendoring domain logic.
+
+```bash
+img2 install # one-time: clone the harness, wire agent hosts
+img2 add img2threejs/plugin-<id> --ref <tag> # install a plugin at a tag (e.g. plugin-cs2)
+img2 list # installed plugins: id, version, ref, sha
+img2 doctor # per-host base-skill path + SKILL.md version, plugin gates
+img2 sync --check # drift between canonical copies and host links
+img2 capabilities --from-kind image --to-kind glb # which installed plugin serves an edge
+```
+
+- `animated-character` requires the installed plugin-character and harness >= 0.2.3.
+- Installed plugins live under `~/.img2/plugins/<id>` and appear to each agent host as the
+ `img2-<id>` skill; the harness owns those links, and `img2 doctor` is the authority on what any
+ host actually resolves.
+
## Forge Runtime Contracts
Subdivision runtime tests compile generated TypeScript against the showcase checkout. Set