cardano-cli-operator
8
总安装量
3
周安装量
#34044
全站排名
安装命令
npx skills add https://github.com/flux-point-studios/cardano-agent-skills --skill cardano-cli-operator
Agent 安装分布
claude-code
2
amp
1
openclaw
1
kimi-cli
1
codex
1
Skill 文档
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.