/mikefluff-skills:canon-checkfrom Mikefluff Skills
Audits fiction series canon by cross-referencing chapter mentions against a story bible. Flags drift without editing files. Useful before commits or when reintroducing established entities.
Ships in Mikefluff Skills. 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.
Why this skill exists. The same canon-break patterns recur across long-form fiction projects: a character's documented physical invariant gets accidentally inverted in a later chapter; an artifact moves room without explanation; a recurring character appears under a generic descriptor when an established proper name already exists; a count or age stated in the bible doesn't match what the text actually shows. Each break is cheap to catch at lint time and expensive to catch in print.
Use cases:
git commit — staged diff vs canon;What the skill needs to know about your project:
.md / .tex / .txt / .rst)<book>/notes/story-bible.{md,tex,txt} or similar)If the project follows the conventional layout (<book>/{lang}/chapters/* for chapters, <book>/notes/story-bible.* for the bible), the default routing works out of the box. Otherwise, override the routing patterns in references/routing.md.
Story-bible auditor. NOT a continuity editor. The skill only signals discrepancies between:
The user decides. The skill does not edit the chapter or the bible.
When a contradiction appears between "what the current chapter says", "what the bible says", and "what the model 'remembers'" — the resolution priority is:
<book>/<lang>/chapters/* is canon, even if the bible is silent.Never cite prior text from memory. Always grep + Read before stating "in chapter X it was Y".
The skill picks the bible to apply based on file path. Full table — in references/routing.md. Briefly (illustrative defaults; adapt to your project):
<book>/{ru,en,pt-br,...}/chapters/*.{md,tex,txt,rst} → <book>/notes/story-bible.{md,tex,txt}
sequel-book/<lang>/chapters/* → sequel-book/notes/story-bible.* + parent-book/notes/story-bible.*
(for inherited-canon sections)
any other path → SKIP silently
chapter <book> <chN> — full canon scan of a chapter# Example:
canon-check chapter your-book ch07
# → scans <book>/<lang>/chapters/ch07.{md,tex,...}
# (plus other-language siblings if present — but the bible is one)
Full pass over the file: extract entities → cross-reference the bible → collect other appearances.
staged — staged diffgit diff --cached --name-only
# for each known-book chapter file — pass over added/changed lines
entity <book> <name> — all appearances of an entitycanon-check entity your-book "Character A"
# → bible entry + list of every file and line where it appears
Useful before writing a new scene with an already-established character.
audit-bible <book> — structural bible auditFind entities mentioned in chapters/* ≥ N times but with no bible entry (WARNING — "silent canon"). Does not edit the bible — just lists.
Step 1. Extract entities from the text under review.
Characters / Main characters / Supporting characters sections).Physical invariants / Artifacts sections. Each book maintains its own dictionary.Locations / Locations of weight section.Step 2. For each entity — gather context.
# bible entry:
grep -n -A 5 "<entity>" <book>/notes/story-bible.*
# other appearances in chapters:
grep -rn "<entity>" <book>/<lang>/chapters/
Read everything. Don't quote from memory.
Step 3. Compare with the current text.
Look for contradictions:
Step 4. If a new entity — flag for the user.
If a clearly new entity appears in the text (proper noun, artifact) that has no bible entry — WARNING, not auto-add. The skill does not edit the bible. The user decides: canonize or remove.
Full list of detection classes and pattern-detection recipes — in references/known-incidents.md.
0 — only INFO. Commit allowed.1 — WARNING (silent canon / cross-chapter drift). Ask the user.2 — BLOCKING (clear contradiction). Abort the commit.In normal calls the exit code is not used — only the report.
The skill does not install the hook itself. If the user asks — the standard pattern from style-check: .git/hooks/pre-commit calls a Claude Code wrapper with /canon-check staged. The skill does not edit .git/hooks/ itself.
Structured report with three sections (by severity) + SUMMARY with bible coverage. Reference template — in examples/sample-report.md.
prose-edit or by hand.grep + Read. If you "remember" it differently from what the text says — the text wins..py, .js, .ts, .go — skip./loop or /schedule. This is an interactive audit, not a cron job.| File | When to load |
|---|---|
| references/workflow.md | Need exact grep commands for entity extraction and canon cross-reference. 3-step protocol with examples. |
| references/bible-format.md | Need the typical structure of a story bible — what sections to expect, where new entries go. |
| references/known-incidents.md | Need calibration on the general classes of canon break this skill is designed to catch (with detection recipes). |
| references/routing.md | Deciding which bible to apply to a given file path. |
| examples/sample-report.md | Need tone/detail calibration for the report. |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mikefluff/skills --plugin mikefluff-skills46 skills in this plugin
/audio-mix-makerMix music/audio onto an existing video via ffmpeg. Modes: replace, overlay, duck (sidechain compressor lowers music under speech). Volume + fade controls. Pure ffmpeg, no API. Use when: 'mix this music onto the video', 'add background music to video', 'duck the music under voiceover', 'смешай музыку с видео', 'фоновая музыка для видео'./avatar-makerTurn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo', 'headshot variants', 'LinkedIn profile pic', 'аватарка', 'портрет', 'хедшот'./banner-makerOther plugins' skills for the same job