SkillsLib.ai

Lnget

Download files with automatic Lightning micropayment handling via L402

4.2(44 reviews)
100+ downloads
Updated Sep 2026
Verified SafeSecurity VerifiedThis skill was analyzed by our AI security scanner for harmful content including data exfiltration, system manipulation, credential theft, and prompt injection. No threats were detected.

What You Can Do

Use lnget to fetch files and data from HTTP endpoints that require L402 Lightning micropayments. The tool automatically detects payment requirements (HTTP 402 responses), processes Lightning payments through your connected LND node, and retries requests—all without manual intervention. You can preview costs before paying, manage authentication tokens, and output results in machine-readable JSON or raw format.

Features

Automatic L402 payment flow

detects HTTP 402 challenges and pays Lightning invoices automatically

Dry-run mode

preview payment amounts and costs before executing transactions

Multiple output formats

JSON metadata, raw body content, or piped responses for scripting

Token management

list, inspect, and clear cached authentication tokens per domain

Lightning backend integration

supports both LND (macaroon auth) and LNC (pairing phrase) connections

Cost controls

set maximum payment limits to prevent unexpected charges

CLI and MCP interfaces

use via command line or as Claude's Machine Control Protocol tool

Event logging and introspection

check Lightning node status and review command schemas

Example Output

code
$ lnget --json --print-body https://api.example.com/data.json
{
  "status": 200,
  "headers": {"content-type": "application/json"},
  "body": {"data": "fetched content"},
  "payment": {"amount_sat": 250, "status": "paid"}
}

$ lnget tokens list --json
[{"domain": "api.example.com", "amount_sat": 500}, {"domain": "data.provider.io", "amount_sat": 1000}]

$ lnget --dry-run https://paid-endpoint.example.com
{"estimated_cost_sat": 150, "preview": true}

What's Included

  • SKILL.md: Complete lnget reference guide with CLI commands and usage patterns
  • Quick Reference Cheat Sheet: Essential flags and common command patterns for HTTP downloads and token management
  • L402 Payment Workflow Examples: Copy-paste command templates for automatic payment handling
  • Lightning Backend Setup Guide: Configuration instructions for LND macaroon and LNC pairing authentication
  • Schema Introspection Toolkit: Commands to explore available parameters and verify Lightning node connectivity

Who It's For

  • API developers and data engineers integrating L402-protected endpoints
  • DevOps engineers automating downloads from paid content sources
  • Bitcoin/Lightning developers building payment-integrated workflows
  • Research teams accessing paid datasets with micropayment billing
  • SREs managing infrastructure that consumes metered API services

Best For

  • Fetching data from L402-protected APIs and endpoints
  • Automating file downloads with embedded micropayment handling
  • Previewing payment costs before executing transactions
  • Managing and rotating Lightning authentication tokens
  • Building agent-driven workflows that handle paid content access

You might also like

Logic Pro Session Architect
$35
Logic Pro3.3(3)
Logic Pro Session Architect

You can architect and optimize your Logic Pro sessions for professional mixing, routing, and production efficiency. Claude guides you through session design decisions, routing strategies, and workflow optimization to reduce setup time and improve mix consistency across projects.

Funnel Optimization Analysis & Strategy
$35
Funnel Optimization Analysis & Strategy

You can diagnose exactly where prospects drop off in your funnel, quantify the impact of each bottleneck, and receive prioritized optimization strategies backed by conversion metrics. This skill analyzes your funnel architecture, identifies friction points, and delivers actionable experiments (A/B tests, copy changes, UX improvements) ranked by expected revenue impact.

Social Media Strategy & Engagement Optimizer
$20
Social Media Strategy & Engagement Optimizer

This skill helps you develop comprehensive social media strategies tailored to your audience demographics and platform dynamics. You'll optimize posting schedules, identify high-performing content themes, and create actionable engagement plans that drive measurable growth and community building across all major social platforms.

Affiliate Performance Optimizer
$30
Affiliate Performance Optimizer

Upload your affiliate program data and let Claude analyze performance patterns, identify underperforming partners, and recommend commission structures that maximize revenue. You'll receive data-driven insights on cohort performance, churn risk, and optimization opportunities—all backed by clear metrics and actionable recommendations.

Brand Name Generation Strategy
$35
Brand Name Generation Strategy

Create compelling brand names that align with your market positioning, target audience, and business goals. You'll receive 15-25 strategically-sound candidates, each with linguistic analysis, competitive positioning assessment, and cultural implications reviewed. Every recommendation includes domain availability status, trademark conflict identification, and actionable launch strategy guidance.

Competitive Intelligence Analyst
$30
Competitive Intelligence Analyst

You can quickly structure competitor research, map competitive positioning across markets, and identify white space opportunities. The skill synthesizes company data, product analysis, and market trends into actionable strategic recommendations that inform your go-to-market strategy and product roadmap.

DMP Audience Architecture & Segment Optimization
$35
DMP3.8(5)
DMP Audience Architecture & Segment Optimization

You can architect sophisticated audience segments within your DMP, optimize them for campaign performance, and map audiences across marketing channels. This skill helps you classify customer data into actionable segments, define activation rules, analyze segment quality metrics, and recommend optimization strategies based on your business objectives and data constraints.

Screenpipe Api
$25
Backend4.4(49)
Screenpipe Api

Query your local Screenpipe instance to retrieve screen recordings, audio transcriptions, UI element accessibility trees, keyboard/mouse input logs, and productivity analytics. You can search by keywords, filter by content type (audio, OCR, accessibility, input), set time ranges, and extract structured data about your applications, meetings, and work sessions without sending data to external servers.

$30.00