cardano-cli-doctor
Diagnose cardano-cli: version, era-prefixed vs legacy syntax, network flags. Produces compatibility report.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Diagnose cardano-cli: version, era-prefixed vs legacy syntax, network flags. Produces compatibility report.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | cardano-cli-doctor |
| description | Diagnose cardano-cli: version, era-prefixed vs legacy syntax, network flags. Produces compatibility report. |
| allowed-tools | ["Bash(cardano-cli:*)","Bash(which:*)","Read"] |
| context | ["!cardano-cli version 2>&1 | head -10","!cardano-cli --help 2>&1 | head -40","!cardano-cli conway --help 2>&1 | head -20","!cardano-cli latest --help 2>&1 | head -10","!cardano-cli transaction build --help 2>&1 | head -30"] |
--help, version, query tip)Collect environment facts (auto-injected via context)
Decide command style
cardano-cli conway --help works → era-prefixed supported--babbage-era in help → legacy flags supportedNetwork sanity (optional, if socket available)
cardano-cli query tip --mainnet or --testnet-magic <N>Produce Compat Report
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)CRITICAL: Use for performance optimization. Triggers: performance, optimization, benchmark, profiling, flamegraph, criterion, slow, fast, allocation, cache, SIMD, make it faster, 性能优化, 基准测试
Use when integrating crates or ecosystem questions. Keywords: E0425, E0433, E0603, crate, cargo, dependency, feature flag, workspace, which crate to use, using external C libraries, creating Python extensions, PyO3, wasm, WebAssembly, bindgen, cbindgen, napi-rs, cannot find, private, crate recommendation, best crate for, Cargo.toml, features, crate 推荐, 依赖管理, 特性标志, 工作空间, Python 绑定
Encode and decode bech32 and bech32m strings using the local bech32 and bech32m CLI.
Execute Plutus script transactions: script spends, datum/redeemer submission. Manual invoke only.
Plutus script guidance: datums, redeemers, collateral, reference scripts. Templates only—use operator to execute.
Execute staking operations: registration, delegation, rewards withdrawal. Manual invoke only.