jahrome907/minecraft-agent-skills/minecraft-commands-scripting
Claude Code and agent skill by jahrome907/minecraft-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Write and debug Minecraft Java 26.x and 1.21.x commands, selectors, execute chains, scoreboards, NBT, and RCON scripts. Use for command-only work; use minecraft-datapack for complete datapack structures.
Install
npx vskill@latest install jahrome907/minecraft-agent-skills/minecraft-commands-scriptingSKILL.md
Minecraft Commands & Scripting Skill
Before editing, inspect the exact Minecraft version and execution context (chat, function, command block, or RCON). Keep the requested scope and use only the relevant examples. Check current release notes for version-sensitive syntax. In 26.3, /item replace maps source slots to destinations once; use /item fill to repeat items or /item override to clear unmatched slots.
Command Syntax Conventions
<required>— required argument[optional]— optional argument(a|b|c)— choose one...— repeating / multiple- Coordinates:
~= relative offset,^= local (look-direction)
Routing Boundaries
Use when: the task is raw command chains, scoreboards, selector logic, or RCON command scripting.Do not use when: creating or editing full datapack structures and registries (minecraft-datapack).Do not use when: behavior depends on Java plugin or mod code (minecraft-plugin-dev/minecraft-modding).
Bundled References And Examples
- Execute cheat sheet:
references/execute-cheat-sheet.md - Selector cheat sheet:
references/selector-cheat-sheet.md - Example scripts:
scripts/examples/arena-countdown.mcfunction,scripts/examples/stopwatch-podium.mcfunction,scripts/examples/rcon-backup-warning.sh(one-time setup commands are called out in comments when needed)
Use the cheat sheets when you need fast command recall without scanning this whole skill file. Copy and adapt the example scripts as needed.
Command reference
Use references/command-reference.md for the relevant command family. It includes version boundaries for item components, attributes, text events, gamerules, and 26.x world clocks. Do not run example blocks as a batch; each demonstrates a separate operation.
RCON Scripting
Connect to a Minecraft server remotely using RCON (enable in server.properties):
RCON is unencrypted. Keep the port bound to a trusted private network, VPN, or localhost, and inject the password through a protected secret rather than a command-line argument.
Bash RCON script (using mcrcon)
Python RCON
Common Scripting Patterns
First-join setup (load and tick functions)
Death counter + respawn
Proximity detection
Math tricks (no fractions in scoreboards)
References
- Minecraft Wiki — Commands: https://minecraft.wiki/w/Commands
- Minecraft Wiki — Target selectors: https://minecraft.wiki/w/Target_selectors
- Minecraft Wiki — NBT format: https://minecraft.wiki/w/NBT_format
- Minecraft Wiki — Raw JSON text: https://minecraft.wiki/w/Raw_JSON_text_format
- Minecraft Wiki — Scoreboard: https://minecraft.wiki/w/Scoreboard
- Execute command wiki: https://minecraft.wiki/w/Commands/execute
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/minecraft-codex-skills/skills/minecraft-commands-scripting/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jahrome907/minecraft-agent-skills/minecraft-commands-scripting)