π¦ ClawHub
Cavos Cli
by @adrianvrj
Interact with the Cavos CLI for Starknet wallet operations. Use for transfers, approvals, contract calls, session management, and transaction monitoring.
TERMINAL
clawhub install cavos-cli-skillπ About This Skill
name: cavos-cli description: Interact with the Cavos CLI for Starknet wallet operations. Use for transfers, approvals, contract calls, session management, and transaction monitoring. metadata: { "openclaw": { "requires": { "bins": ["npx"] } } }
Cavos CLI Skill
This skill allows you to interact with the Cavos CLI (@cavos/cli) to manage Starknet wallets, perform transfers, and execute contract calls.
Core Commands
Always use the --json flag when possible to get structured output.
1. Identity & Session
npx @cavos/cli whoami --json
npx @cavos/cli session-status --json
npx @cavos/cli session import
2. Assets & Transfers
npx @cavos/cli balance --token --json
npx @cavos/cli transfer --to --amount --token --json
3. Contract Interactions
npx @cavos/cli approve --spender --amount --token --json
npx @cavos/cli execute --contract --entrypoint --calldata --json
npx @cavos/cli call --contract --entrypoint --calldata --json
4. Advanced Operations
npx @cavos/cli multicall --calls '' --json
npx @cavos/cli simulate --contract --entrypoint --calldata --json
npx @cavos/cli tx status --json
Best Practices
1. Verify Balance: Always runbalance before a transfer.
2. Check Session: Run whoami or session-status at the start of a workflow to ensure authentication.
3. Use JSON: Parsing JSON output is safer than regexing stdout.
4. Calldata: Calldata for execute and call should be comma-separated strings (e.g., 0x1,100).
π Tips & Best Practices
1. Verify Balance: Always run balance before a transfer.
2. Check Session: Run whoami or session-status at the start of a workflow to ensure authentication.
3. Use JSON: Parsing JSON output is safer than regexing stdout.
4. Calldata: Calldata for execute and call should be comma-separated strings (e.g., 0x1,100).