agentleFS
roborun-xyzroborun-xyz/sol-validator-skills/skills/doublezero-status/SKILL.md

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.

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
  1. Very specific:

    Read installed bundle and configuration before running commands.

    line 13
  2. Distinctive:

    Use this skill to perform a fast, read-only DoubleZero health check over SSH and summarize whether the host is connected to the DoubleZero …

    line 17
  3. Distinctive:

    Prefer the bundled helper for normal checks:

    line 19
  4. Distinctive:

    Run the helper from the resolved bundle root with the target SSH aliases.

    line 30
  5. Distinctive:

    Keep the final answer concise.

    line 41
  6. Very specific:

    If edge_signal=missing but DoubleZero BGP is healthy, say the host is on DoubleZero but Edge Solana shreds multicast was not detected.

    line 62
  7. Very specific:

    If the helper is missing, restore the installed bundle using the runtime reference.

    line 69

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Resolve aliases and roles from operator-owned inventory (read VALIDATOR_OPS_HOST_INVENTORY or ~/.config/validator-ops/hosts.md; see references/inventory-references-hosts.md). Do not treat a bundled example or another operator's inventory as a target selection.
  2. Run the helper from the resolved bundle root with the target SSH aliases.
  3. Report:
    • UTC and local check time. The helper's local time uses the zone of the machine running it; override with LOCAL_TIME_ZONE when needed.
    • doublezerod.service active/substate, PID, restart count, and start timestamp.
    • doublezero status tunnel rows, especially BGP Session Up.
    • Edge signal: P:edge-solana-shreds present or missing.
    • doublezero0 and doublezero1 addresses.
    • 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.
  4. 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: doublezerod is active/running, NRestarts=0 or explained, both doublezero0 and doublezero1 exist, tunnel status shows BGP Session Up, route counts are nonzero, and recent logs do not show repeated errors.
  • Healthy Edge signal: doublezero status contains a Multicast tunnel row whose multicast group includes P:edge-solana-shreds. Report this separately from generic DoubleZero tunnel health.
  • doublezero1 is typically the multicast/shreds interface, but do not rely on interface name alone. Treat P:edge-solana-shreds as the strongest local Edge signal.
  • If edge_signal=missing but DoubleZero BGP is healthy, say the host is on DoubleZero but Edge Solana shreds multicast was not detected.
  • doublezero latency may print a client upgrade warning. Treat this as maintenance advice, not service failure, unless the user asked for upgrade readiness.
  • doublezero routes can contain many rows. Count states or sample the first rows; avoid dumping all routes.
  • Kernel interface state UNKNOWN is 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.