agentleFS
odere-proodere-pro/claude-calibration/skills/calibration-diff/SKILL.md

calibration-diff

Skill1 starsChanged 6 months agoMITView on GitHub

Compare the current Claude Code setup against the previous calibration run's baseline. Spawns only the evaluator (pass 2) — no planner, no calibrator, no edits. Useful between calibration runs (you manually edited a few files; what now shows resolved vs new?) and as a "did my changes hold up?" check after merging a PR. Writes eval-delta-*.md into the previous run folder and prints the before -> after counts. If no previous run exists, says so and points at /calibrate.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 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.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Pick the run to diff against: Default: the latest run folder with a complete baseline_reports list in plan.md (read it.

    line 42
  2. Very specific:

    Print a short summary: Read plan.md's now-updated last_evaluation field.

    line 62
  3. Distinctive:

    After a calibration run you may keep editing — hand-tuning a rule, adding a hook, deleting an unused skill.

    line 71
  4. Very specific:

    If the picked run's plan.md is missing or unparseable, say so and stop.

    line 82
  5. Very specific:

    If the user has applied changes by hand that the evaluator now sees in the same scope as a former finding, treat that as resolved — that's …

    line 83

≈ “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
echo "=== calibration-diff preprocessing ==="
DOCS_DIR="$(cd "${CLAUDE_SKILL_DIR}/../../docs" 2>/dev/null && pwd || echo UNKNOWN)"
BUNDLES_DIR="$(cd "${CLAUDE_SKILL_DIR}/.." 2>/dev/null && pwd || echo UNKNOWN)"
echo "DOCS_DIR=$DOCS_DIR"
echo "BUNDLES_DIR=$BUNDLES_DIR"
echo "PROJECT_DIR=${CLAUDE_PROJECT_DIR:-$(pwd)}"
echo "NOW_ISO=$(date -u +%Y-%m-%dT%H:%M:%SZ)"
echo "GIT_HEAD=$(git rev-parse HEAD 2>/dev/null || echo not-a-git-repo)"
if [ -f .claude/calibration/current ]; then
  CURRENT="$(cat .claude/calibration/current)"
  echo "CURRENT_RUN=$CURRENT"
else
  echo "CURRENT_RUN=(none)"
fi
echo "--- recent calibration runs (newest first) ---"
ls -1dt .claude/calibration/*/ 2>/dev/null | head -5 || echo "(none)"
echo "=== end preprocessing ==="

calibration-diff — re-evaluate against the last baseline

You are the diff-only flow. You run the calibration evaluator pass 2 against the previous run's baseline reports and stop. No planner, no calibrator, no edits.

What to do

  1. Resolve DOCS_DIR, BUNDLES_DIR, PROJECT_DIR from the preprocessing block.
  2. Pick the run to diff against. Default: the latest run folder with a complete baseline_reports list in plan.md (read it; the field is set when the evaluator finishes Pass 1). If the user passed a run identifier in $ARGUMENTS (e.g. a timestamp), use that one. If no run is found, print one line: No prior calibration run found — run /calibrate first to establish a baseline. and stop. Also read the picked run's plugin_filter field — the delta must re-audit the same plugin scope as the baseline, so reuse it verbatim (don't take a new --plugins flag here).
  3. Spawn the evaluator (Pass 2):
    Agent(calibration-evaluator)
    Pass: 2 (delta).
    Run folder: <abs of the picked run>.
    Plan: <run>/plan.md.
    Baseline reports: <the names from plan.md baseline_reports>.
    Rubric dir: <DOCS_DIR>.
    Bundles dir: <BUNDLES_DIR>.
    Project dir: <PROJECT_DIR>.
    Plugin filter: <the picked run's plugin_filter from plan.md, or empty = all plugins>.
    The evaluator will write eval-delta-<ts>.md into the run folder and update plan.md's last_evaluation field.
  4. Print a short summary. Read plan.md's now-updated last_evaluation field; print:
    • Diffing against: <run folder> (baseline taken <plan.started>).
    • Before: C<n> H<n> M<n> L<n>. After: C<n> H<n> M<n> L<n>.
    • Resolved <n> · partial <n> · open <n> · new <n>.
    • Delta report: <run>/eval-delta-<ts>.md.
    • → Run /calibrate to plan fixes for the open + new findings.

Why diff-only

After a calibration run you may keep editing — hand-tuning a rule, adding a hook, deleting an unused skill. This flow re-runs the evaluator against the baseline reports of that earlier run so you can see "what changed since the last calibration" without re-spawning the planner or calibrator. It's the cheapest way to confirm a fix held up.

Hard rules

  • You never invoke calibration-planner or calibration-calibrator. The evaluator's Pass: 2 only updates plan.md's last_evaluation and last_phase_completed (it sets delta-eval); it does not touch other state.
  • You only Write indirectly through the evaluator subagent — no direct writes from you.
  • If the picked run's plan.md is missing or unparseable, say so and stop; do not invent a baseline.
  • If the user has applied changes by hand that the evaluator now sees in the same scope as a former finding, treat that as resolved — that's the point.

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.