Diagnose cardano-cli: version, era-prefixed vs legacy syntax, network flags. Produces compatibility report.
npx playbooks add skill flux-point-studios/cardano-agent-skills --skill cardano-cli-doctor
--help, version, query tip)If cardano-cli is not installed locally, use the wrapper script in this skill folder to run cardano-cli inside Docker (the Cardano node container images include the CLI).
chmod +x {baseDir}/scripts/cardano-cli.sh
{baseDir}/scripts/cardano-cli.sh version
Notes:
/work so files like pparams.json, tx.body, datum.json work normally.CARDANO_NODE_SOCKET_PATH before running so query commands work.CARDANO_DOCKER_IMAGE=ghcr.io/intersectmbo/cardano-node:<tag>.cardano-cli conway --help works → era-prefixed supported--babbage-era in help → legacy flags supportedcardano-cli query tip --mainnet or --testnet-magic <N> CLI Version: X.Y.Z
Era-prefixed: ✓ conway, latest
Legacy flags: ✓ --babbage-era
Recommended: era-prefixed (cardano-cli conway ...)
Network: --testnet-magic 1 (preprod)
Input: User has cardano-cli 10.1.0
Output:
=== Cardano CLI Compatibility Report ===
CLI Version: 10.1.0.0
Git Rev: abc123
Supported Commands:
✓ cardano-cli conway --help (recommended)
✓ cardano-cli latest --help
✓ cardano-cli babbage --help
Recommended Style: ERA-PREFIXED
cardano-cli conway transaction build ...
cardano-cli conway query utxo ...
Network Flags:
Mainnet: --mainnet
Preprod: --testnet-magic 1
Preview: --testnet-magic 2
Input: User has cardano-cli 8.x
Output:
=== Cardano CLI Compatibility Report ===
CLI Version: 8.24.0.0
Supported Commands:
✗ Era-prefixed not available
Legacy Flags Detected:
✓ --babbage-era
✓ --alonzo-era
Recommended Style: LEGACY FLAGS
cardano-cli transaction build --babbage-era ...
.skey fileschmod 600 *.skey for real fundsshared/PRINCIPLES.md (repo)Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.