Bitaxe Skills
/install bitaxe-skills
Bitaxe Skills
Overview
Use the bundled CLI to discover miners on the same subnet, normalize their mixed Bitaxe and Nerd payloads, and safely perform common read and write actions.
Prefer the script over handwritten curl when the task involves discovery, field extraction, comparisons, or repeated updates.
Primary Tool
Use scripts/bitaxe_skills.py as the default interface.
Quick examples:
# Discover miners on the local LAN and save a normalized inventory
python3 scripts/bitaxe_skills.py discover --save /tmp/solo-miners.json
# Probe a specific device and return one metric
python3 scripts/bitaxe_skills.py show 192.168.28.89 --field bestSessionDiff
# Query the raw JSON from one device
python3 scripts/bitaxe_skills.py show luckyminer001 --format raw
# Update a common setting and immediately restart
python3 scripts/bitaxe_skills.py set luckyminer001 fanspeed=95 --restart
# Restart a device
python3 scripts/bitaxe_skills.py restart 192.168.4.1
Workflow
- Discover first unless the user already supplied a confirmed IP or hostname.
- Save the normalized discovery result when the user needs the miner list to be reused later.
- For a question about one metric, run
showwith--fieldinstead of dumping the whole payload. - For a comparison across miners, run
discover --format json, then compare the normalized fields. - Before writing settings, read the current payload or at least state the target device and intended keys.
- Restart after writes when the user wants the new configuration applied immediately.
Field Semantics
Use the normalized fields from the script unless the user explicitly asks for raw JSON keys.
- "本轮最佳难度" or "current round best" maps to
best_session_diff/ rawbestSessionDiff. - "历史最佳难度" or "best ever" maps to
best_diff/ rawbestDiff. - "当前算力" maps to
hash_rate_ghs/ rawhashRate. - "1 分钟算力", "10 分钟算力", "1 小时算力" map to the corresponding normalized rolling fields.
- "池难度" maps to
pool_difficulty. - "温度" maps to
temp_c, while VR temperature maps tovr_temp_c.
If the user says only “最佳难度” and does not clarify whether they mean current round or lifetime best, return both values.
Discovery Rules
- By default, discover on the local private
/24networks detected from the current machine and also probe192.168.4.1. - If the user gives a specific CIDR, use that instead of guessing.
- Treat success on
GET /api/system/infoas the source of truth for device presence. - Record at least the normalized IP, type, hostname, model, ASIC model, firmware, pool target, hashrate, temperature, power, and difficulty fields.
Write Safety
- Use
setfor common settings such ashostname,fanspeed,autofanspeed,temptarget,frequency,coreVoltage, pool URL, pool port, pool user, and display settings. - The script has a safe allowlist for documented common keys and a small Nerd-specific observed allowlist.
- If the requested key is outside that set, inspect the current payload first and use
--allow-unknownonly when the field is already visible on the device or the user provided firmware-specific evidence. - Tell the user when a write was sent and whether a restart was also sent.
References
Read references/api-map.md when you need the cross-model field map, query heuristics, or update safety notes.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install bitaxe-skills - 安装完成后,直接呼叫该 Skill 的名称或使用
/bitaxe-skills触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Bitaxe Skills 是什么?
Discover, inspect, and manage solo miners on the same local network, with support for Bitaxe and Nerd or NerdAxe devices. Use when Codex or OpenClaw needs to... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 295 次。
如何安装 Bitaxe Skills?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install bitaxe-skills」即可一键安装,无需额外配置。
Bitaxe Skills 是免费的吗?
是的,Bitaxe Skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Bitaxe Skills 支持哪些平台?
Bitaxe Skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Bitaxe Skills?
由 pkwangwanjun(@pkwangwanjun)开发并维护,当前版本 v1.0.0。