cardano-cli-staking-operator
Execute staking operations: registration, delegation, rewards withdrawal. Manual invoke only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute staking operations: registration, delegation, rewards withdrawal. Manual invoke only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
Diagnose cardano-cli: version, era-prefixed vs legacy syntax, network flags. Produces compatibility report.
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.
| name | cardano-cli-staking-operator |
| description | Execute staking operations: registration, delegation, rewards withdrawal. Manual invoke only. |
| allowed-tools | ["Bash(cardano-cli:*)","Bash(cat:*)","Read","Write"] |
| disable-model-invocation | true |
| user-invocable | true |
| context | ["!cardano-cli version 2>&1 | head -5"] |
OPERATOR SKILL: Executes staking operations that modify on-chain state. Requires explicit human invocation.
cardano-cli-staking[ ] Network: ___________
[ ] Stake key files exist and are correct
[ ] Payment key for fees available
[ ] Pool ID verified (for delegation)
[ ] Current rewards balance checked
cardano-cli conway query stake-address-info \
--testnet-magic 1 \
--address $(cat stake.addr)
# Create registration certificate
cardano-cli conway stake-address registration-certificate \
--stake-verification-key-file stake.vkey \
--out-file stake-reg.cert
# Build tx with certificate
cardano-cli conway transaction build \
--testnet-magic 1 \
--tx-in <utxo>#<index> \
--change-address <payment-addr> \
--certificate-file stake-reg.cert \
--out-file tx.unsigned
# Sign with BOTH payment and stake keys
cardano-cli conway transaction sign \
--tx-file tx.unsigned \
--signing-key-file payment.skey \
--signing-key-file stake.skey \
--testnet-magic 1 \
--out-file tx.signed
# Submit (CONFIRM FIRST)
cardano-cli conway transaction submit \
--testnet-magic 1 \
--tx-file tx.signed
# Create delegation certificate
cardano-cli conway stake-address stake-delegation-certificate \
--stake-verification-key-file stake.vkey \
--stake-pool-id <pool-id-bech32> \
--out-file delegation.cert
# Build, sign (payment + stake), submit
# ... same pattern as registration
# Check rewards balance first
cardano-cli conway query stake-address-info \
--testnet-magic 1 \
--address $(cat stake.addr)
# Build withdrawal tx
cardano-cli conway transaction build \
--testnet-magic 1 \
--tx-in <utxo>#<index> \
--withdrawal $(cat stake.addr)+<reward-amount> \
--change-address <payment-addr> \
--out-file tx.unsigned
# Sign with BOTH keys and submit
cardano-cli-staking (guidance skill)shared/PRINCIPLES.md