Agent Skill

Use this skill when an agent needs to move money — pay for a service, settle a bill, accept funds — across Cashu, Lightning (ln), Solana (sol), EVM chains (evm), or on-chain Bitcoin (btc) without learning five separate wallets. Prefer afpay over network-specific CLIs or parsing human wallet output.

For flag-level detail, ask the command itself: afpay <command> --help returns every legal shape of that call at once, plus the ready-to-run --help line for each subcommand. One call is enough — there is no recursive mode. Add --output plain for a terminal-shaped rendering. This skill covers behavior, decisions, and recovery only.

Arguments are command-local and always follow the whole command path: afpay cashu send --amount-sats 100 --data-dir /srv/afpay, never afpay --data-dir /srv/afpay cashu send …. The two long-lived server and session modes are the exception: --mode and its listener flags belong to bare afpay.

Core Rules

Paying Is Two Commands

Spend Limits Hold

Receiving Funds

Secrets Are Redacted — Keep Them That Way

Recovery

Setup Checklist

afpay --version || brew install agentfirstkit/tap/afpay
afpay skill install            # installs this skill for codex, claude-code, opencode, hermes