l402
Installation
SKILL.md
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.