/foundationskills:fskills-measured-or-unmeasuredfrom foundationskills
Rewrites a claim set so claims without a resolvable evidence pointer (artifact path#json field on disk) are marked UNMEASURED instead of PASS, then seals the corrected set with provenance.
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.
Rewrite a claim set so that measured-ness is decided by evidence, not by
assertion: a claim is MEASURED only when its evidence pointer —
<artifact path>#<json field> — resolves to a measured JSON value on disk.
Every other claim is emitted UNMEASURED with a reason, and the corrected
claim set is sealed as claim_set.<artifact_id>.json with provenance. The
skill never upgrades an unmeasured claim and never invents a measurement.
eval_report pointers and the rest are asserted from memory.claim_set where nothing unmeasured reads as PASS.| Field | Required | Meaning |
|---|---|---|
claims | yes | inline claim payload, ≥1 object: id, claim (strings), optional asserted_status (PASS|RED|UNMEASURED|REFUSED), evidence (pointer or null), measured (bool) |
out | no | directory the sealed claim_set.<artifact_id>.json is written into (default <workdir>/artifacts) |
artifact_id | no | artifact id (default mu-<sha256_json(claims)[:12]>) |
Evidence-pointer syntax. <path>#<field> with exactly one #: path names
a JSON file on disk (absolute, or relative to the working directory) and field
walks nested object keys and array indexes separated by .
(artifacts/eval/q27-sft/eval_report.json#benchmarks.0.score). A missing or
null/absent evidence is no pointer. Any string is a pointer attempt: a
bare sentence ("we ran it last week"), a file that is not on disk, a field that
does not resolve, or a null value on disk is not a measurement — the claim
is demoted and MU-IN-001/MU-IN-002 fire. A sealed artifact is an envelope; point
into its payload (...claim_set.<id>.json#payload.claims.0.status).
Exit set 0/95. 0 PASS only when every claim is MEASURED; 95 UNMEASURED as
soon as one claim is demoted. This skill never returns 5/96 for a valid request
(every rule is a WARN), though a request that violates the input schema is
REFUSED (96) before any rewrite and writes nothing.
claim_set.<artifact_id>.json (artifact type claim_set, written atomically as
<type>.<id>.json, with provenance). Payload fields: verdict
(PASS|UNMEASURED, worst over the per-claim statuses) and claims — one row
per input claim, rewritten to status MEASURED|UNMEASURED with a reason
(which rule, and why) and the evidence pointer it was judged by; id, claim
and any asserted fields are preserved as history.
Nothing here runs on GB200. fskills-measured-or-unmeasured is a pure stdlib
rewrite over claim sets and evidence pointers: it emits no fs_launch_spec and
submits nothing. GB200/Slurm work belongs to fskills-probe-first (capability
probes), fskills-training (Slurm training) and fskills-evaluation (GB200 eval
jobs); those skills' reports are what the evidence pointers here should name.
Claim sets about LLM or VLM work at any training stage, any family, any backend: the rewrite is claim-level and hardware-free (local execution).
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. A handoff-phase BLOCK never passes: the work ran, and the result is RED (exit 5), never PASS. WARN and INFO findings never block; they travel with the result. Phase by prefix: MU-IN-* rules are input phase. Every MU-IN-* rule is a WARN on purpose — this skill's plan-table exit set is 0/95 (PASS/UNMEASURED), and an input BLOCK would force REFUSED (96) while a handoff BLOCK would force RED (5), neither legal here; the WARN travels and the claim is demoted to UNMEASURED. The sealed verdict is worst over the per-claim statuses (core/status.py), so one demoted claim makes the whole claim set 95 UNMEASURED and the result is never a silent PASS.
| Rule | Severity | Fires when |
|---|---|---|
| MU-IN-001 | WARN | a claim asserts asserted_status: "PASS" (or measured: true) with no evidence pointer — treated as UNMEASURED, never a silent PASS |
| MU-IN-002 | WARN | an evidence pointer is malformed (not <path>#<field>) or unresolvable to a measured value on disk — the claim is demoted |
| MU-IN-003 | WARN | a claim carries no verdict at all (absence of evidence → UNMEASURED) |
null value: MU-IN-002, claim UNMEASURED (exit 95) — a downgrade, never a guess.asserted_status: "PASS" (or measured: true) with no pointer: MU-IN-001, claim UNMEASURED.asserted_status, no measured flag and no resolvable pointer: MU-IN-003, claim UNMEASURED. A pointer that resolves is itself the verdict: that claim is MEASURED with no finding.claim_set with its reason.artifact_id containing path separators or dots-traversal fails the artifact writer and is reported RED.Consumes claim_set entries and emits claim_set entries — a pure rewrite over
evidence pointers (resolve_evidence in measured_or_unmeasured/evidence.py).
No FoundationScale call, no CLI, no network.
Host portability (A1.5). On a host where the fskills CLI or the foundationskills package is missing, do not improvise a plan or simulate a result: report REFUSED with the install step (pip install -e <FoundationScale repo>/FoundationSkills, or run where it is installed), and report every check that could not run as UNMEASURED, never PASS.
from pathlib import Path
from foundationskills.core.contract import SkillContext
from foundationskills.skills.measured_or_unmeasured.skill import MeasuredOrUnmeasuredSkill
skill = MeasuredOrUnmeasuredSkill()
result = skill.execute(
{
"claims": [
{"id": "c1", "claim": "sft holds general ability", "asserted_status": "PASS",
"evidence": "artifacts/eval/q27-sft/eval_report.json#benchmarks.0.score"},
{"id": "c2", "claim": "sft keeps instruction following", "asserted_status": "PASS"},
],
"out": "artifacts/claims",
},
SkillContext(workdir=Path("artifacts/work")),
)
print(result.exit_code, result.payload["verdict"]) # 95 UNMEASURED: c2 is asserted, never measured
for row in result.payload["claims"]:
print(row["id"], row["status"], row["reason"]) # c1 MEASURED (pointer resolved) / c2 UNMEASURED (MU-IN-001)
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./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./fs-handoffUser-invoked slash command: run ONLY when the user types /fs-handoff; never choose it on your own. Slash-command closer (/fs-handoff) for a FoundationSkills session: takes this session's artifact JSON paths, optional notes and next_steps and writes ONE handoff artifact that references every artifact BY PATH ({path, type, id, sha256}, payload never copied) with notes and next_steps redacted of secrets (sk-, ghp_, AKIA, Bearer, NAME=KEY/TOKEN/SECRET/PASSWORD values) and PII (email, phone, credit_card, ssn, national_id). Do NOT use for re-running a skill, fixing findings or deciding what to run next: it hands a session off, it does not act./fskills-auto-researchManages a hash-chained auto-research campaign (M0): validates the campaign spec, opens one human approval envelope (campaign_confirm hash), authorises launches with derived tokens, records immutable trial results, proposes ideas from the ideas catalog and closes with statistical acceptance against a calibrated noise floor (guardrails, keep/discard/crash TSV view) writing auto_research_report. Do NOT use for single training runs (fskills-training), nor for evaluation alone (fskills-evaluation). M1 submits emitted trials (`envelope`/`submit`/`cancel`) behind the envelope budget gate and the IMEX fabric probe./fskills-compressionModel compression and quantization of a HF checkpoint (v1 method: RTN weight-only quantize-dequantize, int4 or int8, group-wise). Use it to preflight a host for compression (vendored preflight.py; classifies FAIL, UNKN and PROBE_ERROR results), to plan a probe-first run that emits an fs_launch_spec running rtn_worker.py on one GPU (launched only with the plan hash the user types back), and to verify the measured perplexity ratio (harness A vs B instrument certification, no-op check) against a pre-registered budget into a compression_report. Also route here any GPTQ, AWQ, NVFP4, MXFP4, FP8, modelopt, llm-compressor or quantized-speedup request: this skill answers it with a deferral refusal (CP-IN-003). Do NOT use for serving a checkpoint, already-quantized ones included, or asking whether it fits the serving envelope (fskills-deployment), LoRA merges (fskills-merging), benchmark accuracy suites (fskills-evaluation) or fine-tuning (fskills-training).Other plugins' skills for the same job