/model-fit-review:model-fit-reviewfrom model-fit-review
Review your own past Claude Code sessions to learn when Fable 5.2, Opus 5.5, Sonnet 5.5 or Haiku 5.5 (and which effort) fits a task. Builds case cards from your real episodes, runs predict-then-reveal practice rounds, and optionally runs a few blind counterfactual replays judged by another vendor. A learning loop, not a cost audit; creative or deep-analysis work is never downgraded only to save tokens. "모델 적합성 검토", "어떤 모델이 맞았는지 세션 검토", "모델 선택 감각 연습", "지난 세션으로 모델 고르기 연습", "내 작업에 어떤 모델이 맞았는지 돌아보기"에 사용한다. 지금 할 작업 하나의 모델 추천은 model-advisor를 쓴다.
Ships in model-fit-review. 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.
Read when SKILL.md points to them; scripts run unread.
Help the user build their own judgment for choosing a Claude model and effort, using cases from their own session history. The output is case cards, two practice rounds, a one-page decision guide, and (optional) proposals for recurring method corrections.
This is a learning loop. Do not frame results as savings. Never recommend a smaller model for creative work or deep analysis only because it costs fewer tokens.
~/model-fit-review/. The files hold message text, so a directory inside a git work tree must be git-ignored; the scripts refuse any other directory inside a work tree (override: --allow-repo). Never assume a secondary disk or any fixed path. All later outputs go there.~/.claude/projects/*/*.jsonl. They record model and token use per call, and effort on most assistant entries.statev2.sqlite). It adds which user rows a person typed (human-message origin), run completion times, and the runs other agents started. It does not add effort.scripts/snapshot_db.py --source <db> --dest <review dir>/data --yes. An agent's shell has no terminal, so --yes is required there; without it the script asks and stops. It opens the source read-only, checks free space, copies with the SQLite backup API and switches the copy to journal_mode=DELETE, so no -wal or -shm files appear. Never read the live DB for analysis.TMPDIR (and SQLITE_TMPDIR) when the default temporary directory is on a small disk; every script honors them.Follow references/procedure.md for every step, its check and its output file. Summary:
| Phase | Do | Gate or check |
|---|---|---|
| A. Frame | Agree the goal, the done predicate and the period | Predicate is falsifiable |
| B. Extract | extract_t3.py or extract_logs.py with --since/--until → messages and distinct runs | Counts printed; 10 random human messages read, precision recorded |
| C. Label | C0 consent, then hand-label 30–40 reaction items and run calibrated Haiku labels with references/rubrics.md | ≥ 85 % agreement on reactions, or labels used only for sampling |
| D. Episodes | episodes.py groups runs; sample by model × outcome × task type | 20 boundaries (all if fewer) read by hand |
| E. Cards | Write cards per references/cards.md | Each fact traces to a run id |
| F. Round 1 | Practice via AskUserQuestion, one card per question | Baseline stored before any guide |
| G. Replays (optional) | references/replay-and-judge.md | G1 approval first |
| H. Guide | One page, every rule cites round-1 cards only | Each rule has a card id |
| I. Round 2 | Held-out cards, then score_practice.py | Over- and under-picks reported |
| J. Method corrections | Cluster and check against existing rules | G2 approval per change |
Read references/lessons.md before Phase B. The short form:
superseded. Messages sent while it ran are steer./compact, /clear, /reload-*, /mcp, /output-style) are not tasks. A slash-invoked skill with text is a task.replay, observed or inferred.End with: inputs used (logs only, or logs + T3 DB), the period, effort coverage and human-filter precision; what was VERIFIED, NOT VERIFIED or INCONCLUSIVE; round scores with over- and under-picks; the guide; open G2 proposals; and the location of the snapshot copy with an offer to delete it (snapshot_db.py --delete <snapshot> also removes -wal/-shm files).
Claude Code is the reference host. Choosing a subagent model (Haiku classifiers, replay candidates) is Claude Code–only. In Codex, the extraction scripts, cards, practice rounds and guide work; skip the calibrated Haiku labels (hand-label a smaller sample and say so) and run replays only if the host can start sessions on the named Claude models.
agents/openai.yaml (opens in a new tab)references/cards.md (opens in a new tab)references/lessons.md (opens in a new tab)references/procedure.md (opens in a new tab)references/replay-and-judge.md (opens in a new tab)references/rubrics.md (opens in a new tab)scripts/build_tables.sql (opens in a new tab)scripts/episodes.py (opens in a new tab)scripts/export_items.py (opens in a new tab)scripts/extract_logs.py (opens in a new tab)scripts/extract_t3.py (opens in a new tab)scripts/mfrlib.py (opens in a new tab)scripts/sample_final_messages.py (opens in a new tab)scripts/score_practice.py (opens in a new tab)scripts/snapshot_db.py (opens in a new tab)tests/fixtures/session-a.jsonl (opens in a new tab)tests/fixtures/session-b.jsonl (opens in a new tab)tests/test_mfr.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub oozoofrog/oozoofrog-plugin --plugin model-fit-review