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

run

Skill9 starsChanged 37 days agoMITView on GitHub

Run a WorldAgent case end to end from one scene request, without stopping for approval; spec, build and bake, verify and refine, final render, promote. Resumes an existing case when --case names one.

57 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use init, report and 9 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.
  • MicrosoftSkill

    init

    Also in 9 projects that use this

  • MicrosoftSkill

    report

    Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded charts.

    Also in 5 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 5 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 6 projects that use this

  • SentrySkill

    spec

    Produce a verified spec — problem, desired outcome, and acceptance criteria — before building. Use when given a GitHub/Linear issue link, when starting from a fuzzy in-conversation idea, or asked to "figure out what to do" / "scope this" / "what should I build" — whenever the *what* isn't yet pinned down. Grills the ambiguities, checks the premise against the code, and produces acceptance criteria you sign off on — then hands to design-first.

    Also in 3 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 3 projects that use this

  • +1 more from microsoft

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 54 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Spec: Follow steps 1–6 of ${CLAUDE_PLUGIN_ROOT}/skills/new/SKILL.md (create the case, world spec, asset choices, requirements matrix, spec …

    line 24
  2. Very specific:

    Build and bake: Follow steps 2–3 of ${CLAUDE_PLUGIN_ROOT}/skills/bake/SKILL.md.

    line 25
  3. Very specific:

    Final render: When every other row passes, follow steps 2–3 of ${CLAUDE_PLUGIN_ROOT}/skills/render/SKILL.md for that candidate.

    line 27
  4. Very specific:

    Promote: Run python3 ${CLAUDE_PLUGIN_ROOT}/bin/promote.py <case_dir> --candidate <candidate>.

    line 28
  5. Distinctive:

    every row with its verdict, and the first failure for any row that does not pass.

    line 31
  6. Very specific:

    every row in contract_changes, with what changed (verifier copies, case modules, pass_predicate, tolerances, measures, world spec).

    line 33
  7. Very specific:

    every object in solver_deviations, with its reason, and every entry in promote's final_relative_paths (relative paths scene_final.blend …

    line 35
  8. Distinctive:

    Call the case done only if promote exited 0.

    line 37

“Common” is measured: kept by at least 6 in 10 of the 54 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>.

Codex only: where the body says to invoke the Claude Skill tool with worldagent:scene-simulation, read ${CLAUDE_PLUGIN_ROOT}/skills/scene-simulation/SKILL.md instead, resolving the root as above.

Run a WorldAgent case end to end

Arguments: $ARGUMENTS — optionally --case <case_dir>, then the user's exact scene request. The user asked for the whole pipeline, so do not stop to ask for approval between stages; ask only when a step below says to. The session start sets WORLDAGENT_BLENDER; if it reported Blender as not found, stop and ask the user to set the plugin's Blender path.

  1. Invoke the Skill tool with worldagent:scene-simulation and follow it for every stage below.
  2. Choose the case directory and say which one in one line:
    • with --case: use it. If it holds a manifest.json, resume: read the manifest and its status, skip what is already done, and continue at the first unfinished step below. If it exists, is not empty, and has no manifest.json, stop and ask; never delete or reuse its contents. If no request was given, resume only.
    • without --case: use cases/<name> under the current directory, with <name> a short snake_case name for the scene taken from the request (letters, digits, _). If that directory exists, add _2, _3, and so on; never write into an existing case.
    • with neither a request nor an existing case: ask for the request. Time budget. Use the budget the user gave in the request, else $WORLDAGENT_TIME_BUDGET_HOURS (the session-start report shows it; the default is 3 h). Record it in manifest.json as budget with time_hours, source, and started_utc (keep the original start when resuming). Before every new bake or refinement round, compare the elapsed time plus the expected duration of that round (from the bakes so far) and of the final render against the budget; if it would not fit, stop refining (step 5).
  3. Spec. Follow steps 1–6 of ${CLAUDE_PLUGIN_ROOT}/skills/new/SKILL.md (create the case, world spec, asset choices, requirements matrix, spec audit until it passes). Then report the beats and rows in a short list and continue without waiting.
  4. Build and bake. Follow steps 2–3 of ${CLAUDE_PLUGIN_ROOT}/skills/bake/SKILL.md.
  5. Verify and refine. Follow steps 1–3 of ${CLAUDE_PLUGIN_ROOT}/skills/verify/SKILL.md for every row except the render and media rows. For each failing row, change the scene or the bake, one causal group at a time, bake a new candidate, verify again, and record each attempt with case_trace.py note. Never weaken a verifier, a tolerance, a pass_predicate, or the world spec (a beat's window, an object's collision or constraints) to make a row pass (references/writing-verifiers.md, "Changing a verifier or the spec after a fail"). Measure the first baked candidate through the runner before any refinement, so every later attempt is compared with runner results; quick probes may guide a fix but never replace that measurement. Stop refining only when every row passes, when the next round would not fit the time budget, when a failing row is below the solver's resolution (the skill's Failure and Retry Policy), or when attempts in several different causal groups (for example collision representation, then force input, then temporal resolution) have each made no measured progress. One attempt without progress is a reason to try another causal group while the budget allows, not to stop. If rows still fail, first run every row except the render and media rows through the runner on the candidate with the most passing rows, then record the stop with python3 ${CLAUDE_PLUGIN_ROOT}/bin/limit.py <case_dir> --candidate <candidate> --reason "<why refinement stopped>". It sets the case to limited only when those rows have current runner results and some do not pass; never write limited into the manifest yourself. Then render that candidate as in step 6 so the user has a video, report the rows that still fail with their measured values, and do not promote.
  6. Final render. When every other row passes, follow steps 2–3 of ${CLAUDE_PLUGIN_ROOT}/skills/render/SKILL.md for that candidate. A blocked render (device not available) stops here; report it.
  7. Promote. Run python3 ${CLAUDE_PLUGIN_ROOT}/bin/promote.py <case_dir> --candidate <candidate>. If scene_final.blend already exists, do not pass --replace unless the user said to replace it; report and stop.
  8. Report briefly:
    • promoted or not, the final scene and its SHA-256, and the gate report path;
    • every row with its verdict, and the first failure for any row that does not pass;
    • the render: device, samples, frame count, the media/ folder, and the movie;
    • every row in contract_changes, with what changed (verifier copies, case modules, pass_predicate, tolerances, measures, world spec);
    • what spec_baseline in the gate report lists as changed since the spec and rows were frozen at the first passing spec audit (diff.rows: rows added, removed, or with a changed pass_predicate, tolerances, or measures; diff.implementation: changed object solver_owner, allowed_inputs, solver_owned_outputs or beat owner, allowed_inputs, listed apart from requirement changes);
    • every object in solver_deviations, with its reason, and every entry in promote's final_relative_paths (relative paths scene_final.blend would resolve to a different place), and portable_scene (the delivery copy scene_final_portable.blend with those paths rewritten, or the problem that prevented it);
    • assets used, approximations, and anything blocked or skipped. Call the case done only if 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.