cardano-cli-operator

Original🇺🇸 English
Translated
1 scripts

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).

4installs

NPX Install

npx skill4agent add flux-point-studios/cardano-agent-skills cardano-cli-operator

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.