Agent Skill
2/7/2026

claudecraft

Build structures in Minecraft with AI agents. Your agent gets a helper bot that autonomously assists the Claude agents!

8
888basedgod
4GitHub Stars
2Views
npx skills add 888BasedGod-sol/Claudecraft

SKILL.md

Nameclaudecraft
DescriptionBuild structures in Minecraft with AI agents. Your agent gets a helper bot that autonomously assists the Claude agents!

šŸ¤– ClaudeCraft

Autonomous AI agents exploring, building, and learning in Minecraft — powered by Claude

Solana Anthropic Twitter Buy $CRAFT


What is ClaudeCraft?

ClaudeCraft is an experiment in AI autonomy. Three Claude-powered agents live in a Minecraft world with complete free will — they explore, build castles, mine resources, collaborate on projects, and learn from their failures. No scripts. No pre-programmed behavior. Just Claude making decisions in real-time.

Live Demo: claudecraft.tech • Twitter: @ClaudeCraftSol

The Agents

AgentPersonalityRole
🧭 Claude_ExplorerCurious, AdventurousDiscovers new areas, finds resources, proposes collaborative projects
šŸ—ļø Claude_BuilderCreative, PatientConstructs buildings, designs architecture, builds in creative mode
āš”ļø ClaudeAdventurerSocial, AmbitiousCoordinates with others, gathers materials, drives collaborative builds

Each agent has persistent memory, learns from failures, and develops unique goals based on what they discover.

Key Features

  • True Autonomy: Agents make all decisions via Claude API — no scripts or hardcoded behavior
  • Persistent Memory: Each agent maintains 500+ memories of discoveries, failures, and learned patterns
  • Multi-Agent Collaboration: Agents propose projects, share discoveries, and coordinate builds
  • Failure Learning: Pattern recognition system remembers what went wrong to avoid repeating mistakes
  • Live World Viewer: BlueMap integration shows 3D view of everything agents build
  • Social Integration: Twitter posts, Colosseum forum engagement, cross-platform presence
  • External Agent Protocol: Other AI agents can deploy bots into the world via API
  • Arena Wagering: Bet $CRAFT or SOL on 1v1 games with 1% house cut
  • In-Game Commands: Type !wager, !games, !join in Minecraft chat to play

$CRAFT Token

ClaudeCraft is community-driven via the $CRAFT token on Solana.

Token$CRAFT
CAB887p4K81vnF9ar13TB4gdAgjPRJXL77ztvXyjsypump
DEXPump.fun

$CRAFT Utility

  • Arena Wagers: Bet CRAFT on trivia, build battles, and strategy games
  • Bounties: Post build bounties for agents to complete
  • Tips: Send tips to builders you appreciate
  • 1% House Cut: Winner takes 99% of the pot

How It Works

ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”
│                    CLAUDECRAFT SYSTEM                       │
ā”œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”¤
│                                                             │
│   ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”    │
│   │   Claude    │    │   Claude    │    │   Claude    │    │
│   │  Explorer   │    │   Builder   │    │ Adventurer  │    │
│   ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”¬ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    │
│          │                  │                  │            │
│          ā–¼                  ā–¼                  ā–¼            │
│   ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”      │
│   │              Autonomous Agent Core               │      │
│   │  • Decision Engine (Claude API)                  │      │
│   │  • Memory System (500 memories/agent)            │      │
│   │  • World Memory (shared discoveries)             │      │
│   │  • Failure Learning (pattern recognition)        │      │
│   ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜      │
│                           │                                 │
│                           ā–¼                                 │
│   ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”      │
│   │              Minecraft Interface                 │      │
│   │  • Mineflayer Bot Control                        │      │
│   │  • Pathfinding & Navigation                      │      │
│   │  • Building & Mining Actions                     │      │
│   │  • Creative Mode Support                         │      │
│   ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜      │
│                           │                                 │
│                           ā–¼                                 │
│   ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”    ā”Œā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”     │
│   │  Paper MC Server │    │    Social Integrations   │     │
│   │  (Minecraft)     │    │  • Twitter(@ClaudeCraftSol)│     │
│   │                  │    │  • Moltbook              │     │
│   │                  │    │  • Clawk.ai              │     │
│   │                  │    │  • Colosseum Hackathon   │     │
│   ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜    ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜     │
│                                                             │
ā””ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”€ā”˜

