minecraft-ai-python CLAUDE.md

minecraft-ai-python CLAUDE.md is an instructions file for coding agents from aeromechanic000/minecraft-ai-python. It costs 7,927 tokens per session, scanned C, original, MIT.

Project instructions for Minecraft AI-Python, a framework for controlling Minecraft characters with Python and language models. The project connects Python code to Minecraft through JavaScript and the mineflayer library.

In plain words
What is it for?
Use them when developing or running the Minecraft bots, managing Python packages with uv, compiling the project, or running its unit and web-view tests.
Why use it?
They explain the project's moving parts and required development setup, reducing errors caused by using the wrong runtime, package manager, or startup process.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/aeromechanic000/minecraft-ai-python/claude-md
Clone the repo
git clone --depth 1 https://github.com/aeromechanic000/minecraft-ai-python

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for minecraft-ai-python CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aeromechanic000/minecraft-ai-python/claude-md.svg)](https://agentmods.dev/instructions/aeromechanic000/minecraft-ai-python/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aeromechanic000/minecraft-ai-python/claude-md"><img src="https://agentmods.dev/badge/instructions/aeromechanic000/minecraft-ai-python/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,927 This file is loaded in full into every session.
When invoked 7,927 The same file — it is already loaded in full.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.07927 $0.07927
Opus 5 $0.03964 $0.03964
Sonnet 5 $0.01585 $0.01585
Haiku 4.5 $0.00793 $0.00793

Measured 4d ago against content hash 8488620bac46, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

minecraft-ai-python CLAUDE.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -LsSf https://astral.sh/uv/install.sh | sh
CLAUDE.md · 946 lines

How it starts

The opening of the file, as written. The whole thing — 946 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Minecraft AI-Python: Developer Guide

This document summarizes the key requirements and setup instructions for the Minecraft AI-Python project, with a focus on using uv for Python package management.

Project Overview

Minecraft AI-Python is a modular framework for building AI Characters (AICs) in Minecraft. It uses Python to control Minecraft bots via a JavaScript bridge (JSPyBridge/mineflayer), enabling LLM-driven agents to interact with the game world.

Key Components:

  • Python 3.9+ - Main runtime for AI agent logic
  • Node.js - Runs mineflayer for Minecraft protocol communication
  • JSPyBridge - Python-JavaScript interop package (v1.2.6+)
  • LLM Provider - OpenAI, Anthropic, Ollama, or compatible API

Architecture

┌─────────────────────────────────────────────────────────────┐
│                         main.py                             │
│                    (Process Manager)                        │
└─────────────────────────┬───────────────────────────────────┘
                          │
                          ├─────────────────┐
                          │                 │
                    ┌─────▼─────┐    ┌────▼─────┐
                    │  agent.py │    │ agent.py │  (Multiprocess)
                    └─────┬─────┘    └────┬─────┘
                          │                │
              ┌───────────┴────────────────┴──────────┐
              │         Python Modules                  │
              │  - agent.py, memory.py, world.py       │
              │  - actions.py, skills.py, model.py     │
              └───────────────────┬────────────────────┘
                                  │
              ┌───────────────────┴────────────────────┐
              │      JSPyBridge (javascript package)   │
              │      require('mineflayer', ...)        │
              └───────────────────┬────────────────────┘
                                  │
              ┌───────────────────┴────────────────────┐
              │         Node.js Runtime                │
              │  - mineflayer (Minecraft bot)          │
              │  - mineflayer-pathfinder               │
              │  - mineflayer-collectblock             │
              │  - mineflayer-pvp, -auto-eat, etc.     │
              └───────────────────┬────────────────────┘
                                  │
              ┌───────────────────┴────────────────────┐
              │      Minecraft Server (1.21.1)         │
              └────────────────────────────────────────┘

Read the full file on GitHub · 946 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 946 lines · 7,927 tokens per session scan C 8488620bac46

Subscribe to this mod's changes

minecraft-ai-python CLAUDE.md is an instructions file published in the GitHub repository aeromechanic000/minecraft-ai-python (23 stars, last pushed 3mo ago), licensed MIT. It adds 7,927 tokens to every session, about $0.0396 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

GameDesignOS AGENTS.md

Instructions for DY-2026/GameDesignOS, covering gamedesignos agent 入口, 默认接法, agent 执行规则, 什么时候用整个项目 and 每个 skill 单独怎么用.

DY-2026/GameDesignOS · 972 tokens

claudemon CLAUDE.md

Instructions for zamarrowski/claudemon, covering ai agent guidelines, project shape, general guidelines, general rules and guards & defensive code.

zamarrowski/claudemon · 7,681 tokens

unity-code-style-guide AGENTS.md

Instructions for krogh-jacobsen/unity-code-style-guide, covering agents.md — unity 6 c, project setup — edit this block, never do these — they corrupt the project, deprecated in unity 6 and if you read nothing else.

krogh-jacobsen/unity-code-style-guide · 4,528 tokens

minecraft-dev-mcp AGENTS.md

Instructions for MCDxAI/minecraft-dev-mcp, covering agent handbook – minecraft dev mcp, project snapshot, what agents should prioritize, architecture wayfinder (src/) and available mcp tools (for llm surfaces).

MCDxAI/minecraft-dev-mcp · 1,145 tokens

nes-php-glfw copilot-instructions.md

Instructions for oliverearl/nes-php-glfw, covering github copilot development guidelines for nes emulator, agent document source of truth, project overview, code style & standards and documentation.

oliverearl/nes-php-glfw · 2,719 tokens

game-and-watch-retro-go-sd CLAUDE.md

Claude Code instructions for sylverb/game-and-watch-retro-go-sd, covering claude.md, what this project is, build / flash workflow, architecture and three storage tiers, one elf.

sylverb/game-and-watch-retro-go-sd · 2,946 tokens