crunch-coordinate
Original:🇺🇸 English
Translated
Use when managing Crunch coordinators, competitions (crunches), rewards, checkpoints, staking, or cruncher accounts via the crunch-cli.
5installs
Sourcecrunchdao/crunch-skill
Added on
NPX Install
npx skill4agent add crunchdao/crunch-skill crunch-coordinateTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Crunch Protocol CLI Skill
Translates natural language queries into commands. Supports profiles and output formatting for Slack, Telegram, Discord, or plain text.
crunch-cliPrerequisites
- Node.js 18+ with
npm - Solana wallet keypair (for on-chain operations)
Package Installation
This skill installs packages via npm (global):
| Package | Source | Purpose |
|---|---|---|
| npm | CrunchDAO protocol CLI (coordinators, competitions, staking) |
Agent rules for package installation:
- Only install from the official npm registry
@crunchdao/crunch-cli - No custom registry URLs — no overrides
--registry - Ask the user before installing if not already present
Credentials
Solana Wallet Keypair (required for on-chain operations)
- What it is: A JSON file containing a Solana private key, used to sign transactions
- How it's configured: Set via or
crunch-cli config set wallet /path/to/wallet.jsonflag per command-w - Stored in: User-managed file on disk; path referenced in
~/.crunch/config.json
Agent rules for wallets:
- Never create or generate wallet keypairs unless the user explicitly asks and understands the security implications
- Never read or display the contents of wallet keypair files
- Never commit wallet files to git — always verify covers them
.gitignore - Ask the user for the wallet path — never assume or search for keypair files
Profile Config (~/.crunch/config.json
)
~/.crunch/config.json- Stores network, wallet path, and RPC URL per profile
- Managed via commands — no need to edit manually
crunch-cli config - Never modify or delete existing profiles unless explicitly asked
Setup
bash
npm install -g @crunchdao/crunch-cli
crunch-cli --versionProfiles
The CLI has built-in profile management via :
~/.crunch/config.jsonbash
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 valueGlobal flags can override config per-command:
| Flag | Description |
|---|---|
| Solana network: |
| Custom RPC URL |
| Path to Solana keypair |
| Output format: |
Direct Phrase Mapping
| User Phrase | CLI Command |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Execution Pattern
- Parse — Identify action, target, name/identifier, parameters
- Resolve profile — If mentioned, switch profile or use flags
- Map — Use phrase mapping table
- Execute — Run command
- Format — Output for requested medium (Slack/Telegram/Discord/plain)
Output Formatting
Detect medium from user request ("for slack", "telegram format", etc.):
- Slack: ,
*bold*bullets,•separators━ - Telegram: , emoji prefixes
<b>bold</b> - Discord: ,
## headers**bold** - Plain: Simple key: value pairs
Error Handling
If command fails, suggest fixes:
- Wrong network? Add or
-n mainnet-beta-n devnet - Missing wallet? Add
-w /path/to/wallet.json - Not found? List available with
crunch-cli crunch list
Coordinator Node Setup
Scaffold a new competition workspace:
bash
crunch-cli init-workspace my-challengeThis generates a full node workspace. See the coordinator-node-starter skill for customization.
Reference
For full CLI documentation: references/cli-reference.md