/foundationskills:fs-evalfrom foundationskills
Records an evaluation workflow verdict (PASS/RED/UNMEASURED/REFUSED) by forwarding a checkpoint and benchmarks to the evaluation model skill and writing a single workflow record with steps and outputs.
Ships in foundationskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The one-model-skill recorder: /fs-eval forwards an evaluation request (checkpoint, run_manifest,
base, benchmarks, policy, eval_cache, out, baseline_cache, device, ...) unchanged to the
composed model skill evaluation, run through foundationskills.skills._workflow, and writes exactly one
workflow_record artifact: {"workflow": "/fs-eval", "steps": [Step.as_row() ...], "outputs": {"eval_report": <path|None>}, "verdict": "PASS|RED|UNMEASURED"}. The composed skill's eval_report is referenced BY PATH
in outputs and never copied. The verdict follows the doctrine in core/status.py (PASS 0, RED 5,
UNMEASURED 95, REFUSED 96): the inner REFUSED maps to FE-IN-002 (REFUSED 96, nothing written), the inner RED
to FE-HO-001 (RED 5) and the inner UNMEASURED to FE-HO-002 (UNMEASURED 95 — never PASS).
evaluation skill's diagnose(), launch with the planner's skill (fskills-training) — record
here, act there.The evaluation request is forwarded unchanged (any field the evaluation skill accepts; the schema is
open — additionalProperties: True). The fields that matter:
| Field | Required | Meaning |
|---|---|---|
checkpoint | one of checkpoint / run_manifest | checkpoint directory the composed evaluation scores |
run_manifest | one of checkpoint / run_manifest | run manifest naming the checkpoint |
eval_cache / out / base / benchmarks / policy / ... | per evaluation | passed through untouched (evaluation rules EV-IN-001..EV-IN-008 police them) |
Nothing else is required by /fs-eval: it adds no knob, it subtracts none.
One workflow_record artifact (typed, schema-validated, with provenance) per run, payload workflow
("/fs-eval"), steps (one Step.as_row() per composed run: skill, status, exit_code, refusal,
artifacts, findings — the inner rows live here, never as fs_eval findings), outputs
({"eval_report": "<path>" | null}, referencing the evaluation artifact BY PATH), verdict ("PASS",
"RED" or "UNMEASURED"; REFUSED writes nothing at all). Exit codes: 0 PASS, 5 RED (FE-HO-001), 95
UNMEASURED (FE-HO-002), 96 REFUSED (FE-IN-001 / FE-IN-002).
Every evaluation result, for LLM and VLM work of any family and stage (the scope is identical to
fs-status's). It forwards one request, runs one model skill and writes one record — it never imports
FoundationScale itself, never patches a cluster and never copies the composed skill's artifacts.
Composed skills: exactly one model skill, evaluation (whose own rules EV-IN-001..EV-HO-003 travel here
only inside evidence["steps"] of fs-eval's rules — an undeclared rule id would turn this result RED).
Composition rule: a user skill composes model skills, never another user skill.
fskills eval emit
--base--base-predictions--baseline-cache--batch-size--benchmarks (default '')--checkpoint--control-dir--device--dtype--eval-cache--gen-kwargs--gpus (default 1)--hardware (default 'gb200')--heldout--include-path--job-dir--limit--manifest--max-unmeasured-fraction--nodes (default 1)--num-fewshot--out (required)--parallelize (default False)--policy--python--report--run-manifest--run-name (default 'fskills-eval')--seed--spec-out (required)--suite (choices {speech-longform,harbor,skill-behaviour})--tasks-file--tuned-predictionsfskills eval hash
--spec (required)fskills eval launch
--confirm--no-submit (default False)--spec (required)fskills eval run
--base--base-predictions--baseline-cache--batch-size--benchmarks (default '')--checkpoint--control-dir--device--dry-run (default False)--dtype--eval-cache--gen-kwargs--heldout--include-path--job-dir--limit--manifest--max-unmeasured-fraction--num-fewshot--out (required)--parallelize (default False)--policy--report--run-manifest--seed--suite (choices {speech-longform,harbor,skill-behaviour})--tasks-file--tuned-predictions--workdir| Rule | Phase | Severity | Description |
|---|---|---|---|
| FE-HO-001 | handoff | BLOCK | the composed evaluation is RED (a regression beyond the policy band, a broken report) |
| FE-HO-002 | handoff | WARN | the composed evaluation is UNMEASURED |
| FE-IN-001 | input | BLOCK | neither "checkpoint" nor "run_manifest" is given |
| FE-IN-002 | input | BLOCK | the composed evaluation REFUSED |
workflow_record
PASS 0 · RED 5 · UNMEASURED 95 · REFUSED 96
Outcome semantics (from core/contract.py, the same for every skill): an input-phase BLOCK refuses before
any work — status REFUSED, exit 96, nothing written. WARN and INFO findings never block; they travel with the
result. Phase by prefix: FE-IN-* rules are input phase, FE-HO-* rules are handoff phase.
| Rule | Severity | Phase | Fires when |
|---|---|---|---|
| FE-IN-001 | BLOCK | input | neither checkpoint nor run_manifest is given (fires from {} alone) → REFUSED 96 |
| FE-IN-002 | BLOCK | input | the composed evaluation REFUSED (its refusal names what is missing) → REFUSED 96, no workflow_record |
| FE-HO-001 | BLOCK | handoff | evaluation RED: a regression beyond the policy band or a broken eval_report (check_handoff reads payload["red_step"]) → RED 5 |
| FE-HO-002 | WARN | handoff | evaluation UNMEASURED (a benchmark or the held-out hit was not measured) → UNMEASURED 95, never PASS |
checkpoint nor run_manifest: REFUSED (96) naming FE-IN-001 before any work; nothing is written.
Pass one of them (plus the evaluation fields) and re-run.evaluation REFUSED (FE-IN-002): REFUSED (96) naming FE-IN-002 and the evaluation's refusal;
no workflow_record is written (a refused run records no report). Give the evaluation what its refusal
names and re-run /fs-eval.evaluation RED (FE-HO-001): the workflow_record is written with verdict: "RED" and the result is
RED (5) — the eval_report path is in outputs, but the output must not be used. Fix what the evaluation's
findings name and re-run that evaluation through /fs-eval.evaluation UNMEASURED (FE-HO-002): the record is written with verdict: "UNMEASURED" and the WARN finding
travels with the result (95). Never treat UNMEASURED as PASS; resolve what the findings name and re-run.diagnose() (e.g. the evaluation's EV-IN-* /
EV-HO-* names); /fs-eval records, it does not improvise a fix.One CLI entry (fskills eval) plus the composed evaluation skill, which drives FoundationScale's harness
(requires_fs is True: with no FoundationScale install, the composed evaluation REFUSES and /fs-eval
returns REFUSED 96 naming FE-IN-002 — it never launches FoundationScale or a cluster job itself). No APIs are
declared; nothing but the workflow_record artifact and the eval_report path reference is touched. Reads and
writes no cluster resource of its own.
/fs-eval with {} → REFUSED 96 naming FE-IN-001: neither checkpoint nor run_manifest is given;
nothing written. Re-run with {"checkpoint": "/models/q3", "eval_cache": "/eval/cache", "out": "/out/q3"}.evaluation comes back PASS 0 with an eval_report at /out/q3/eval_report.json → /fs-eval writes
workflow_record {"workflow": "/fs-eval", "steps": [{"skill": "evaluation", "status": "PASS", ...}], "outputs": {"eval_report": "/out/q3/eval_report.json"}, "verdict": "PASS"} and exits 0; hand the path on.evaluation comes back RED 5 (EV-HO-001: GSM8K breached its regression tolerance) → /fs-eval writes the
record with verdict: "RED" and returns RED 5 naming FE-HO-001; the eval_report path is recorded but is
not usable output.evaluation comes back UNMEASURED 95 (EV-HO-003: a benchmark was unmeasured under a smoke limit) →
/fs-eval writes the record with verdict: "UNMEASURED", returns UNMEASURED 95 naming FE-HO-002 and
never calls it a pass.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
21 skills in this plugin
/fs-dataUser-invoked slash command: run ONLY when the user types /fs-data; never choose it on your own. Slash-command data preparation workflow (/fs-data) that composes the model skill data_engine to turn raw data refs into a dataset, data_pipeline_spec and readiness_report. Inputs: the data_engine request fields (sources, target_format, tokenizer, chat_template_family, out_dir, requirements, pipeline, reasoning_unsupported, benchmarks, ...) passed through unchanged, plus optional goal_spec (a path recorded in outputs, not interpreted). The workflow record says which step ran, what it produced and the verdict (PASS/RED/UNMEASURED). Do NOT use for explaining fskills results (use /fs-status), fixing data problems yourself, or training a model (use /fs-training): this composes data_engine and produces data artifacts only./fs-goalUser-invoked slash command: run ONLY when the user types /fs-goal; never choose it on your own. Grilling composer (/fs-goal) for one FoundationSkills goal_spec: takes the intake answers so far ({objective, goal?, domain?, preserve_general?, base_model {name_or_path, size_b?, arch?}, sources [{uri, kind, ...}], hardware {gpu, gpus_per_node, nodes}, data_facts {has_verifiable_answers, has_pairs, has_instructions}, rl_algorithm?}), asks ONLY for the facts intake.missing_facts still names and then one confirm question, and writes one goal_spec artifact only when the frontier is empty AND confirmed is true. Do NOT use to plan, train, launch, fix or explain a run: this skill only collects and confirms intake facts (fskills-training plans). Side-effect free: composes and invokes nothing (invokes is empty) and writes only its own goal_spec.npx claudepluginhub trannhiem/foundationscale --plugin foundationskillsOther plugins' skills for the same job