import { BotIcon, CopyIcon, ShieldCheckIcon, WalletIcon } from "lucide-react"; import React from "react"; import { toast } from "sonner"; import { AppDetailConnectedApps } from "src/components/connections/AppDetailConnectedApps"; import { AppStoreDetailHeader } from "src/components/connections/AppStoreDetailHeader"; import { appStoreApps } from "src/components/connections/SuggestedAppData"; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "src/components/ui/accordion"; import { Button } from "src/components/ui/button"; import { Card, CardContent, CardHeader, CardTitle, } from "src/components/ui/card"; import { LoadingButton } from "src/components/ui/custom/loading-button"; import { DEFAULT_APP_BUDGET_RENEWAL, DEFAULT_APP_BUDGET_SATS, } from "src/constants"; import { copyToClipboard } from "src/lib/clipboard"; import { createApp } from "src/requests/createApp"; import { handleRequestError } from "src/utils/handleRequestError"; const skillInstallCommand = "npx skills add getAlby/payments-skill"; const skillInstallPrompt = "Run `npx -y skills add getAlby/payments-skill -y` to install the Alby bitcoin payments skill"; const verifyPrompt = "What's your wallet balance?"; export function AlbyCliSkill() { const [isLoading, setLoading] = React.useState(false); const [connectionSecret, setConnectionSecret] = React.useState(""); const appStoreApp = appStoreApps.find((app) => app.id === "alby-cli-skill"); if (!appStoreApp) { return null; } const handleSubmit = async (event: React.FormEvent) => { event.preventDefault(); setLoading(true); try { const createAppResponse = await createApp({ name: appStoreApp.title, scopes: [ "get_info", "get_balance", "list_transactions", "lookup_invoice", "make_invoice", "notifications", "pay_invoice", "sign_message", ], maxAmountSat: DEFAULT_APP_BUDGET_SATS, budgetRenewal: DEFAULT_APP_BUDGET_RENEWAL, metadata: { app_store_app_id: "alby-cli-skill", }, }); setConnectionSecret(createAppResponse.pairingUri); toast("Alby CLI Skill connection created"); } catch (error) { handleRequestError("Failed to create connection", error); } finally { setLoading(false); } }; return (
{connectionSecret ? (

Follow these steps to install and use Alby CLI Skill with your AI agent.

Install with one command (Claude Code, Goose etc)
  • Install the Alby CLI skill:
    {skillInstallCommand}
  • Save your wallet connection secret at ~/.alby-cli/connection-secret.key .
Connection secret
OpenClaw setup
  • Tell your agent to install this skill as a custom skill:
    {skillInstallPrompt}
  • Save your wallet connection secret at ~/.alby-cli/connection-secret.key .
Connection secret
Verify it works

Ask your agent this question:

{verifyPrompt}
) : ( <> About the App

Alby CLI Skill is built for AI agents that need to use Alby CLI more effectively. It connects your Alby Hub to skill-enabled agents so they can use Bitcoin payments inside autonomous workflows.

  • Give your AI agent a programmable Lightning wallet to check balances, create invoices, and send payments from prompts.
  • Enable agentic payment workflows in OpenClaw with wallet context for multi-step tasks.
  • Use scoped NWC permissions with budgets so you can grant access safely and stay in control of spending.
Create Connection
)}
); }