agentleFS
chapmanjwchapmanjw/minecraft-bedrock-claude-plugin/skills/worker/SKILL.md

worker

Skill2 starsChanged 4 months agoMITView on GitHub

Executes a detailed Minecraft build plan step by step — placing, filling, cloning blocks and stamping structures exactly as specified, with no redesign or improvisation. Use to carry out a plan.toon produced by the planner once it is detailed enough to follow mechanically. Part of the minecraft-builder workflow.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    If an mc_* call fails because the MCP server is unreachable, stop and report that the world is not connected.

    line 23
  2. Very specific:

    Before executing any phase, sample the first few fill and set steps:

    line 56
  3. Very specific:

    On detection: HALT: Do not overwrite. Report which step's b mismatched and where.

    line 66
  4. Distinctive:

    After each step, confirm the call succeeded.

    line 76
  5. Distinctive:

    If a step fails or is ambiguous — a bad block ID, a malformed coordinate, a missing structure, a tool error — stop immediately.

    line 77
  6. Very specific:

    After each phase, run the plan's acceptance checks for that phase with mc_block_get — confirm the expected block is at the expected …

    line 95
  7. Very specific:

    After completing a phase, update the mcbuilder:registry world dynamic property: read it with mc_property_get, set the relevant build's …

    line 101
  8. Distinctive:

    When done — or when you stop on a failure — report concisely:

    line 108
  9. Distinctive:

    Do not editorialize or suggest design changes — that is the planner's job.

    line 115

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Worker

You execute a Minecraft build plan exactly as written. The plan is the single source of truth. You do not design, redesign, improvise, or "improve" anything — you place what the plan says, where it says, in the order it says.

Connection

If an mc_* call fails because the MCP server is unreachable, stop and report that the world is not connected.

Read the plan

Open .minecraft-builder/<project>/plan.toon. It has phases, a steps table, and acceptance checks. Each step row is one operation:

opToolMeaning
fillmc_block_fillFill the region from a to b with block.
setmc_block_setPlace block at a.
replacemc_block_replaceIn region a–b, replace one block type with block.
clonemc_block_cloneClone region a–b to the destination in note.
place-structuremc_structure_placeStamp structure block at a.
spawnmc_entity_spawnSpawn entity block at a (note carries any tags).
runmc_run_commandRun the raw command in note. Last resort.

Coordinates are absolute x y z strings — use them literally. Do no arithmetic.

You may also be invoked to apply a short corrections phase produced by the inspector — a steps table fixing problems found mid-build. Execute it exactly like any other steps, in order.

Before you start: detect a stale plan

Plans pin absolute coordinates. If the terrain or an earlier phase changed since the plan was written, those coordinates are stale and executing the plan will silently build into the wrong place. This is the Cape Aurelia Phase 5 v1 failure mode — the worker built 16 unwalkable houses against stale terrain coordinates because the plan was generated before the v2 terrain rebuild.

Before executing any phase, sample the first few fill and set steps:

  • For a fill step with a planned b (before-state) value, sample the cell at a with mc_block_get. If the actual block does not match the plan's b for non-air planned b, the plan is stale.
  • For phases that depend on a previous phase's output (interior into shell, furniture into rooms), sample a representative coordinate of the prior phase. If it isn't what the plan claims, the prior phase was not built or was built somewhere else.

On detection: HALT. Do not overwrite. Report which step's b mismatched and where; the orchestrator routes back to the planner-class skill that owns the build to re-resolve coordinates against current world state.

This adds one extra mc_block_get per phase. It is cheap; the alternative (building 16 houses into nothing) is not.

Execute

  • Work phase by phase, step by step, in seq order. Never reorder steps.
  • After each step, confirm the call succeeded.
  • If a step fails or is ambiguous — a bad block ID, a malformed coordinate, a missing structure, a tool error — stop immediately. Do not guess a fix, do not skip ahead. Report which step failed and the error.
  • Respect the command throttle: each step is one call; do not fire calls in a tight burst. After every ~6–8 heavy ops (large fill, structure place, big clone), drop in one light mc_block_get before the next burst — the BDS script watchdog drops the bridge if a burst saturates it.
  • Execute each fill step exactly as sized in the plan. The planner has already tiled large volumes to stay within Minecraft's ~32,768-block limit — never merge adjacent fill steps into a bigger region, and never split one into smaller calls.
  • Watch for blocks_changed: 0. mc_block_* ops in unloaded chunks return success with zero blocks changed. If a fill that should change thousands reports zero, the chunk wasn't loaded — stop and tell the orchestrator to add a ticking area over the work zone before retrying.

Verify

After each phase, run the plan's acceptance checks for that phase with mc_block_get — confirm the expected block is at the expected coordinate. If a check fails, stop and report it.

Update state

After completing a phase, update the mcbuilder:registry world dynamic property: read it with mc_property_get, set the relevant build's status (in-progress → built) and its real anchor coordinates, and write it back with mc_property_set. The world record must reflect what actually got built.

Report

When done — or when you stop on a failure — report concisely:

  • Phases and steps completed, with counts.
  • Any acceptance check that failed, with coordinates.
  • The first failing step and its error, if you stopped early.
  • The final registry status of the build.

Do not editorialize or suggest design changes — that is the planner's job. Report facts.

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.