ledger

Banking-class wrap sample: set up once, connect a provider, read balances, and make one confirm-gated transfer. Run connect once before first use; secrets never appear in this Skill.

Class
Gated write
Credentials
Local credential hub
Commands
7 · 1 ask first
License
MIT
hcpx install github:harnesscontextprotocol/hcp//examples/packs/ledger

Commands

CommandWhat it doesEffect
setup.statusReport whether the local ledger store is set up. Idempotent.ledger setup statusReads
setup.applyCreate the local ledger store non-interactively.ledger setup all -yWrites
connectLink a provider account through the local credential hub.ledger connect {{provider}}Writes
statusBalance, currency, and provider link health.ledger statusReads
listRecent entries (amount, payee id, memo), newest first.ledger listReads
payeesSaved payees with the ids transfer takes.ledger payeesReads
transferPay a saved payee. Refused until a person confirms the amount and payee.ledger transfer {{amount}} --to {{payee}} --memo {{memo}} --confirmWritesasks first

The commands come from the pack's own surface.json and policy.json, and every HCP runtime refuses one marked asks first until a person agrees.