agentleFS
roborun-xyzroborun-xyz/sol-validator-skills/skills/sfdp-check/SKILL.md

sfdp-check

Skill3 starsChanged 50 days agoMITView on GitHub

Check Solana Foundation Delegation Program participation and required software versions for an operator's mainnet/testnet identity pair, optionally verifying host health, identity, and client version over SSH.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

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

    Create the project virtual environment once with python3 -m venv .venv.

    line 17

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

SFDP Check

Read installed bundle and configuration before running commands. Resolve paths from this loaded SKILL.md, not the session working directory.

Read references/onboarding-references-fleet.md for SFDP configuration. Reuse the operator's local fleet file; never default to another operator's validators. If identity-pair configuration is missing, use references/onboarding.md. If live checks need host facts, use references/inventory.md to verify them, then map them into the fleet configuration through onboarding and resume the check.

Create the project virtual environment once with python3 -m venv .venv. The checker uses only the Python standard library.

.venv/bin/python src/skills/sfdp-check/scripts/check_sfdp.py --fleet /path/to/fleet.json --api-only
.venv/bin/python src/skills/sfdp-check/scripts/check_sfdp.py --fleet /path/to/fleet.json --json

The default fleet path is ~/.config/validator-ops/fleet.json; VALIDATOR_OPS_FLEET overrides it. --validate-config validates the file without network or SSH access.

The checker fetches required versions from the Foundation's sfdp_required_versions?cluster=<cluster> API and participation from sfdp_participants, under https://api.solana.org/api/community/v1. A participant must match both configured identities and have state Approved.

Without --api-only, it queries each configured host's local RPC over SSH for health, identity and client version. Local RPC is used to inspect that specific process, not as a general mainnet chain-data provider. Host identity must match the configured SFDP identity. Client family is operator configuration; verify it during onboarding rather than inferring it from a version string. The client value selects the bounds: agave/jito-agave use agave_*, firedancer (Frankendancer) uses firedancer_*, and firedancer-full (full Firedancer, including FireBAM) uses firedancer_full_*; see the fleet reference's client table. A firedancer host reporting a full-Firedancer CalVer version (major ≥ 26), or a firedancer-full host reporting 0.x, is reported as a client-mismatch WARN and does not pass; fix the fleet entry after verifying the host.

Compare against every returned requirement by default; the API returns the current and upcoming epochs, and the output lists every row with agave, Frankendancer and full-Firedancer bounds plus a CHANGE from epoch N line wherever a bound changes. Always surface upcoming changes and upcoming failures to the operator, even if the current epoch passes. --current-only is a legacy name: it enforces only the lowest returned requirement epoch, which may be upcoming; later rows are still evaluated and shown as [upcoming, not enforced by --current-only]. It does not independently determine the current chain epoch. Report that scope explicitly. Empty requirements or missing client bounds do not establish a pass.

Report UTC and local check time, exact identity pairs, participation, checks performed, and failures. --api-only does not prove installed-version compliance or host health. Never infer those from participation alone.

Exit codes: 0 means the requested checks passed (or configuration validation succeeded); 1 means configuration, API, participation, or live checks failed; 2 means invalid CLI arguments. For failures, retain the distinction between unavailable evidence and a measured noncompliant validator. These checks do not authorize upgrades or host mutations.

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.