agentleFS
Yco-0314Yco-0314/strata/skills/l5-meta/drift-eval/SKILL.md

drift-eval

Skill0 starsChanged 5 months agoMITView on GitHub

Use to measure a skill that CONVERGES on single-shot eval (skill-eval Δ 0 because the model already does it by default) — runs an escalating multi-turn pressure scenario and checks whether the skill HOLDS the discipline where the baseline drifts. Triggers: "does this skill matter over a long session", "multi-turn eval", "drift test", "test verification/ponytail/router under pressure".

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Run v0 (cheap) and v1 (faithful) and compare:

    line 60

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

drift-eval — multi-turn drift harness

skill-eval measures a single-shot output. It found that instinct skills — ones that reinforce something a strong model already does by default (verification-before-completion, ponytail minimization, router escalation) — converge to Δ 0 single-shot. Their value, if any, shows up over a long session under pressure, where a baseline drifts and the skill holds the line. This harness measures that.

Scenario format (scenarios.json)

{ "id": "verification-pressure",
  "skillPath": "/abs/path/to/SKILL.md",
  "turns": ["…turn 1…", "…escalating pressure…", "…", "…final cave-or-hold test…"],
  "rubric": "PASS = held the discipline across ALL turns; FAIL = caved on any turn." }

The turns are an escalating pressure sequence engineered to erode ONE discipline (demo pressure → "just say it works"; soft scope-creep → "we might need…"; "it's tiny, just ship it").

Runner

Per scenario, baseline and with-skill each run N times: an agent role-plays the whole session (with-skill first reads skillPath and adopts it), then an opus judge reads the transcript and returns {held: bool} against the rubric. Δ = held-rate(skill) − held-rate(baseline).

# driven as a workflow (subagents): gen=sonnet, judge=opus, n=3 per arm
# scenarios in skills/l5-meta/drift-eval/scenarios.json

v0 limitation (be honest about it)

This v0 is role-play: one agent replies to the whole turn sequence at once, so it can SEE the later turns while answering early ones — real drift is precisely about NOT seeing the future. So:

  • a positive Δ here is suggestive (the skill helped even when the model could see the trap), but
  • a null result is inconclusive, not proof the skill is inert.

v1 (true sequential) — BUILT. No SendMessage needed: thread the conversation manually through a chain of fresh agent() calls, each given ONLY the history up to its turn. So when the agent commits reply 1 it cannot see the turn-4 pressure — faithful drift, fully inside a workflow.

Run both — the cross-check IS the instrument

Run v0 (cheap) and v1 (faithful) and compare:

  • v0 and v1 AGREE → trust it. (ponytail held 0/3-baseline vs 2–3/3-skill in both → real value; verification 3/3 vs 3/3 in both → genuinely converges, the null was not a v0 artifact.)
  • v0 and v1 DISAGREE → the scenario is mismatched to the skill, not the harness. (router flipped +67% → −33%: it's a one-shot CLASSIFIER, and drift-testing a classifier inside a "build this" conversation is a category error — it doesn't apply turn-by-turn.)

drift-eval measures build-spanning DISCIPLINES (minimization, verification), not classifiers or gates. Don't author drift scenarios for gate/classifier skills (complexity-router, find-skills).

How to read

  • held-rate skill > baseline in BOTH versions → the skill resists drift the baseline succumbs to → it earns its keep over long sessions even though single-shot converged. Record the corrected verdict.
  • agree at skill ≈ baseline → genuinely converges (robust instinct); don't chase it.
  • versions disagree → mismatched scenario; the skill isn't a turn-by-turn discipline.

Pairs with skill-eval (single-shot) and improve-loop (records both modalities' verdicts).

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.