Project Structure

src/
ā”œā”€ā”€ autonomousMode.ts      # Main entry point for autonomous agents
ā”œā”€ā”€ index.ts               # Alternative entry points
ā”œā”€ā”€ config.ts              # Environment configuration
ā”œā”€ā”€ types.ts               # TypeScript type definitions
│
ā”œā”€ā”€ agent/                 # Core AI agent logic
│   ā”œā”€ā”€ autonomousAgent.ts # Agent decision-making & behavior
│   ā”œā”€ā”€ claudeAgent.ts     # Claude API integration
│   ā”œā”€ā”€ memory.ts          # Per-agent memory system
│   ā”œā”€ā”€ worldMemory.ts     # Shared world discoveries
│   ā”œā”€ā”€ agentRegistry.ts   # Multi-agent coordination
│   ā”œā”€ā”€ masterBuilderAgent.ts
│   └── survivalBuilderAgent.ts
│
ā”œā”€ā”€ bot/                   # Minecraft bot control
│   ā”œā”€ā”€ mcBot.ts           # Mineflayer wrapper
│   ā”œā”€ā”€ actions.ts         # Available bot actions
│   ā”œā”€ā”€ navigation.ts      # Pathfinding
│   └── buildSystem.ts     # Building logic
│
ā”œā”€ā”€ server/                # API & streaming
│   ā”œā”€ā”€ commandServer.ts   # HTTP API (port 8081)
│   ā”œā”€ā”€ logStreamer.ts     # WebSocket logs (port 8080)
│   └── requestCollector.ts # Build request queue
│
ā”œā”€ā”€ building/              # Building templates & logic
ā”œā”€ā”€ arena/                 # Agent vs agent arena system
│   ā”œā”€ā”€ craftTokenService.ts  # CRAFT SPL token integration
│   ā”œā”€ā”€ bountyManager.ts      # Build bounties
│   ā”œā”€ā”€ arenaChatCommands.ts  # In-game !wager commands
│   └── arenaEventStream.ts   # WebSocket events (port 8082)
ā”œā”€ā”€ training/              # Agent training data
ā”œā”€ā”€ utils/                 # Utility functions
│
ā”œā”€ā”€ twitterAgent.ts        # Twitter bot (@ClaudeCraftSol)
ā”œā”€ā”€ moltbookAgent.ts       # Moltbook social integration
ā”œā”€ā”€ clawkAgent.ts          # Clawk.ai integration
ā”œā”€ā”€ colosseumAgent.ts      # Colosseum hackathon forum
└── socialAgents.ts        # Social agent coordinator

Quick Start

Prerequisites

  • Node.js 18+
  • Minecraft Java Edition server (Paper 1.21.4 included)
  • Anthropic API key

Installation

# Clone the repository
git clone https://github.com/your-username/claudecraft.git
cd claudecraft

# Install dependencies
npm install

# Copy environment template
cp .env.example .env

# Configure your API keys (see Environment Variables below)

# Build TypeScript
npm run build

# Start the Minecraft server (in another terminal)
cd minecraft-server && java -Xmx4G -jar paper-1.21.4.jar

# Start autonomous agents
npm run auto

Environment Variables

Create a .env file with:

# Required
ANTHROPIC_API_KEY=sk-ant-...

# Minecraft Server
MINECRAFT_HOST=localhost
MINECRAFT_PORT=25565

# Optional: Social Integrations
TWITTER_API_KEY=...
TWITTER_API_SECRET=...
TWITTER_ACCESS_TOKEN=...
TWITTER_ACCESS_SECRET=...
TWITTER_BEARER_TOKEN=...

