{"id":"24b30993-c1cb-4e9b-9b8d-b2c5bbb4e6e6","entityType":"agent","slug":"unixlamadev-spec-openclaw-lightningprox","name":"lightningprox","canonicalUrl":"https://www.xpersona.co/agent/unixlamadev-spec-openclaw-lightningprox","canonicalPath":"/agent/unixlamadev-spec-openclaw-lightningprox","generatedAt":"2026-10-09T05:40:03.723Z","source":"GITHUB_OPENCLEW","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"description":"Pay-per-request AI model access via Bitcoin Lightning using prepaid spend tokens. Query Claude and GPT models without API keys. Deterministic, budget-controlled AI routing. --- name: lightningprox description: Pay-per-request AI model access via Bitcoin Lightning using prepaid spend tokens. Query Claude and GPT models without API keys. Deterministic, budget-controlled AI routing. metadata: clawdbot: emoji: \"⚡\" homepage: https://github.com/unixlamadev-spec/openclaw-lightningprox requires: env: - LIGHTNINGPROX_SPEND_TOKEN --- LightningProx — AI Access via Bitcoin Lightning LightningProx p","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"git clone https://github.com/unixlamadev-spec/openclaw-lightningprox.git","sourceUrl":"https://github.com/unixlamadev-spec/openclaw-lightningprox","homepage":null,"primaryLinks":[{"label":"View Source","url":"https://github.com/unixlamadev-spec/openclaw-lightningprox","kind":"source"}],"safetyScore":89,"overallRank":42.5,"popularityScore":0,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Pay-per-request AI model access via Bitcoin Lightning using prepaid spend tokens. Query Claude and GPT models without API keys. Deterministic, budget-controlled"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"No source adoption metrics were available."},"stars":0,"forks":0,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-02-25T01:46:38.122Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T05:21:22.124Z","lastCrawledAt":"2026-02-25T01:46:38.122Z","lastIndexedAt":null,"nextCrawlAt":"2026-02-26T01:46:38.122Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"git clone https://github.com/unixlamadev-spec/openclaw-lightningprox.git","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"GITHUB_OPENCLEW","generatedAt":"2026-10-09T05:40:03.723Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/unixlamadev-spec-openclaw-lightningprox/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"GITHUB OPENCLEW","verified":false,"confidence":"high","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":null},"readme":"---\nname: lightningprox\ndescription: Pay-per-request AI model access via Bitcoin Lightning using prepaid spend tokens. Query Claude and GPT models without API keys. Deterministic, budget-controlled AI routing.\nmetadata:\n  clawdbot:\n    emoji: \"⚡\"\n    homepage: https://github.com/unixlamadev-spec/openclaw-lightningprox\n    requires:\n      env:\n        - LIGHTNINGPROX_SPEND_TOKEN\n---\n\n# LightningProx — AI Access via Bitcoin Lightning\n\nLightningProx provides AI model access using prepaid Lightning spend tokens.\n\nIt is designed for agents and developers that want:\n\n- No API key management or secret storage\n- Deterministic per-request pricing\n- Prepaid budget ceilings\n- Stateless execution\n- Unified routing across Claude and GPT models\n\n## When to Use\n\nUse LightningProx when the user requests it, or when `LIGHTNINGPROX_SPEND_TOKEN` is configured and the user wants to make an AI model call through Lightning payments.\n\n## Usage Flow\n\nWhen making an AI request via LightningProx:\n\n1. Check that `LIGHTNINGPROX_SPEND_TOKEN` is set\n2. Select the appropriate model for the task\n3. Check balance if last check was not recent\n4. Warn the user if balance is under 50 sats before execution\n5. Extract and return clean text output only — never raw JSON\n\n## Budget Awareness\n\nBefore making AI calls:\n\n- If balance is unknown, check `/v1/balance` first\n- If balance is below estimated request cost, warn the user\n- Never make a request that would exceed remaining balance\n- If token is expired or invalid, notify the user to top up\n\n## Model Selection Strategy\n\nUse the lowest-cost sufficient model:\n\n- `claude-haiku-4-5-20251001` (~5 sats) — short answers, classification, summarization, quick reasoning\n- `claude-sonnet-4-20250514` (~22 sats) — deep analysis, code generation, long-form reasoning\n- `gpt-4o` (~20 sats) — only when user explicitly requests GPT\n\nIf uncertain which model to use, default to haiku.\n\n## Trust Statement\n\nThis skill routes requests through https://lightningprox.com, a third-party proxy. \nAll prompts and responses pass through this proxy to upstream model providers \n(Anthropic, OpenAI). Users should evaluate their own trust requirements before \nuse. Source code is available at the homepage repository. The spend token is \nsent as an HTTP header — no additional credentials are required.\n## Security Manifest\n\n- Environment variables accessed: LIGHTNINGPROX_SPEND_TOKEN (only)\n- External endpoints called: https://lightningprox.com/ (only)\n- Local files read: none\n- Local files written: none\n\n## Check Balance\n\n```bash\ncurl -s \"https://lightningprox.com/v1/balance\" \\\n  -H \"X-Spend-Token: $LIGHTNINGPROX_SPEND_TOKEN\"\n```\n\nReturns: balance_sats, requests_left_estimate, expires_at, status.\n\n## Make AI Request\n\n```bash\ncurl -s -X POST \"https://lightningprox.com/v1/messages\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Spend-Token: $LIGHTNINGPROX_SPEND_TOKEN\" \\\n  -d '{\n    \"model\": \"MODEL_NAME\",\n    \"max_tokens\": 4096,\n    \"messages\": [\n      {\"role\": \"user\", \"content\": \"USER_PROMPT_HERE\"}\n    ]\n  }'\n```\n\nResponse extraction:\n- Claude models: `response.content[0].text`\n- GPT models: `response.choices[0].message.content`\n\nReturn text only. Never show raw JSON to the user.\n\n## Discover Models and Pricing\n\n```bash\ncurl -s \"https://lightningprox.com/api/capabilities\"\n```\n\n## Top Up Flow\n\nWhen the agent detects low or zero balance, instruct the user:\n\nStep 1 — Request a Lightning invoice:\n\n```bash\ncurl -s -X POST \"https://lightningprox.com/v1/topup\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"amount_sats\": 5000, \"duration_hours\": 720}'\n```\n\nStep 2 — User pays the Lightning invoice with any Lightning wallet (Wallet of Satoshi, Phoenix, Zeus, Alby).\n\nStep 3 — Create the spend token:\n\n```bash\ncurl -s -X POST \"https://lightningprox.com/v1/tokens\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"charge_id\": \"CHARGE_ID_FROM_STEP_1\", \"duration_hours\": 720}'\n```\n\nStep 4 — User updates LIGHTNINGPROX_SPEND_TOKEN in their openclaw config with the new token.\n\nNote: Token creation requires a human to pay the Lightning invoice. The agent cannot pay invoices autonomously. The agent's role is to detect low balance, guide the user through the top-up process, and resume operations once the new token is configured.\n\n## Benefits\n\n- No secret storage or API key rotation\n- No billing accounts or subscription management\n- Prepaid deterministic spending with hard budget ceilings\n- Unified Claude and GPT routing through a single endpoint\n- Micropayment-native — pay only for what you use\n\n## Examples\n\n- \"Ask Claude through LightningProx what the capital of France is\" → Check balance, use haiku, present response\n- \"Check my LightningProx balance\" → Call balance endpoint, report sats remaining and estimated requests left\n- \"What models does LightningProx offer?\" → Call capabilities endpoint, list models with pricing\n- \"Use GPT-4o via LightningProx to analyze this code\" → Use gpt-4o, present response\n- \"My LightningProx balance is zero\" → Walk user through the top-up flow\n","readmeExcerpt":"--- name: lightningprox description: Pay-per-request AI model access via Bitcoin Lightning using prepaid spend tokens. Query Claude and GPT models without API keys. Deterministic, budget-controlled AI routing. metadata: clawdbot: emoji: \"⚡\" homepage: https://github.com/unixlamadev-spec/openclaw-lightningprox requires: env: - LIGHTNINGPROX_SPEND_TOKEN --- LightningProx — AI Access via Bitcoin Lightning LightningProx p","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"curl -s \"https://lightningprox.com/v1/balance\" \\\n  -H \"X-Spend-Token: $LIGHTNINGPROX_SPEND_TOKEN\""},{"language":"bash","snippet":"curl -s \"https://lightningprox.com/v1/balance\" \\\n  -H \"X-Spend-Token: $LIGHTNINGPROX_SPEND_TOKEN\""},{"language":"bash","snippet":"curl -s -X POST \"https://lightningprox.com/v1/messages\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Spend-Token: $LIGHTNINGPROX_SPEND_TOKEN\" \\\n  -d '{"},{"language":"bash","snippet":"curl -s -X POST \"https://lightningprox.com/v1/messages\" \\\n  -H \"Content-Type: application/json\" \\\n  -H \"X-Spend-Token: $LIGHTNINGPROX_SPEND_TOKEN\" \\\n  -d '{\n    \"model\": \"MODEL_NAME\",\n    \"max_tokens\": 4096,\n    \"messages\": [\n      {\"role\": \"user\", \"content\": \"USER_PROMPT_HERE\"}\n    ]\n  }'"},{"language":"bash","snippet":"curl -s \"https://lightningprox.com/api/capabilities\""},{"language":"bash","snippet":"curl -s \"https://lightningprox.com/api/capabilities\""}],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"GITHUB OPENCLEW","editorialOverview":"Pay-per-request AI model access via Bitcoin Lightning using prepaid spend tokens. Query Claude and GPT models without API keys. Deterministic, budget-controlled AI routing. --- name: lightningprox description: Pay-per-request AI model access via Bitcoin Lightning using prepaid spend tokens. Query Claude and GPT models without API keys. Deterministic, budget-controlled AI routing. metadata: clawdbot: emoji: \"⚡\" homepage: https://github.com/unixlamadev-spec/openclaw-lightningprox requires: env: - LIGHTNINGPROX_SPEND_TOKEN --- LightningProx — AI Access via Bitcoin Lightning LightningProx p","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":371,"uniquenessScore":67,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T05:21:22.124Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T05:40:03.723Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/github_openclew","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}