l402
L402
Overview
Build and operate Lightning-native agent commerce flows using L402. Use this skill when tasks involve setting up Lightning payment infrastructure (lnd), enforcing key isolation with a remote signer, baking scoped macaroons, paying for L402-gated APIs with lnget, selling paid endpoints behind aperture, querying node state with Lightning MCP over LNC, or orchestrating end-to-end buyer and seller workflows.
This skill is based on ~/code/lightning-agent-tools and should be treated as Bitcoin and Lightning only.
Environment
- Requires
bash,curl, andjq. - Requires access to
~/code/lightning-agent-tools(orLIGHTNING_AGENT_TOOLS_DIRoverride). - Docker is the default runtime for node and signer flows.
- Go 1.24+ is needed for source builds;
npxcan be used for zero-install MCP.
Use this skill for concrete implementation and operations, not generic payment theory.
Workflow
More from openagentsinc/openagents
worker-logs
Tail and inspect Cloudflare Worker logs from the CLI. Use when debugging API 401/500, legacyparity auth, or web app errors. Covers both the homepage worker (apps/web) and the API worker (apps/api).
37moneydevkit
Money Dev Kit workflows for Lightning checkout and agent wallets.
36blink
Bitcoin Lightning wallet for agents — balances, invoices, payments, BTC/USD swaps, QR codes, price conversion, and transaction history via the Blink API. All output is JSON.
34charms
Charms workflows for Bitcoin app contracts, spell proving, and UTXO asset operations.
34neutronpay
Neutronpay MCP and SDK workflows for Lightning, stablecoin, and fiat payments.
34mezo
Mezo integration workflows for apps, autonomous agents, and Mezo Earn operations.
33