Model Quirks
Use this skill when a task is about model-specific instructions, prompt quirks, undoing or pruning old model mitigations, or keeping prompts aligned with the currently used model roster.
Canonical Files
- Ledger (reverse index + archive):
docs/model-quirks-ledger.yaml
The System
Every new model does something weird. Mitigations for those quirks are real prompt text — but they should not outlive the model that needed them.
- Applied text lives inline. Mitigations are written directly into
AGENTS.md, skill files, or whatever prompt they belong in, phrased as normal house rules. No model names, no marker comments, no labeled section. The prompt surface reads as one coherent voice. - The ledger is the reverse index.
docs/model-quirks-ledger.yamlrecords, per model, the exact text of every applied change and its target file. The exact recorded text is the undo key — never rely on line numbers, which rot. - Applying and recording are one atomic change. Never add quirk text to a prompt without its ledger entry, and never add a ledger entry without applying the text. Same commit, always.
Ledger Format
One entry per applied change, under a top-level entries: list. Single model id per entry, no aliases. Active and retired entries live in the same file.
yamlentries: - id: mq-2026-08-22-01 model: gpt-5.4 status: active # active | retired applied: 2026-08-22 target: AGENTS.md kind: insert # insert | edit anchor: "## Conventions" # nearest heading, for locating it text: | # the exact text as it appears in the file Keep progress updates compact and factual. before: null # for kind: edit, the original text reason: "5.4 narrates every tool call"
Entry rules:
textholds the exact applied text, verbatim — this is the undo key.- For
kind: edit,beforeholds the original text; undo restores it. anchoris a courtesy hint (nearest heading), never the undo key.- Retired entries keep all fields, flip
status: retired, and addretired: YYYY-MM-DD. - Keep
reasonshort; it's the symptom you were mitigating.
Workflow
Applying a mitigation
- Confirm the quirk is a real recurring default worth overriding, not a one-off.
- Write the mitigation inline in the smallest right prompt surface, phrased as a normal unlabeled rule in the file's own voice.
- Add the ledger entry (id, model, target, kind, anchor, exact text, reason) in the same change.
Retiring a model
- For each of the model's active entries, find the entry's
textin its target file and remove it (or restorebeforefor edits). - If another active model needs the same rule, reassign the entry's
modelinstead of deleting the text. - Flip each entry to
status: retiredand addretired: YYYY-MM-DD. Retired entries are the archive — future models often revive old quirks, so shop them byreasonbefore writing new mitigations.
Verifying (drift check)
Periodically, or before retiring: confirm each active entry's text still exists verbatim in its target file. If a mitigation was edited in place, update the entry to match or convert it to kind: edit with the right before.
Required Behavior
- No model names or quirk labels in the applied prompt text — the ledger is the only place model attribution lives.
- Never apply without recording; never record without applying.
- Exact quoted text is the undo key. Update the ledger whenever applied text is reworded.
- Keep mitigations short, specific, and focused on real default behaviors worth overriding.
- Prefer concrete model quirks over generic writing advice.
- Update this skill and the ledger header if the workflow or file locations change.


