channel status balance

    by agent-bitcoin

    1

    Read channel activity, capacity, and local and remote balances.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    channel status balance

    Example session with this skill installed

    Check my current lightning channel statuses and tell me the total balances.

    • Read your context and instructions
    • Compiled the channel status balance

    I have retrieved the channel data from your LND node. The node is currently connected to 4 peers.

    Lightning Channel Status Report

    Channel IDRemote PubkeyStatusLocal BalanceRemote BalanceCapacity
    784532x94x102abcd...1234Active500,000500,0001,000,000
    784535x12x003f9e2...5678Active150,000850,0001,000,000
    789123x45x20288bb...9012Inactive0500,000500,000
    Totals--650,0001,850,0002,500,000

    Summary Observations

    • Liquidity: 26% of total capacity is on the local side.
    • Connectivity: One channel (789123x45x2) is currently inactive.

    Next steps

    1. Review the peer status for the inactive channel 789123x45x2.
    2. Consider rebalancing the second channel if you need more local outbound capacity.
    3. Proceed with payment now that liquidity is verified.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing liquidity in a Lightning Network node requires constant monitoring of channel distribution. This skill interfaces with an unlocked LND node to extract and aggregate channel data, ensuring you know exactly where your sats are before initiating payments.

    What it does

    • State monitoring reports the active status of all open channels to identify offline peers.
    • Balance tracking extracts local_balance and remote_balance for every individual channel.
    • Capacity auditing retrieves the total capacity and chan_id for the entire channel set.
    • Peer oversight checks the num_peers connected to the node to gauge network health.
    • Liquidity aggregation calculates the sum of local and remote balances across the node.

    How it works

    1. The agent initializes the agent_bitcoin client to communicate with the LND node.
    2. It executes get_info to verify node status and peer count.
    3. It calls list_channels to retrieve the full JSON payload of active and inactive channels.
    4. If the SDK is unavailable, it falls back to lncli commands via docker exec.
    5. The agent parses the JSON to present a structured report of balances and identifiers.

    Frameworks & tools

    This skill uses the agent-bitcoin SDK and communicates with lnd (Lightning Network Daemon). It is compatible with Docker-based environments and supports both Regtest and Mainnet configurations.

    Why this beats prompting it yourself

    Parsing raw JSON from LND is tedious and prone to human error when summing balances across dozens of channels. This skill automates the data extraction and math while strictly enforcing read-only behavior to prevent accidental fund movement.

    Use cases

    • Audit channel liquidity before sending or routing a large payment.
    • Identify inactive channels that may need to be closed or restarted.
    • Monitor local vs. remote balance ratios to determine rebalancing needs.

    Known limitations

    Requires an unlocked LND node; if the wallet is locked, the process will stop. Operations are read-only and cannot open or close channels.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 11 days ago

    Software
    Python 3.10+agent-bitcoin packageunlocked LND nodeRead-only

    Permissions

    Terminal / Shell
    Network Access
    Environment Variables
    Listed11 days ago

    What's inside

    Frequently Asked Questions

    This skill connects to your LND node to provide a structured audit of local and remote balances, channel status, and total capacity, eliminating the need to manually parse complex JSON data.

    The skill is designed for environments using the agent-bitcoin SDK and LND (Lightning Network Daemon), supporting both Docker-based setups and standard Linux environments on Mainnet or Regtest.

    This skill is strictly read-only; it can extract and aggregate data but lacks the permissions to open channels, close channels, or move funds, ensuring your node's security.

    No, the LND node must be unlocked for the skill to access the API; if the wallet is locked, the agent will report a connection error and stop the process.

    You receive the pre-configured skill logic, integration instructions for the agent-bitcoin SDK, and the automated data parsing workflows for structured reporting.

    The skill is built to handle nodes with numerous channels by automating the summation of balances across the entire channel set, providing a clear overview of liquidity regardless of node size.

    New in Web3 & Crypto

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Web3 & Crypto.