/foundationskills:fs-researchfrom foundationskills
Audits a list of claims against evidence to determine which were actually measured. Composes the measured_or_unmeasured skill and writes a research_findings artifact with PASS/UNMEASURED/RED/REFUSED verdicts.
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 measurement auditor: when you have a list of claims about a run and you need to know which of them
were actually measured, /fs-research feeds them to the model skill measured_or_unmeasured (composed
once, through foundationskills.skills._workflow.run_step, with exactly {claims: ...}), reads its
corrected claims back from its claim_set artifact and writes one research_findings artifact
{goal_spec, claims, verdict (PASS|UNMEASURED), steps}. A claim nobody measured is never a pass.
Every status is written against the doctrine in core/status.py (PASS 0, RED 5, UNMEASURED 95,
REFUSED 96). The composed findings carry rule ids this skill does not declare, so they travel only as
EVIDENCE (steps, evidence["steps"]) and never as this skill's findings. Outcome precedence:
REFUSED (FR-IN-001, FR-IN-002) beats RED (FR-HO-002) beats UNMEASURED (FR-HO-001) beats PASS. The
composed step's REFUSED maps to the input-phase BLOCK rule FR-IN-002 (96), its RED to the handoff-phase
BLOCK rule FR-HO-002 (5, fired from check_handoff on the PASS run whose payload flag composed_red
the RED set), its UNMEASURED to the WARN rule FR-HO-001 (95).
/fs-research.{id, claim, asserted_status?, evidence?, measured?} against the evidence and
report which claims are UNMEASURED and why.PASS/UNMEASURED verdict.fskills-training) or for re-running the claims checker standalone
(fskills-measured-or-unmeasured): /fs-research researches and reports, the checker checks, the
trainer launches.| Field | Required | Meaning |
|---|---|---|
goal_spec | no | path to the goal spec this research answers to; recorded in research_findings.goal_spec |
claims | yes (non-empty) | claim objects exactly as measured_or_unmeasured takes them: {"id", "claim", "asserted_status"?, "evidence"?, "measured"?} |
record_dir | no | where to write the research_findings artifact; default: the context artifacts dir |
One research_findings artifact (typed, schema-validated, with provenance) written to record_dir
(never to a composed skill's key). Payload: goal_spec (path or null), claims (the composed skill's
corrected claims, read back from its claim_set artifact through _workflow.load_payload), verdict
("PASS" only when every corrected claim is measured, else "UNMEASURED"), steps (one row per
composed run: skill, status, exit_code, refusal, artifacts, findings), composed_status, and the flag
composed_red that check_handoff reads. See SCHEMA for the JSON schema.
Exit codes: 0 PASS (every claim measured), 5 RED (FR-HO-002, only from check_handoff), 95 UNMEASURED
(FR-HO-001, never a pass), 96 REFUSED (FR-IN-001, FR-IN-002) which writes nothing.
Claim sets for LLM and VLM work of any family and stage. It composes only measured_or_unmeasured (one
run_step call, never another user skill), reads only that step's claim_set artifact and writes only
its own research_findings artifact. It never imports FoundationScale, never patches and touches no
cluster resource (requires_fs is False).
| Rule | Phase | Severity | Description |
|---|---|---|---|
| FR-HO-001 | handoff | WARN | some corrected claims are UNMEASURED |
| FR-HO-002 | handoff | BLOCK | the composed measured_or_unmeasured step came back RED |
| FR-IN-001 | input | BLOCK | no "claims" list is given, or the list is empty |
| FR-IN-002 | input | BLOCK | the composed measured_or_unmeasured step refused |
research_findings
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 — REFUSED 96, nothing written. A WARN finding never blocks; it travels with the result
and makes it UNMEASURED 95. A handoff-phase BLOCK fires only from check_handoff on a PASS result.
| Rule | Severity | Fires when | Result |
|---|---|---|---|
| FR-IN-001 | BLOCK input | no claims list is given, or the list is empty | REFUSED 96, nothing written |
| FR-IN-002 | BLOCK input | the composed measured_or_unmeasured step refused (its findings travel in evidence["steps"]) | REFUSED 96, nothing written |
| FR-HO-001 | WARN handoff | some corrected claim is still UNMEASURED (or the composed step itself is) | UNMEASURED 95, verdict is "UNMEASURED" |
| FR-HO-002 | BLOCK handoff | the composed step came back RED (payload flag composed_red) | RED 5 from check_handoff, research_findings must not be used |
claims, or an empty list: REFUSED (96) naming FR-IN-001 with the claim count; nothing is written.
Pass a non-empty claims list and re-run.measured_or_unmeasured step refused: REFUSED (96) naming FR-IN-002; the reason is its
own finding message, copied into evidence["steps"] and never restated as this skill's finding. Give
the checker the input its refusal names and re-run /fs-research.research_findings artifact is still written for the audit. Measure what the named claims assert and
re-run — never treat UNMEASURED as PASS.research_findings must not be used. Read
the findings in evidence["steps"], fix them with that skill and re-run /fs-research — never hand
RED research_findings on.diagnose() (or
TrainingPlannerSkill.diagnose_symptom(name)); never improvise a fix here.Composes measured_or_unmeasured through foundationskills.skills._workflow.run_step (fskills research
lists the entry) and declares no APIs. This skill never imports or launches FoundationScale, writes only
its research_findings artifact and touches no cluster resource. It requires no FoundationScale: on a
host with only foundationskills installed it still audits a claim list. On a host where even the
foundationskills package is missing, report REFUSED with the install step (pip install -e <FoundationScale repo>/FoundationSkills) and never improvise a verdict.
/fs-research goal_spec goals/measure_loss.goal.json, record into out/research: c1 'the train loss fell after step 2k' measured true evidence 'runs/m18/train_loss.json', c2 'the eval set was deduplicated' measured false. → composes measured_or_unmeasured with the two claims, reads the corrected claims
from its claim_set artifact, writes research_findings to out/research and returns UNMEASURED 95
FR-HO-001 with verdict: "UNMEASURED" naming c2./fs-research I have goal_spec goals/sft.goal.json but no claims yet. → REFUSED 96 FR-IN-001 (no
claims list): nothing runs, nothing is written, and the message asks for a non-empty claim list./fs-research measured_or_unmeasured came back RED on my claims in out/research (goal_spec goals/q2.goal.json), FR-HO-002 fired as RED 5 — re-run and report. → the composed status is copied
into research_findings.steps, composed_red is true, check_handoff fires FR-HO-002 and the result
is RED 5 with the findings in evidence["steps"].What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub trannhiem/foundationscale --plugin foundationskills21 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-evalUser-invoked slash command: run ONLY when the user types /fs-eval; never choose it on your own. /fs-eval is the A3.2 user-invoked workflow skill: it takes the evaluation request (checkpoint, run_manifest, base, benchmarks, policy, eval_cache, out, baseline_cache, ...) and forwards it UNCHANGED to the ONE composed model skill `evaluation`, run through foundationskills.skills._workflow, then writes one workflow_record {workflow, steps, outputs, verdict} whose outputs name the eval_report BY PATH. Outcome mapping (PASS 0 / RED 5 / UNMEASURED 95 / REFUSED 96): inner REFUSED -> FE-IN-002 REFUSED; inner RED -> FE-HO-001 RED; inner UNMEASURED -> FE-HO-002 UNMEASURED (never PASS). Do NOT use for fixing a regression, running a bare lm-eval harness or judging launch-readiness: /fs-eval records the evaluation verdict, it never repairs a benchmark or tunes a policy.Other plugins' skills for the same job