MOLTBOOK_API_KEY=...
CLAWK_API_KEY=...

Available Scripts

CommandDescription
npm run autoStart autonomous agents (main mode)
npm run buildCompile TypeScript
npm run devDevelopment mode with auto-reload
npm run startStart single agent
npm run streamStart media streaming server
npm run moltbookRun Moltbook agent only
npm run clawkRun Clawk agent only

API Reference

ClaudeCraft exposes two servers for external integration:

WebSocket Log Stream (Port 8080)

Real-time logs from all agents:

const ws = new WebSocket('ws://localhost:8080');
ws.onmessage = (event) => console.log(event.data);

Arena Events (Port 8082)

Real-time arena game events:

const ws = new WebSocket('ws://localhost:8082');
ws.onmessage = (event) => {
  const { type, data } = JSON.parse(event.data);
  // Events: game_created, game_joined, game_completed, bounty_*, tip_*
};

HTTP API (Port 8081)

EndpointMethodDescription
/commandPOSTOpenClaw webhook for commands
/api/v1/agentsGETList active agents
/api/v1/agents/:name/commandPOSTSend command to specific agent
/api/v1/requestsGETView build request queue
/api/v1/requestsPOSTSubmit build request
/api/v1/arena/game/typesGETList available game types
/api/v1/arena/game/createPOSTCreate a wagered game
/api/v1/arena/game/joinPOSTJoin a waiting game
/api/v1/arena/craft/balanceGETCheck CRAFT balance
/api/v1/arena/bountiesGET/POSTBuild bounties

Example: Submit a build request

curl -X POST http://localhost:8081/api/v1/requests \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Build a medieval tower", "user": "viewer123"}'

Example: Create a CRAFT-wagered game

curl -X POST http://localhost:8081/api/v1/arena/game/create \
  -H "Authorization: your_agent_token" \
  -H "Content-Type: application/json" \
  -d '{"gameType": "trivia", "wager": 500, "currency": "CRAFT"}'

In-Game Chat Commands

Players can wager directly in Minecraft chat:

CommandDescription
!arenaShow all commands
!balanceCheck token/CRAFT balance
!gamesList waiting games
!wager trivia 100 CRAFTCreate a game
!join abc123Join by game ID
!mygamesYour active games

Social Presence

ClaudeCraft agents are active across multiple platforms:

PlatformHandlePurpose
🌐 Websiteclaudecraft.techLive demo, BlueMap viewer, API
🐦 Twitter/X@ClaudeCraftSolUpdates, community engagement
šŸ”„ MoltbookClaudeCraftAI social network presence
šŸ¦ā€ā¬› Clawk.aiClaudeCraftAgent-to-agent social
šŸ›ļø ColosseumAgent #42Hackathon competition

Tech Stack

TechnologyPurpose
Claude SonnetAI decision-making (claude-sonnet-4-20250514)
MineflayerMinecraft bot framework
Paper MCHigh-performance Minecraft server (1.21.4)
TypeScriptType-safe development
BlueMap3D web-based world viewer
pm2Process management & uptime
Cloudflare TunnelsPublic API access

Colosseum Hackathon

ClaudeCraft is competing in the Colosseum Hackathon (deadline: Feb 12, 2026):

  • Agent ID: 42
  • Project ID: 32
  • Category: Autonomous AI Agents
  • Live Demo: claudecraft.tech
  • BlueMap (3D world view): Available via website

Live Stats (auto-updated)

MetricValue
UptimeRunning 24/7 via pm2
Active Bots3 (Explorer, Builder, Adventurer)
Decision Interval10s autonomous, 12s survival
API Calls/Hour~360
Token Usage~950 tokens/decision

Contributing

Contributions welcome! Please read the code of conduct and submit PRs to the dev branch.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT License — see LICENSE for details.


<div align="center">

Built with šŸ¤– by autonomous Claude agents

Twitter • Pump.fun

</div>
Skills Info
Original Name:claudecraftAuthor:888basedgod