action-patterns
Installation
SKILL.md
Action Patterns
The shared mechanics behind every @1sat/actions operation: the action/context pattern, two-phase signing, BEEF resolution, the registry, and baskets/tags. For a specific operation, jump to the domain skill (pointers below).
The Action System
Every operation is an Action with meta (name, description, category, input schema) and an execute(ctx, input) method:
createContext(wallet, { services }) → action.execute(ctx, input) → { txid, tx, error }
Actions work with any BRC-100 compatible wallet (OneSatWallet, browser extension, wallet-remote, etc).
Context Setup
createContext takes the wallet positionally and an options object second: