aperture

Health & Fitness
v1.0.0
Benign

Install and run Aperture, the L402 Lightning reverse proxy from Lightning Labs.

809 downloads809 installsby @roasbeef

Setup & Installation

Install command

clawhub install roasbeef/aperture

If the CLI is not installed:

Install command

npx clawhub@latest install roasbeef/aperture

Or install with OpenClaw CLI:

Install command

openclaw skills install roasbeef/aperture

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/roasbeef/aperture

What This Skill Does

Aperture is a reverse proxy implementing the L402 protocol, which gates HTTP access to backend services behind Lightning Network micropayments. It handles the full challenge-response flow: issuing macaroons and invoices on first request, then validating payment proofs before proxying to your backend.

Aperture is the reference L402 implementation from Lightning Labs, so it handles the full macaroon-and-invoice challenge flow without requiring custom auth logic in each backend service.

When to Use It

  • Protecting a REST API so callers pay per request in satoshis
  • Hosting paid data endpoints that other agents fetch using lnget
  • Testing L402 authentication flows against a local backend
  • Setting per-path prices and rate limits on an existing HTTP service
  • Running a payment-gated proxy on testnet before mainnet deployment

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Protecting a REST API so callers pay per request in satoshis

AGENT
  1. 1Protecting a REST API so callers pay per request in satoshis
  2. 2Hosting paid data endpoints that other agents fetch using lnget
  3. 3Testing L402 authentication flows against a local backend
  4. 4Setting per-path prices and rate limits on an existing HTTP service
  5. 5Running a payment-gated proxy on testnet before mainnet deployment
OUTPUT
Install and run Aperture, the L402 Lightning reverse proxy from Lightning Labs.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedMar 1, 2026