agentleFS
MCDxAIMCDxAI/minecraft-dev-mcp/skills/minecraft-dev/SKILL.md

minecraft-dev

Skill47 starsChanged 12 months agoMITView on GitHub

Use this skill whenever the user wants to look up Minecraft source, mod source, mod loader source, mappings, registries, versions, version differences, access transformers, mixin information, documentation, or code search results with minecraft-dev-cli. Also use it for Fabric, Forge, Quilt, and NeoForge source lookups.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 4 are distinctive, and 7 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.

  • 7

    Very specific

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

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

    Use minecraft-dev-cli to inspect Minecraft code, mod and loader JARs, mappings, registries, versions, and docs.

    line 8
  2. Very specific:

    Use the actual Minecraft version the user is working with.

    line 12
  3. Very specific:

    Run minecraft-dev-cli <tool> --key value or minecraft-dev-cli <tool> --key=value.

    line 22
  4. Distinctive:

    If the request is vague, ask for the class name, file path, symbol, JAR path, or Minecraft version.

    line 24
  5. Very specific:

    Use minecraft-dev-cli list-tools or minecraft-dev-cli help when you need quick CLI usage.

    line 64
  6. Very specific:

    Read references/tools.md only when you need parameter details or example commands.

    line 66
  7. Distinctive:

    All commands return JSON with:

    line 74
  8. Very specific:

    Use analyze_mod_jar first when the user asks about a loader JAR, NeoForge internals, dependencies, entrypoints, or mixins.

    line 118
  9. Very specific:

    Use decompile_mod_jar before search_mod_code or index_mod.

    line 119
  10. Distinctive:

    Use indexed search for broad or repeated searches.

    line 120
  11. Distinctive:

    If a user asks about CLI usage, always show flags-only examples.

    line 123

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Minecraft Dev CLI Lookup

Use minecraft-dev-cli to inspect Minecraft code, mod and loader JARs, mappings, registries, versions, and docs.

Version format note

Use the actual Minecraft version the user is working with. Modern releases use the newer 26.1.x naming style, for example 26.1.2.

  • 1.14 through 1.21.11 support both yarn and mojmap.
  • 26.1+ uses mojmap only.
  • Yarn mappings stop at 1.21.11.

Workflow

  1. Identify whether the user needs Minecraft source, mod source, mod loader metadata, mappings, registries, docs, validation, or version diffing.
  2. Pick the narrowest tool that answers the request.
  3. Run minecraft-dev-cli <tool> --key value or minecraft-dev-cli <tool> --key=value.
  4. Parse the JSON response and return only the useful result.
  5. If the request is vague, ask for the class name, file path, symbol, JAR path, or Minecraft version.

Tool List

Core Minecraft source

  • get_minecraft_source — get decompiled source for one Minecraft class.
  • decompile_minecraft_version — decompile an entire Minecraft version into cache.
  • list_minecraft_versions — list available and cached Minecraft versions.
  • get_registry_data — extract block, item, entity, and other registry data.
  • search_minecraft_code — regex search through decompiled Minecraft source.
  • index_minecraft_version — build a fast full-text index for Minecraft source.
  • search_indexed — run fast indexed searches against Minecraft source.

Mappings and comparison

  • find_mapping — translate class, method, and field names between mapping systems.
  • remap_mod_jar — remap a Fabric mod JAR to readable names.
  • compare_versions — compare two Minecraft versions at a high level.
  • compare_versions_detailed — compare versions with AST-level API detail.

Validation and documentation

  • analyze_mixin — validate Mixin targets and injections against Minecraft source.
  • validate_access_widener — validate access widener targets against Minecraft source.
  • validate_access_transformer — validate a Forge/NeoForge access transformer (.cfg) against Minecraft source (mojmap-only); flags bad targets/signatures, record canonical-constructor crashes, inner-class accessibility, and conflicting modifiers.
  • get_documentation — fetch documentation hints for a Minecraft class or concept.
  • search_documentation — search known Minecraft and Fabric docs.

Mod source and mod loader source

  • analyze_mod_jar — inspect a mod or loader JAR for metadata, dependencies, entrypoints, mixins, and loader info.
  • decompile_mod_jar — decompile a mod or loader JAR into readable Java source.
  • search_mod_code — regex search through decompiled mod or loader source.
  • index_mod — build a fast full-text index for decompiled mod or loader source.
  • search_mod_indexed — run fast indexed searches against mod or loader source.

Forge / NeoForge patched Minecraft source

  • list_forge_versions — list Forge or NeoForge versions for a Minecraft version (Maven-sourced).
  • decompile_forge_minecraft_version — build the patched Minecraft source tree (loader sources included, mojmap-only) via NeoFormRuntime; cached under keys like 1.21.1-neoforge-21.1.72.
  • get_forge_source — get source of a class from the patched tree: a loader class (e.g. a NeoForge event) or a Minecraft class as modified by Forge/NeoForge patches.
  • search_forge_code — regex search across the patched tree (loader + patched vanilla classes).
  • compare_vanilla_vs_forge — diff vanilla vs the patched tree (class level or AST level per class).

Use minecraft-dev-cli list-tools or minecraft-dev-cli help when you need quick CLI usage.

Read references/tools.md only when you need parameter details or example commands.

Command Pattern

minecraft-dev-cli <tool> --key value --key2 value2

All commands return JSON with:

  • success
  • tool
  • result or error

Examples

List versions

minecraft-dev-cli list_minecraft_versions

List tool schemas

minecraft-dev-cli list-tools

Get Minecraft source

minecraft-dev-cli get_minecraft_source --version 26.1.2 --className net.minecraft.world.entity.Entity --mapping mojmap

Get mod or loader metadata

minecraft-dev-cli analyze_mod_jar --jarPath C:\mods\neoforge-26.1.2-universal.jar

Decompile mod or loader source

minecraft-dev-cli decompile_mod_jar --jarPath C:\mods\neoforge-26.1.2-universal.jar --mapping mojmap

Search mod or loader source

minecraft-dev-cli search_mod_code --modId neoforge --modVersion 26.1.2 --query DeferredRegister --searchType class --mapping mojmap

Find a mapping

minecraft-dev-cli find_mapping --symbol a --version 1.21.1 --sourceMapping official --targetMapping mojmap

Notes

  • Use analyze_mod_jar first when the user asks about a loader JAR, NeoForge internals, dependencies, entrypoints, or mixins.
  • Use decompile_mod_jar before search_mod_code or index_mod.
  • Use indexed search for broad or repeated searches.
  • decompile_minecraft_version also supports --jarPath for local Forge/NeoForge patched Minecraft JARs. In that mode, use --mapping mojmap and a version cache key like 1.21.1-neoforge-21.1.72.
  • Registry examples should use singular names like block, item, and entity.
  • If a user asks about CLI usage, always show flags-only examples.

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.