startwithbitcoin

Generate Nostr identities, connect Lightning wallets via NWC, and send Bitcoin transactions.

6|1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/bramkanstein/startwithbitcoin-skill --skill startwithbitcoin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: startwithbitcoin
Source: https://github.com/bramkanstein/startwithbitcoin-skill/tree/main/skills/startwithbitcoin
Command: npx skills add https://github.com/bramkanstein/startwithbitcoin-skill --skill startwithbitcoin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nostr-tools, @getalby/sdk, @noble/hashes, bitcoinjs-lib, ecpair, tiny-secp256k1, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables AI agents to securely transact and establish verifiable identities using Bitcoin and the Nostr protocol, overcoming limitations of traditional financial systems for AI.

Core Features & Use Cases

  • Nostr Identity Generation: Create secure, decentralized identities for AI agents.
  • Lightning Wallet Connection: Integrate with wallets like Alby using Nostr Wallet Connect (NWC) for programmatic payments.
  • Bitcoin Payments: Send and receive Bitcoin on both the Lightning Network (instant, low-fee) and on-chain (for larger amounts).
  • Nostr Communication: Send encrypted direct messages and post public notes via the Nostr network.
  • Use Case: An AI agent needs to pay for a service. This skill allows the agent to generate a Nostr identity, connect to a Lightning wallet via NWC, create a payment invoice, and send Bitcoin to the service provider.

Quick Start

Use the startwithbitcoin skill to generate a Nostr identity and connect an Alby wallet.

Frequently Asked Questions about startwithbitcoin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable AI agents to make Bitcoin payments via the Lightning Network?

To enable Bitcoin payments, generate a Nostr identity for the agent and connect it to a Lightning wallet like Alby via NWC, allowing the agent to create invoices and transact autonomously.

Can AI agents generate their own Nostr identities for decentralized communication?

Yes, AI agents can generate secure Nostr identities to establish verifiable decentralized identities, enabling them to send encrypted direct messages and post public notes on the Nostr network.

Does this approach support both on-chain and Lightning Network transactions?

Yes, this approach supports both Lightning Network transactions for instant, low-fee payments and on-chain Bitcoin transactions for larger amounts using bitcoinjs-lib.

What is needed to connect an AI agent to an Alby wallet for programmatic payments?

To connect an AI agent to an Alby wallet, you need Nostr Wallet Connect (NWC) to establish the link, leveraging nostr-tools and the getalby SDK for the core connection and payment functionality.

How do AI agents use Nostr for secure communication and transaction verification?

AI agents use Nostr to generate decentralized identities, send encrypted direct messages, post public notes, and verify transactions, overcoming traditional financial system limitations for machine-to-machine interactions.

Are there limitations when using Lightning Network for AI agent micropayments?

Lightning Network is suited for instant, low-fee transactions, but for larger Bitcoin amounts, on-chain transactions are required, meaning agents must manage both payment types depending on the transaction size.