Bitcoin for Openclaw

A specialized AI agent skill designed to assist with Bitcoin transaction lifecycle management, wallet recovery, and Lightning Network operations.

ivangdavila
v1.0.0
Feb 10, 2026
2
2.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install bitcoin

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install bitcoin using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Bitcoin?

The Bitcoin skill for Openclaw Skills provides a deep technical framework for agents to handle the complexities of the Bitcoin protocol. It bridges the gap between raw blockchain data and user-friendly assistance by interpreting derivation paths (BIP44, BIP84, BIP86), managing UTXOs, and navigating the nuances of the Lightning Network. This skill ensures that AI agents can provide accurate advice on everything from fee optimization to recovering stuck transactions, making it an essential component for any crypto-aware automation.

By leveraging this skill, developers can implement robust security patterns, such as recognizing dust attacks and verifying transaction signatures. The integration focuses on real-time data accuracy, utilizing industry-standard APIs to provide the most current network state, which is critical for preventing funds from being lost to incompatible address types or stale fee estimates.

Bitcoin Use Cases

  • Resolving missing fund issues caused by differing derivation paths across wallet softwares.
  • Optimizing transaction costs by identifying low-fee windows and using real-time mempool data.
  • Rescuing unconfirmed transactions through Replace-By-Fee (RBF) or Child-Pays-For-Parent (CPFP) logic.
  • Managing Lightning Network channel health, including inbound liquidity checks and invoice management.
  • Protecting users from clipboard malware and common crypto-based social engineering scams.

How Bitcoin Works

  1. The skill analyzes the user's wallet metadata to determine the correct address format (Legacy, SegWit, or Taproot) and derivation path.
  2. It queries the mempool.space API to fetch current sat/vB rates and network congestion levels.
  3. If a transaction is stuck, it evaluates the transaction's RBF flag or calculates the necessary fee for a CPFP rescue.
  4. For Lightning operations, it validates invoice expiration and assesses channel capacity to ensure successful routing.
  5. It applies a security heuristic to all addresses and transactions, checking for reuse or potential dust attack signatures.

Bitcoin Setup

To enable Bitcoin capabilities within your Openclaw Skills environment, ensure you have network access to blockchain explorers. Use the following commands to verify connectivity and retrieve network data:

# Test mempool API connectivity
curl -s "https://mempool.space/api/v1/fees/recommended"

# Check a specific Bitcoin transaction status
curl -s "https://mempool.space/api/tx/{txid}"

No local full node is required, though the skill can be configured to interface with one via RPC if high privacy is needed.

Bitcoin Data Schema & Taxonomy

The skill organizes Bitcoin data into the following structures to facilitate agent decision-making:

Object Key Attributes Purpose
Wallet Context Derivation Path (BIP44/84/86), Address Type Prevents zero-balance display errors
Fee Data sat/vB (Fast, Medium, Slow), Mempool Depth Optimizes transaction timing
Transaction TXID, Confirmations, RBF Status Monitors settlement and recovery options
Security Profile Reuse Count, Dust Flags, Scam Heuristics Protects user privacy and funds

Bitcoin Advanced Features

  • Multi-path derivation support for cross-wallet seed phrase recovery.
  • Automated CPFP fee calculation for receivers with unconfirmed incoming UTXOs.
  • Real-time Taproot (bc1p) compatibility checks for exchange withdrawals.
  • Inbound liquidity analysis for new Lightning Network channels.
  • Script-level transaction verification to detect advanced clipboard tampering.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*