Execute staking operations: registration, delegation, rewards withdrawal. Manual invoke only.
npx playbooks add skill flux-point-studios/cardano-agent-skills --skill cardano-cli-staking-operator
> 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.mdWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.