peer status connectivity

    by agent-bitcoin

    1

    Read peer address, traffic, and ping time, plus num_peers.

    $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

    peer status connectivity

    Example session with this skill installed

    Check my Lightning node peer status and list all active connections.

    • Read your context and instructions
    • Compiled the peer status connectivity

    I have queried the LND node info and peer list. The wallet is currently unlocked and the node is active on the regtest network.

    Total Connected Peers: 3

    Lightning Peer Connectivity Report

    Public KeyAddressInboundPing Time (ns)Sent (Bytes/Sat)Received (Bytes/Sat)
    02a1b2...3c4d172.18.0.4:9735false450,2001,024 / 50,0002,048 / 120,000
    03f5e6...7g8h192.168.1.50:9735true1,205,800512 / 0128 / 0
    0288c9...1z2y45.79.12.3:9735false85,400,00012,400 / 1,500,0008,900 / 450,000

    Next steps

    • Review the high latency (85ms) on peer 0288c9 if routing failures occur.
    • Verify the inbound peer 03f5e6 has sufficient local balance for receiving payments.
    • Use the peer count to verify your node meets your minimum connectivity requirements for pathfinding.

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

    About this skill

    Lightning Network node operators often struggle to diagnose routing failures or liquidity issues without visibility into their peer health. This skill provides a direct read of peer connectivity, traffic metrics, and latency from an unlocked LND node.

    What it does

    • Peer count reporting extracts the total number of connected peers from the node info.
    • Traffic analysis monitors bytes_sent, bytes_recv, sat_sent, and sat_recv per peer.
    • Connection metadata retrieves the public key, network address, and inbound/outbound status for every active connection.
    • Latency monitoring reports the ping_time for each peer to identify slow or unresponsive routes.

    How it works

    1. The skill attempts to fetch general node info via the agent-bitcoin SDK to check the connection and peer count.
    2. It executes lncli listpeers within the specific LND container environment.
    3. It parses the resulting JSON to map peer public keys to their respective data and traffic metrics.
    4. It halts and notifies the user if it detects the wallet is in a locked state.

    Frameworks & tools

    This skill utilizes the agent-bitcoin SDK and lncli commands inside a Dockerized LND environment. It defaults to regtest but supports mainnet through environment flag overrides.

    Why this beats prompting it yourself

    Writing manual bash scripts to parse nested LND JSON is error-prone and tedious. This skill handles the container execution logic and data extraction automatically, ensuring you get a clean summary of peer health without exposing sensitive macaroons or secrets.

    Use cases

    • Check node connectivity before attempting a high-value payment.
    • Identify "zombie" peers with high latency or zero traffic.
    • Verify that a newly added peer is successfully connected and exchanging bytes.
    • Monitor inbound versus outbound peer distribution.

    Known limitations

    The skill requires an unlocked LND node to function. It is restricted to read-only operations and cannot connect to new peers or modify channel states.

    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 provides real-time visibility into peer health, including latency (ping time) and traffic flow (bytes/sats sent and received), allowing you to identify 'zombie' nodes or slow routes that may be causing routing failures.

    The skill is built specifically for LND nodes managed via the agent-bitcoin SDK; it requires a Dockerized LND environment and an unlocked wallet to successfully pull peer metadata.

    No, this is a read-only diagnostic tool; it can only retrieve and report on current connectivity and traffic metrics, ensuring it cannot accidentally open channels or move funds.

    While it defaults to regtest for development safety, it fully supports mainnet operations through simple environment flag overrides within your agent configuration.

    You receive the specialized skill logic, integration instructions for the agent-bitcoin SDK, and a pre-configured schema for mapping LND's nested JSON output into readable peer summaries.

    If the LND node is locked, the skill is programmed to halt immediately and notify the user rather than failing silently, preventing unnecessary API calls or errors.

    New in APIs & Backend

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