agentleFS
ryanmacleanryanmaclean/skills/fleet-eval/SKILL.md

fleet-eval

Skill1 starsChanged 50 days agoMITView on GitHub

Verify a claim against reality — shapes assertions into {subject, expected, probe, evidence, verdict} and runs independent probes. Use when another agent reports X works/ships/is deployed and proof is needed before trusting it, or when the user says verify this claim or fleet-eval.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every claim of form "X is deployed / working / reachable / shipped" must pass:

    line 10
  2. Distinctive:

    When another agent says "X is deployed / working / shipped", invoke:

    line 80

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

fleet-eval — Claim -> Proof Protocol

The gate

Every claim of form "X is deployed / working / reachable / shipped" must pass:

  1. A deterministic probe (command or API call)
  2. Return expected evidence (string, status code, file hash, etc.)
  3. Emit a structured verdict JSON

Claim types + standard probes

Claim shapeProbeExpected evidence
"service X at URL is up"curl -sS -w '\nHTTP %{http_code}\n' URL --max-time 10HTTP 2xx
"file F exists with content C"sha256sum Fexpected SHA
"pkg P installed on host H"ansible H -m raw -a "pkg info P"pkg info output
"process P running on host H"ansible H -m raw -a "pgrep -af P"non-empty
"nick N in IRC channel"(use fleet-irc skill with NAMES query)nick present
"Gitea release R exists"tea release view --repo ... --tag Rrelease JSON
"schema file valid JSON Schema"python -c "import jsonschema; jsonschema.Draft202012Validator.check_schema(json.load(open('F')))"no exception
"VM V alive"ssh ... echo ALIVE OR pgrep -af qemu.*V"ALIVE" or non-empty

Output contract (always)

{
  "claim": "string — the original claim being verified",
  "probe": "string — exact command run",
  "expected": "string — what constituted pass",
  "evidence": "string — actual probe output, truncated to 1KB",
  "verdict": "PASS | FAIL | INCONCLUSIVE",
  "ts": "ISO8601",
  "took_ms": <number>
}

Written to stdout as JSON; also appended to /tmp/fleet-eval.log.

Usage patterns

Invoke after every claim

fleet-eval verify "Phase 16 VM is ready" \
  --probe "ssh -J studio@10.0.3.1 -p 2225 builder@localhost echo ALIVE" \
  --expect "ALIVE"

Batch verify (multi-claim reports)

fleet-eval batch < claims.jsonl
# Each line: {"claim": "...", "probe": "...", "expected": "..."}

Negative expected (expected-fail)

fleet-eval verify "Integrations install fails missing datadog-agent" \
  --probe "..." --expect-exit 1 --expect-stderr-match "missing dependency"

When NOT to use fleet-eval

  • Pure planning / brainstorming — nothing to verify yet
  • Questions about what something IS (use other skills)

Composes with

  • Any agent making deployment/infra claims
  • superpowers:verification-before-completion (complementary; this is the runtime version)
  • datadog-metrics (emit eval results as metrics)

Related

  • /Users/studio/rust-town/fleet-ops/scripts/fleet-eval.nu — the runnable
  • /Users/studio/rust-town/fleet-ops/scripts/drift-monitor.nu — hourly drift checker
  • /Users/studio/rust-town/fleet-ops/data/declared-alive.toml — drift inventory

Reflex pattern (for any invoking agent)

When another agent says "X is deployed / working / shipped", invoke:

nu /Users/studio/rust-town/fleet-ops/scripts/fleet-eval.nu verify "CLAIM" --probe "CMD" --expect "VALUE"

One probe, one verdict. No retry loops. Proof > report.

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.