- Home
- Skills
- APIs & Backend
- peer status connectivity
peer status connectivity
Read peer address, traffic, and ping time, plus num_peers.
$9
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 Key | Address | Inbound | Ping Time (ns) | Sent (Bytes/Sat) | Received (Bytes/Sat) |
|---|---|---|---|---|---|
| 02a1b2...3c4d | 172.18.0.4:9735 | false | 450,200 | 1,024 / 50,000 | 2,048 / 120,000 |
| 03f5e6...7g8h | 192.168.1.50:9735 | true | 1,205,800 | 512 / 0 | 128 / 0 |
| 0288c9...1z2y | 45.79.12.3:9735 | false | 85,400,000 | 12,400 / 1,500,000 | 8,900 / 450,000 |
Next steps
- Review the high latency (85ms) on peer
0288c9if routing failures occur. - Verify the inbound peer
03f5e6has 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, andsat_recvper peer. - Connection metadata retrieves the public key, network address, and inbound/outbound status for every active connection.
- Latency monitoring reports the
ping_timefor each peer to identify slow or unresponsive routes.
How it works
- The skill attempts to fetch general node info via the
agent-bitcoinSDK to check the connection and peer count. - It executes
lncli listpeerswithin the specific LND container environment. - It parses the resulting JSON to map peer public keys to their respective data and traffic metrics.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Frequently Asked Questions
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.