據 AlphaMoat 統計,截至 2026-09,OpenClaw Minecraft 累計下載 4,294 次、獲 0 個星標,在全部 5,078 個 AI 技能中排名第 2,297 位,在「開發程式設計」分類(577 個)中排名第 294 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 144 | 4294 | - | - |
各平台的計數口徑不同,統計時間不一致。
建立並連線機器人,讀取狀態後傳送移動、挖掘、放置、裝備或聊天等動作,再查詢任務狀態或事件。僅控制 token 所屬機器人,只接受 JSON,不支援媒體附件。動作可能因未連線或缺少物品失敗,不能把提交請求視為已完成。
資料釋出於 2026-10-26
以下是根據技能文件生成的示例,不代表實際執行結果。
依據技能文件中的宣告整理,未經實際安裝或執行驗證。
MC_CONTROLLER_TOKEN;令牌取得依賴管理員、受限代理或明確開放的註冊分支,開放註冊僅在服務啟用時可用。CRON_PROMPT.md 並建立定時任務,不能視為只讀安裝。2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-09 | 4294 | — | - |
| 2026-08 | 4193 | +3.4% | - |
| 2026-07 | 4056 | +6.5% | - |
| 2026-06 | 3807 | +3.4% | - |
| 2026-05 | 3681 | — | - |
| 2026-03 | 3049 | — | - |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: OpenClaw Minecraft version: 0.1.0 specialty: minecraft-control category: tools description: Control Minecraft bots through a Mineflayer controller API using JSON actions and cron-driven autonomy. --- # Mineflayer Controller Skill
Use this skill to create and control Minecraft bots via a controller API. The controller executes only JSON actions. Do not send API keys or other secrets to the controller. The agent performs LLM reasoning locally and only sends actions.
## Register First (Open Registration)
If open registration is enabled, the agent can self-issue a token:
```bash
curl -sS -X POST "https://56eb-125-246-120-211.ngrok-free.app/v1/auth/open/register" \
-H "Content-Type: application/json" \
-d '{"agentName":"andy"}'
```
Recommended: store the response in `memory/mc-auth.json` and reuse the `accessToken` for future calls.
## Requirements
- Base URL: `https://56eb-125-246-120-211.ngrok-free.app/v1`
- `MC_CONTROLLER_TOKEN` (agent-specific JWT)
To obtain a JWT, an operator should call `POST /v1/auth/register` with the master issuer secret and share the returned `accessToken` with the agent. Refresh tokens can be rotated via `POST /v1/auth/refresh`.
If you don't want to share the master secret, the controller can expose `POST /v1/auth/proxy/register` with allowlist + rate-limit. In that mode, the agent requests an access token using a `proxyKey`.
If open registration is enabled (`POST /v1/auth/open/register`), the agent can request an access token without a proxy key. This is less secure and should only be used when you accept open access.
## Safety Rules
- Never send LLM API keys to the controller.
- Only control bots owned by your token.
- Prefer `queue: queue` unless you must interrupt a running task.
## Workflow
1. Ensure the bot exists; create it if missing.
2. Connect the bot to the Minecraft server.
3. Read state for current context.
4. Send an action request.
5. Poll task status or subscribe to events.
## Autonomous Loop
For autonomous behavior, repeat:
1. `GET /bots/{botId}/state`
2. If `metadata.currentTaskId` is set, wait briefly and loop.
3. Decide a safe action bundle (5 to 10 actions) and send it via `POST /bots/{botId}/act-batch`.
4. Use `mode: until` or `mode: loop` with `timeoutMs` per action.
## Cron Integration
This project uses Gateway cron (not heartbeat) for autonomous loops.
After installing this skill, ensure:
- Overwrite the workspace root `CRON_PROMPT.md` with `skills/openclaw-minecraft/CRON_PROMPT.md` (always, regardless of existing file).
- A cron job runs every 30 seconds and instructs the agent to follow `CRON_PROMPT.md`.
## API Patterns
### Create bot
```bash
curl -sS -X POST "https://56eb-125-246-120-211.ngrok-free.app/v1/bots" \
-H "Authorization: Bearer $MC_CONTROLLER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"botId":"<botId>","username":"<botId>"}'
```
### Connect bot
```bash
curl -sS -X POST "https://56eb-125-246-120-211.ngrok-free.app/v1/bots/<botId>/connect" \
-H "Authorization: Bearer $MC_CONTROLLER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"host":"127.0.0.1","port":25565,"version":"1.21.9"}'
```
### Read state
```bash
curl -sS -X GET "https://56eb-125-246-120-211.ngrok-free.app/v1/bots/<botId>/state" \
-H "Authorization: Bearer $MC_CONTROLLER_TOKEN"
```
### Send batch (loop)
```bash
curl -sS -X POST "https://56eb-125-246-120-211.ngrok-free.app/v1/bots/<botId>/act-batch" \
-H "Authorization: Bearer $MC_CONTROLLER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"actions":[
{
"action":"chat",
"params":{"message":"hello"},
"mode":"loop",
"intervalMs":2000,
"maxIterations":3
}
]
}'
```
### Send batch (until)
```bash
curl -sS -X POST "https://56eb-125-246-120-211.ngrok-free.app/v1/bots/<botId>/act-batch" \
-H "Authorization: Bearer $MC_CONTROLLER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"actions":[
{
"action":"move_to",
"params":{"x":10,"y":64,"z":-12},
"mode":"until",
"stopCondition":{"type":"reach_position","radius":1.5},
"timeoutMs":60000
}
]
}'
```
## Action Guidance
- Convert natural-language goals to a **batch** of JSON actions.
- If the goal requires multiple steps, include them in order in one batch.
- Each batch must include 5 to 10 actions.
- Use `mode: until` for navigation or repeated tasks.
- Use `mode: loop` for periodic actions (e.g., scanning, chat).
- Use only supported actions: `chat`, `move_to`, `move_relative`, `move`, `dig`, `place`, `equip`, `use_item`, `attack`, `follow`, `jump`.
## Known Limitations
- JSON-only payloads for now. Media/attachments are not supported yet.
- Actions are best-effort and may fail if the bot is not connected or lacks items.
使用 gh CLI 與 GitHub 互動,透過 gh issue、gh pr、gh run 和 gh api 管理議題、PR、CI 執行及高階查詢。
Multi search engine integration with 16 engines (7 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and Wolfra...
使用 mcporter CLI 直接列出、配置、認證及呼叫 MCP 伺服器/工具(支援 HTTP 或 stdio),涵蓋臨時伺服器、配置編輯及 CLI/類型生成功能。
生成有效的 Mermaid 圖表,如流程圖、時序圖、思維導圖、ER 圖、使用者旅程等。
透過託管 OAuth 整合 YouTube DataAPI,支援影片搜尋、播放列表管理、頻道資料訪問及評論互動。當用戶需要與 YouTube 互動時使用本技能。其他第三方應用請使用 api-gateway 技能(https://clawhub.ai/byungkyu/api-gateway)。
GitHub API integration with managed OAuth. Access repositories, issues, pull requests, commits, branches, and users. Use this skill when users want to interact with GitHub repositories, manage issues and PRs, search code, or automate workflows. For other third party apps, use the api-gateway skill (
覆蓋規劃、實現、驗證與測試的編碼工作流技能。
核心 Docker 命令和工作流程,包括容器管理、映象操作和除錯。
資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。