jahrome907/minecraft-agent-minecraft-codex-skills-minecraft-worldedit-ops
Operate WorldEdit safely and efficiently for Minecraft 1.21.x server build/admin workflows. Covers selection mechanics, region operations, masks and patterns, clipboards and schematics, brushes and terraforming, undo/history safety, and practical runbooks for spawn edits, arena resets, block cleanup, and path shaping. Use for command-driven world operations, not plugin development.
This is a copy. The original lives at jahrome907/minecraft-worldedit-ops.
npx skills add https://github.com/Jahrome907/minecraft-agent-skills --skill minecraft-worldedit-ops
This skill is for operating WorldEdit on live or staging servers.
It is not for writing plugin code that integrates with WorldEdit APIs.
Use when: the task is command-driven in-world editing with WorldEdit (selections, transforms, schematics, terrain shaping, rollback-safe workflows).Do not use when: the task is Java plugin implementation (minecraft-plugin-dev).Do not use when: the task is broad server deployment/tuning/proxy/backup strategy (minecraft-server-admin).Do not use when: the task is EssentialsX command/economy/moderation workflows (minecraft-essentials-ops).WorldEdit is commonly used on:
Operational best practice:
Compatibility note: stable WorldEdit 7.4.x targets current 1.21.x servers.
For Minecraft 26.1.x, check the WorldEdit release notes first and stage-test any
beta or pre-release build before using it on production worlds.
references/safety-checklists.md before large pastes, destructive replacements, or any edit where rollback discipline matters more than speed.Most common cuboid flow:
//wand
//pos1
//pos2
//size
Fast alternatives:
//hpos1
//hpos2
//chunk
//expand 20 up
//expand 20 down
Selection safety checks:
//size before //set, //replace, or //paste//distr to preview block composition before replacement//set stone
//replace stone andesite
//replace water air
//walls stone_bricks
//overlay grass_block
//smooth 3
Use masks to constrain scope:
//gmask #existing
//replace grass_block dirt
//gmask
Single-command mask approach:
//replace stone,andesite,diorite,granite smooth_stone
//replace ##leaves air
Pattern examples:
//set 70%stone,20%andesite,10%cobblestone
//replace dirt 60%coarse_dirt,40%podzol
//copy
//rotate 90
//flip east
//paste -a
Use -a when you want to skip air blocks during paste.
//schem save spawn-hub-v3
//schem list
//schem load spawn-hub-v3
//paste -a
Operational guidance:
arena-mid-2026-03-27)//brush sphere stone 4
//brush smooth 3
//brush raise 2
//brush lower 2
//mask #existing
Reset brush:
//none
Terraforming safety:
//undo checkpoints during long sessions//undo
//undo 5
//redo
Safety policy for production operations:
//undo immediately.Do not chain many destructive edits without intermediate verification.
Run //clearhistory only after the edit is accepted, a backup or schematic
checkpoint exists, and the rollback window is closed.
//size.//copy
//schem save spawn-before-refresh
//smooth 2
//schem save spawn-after-refresh
//schem load arena-pristine
//paste -a
Typical cleanup targets:
Example cleanup sequence:
//replace lava air
//replace water air
//replace ##leaves air
Always scope with selection/mask first to avoid map-wide accidental edits.
//set 50%dirt_path,30%coarse_dirt,20%gravel
stone_bricks, andesite) where elevation changes.Take jahrome907/minecraft-agent-minecraft-codex-skills-minecraft-worldedit-ops from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.