Skip to content

Tools and scripts

The agents do the work. These tools are what they measure and record with. You rarely run one by hand, but knowing them helps you read a report.

flowchart LR
    r["Record<br/>steer.py: your decisions<br/>findings.py: defects you report"]
    m["Make<br/>tool.py: images, models, Blender"]
    c["Check<br/>model_gate.py and asset_gate.py<br/>the Unity check tools<br/>perf_grade.py"]
    r --> m --> c

Pages in this section

Page Covers
Unity checks the check tools that run inside the Unity editor: z-fighting, captures, performance samples, rule audit
Gates the model gate scripts, the sidecar file, the registry, and which tool feeds which reviewer
Decisions steer.py and the decision database
Findings findings.py and the states of a case
Generation tool.py: images, image-to-3D and headless Blender behind fixed names

Where things are

Commands are run from the workspace folder, the folder that holds your world projects and the kit in .omp/. That is why every command starts with python .omp/....

File paths on these pages, such as scripts/README.md, are relative to the kit repository.

All scripts need Python 3.10 or newer and no third-party packages.

Scripts in scripts/

Every script documented in scripts/README.md:

Script Does More
install.py wires the kit into an agent host that does not read .omp/ itself: links skills, copies agents, points the host's instruction file at the kit install
tool.py the generation tools the skills call by fixed name: image-gen, image-edit, image-to-3d, blender, check generation
leak_check.py the pre-commit hook: refuses added lines that match a banned pattern; --all scans every tracked file
check_kit.py release check over tracked files: front matter, relative links, valid notes, and leak_check.py --all
install-unity-bridge.py installs the editor bridge's Unity package into a project install
unity_mcp.py a minimal client for the editor bridge: lists tools, prints a schema, calls one tool. For hosts without MCP support, or manual calls
unity-world.gitignore a template .gitignore for a Unity world project. Copy it to the project root before the first commit
build-knowledge-index.py regenerates knowledge/INDEX.md and validates every note in knowledge/notes/
findings.py the findings ledger of one world: every defect you point out is a permanent case findings
perf_grade.py grades play-mode performance samples against this machine's benchmark bands and prints the per-part table perf-optimizer
vrc_session_perf.py the in-game side of the benchmark: records VRChat frame times and analyses them per standing spot

The editor bridge is the connection that lets an agent run code in the open Unity editor.

Tools documented elsewhere in the kit

Tool Where Does More
steer.py scripts/ the decision database: every decision and art pick, in your words decisions
model_gate.py skills/asset-import/scripts/ measures and renders one model file in headless Blender gates
asset_gate.py skills/asset-import/scripts/ the model registry: validates sidecars, builds sheets, records verdicts, blocks unreviewed files gates
com.awdk.agenttools unity-package/ the Unity check tools Unity checks

Commands as the kit gives them

python .omp/scripts/install.py --host claude|agents [--copy] [--dry-run]
python .omp/scripts/tool.py image-gen|image-edit|image-to-3d|blender|check ...
python .omp/scripts/leak_check.py [--all]
python .omp/scripts/check_kit.py
python .omp/scripts/install-unity-bridge.py PROJECT_ROOT [--bridge mcp-for-unity|tunasync] [--open-ok]
python .omp/scripts/build-knowledge-index.py
python .omp/scripts/findings.py --project <project> --world <World> add|list|set|shots|sheet ...
python .omp/scripts/perf_grade.py --baseline base1.json [--baseline base2.json] [variant.json ...]
python .omp/scripts/vrc_session_perf.py record [--once]
python .omp/scripts/vrc_session_perf.py analyze <session dir> [<session dir> ...] [--settle 15] [--spot 30]

Every script prints its options with --help.