skill-eval-harness
Skill0 starsChanged 4 months agoMITView on GitHub
Evaluate Lingxi teaching Skills and their run artifacts across component contracts, execution trajectories, pedagogical safety/quality, and learner outcomes. Use when a Skill is added or revised, when a regression suite must be run, or when raw task/result/trace/outcome JSON needs a deterministic report; do not use it in the learner's runtime path.
In this repository31 other files it gives its agents.
- adaptive-pedagogySkill
- artifact-validatorSkill
- curriculum-graph-builderSkill
- deterministic-graderSkill
- evidence-emitterSkill
- formative-assessorSkill
- goal-interpreterSkill
- graceful-degradationSkill
- incremental-deliverySkill
- interactive-lecture-deckSkill
- interactive-visual-explainerSkill
- knowledge-qaSkill
- learner-interviewSkill
- learner-state-reflectorSkill
- learning-companionSkill
- learning-reportSkill
- lesson-introSkill
- negotiationSkill
- orchestrator-policySkill
- plan-presenterSkill
- prerequisite-analyzerSkill
- product-page-component-rewriterSkill
- profile-readerSkill
- quiz-generatorSkill
- retrieval-practice-builderSkill
- review-schedulerSkill
- skill-forgeSkill
- socratic-proberSkill
- structured-outputSkill
- tool-investigatorSkill
- your-skill-nameSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Use this development-time Skill to turn raw evaluation cases into a comparable, traceable report.
- Very specific: line 45
Read references/skill-eval-run.schema.json and references/rubric.md for the case shape and layer rules.
- Distinctive: line 47
Run the deterministic helper:
- Very specific: line 74
Use validator values for the bundled contracts (adaptive-pedagogy-result.v2, learner-state-reflector-result.v1, quiz-generation-result.v1, …
- Distinctive: line 84
Keep expected answers outside learner-facing text and do not pass the intended fix to a forward test agent.
- Very specific: line 86
Treat learner-state-reflector, visual generation, quiz generation, and remedial artifacts as sidecars unless the case explicitly tests …
- Very specific: line 90
Keep expected answers outside the learner-facing paths used by leakage checks.
- Distinctive: line 95
Never mutate the tested Skill or learner data.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Teaching Skill Evaluation
Use this development-time Skill to turn raw evaluation cases into a comparable, traceable report. It evaluates an existing Skill's contract and observed artifacts; it does not generate teaching responses, replace a deterministic grader, or write learner state.
Evaluation workflow
- Build a
skill-eval-run.v1JSON file. Keep the learner task and raw output in each case; put expected answers, forbidden strings, thresholds, and rubric-only labels inexpectations, not in the learner prompt. - Include an execution
trajectorywhenever latency, blocking, handoffs, repeated questions, or sidecar behavior matters. Include anoutcomewhen an independent transfer or post-test is available. Missing layers are reported asnot_observed, not silently treated as success. - Read
references/skill-eval-run.schema.jsonandreferences/rubric.mdfor the case shape and layer rules. Use the smallest raw artifact that still preserves evidence IDs and timing. Run the deterministic helper:
python scripts/evaluate.py validate-run <run.json> python scripts/evaluate.py evaluate <run.json> --output <report.json> python scripts/run_suite.py <repository-root> --output <suite-report.json>Individual reports follow
references/skill-eval-report.schema.json; repository-wide suite reports followreferences/skill-eval-suite-report.schema.json.- Review every failing finding and the observed coverage. Set
expectations.required_layersfor layers that a case must observe; a missing required layer fails the case. A Skill passes only when the component layer has no errors and every layer required by the case expectations passes. Do not hide missing learner outcomes behind a high component score.
Four evaluation layers
- component — frontmatter, execution metadata, required output fields, known result contracts, and artifact shape.
- trajectory — one learner-facing writer, no accidental handoff loop, no repeated prompt without new evidence, sidecars not blocking the response, and latency/token/hop budgets.
- pedagogy — answer leakage, evidence grounding, hint/reveal limits, question-value discipline, and usable fallback for non-blocking visual work.
- learner_outcome — independent transfer, score change when a threshold is supplied, verification debt discharge, and evidence traceability.
Use validator values for the bundled contracts (adaptive-pedagogy-result.v2,
learner-state-reflector-result.v1, quiz-generation-result.v1,
curriculum-graph-builder-result.v1, formative-assessor-result.v1,
retrieval-practice-builder-result.v1, lesson-intro-html.v1, html) or provide
required_output_keys for another Skill. The harness performs deterministic checks only; judgments
such as whether a misconception interpretation is pedagogically sound still require human review or
a separately specified judge.
Evaluation boundaries
- Keep expected answers outside learner-facing text and do not pass the intended fix to a forward test agent.
- Treat
learner-state-reflector, visual generation, quiz generation, and remedial artifacts as sidecars unless the case explicitly tests their standalone artifact contract. - Enforce
learner_facing_writer_count <= 1for a learner turn. - Report latency and token measurements supplied by the host; never invent measurements.
- Keep expected answers outside the learner-facing paths used by leakage checks. For retrieval tasks,
inspect
public_task, never the internalgrading_key. - For
lesson-intro-html.v1, check the shared visual contract as well as basic HTML shape: tokenized palette, 680-wide SVG, figure caption, dark/print modes, no gradients/shadows, and restrained typography. - Never mutate the tested Skill or learner data. Write only the requested report file.
Result contract
Return skill-eval-report.v1 JSON with per-case findings, four layer scores, observed coverage,
thresholds, and a concise overall status. Preserve case IDs, evidence IDs, and raw metric values so a
failing report can be traced back to the source artifact.
run_suite.py discovers checked-in skills/*/assets/eval-run.json files, evaluates each suite, and
returns skill-eval-suite-report.v1. It is intended for development and CI, never for student
runtime.
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
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.

