- Home
- Skills
- Web3 & Crypto
- channel status balance
channel status balance
Read channel activity, capacity, and local and remote balances.
$9
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 ID | Remote Pubkey | Status | Local Balance | Remote Balance | Capacity |
|---|---|---|---|---|---|
| 784532x94x1 | 02abcd...1234 | Active | 500,000 | 500,000 | 1,000,000 |
| 784535x12x0 | 03f9e2...5678 | Active | 150,000 | 850,000 | 1,000,000 |
| 789123x45x2 | 0288bb...9012 | Inactive | 0 | 500,000 | 500,000 |
| Totals | - | - | 650,000 | 1,850,000 | 2,500,000 |
Summary Observations
- Liquidity: 26% of total capacity is on the local side.
- Connectivity: One channel (789123x45x2) is currently inactive.
Next steps
- Review the peer status for the inactive channel
789123x45x2. - Consider rebalancing the second channel if you need more local outbound capacity.
- 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
activestatus of all open channels to identify offline peers. - Balance tracking extracts
local_balanceandremote_balancefor every individual channel. - Capacity auditing retrieves the total
capacityandchan_idfor the entire channel set. - Peer oversight checks the
num_peersconnected to the node to gauge network health. - Liquidity aggregation calculates the sum of local and remote balances across the node.
How it works
- The agent initializes the
agent_bitcoinclient to communicate with the LND node. - It executes
get_infoto verify node status and peer count. - It calls
list_channelsto retrieve the full JSON payload of active and inactive channels. - If the SDK is unavailable, it falls back to
lnclicommands viadocker exec. - 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
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 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.