Translates natural language queries into crunch-cli commands. Supports profiles and output formatting for Slack, Telegram, Discord, or plain text.
npmThis skill installs packages via npm (global):
| Package | Source | Purpose |
|---|---|---|
| --------- | -------- | --------- |
@crunchdao/crunch-cli | npm | CrunchDAO protocol CLI (coordinators, competitions, staking) |
Agent rules for package installation:
@crunchdao/crunch-cli from the official npm registry--registry overridescrunch-cli config set wallet /path/to/wallet.json or -w flag per command~/.crunch/config.jsonAgent rules for wallets:
.gitignore covers them~/.crunch/config.json)crunch-cli config commands — no need to edit manuallynpm install -g @crunchdao/crunch-cli
crunch-cli --version
The CLI has built-in profile management via ~/.crunch/config.json:
crunch-cli config show # Show current config
crunch-cli config active # Show resolved active values
crunch-cli config list-profiles # List available profiles
crunch-cli config save-profile <name> # Save current config as profile
crunch-cli config use <profile> # Switch profile
crunch-cli config set <key> <value> # Set config value
Global flags can override config per-command:
| Flag | Description |
|---|---|
| ------ | ------------- |
-n, --network | Solana network: mainnet-beta, devnet, localhost |
-u, --url | Custom RPC URL |
-w, --wallet | Path to Solana keypair |
-o, --output | Output format: json, table, yaml |
| User Phrase | CLI Command |
|---|---|
| ------------- | ------------- |
get/show crunch | crunch-cli crunch get " |
list crunches | crunch-cli crunch list |
get/show coordinator [address] | crunch-cli coordinator get [address] |
list coordinators | crunch-cli coordinator list |
get config | crunch-cli coordinator get-config |
checkpoint for | crunch-cli crunch checkpoint-get-current " |
create checkpoint | crunch-cli crunch checkpoint-create " |
deposit reward | crunch-cli crunch deposit-reward " |
drain | crunch-cli crunch drain " |
create/register cruncher | crunch-cli cruncher create |
register for | crunch-cli cruncher register " |
claim rewards | crunch-cli cruncher claim " |
show staking positions | crunch-cli staking positions |
stake/deposit | crunch-cli staking deposit |
delegate to | crunch-cli staking delegate " |
show staking rewards | crunch-cli staking rewards |
claim staking rewards | crunch-cli staking claim |
undelegate from | crunch-cli staking undelegate " |
withdraw stake | crunch-cli staking withdraw |
init workspace | crunch-cli init-workspace " |
list scenarios/simulations | crunch-cli model list |
run simulation | crunch-cli model run " |
register coordinator | crunch-cli coordinator register " |
create crunch | crunch-cli crunch create " |
start/end crunch | crunch-cli crunch start/end " |
Detect medium from user request ("for slack", "telegram format", etc.):
bold, • bullets, ━ separatorsbold, emoji prefixes## headers, boldIf command fails, suggest fixes:
-n mainnet-beta or -n devnet-w /path/to/wallet.jsoncrunch-cli crunch listScaffold a new competition workspace:
crunch-cli init-workspace my-challenge
This generates a full node workspace. See the coordinator-node-starter skill for customization.
For full CLI documentation: references/cli-reference.md
共 1 个版本