name: cardano-cli-operator
description: "Manual-only operator command for Cardano CLI: dispatches directly to OpenClaw Exec Tool (no model) so you can run deterministic, approval-gated cardano-cli commands (native or Docker fallback)."
argument-hint: ""
disable-model-invocation: true
command-dispatch: tool
command-tool: exec
command-arg-mode: raw
metadata: {"openclaw":{"emoji":"\u2699\ufe0f","requires":{"anyBins":["cardano-cli","docker"],"bins":["curl"]},"install":[{"id":"brew","kind":"brew","formula":"colima docker docker-compose curl","bins":["colima","docker","docker-compose","curl"],"label":"Install Docker runtime (Colima) + Docker CLI + Compose + curl (brew)","os":["darwin","linux"]}],"homepage":"https://docs.openclaw.ai/tools/exec"}}
cardano-cli-operator (manual-only)
This skill is a deterministic exec gateway: when you run the slash command, OpenClaw bypasses the model and forwards your arguments straight to the Exec Tool (command-dispatch: tool).
Safety first: force approvals + allowlist mode
Before using this operator, set Exec defaults for the session:
/exec host=gateway security=allowlist ask=on-miss
Allowlist-safe shortcut (recommended)
If your Exec allowlist is strict, allowlist one entrypoint and route everything through it:
- Allowlist:
~/Projects/**/cardano-agent-skills/scripts/oc-safe.sh(adjust glob) - Run:
/cardano_cli_operator ./scripts/oc-safe.sh cardano version/cardano_cli_operator ./scripts/oc-safe.sh cardano query tip --mainnet
Use it (copy/paste)
Run cardano-cli via the included wrapper (native cardano-cli if installed, otherwise Docker fallback):
Version
/cardano_cli_operator ./skills/cardano-cli-operator/scripts/cardano-cli.sh version
Query tip (requires socket / correct network)
/cardano_cli_operator ./skills/cardano-cli-operator/scripts/cardano-cli.sh query tip --mainnet
Dump protocol params (example)
/cardano_cli_operator ./skills/cardano-cli-operator/scripts/cardano-cli.sh query protocol-parameters --mainnet --out-file pparams.json
Socket note (Docker fallback)
If you have a local node socket and you're using Docker fallback, set:
CARDANO_NODE_SOCKET_PATH=/path/to/node.socket
Notes
- This operator does not decide what to run; it runs what you type deterministically.
- Use the non-operator skills for guidance and safe templates.