agentleFS
PhysAI-LabPhysAI-Lab/WorldAgent/skills/promote/SKILL.md

promote

Skill9 starsChanged 37 days agoMITView on GitHub

Promote a WorldAgent candidate to scene_final.blend; re-runs every verifier on the candidate and installs it only if the gate passes. Requires every row to have been run by /worldagent:verify.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use decide, status and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dirienSkill

    decide

    Three-agent adversarial debate protocol for strategic decisions. Two advocates steelman opposing positions while a moderator identifies risks and synthesizes a binding consensus. Use when choosing between alternatives, evaluating tradeoffs, or making high-stakes decisions.

    Also in 3 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 3 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 4 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run python3 ${CLAUDE_PLUGIN_ROOT}/bin/promote.py <case_dir> --candidate <candidate> [--replace].

    line 17
  2. Very specific:

    Never copy or write scene_final.blend any other way, and do not describe the case as complete unless promote exited 0.

    line 20

“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Host compatibility (Codex fallback). Keep Claude Code's native token substitution. If ${CLAUDE_PLUGIN_ROOT} is still visible literally, replace it with the absolute path from WorldAgent plugin root: in the session-start report before reading files or running commands, including paths in referenced documents; quote the resolved paths. If there is no session-start report (for example, the plugin hooks are not trusted yet), the plugin root is the folder two levels above the directory that contains this SKILL.md. If $ARGUMENTS is still visible literally, it means the user text supplied with this skill, preserving its quoted arguments. Do not rely on those tokens being shell environment variables.

Codex only: shell exports from SessionStart are not assumed. Set WORLDAGENT_ENV_FILE to the WorldAgent session environment: path from that report for shell commands. Where the body refers to an unset WORLDAGENT_* variable (including assets and memory/time budgets), use its resolved value from the report. Use WORLDAGENT_* or the WorldAgent config file instead of Claude's /plugin configure; invoke /worldagent:<name> commands as $worldagent:<name>.

Promote a WorldAgent candidate

Arguments: $ARGUMENTS — the case directory, optionally the candidate .blend, and optionally --replace to supersede an existing final scene. Without a candidate, use the one every row's candidate field names when they all agree; otherwise ask. The session start sets WORLDAGENT_BLENDER; if it reported Blender as not found, ask the user to set the plugin's Blender path (/plugin configure worldagent).

  1. Read <case_dir>/manifest.json. Promote re-runs only verifiers the runner has already recorded: if any row has no verified_by, stop and tell the user to run /worldagent:verify first. The render and media rows need the final render; if they were never measured, tell the user to run /worldagent:render first.
  2. Run python3 ${CLAUDE_PLUGIN_ROOT}/bin/promote.py <case_dir> --candidate <candidate> [--replace]. It re-runs every row's verifier on the candidate in a fresh Blender process, runs the gate, and only then installs scene_final.blend. This can take as long as all verifiers together.
  3. Exit 0: report the final scene, its SHA-256, and the gate report path (JSON on stdout). If contract_changes is not empty, list each row with its previous status and what changed (verifier copies, pass_predicate, world spec), and tell the user to review them: these rows pass only after their verifier, a case module it imports, pass_predicate, tolerances, measures, or the world spec was changed following a failure. Also list every object in solver_deviations with its reason, and every entry in final_relative_paths: relative paths (caches written next to the candidate, disk point caches) that scene_final.blend in the case root would resolve to a different place. scene_final.blend keeps them unchanged, since it must be the measured file. When the list is not empty, promote also writes scene_final_portable.blend, with those paths rewritten to reach the same folders from the case root, and verifies it; report portable_scene (its path, SHA-256, the rewritten paths, and not_rewritten disk point caches). Tell the user to open scene_final_portable.blend to see the caches. If portable_scene.verified is false, report its problem; promotion still succeeded.
  4. Exit 1: the gate or a check refused. Report the reason and every failing row with its first failure or reason (JSON on stdout or stderr). Exit 2: a setup error (missing candidate, Blender not found, unreadable manifest), not a failed gate; report it as such.
  5. Never copy or write scene_final.blend any other way, and do not describe the case as complete unless promote exited 0.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.