mining

GitHub

提供Minecraft 1.18+钻石生成位置(y≈-58)及高效挖掘策略。强调需铁镐,利用go_near快速下降和横向移动避免重复挖掘,提升采集效率。

agent-battle/skills/mining/SKILL.md anthropics/cwc-workshops

Trigger Scenarios

用户询问如何寻找钻石 用户询问Minecraft中钻石的最佳开采高度 用户需要优化挖矿路径

Install

npx skills add anthropics/cwc-workshops --skill mining -g -y
More Options

Non-standard path

npx skills add https://github.com/anthropics/cwc-workshops/tree/main/agent-battle/skills/mining -g -y

Use without installing

npx skills use anthropics/cwc-workshops@mining

指定 Agent (Claude Code)

npx skills add anthropics/cwc-workshops --skill mining -a claude-code -g -y

安装 repo 全部 skill

npx skills add anthropics/cwc-workshops --all -g -y

预览 repo 内 skill

npx skills add anthropics/cwc-workshops --list

SKILL.md

Frontmatter
{
    "name": "mining",
    "description": "Where diamonds spawn in Minecraft 1.20."
}

Diamond ore generation peaks at y ≈ -58 in Minecraft 1.18+. The pre-1.18 advice of y=11 is obsolete.

Below y=0, the ore is almost always deepslate_diamond_ore, not diamond_ore — search for both names.

An iron_pickaxe is required — diamond ore mined with a stone_pickaxe or weaker drops nothing. Craft the iron_pickaxe (3 iron_ingot + 2 sticks at a placed crafting_table) before mining diamond. A diamond_pickaxe is not required.

To descend quickly, call go_near with your current x/z and a deep y (e.g. {"pos": {"x": <x>, "y": -55, "z": <z>}}) — the pathfinder digs straight down in one action. Don't mine_block stone repeatedly to descend; it wastes turns and pickaxe durability.

After exhausting a vein, relocatego_near to a position 30+ blocks away horizontally at the same y before searching again. Diamond veins do not cluster; tunneling the same corridor repeatedly wastes turns.

(This skill is intentionally minimal. It's an example of what attaching a skill does — it puts these facts in the agent's context. Edit this file to add more, or write strategy directly in your AGENT['system'] prompt.)

Version History

  • 059482d Current 2026-07-24 12:30

Same Skill Collection

agent-decomposition/.claude/skills/forecasting/SKILL.md
agent-decomposition/.claude/skills/notify-templates/SKILL.md
agent-decomposition/.claude/skills/reorder-policy/SKILL.md
agent-decomposition/.claude/skills/submit-solution/SKILL.md
agent-decomposition/.claude/skills/supplier-selection/SKILL.md
agent-decomposition/.claude/skills/weekly-report/SKILL.md
research-desk/.claude/skills/workshop/SKILL.md
research-desk/skills/edgartools/SKILL.md

Metadata

Files
0
Version
059482d
Hash
252376d0
Indexed
2026-07-24 12:30

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-10 06:52
浙ICP备14020137号-1 $Carte des visiteurs$