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, and jq.
  • Requires access to ~/code/lightning-agent-tools (or LIGHTNING_AGENT_TOOLS_DIR override).
  • Docker is the default runtime for node and signer flows.
  • Go 1.24+ is needed for source builds; npx can be used for zero-install MCP.

Use this skill for concrete implementation and operations, not generic payment theory.

Workflow

Related skills
Installs
34
GitHub Stars
415
First Seen
Feb 28, 2026