doublezero-status
Skill3 starsChanged 49 days agoMITView on GitHub
Quickly check DoubleZero Edge client status on Solana validator hosts. Use when asked to check DoubleZero, DZ, doublezerod, DoubleZero Edge, BGP tunnel status, edge-solana-shreds multicast, DoubleZero routes, DoubleZero latency, or recent DoubleZero logs on configured validator hosts.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- inventorySkill
- jito-bam-boostSkill
- jitosol-stewardSkill
- marinade-bond-sweepSkill
- onboardingSkill
- sfdp-checkSkill
- upgrade-agave-primarySkill
- upgrade-agaveSkill
- upgrade-mainnetSkill
- upgrade-testnetSkill
- validator-performanceSkill
- validator-revenueSkill
- votex-roi-simSkill
- votex-statusSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Read installed bundle and configuration before running commands.
- Distinctive: line 17
Use this skill to perform a fast, read-only DoubleZero health check over SSH and summarize whether the host is connected to the DoubleZero …
- Distinctive: line 19
Prefer the bundled helper for normal checks:
- Distinctive: line 30
Run the helper from the resolved bundle root with the target SSH aliases.
- Distinctive: line 41
Keep the final answer concise.
- Very specific: line 62
If edge_signal=missing but DoubleZero BGP is healthy, say the host is on DoubleZero but Edge Solana shreds multicast was not detected.
- Very specific: line 69
If the helper is missing, restore the installed bundle using the runtime reference.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DoubleZero Status
Read installed bundle and configuration before running commands. Resolve paths from this loaded SKILL.md, not the session working directory.
Overview
Use this skill to perform a fast, read-only DoubleZero health check over SSH and summarize whether the host is connected to the DoubleZero mainnet-beta network and whether the DoubleZero Edge Solana shreds multicast signal is present.
Prefer the bundled helper for normal checks:
src/skills/doublezero-status/scripts/check-doublezero-status.sh <SSH_ALIAS>Use the host aliases the user names. For a vague request like "check dz status", read the operator's host inventory first and resolve the active mainnet primaries from it. Ask for target aliases, before connecting, only when the inventory is missing or does not identify them. fleet.json covers SFDP production checks only and may omit backups; use it only when those explicitly selected instances are the intended targets. There are no built-in fleet defaults.
Workflow
- Resolve aliases and roles from operator-owned inventory (read
VALIDATOR_OPS_HOST_INVENTORYor~/.config/validator-ops/hosts.md; seereferences/inventory-references-hosts.md). Do not treat a bundled example or another operator's inventory as a target selection. - Run the helper from the resolved bundle root with the target SSH aliases.
- Report:
- UTC and local check time. The helper's local time uses the zone of the machine running it; override with
LOCAL_TIME_ZONEwhen needed. doublezerod.serviceactive/substate, PID, restart count, and start timestamp.doublezero statustunnel rows, especiallyBGP Session Up.- Edge signal:
P:edge-solana-shredspresent or missing. doublezero0anddoublezero1addresses.- Route counts for each DoubleZero interface.
- Closest latency rows from
doublezero latency. - Recent warnings/errors from
journalctl -u doublezerod. - Client upgrade warning if the CLI prints one.
- UTC and local check time. The helper's local time uses the zone of the machine running it; override with
- Keep the final answer concise. Do not paste full route tables or full latency tables unless the user asks.
Helper
The helper runs read-only commands:
src/skills/doublezero-status/scripts/check-doublezero-status.sh <host> [host...]Exit 1 reports at least one SSH collection failure; it is not a parsed health verdict. Interpret the collected evidence below. Invalid aliases are rejected before connecting; SSH uses batch mode and bounded connection/keepalive waits.
The helper targets Linux hosts with GNU timeout; DoubleZero CLI calls have a 30-second bound. Timeout output means incomplete evidence, not a healthy service.
It uses ssh, systemctl show, ip -br addr, ip route, doublezero status, doublezero latency, doublezero routes, and journalctl. It does not restart services, modify routes, or change DoubleZero configuration.
Interpretation
- Healthy DoubleZero baseline:
doublezerodis active/running,NRestarts=0or explained, bothdoublezero0anddoublezero1exist, tunnel status showsBGP Session Up, route counts are nonzero, and recent logs do not show repeated errors. - Healthy Edge signal:
doublezero statuscontains aMulticasttunnel row whose multicast group includesP:edge-solana-shreds. Report this separately from generic DoubleZero tunnel health. doublezero1is typically the multicast/shreds interface, but do not rely on interface name alone. TreatP:edge-solana-shredsas the strongest local Edge signal.- If
edge_signal=missingbut DoubleZero BGP is healthy, say the host is on DoubleZero but Edge Solana shreds multicast was not detected. doublezero latencymay print a client upgrade warning. Treat this as maintenance advice, not service failure, unless the user asked for upgrade readiness.doublezero routescan contain many rows. Count states or sample the first rows; avoid dumping all routes.- Kernel interface state
UNKNOWNis normal for these tunnel-style interfaces when BGP sessions and routes are present.
Helper recovery and manual diagnostics
If the helper is missing, restore the installed bundle using the runtime reference. For individual diagnostic commands, use src/skills/doublezero-status/scripts/check-doublezero-status.sh as the command reference. Preserve its alias validation, batch-mode SSH, bounded connection/CLI waits, and UTC/local timestamp output when running commands individually.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

