Claude-skill-registry hive-run
Build and run Hive integration tests. Use when you need to test Ethereum clients using Hive's simulation framework.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/hive-run" ~/.claude/skills/majiayu000-claude-skill-registry-hive-run && rm -rf "$T"
manifest:
skills/data/hive-run/SKILL.mdsource content
Run Hive Tests
Build Hive and run integration test simulations against Ethereum clients.
Arguments
: Simulator to run (e.g.,$0
,ethereum/sync
)ethereum/rpc
: Client to test against (e.g.,--client
,core-geth
)go-ethereum
Hive Structure
- Client definitions:
hive/clients/<name>/ - Simulators:
hive/simulators/<category>/<name>/ - Clients are Docker containers configured via
environment variablesHIVE_*
Workflow
- Navigate to the hive directory
- Build hive if needed:
go build . - Run the specified simulator:
./hive --sim $0 --client <client> - Report the test results
Common Simulators
- Block synchronization testsethereum/sync
- JSON-RPC API testsethereum/rpc
- Consensus mechanism testsethereum/consensus
Example Usage
/hive-run ethereum/sync --client core-geth /hive-run ethereum/rpc --client go-ethereum
Troubleshooting
If tests fail:
- Check Docker is running and accessible
- Verify the client image builds successfully
- Check hive logs in the workspace directory
- Consult Hive Documentation