← Back to Skills Marketplace
pkwangwanjun

Bitaxe Skills

by pkwangwanjun · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
295
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bitaxe-skills
Description
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...
README (SKILL.md)

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

  1. Discover first unless the user already supplied a confirmed IP or hostname.
  2. Save the normalized discovery result when the user needs the miner list to be reused later.
  3. For a question about one metric, run show with --field instead of dumping the whole payload.
  4. For a comparison across miners, run discover --format json, then compare the normalized fields.
  5. Before writing settings, read the current payload or at least state the target device and intended keys.
  6. 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 / raw bestSessionDiff.
  • "历史最佳难度" or "best ever" maps to best_diff / raw bestDiff.
  • "当前算力" maps to hash_rate_ghs / raw hashRate.
  • "1 分钟算力", "10 分钟算力", "1 小时算力" map to the corresponding normalized rolling fields.
  • "池难度" maps to pool_difficulty.
  • "温度" maps to temp_c, while VR temperature maps to vr_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 /24 networks detected from the current machine and also probe 192.168.4.1.
  • If the user gives a specific CIDR, use that instead of guessing.
  • Treat success on GET /api/system/info as 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 set for common settings such as hostname, 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-unknown only 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.

Usage Guidance
This skill appears to do what it says: discover miners on your LAN and read or update their /api/system endpoints. Before installing or running it, consider: (1) only run it on networks and devices you control — discovery scans many IPs and write commands can reboot or reconfigure miners; (2) prefer read-only commands first (discover, show) to verify devices; (3) review the bundled scripts yourself (they are included) if you have concerns; (4) the README suggests installing via npx from a GitHub repo — if you follow that route, verify the repository/source identity before fetching; (5) if you need greater assurance, ask the publisher for a canonical homepage or repo to verify maintenance and provenance.
Capability Analysis
Type: OpenClaw Skill Name: bitaxe-skills Version: 1.0.0 The bitaxe-skills bundle is a legitimate tool for managing Bitaxe and Nerd solo miners on a local network. The primary script, scripts/bitaxe_skills.py, uses standard Python libraries to discover devices via subnet scanning and interact with their documented REST APIs (GET/PATCH/POST). While the script performs network discovery and device configuration, these actions are strictly aligned with the stated purpose, and no evidence of malicious intent, data exfiltration, or unauthorized remote execution was found.
Capability Assessment
Purpose & Capability
Name/description (discover and manage local miners) match the included code and SKILL.md: the script probes local private IP ranges, GETs /api/system/info, PATCHes /api/system, and POSTs /api/system/restart. No unrelated credentials, external services, or unexpected binaries are required.
Instruction Scope
SKILL.md directs local network discovery and both read and write actions (including restarts). This is within scope but inherently intrusive: discovery scans many LAN addresses and write operations can change device configuration. The SKILL.md and script include safety guidance (allowlist, inspect payload before unknown writes), which reduces concern but users should expect network scanning noise and potential device reboots when using write commands.
Install Mechanism
No install spec is provided (instruction-only skill), and the repository only bundles a Python script that uses the standard library. There are no downloads from arbitrary URLs, no archive extraction, and no package manager installs declared in the registry metadata.
Credentials
The skill requests no environment variables, no credentials, and no config paths. All network access is to local targets derived from host interfaces or explicit user-supplied targets, which is proportionate to the stated functionality.
Persistence & Privilege
always is false and the skill does not request elevated platform privileges. It does not modify other skills or system-wide agent settings. Autonomous invocation is permitted (platform default) but not combined with broader red flags.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bitaxe-skills
  3. After installation, invoke the skill by name or use /bitaxe-skills
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial ClawHub release.
Metadata
Slug bitaxe-skills
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 295 downloads so far.

How do I install Bitaxe Skills?

Run "/install bitaxe-skills" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Bitaxe Skills free?

Yes, Bitaxe Skills is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Bitaxe Skills support?

Bitaxe Skills is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bitaxe Skills?

It is built and maintained by pkwangwanjun (@pkwangwanjun); the current version is v1.0.0.

💬 Comments