continuity-check

continuity-check is a skill for Claude Code from tobyilee/book-writer. It costs 165 tokens per session (1,780 once invoked), scanned A, original, MIT.

A story-consistency checker that keeps a shared record of characters, relationships, world rules, timeline, and planted story clues across chapters.

In plain words
What is it for?
Use it while writing fiction to compare each chapter with the story record, track planted clues through their resolution, and send continuity issues back to the chapter writer.
Why use it?
It helps find contradictions such as changed character details, impossible timing, broken world rules, or story clues that are never resolved.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/tobyilee/book-writer/continuity-check
Any agent
npx skills add tobyilee/book-writer --skill continuity-check
Clone the repo
git clone --depth 1 https://github.com/tobyilee/book-writer

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for continuity-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/tobyilee/book-writer/continuity-check.svg)](https://agentmods.dev/skills/tobyilee/book-writer/continuity-check)
Your own site
<a href="https://agentmods.dev/skills/tobyilee/book-writer/continuity-check"><img src="https://agentmods.dev/badge/skills/tobyilee/book-writer/continuity-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 165 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00165 $0.01780
Opus 5 $0.00082 $0.00890
Sonnet 5 $0.00033 $0.00356
Haiku 4.5 $0.00016 $0.00178

Measured 6d ago against content hash a78ee4d7f72c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

continuity-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/continuity-check/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Continuity Check

소설·서사물을 챕터를 건너뛰며 일관되게 유지한다. 인물·관계·세계관·타임라인·복선을 story_bible.md라는 단일 정전(canon)으로 잡고, 각 챕터를 그에 대조한다. 문체가 아니라 연속성만 본다.

narrative 장르 전용. genre(오케스트레이터 → {slug}/book_manifest.json)가 narrative가 아니면 오케스트레이터가 이 단계를 생략한다.

절차

  1. 활성 장르 확인 — narrative가 아니면 중단
  2. 시드story_bible.md가 없으면 02_plan.md에서 인물·설정·타임라인·복선을 뽑아 초기화 (부족하면 1장 초안에서 캐논 추출)
  3. 추출 — 챕터 초안에서 연속성에 걸리는 구체 항목을 모은다: 인물 외모·나이, 대사톤·말투, 관계 상태, 세계관 규칙, 시점/날짜, 고유명사 철자, 복선 심기/회수
  4. 대조 — 각 항목을 story_bible.md와 맞춘다
  5. 판정 — 라벨별 정리, bible 근거 명기
  6. 갱신 — 합의된 새 정전을 bible에 append (살아 있는 문서). 복선 원장의 심기→회수 상태 갱신
  7. 전달SendMessagechapter-writer에게 + continuity_log.md에 append
  8. 계측 (v1.11.0, 자문 전용) — 챕터 검수 마감 시 continuity_log.md 해당 섹션에 한 줄 기록: 계측: 긴장도 {1~5} · 지배 감정 {단어} · 씬 {N}개 · 아크 위치 {설정/상승/절정/하강}. 판정이 아니며 저술 왕복을 만들지 않는다

무엇을 검증하나

유형 모순 예시
인물 고정 사실 눈/머리 색, 나이, 키, 흉터 — 챕터마다 다름
대사톤·말투 1장 반말 캐릭터가 5장에서 존댓말 (의도 없이)
관계 상태 아직 안 만난 두 인물이 구면처럼 행동
생사·소재 죽은 인물 재등장, 멀리 있던 인물이 갑자기 등장
세계관 규칙 1장에서 "마법은 밤에만"인데 3장에서 낮에 사용
타임라인 사건 순서 역행, 요일·계절 모순
고유명사 지명·인명 철자가 장마다 다름
복선 심은 떡밥(🌱)이 회수(🎯) 안 됨 / 회수가 심기보다 먼저

판정 라벨

  • 모순 — bible과 충돌. 정정안 제시 (Critical)
  • ⚠️ 미회수 복선 — 심은 복선이 아직 안 풀림. 의도면 OK, 잊었으면 표시
  • 🆕 새 정전 — 챕터가 도입한 새 인물·설정. bible에 추가
  • 일관됨 — 캐논과 일치 (간단 확인)

story_bible.md 템플릿

# 스토리 바이블: {제목}
<!-- 갱신: {날짜} {요약} -->

## 인물
### {이름}
- 외모·나이: {고정 사실}
- 감정 궤도: {체념 → 욕망 자각 → 선택}
- 태도·성격:
- 대사톤·말투: {담백/직설/회피, 반말/존댓말/혼합}
- 핵심 단어·말버릇:
- 동기·비밀: {공개 시점}
- 첫 등장: {N장}

## 관계
- {A} ↔ {B}: {유형} — 변화: {N장에서 ~}

## 세계관·설정
- 시대·장소:
- 규칙·제약:
- 명칭 정전: {철자 고정}

## 타임라인
- {시점} — {사건} ({N장})

## 복선 원장
- 🌱 {N장}: {복선} → 🎯 {M장} 회수 예정/회수됨

메시지 포맷

## 연속성 체크: {NN}장 라운드 {N}

### ❌ 모순
- [원문] "..." → [바이블] {근거} — 정정안

### ⚠️ 미회수 복선
- {N장 복선} 아직 미회수 — 의도 확인

### 🆕 새 정전
- {추가 항목} → bible에 반영

### ✅ 일관됨
- {확인 항목}

총평: {한 줄}

작업 원칙

  • 연속성만: 문체·플롯 평가 금지
  • 캐논 우선: 먼저 정한 설정이 정전. 나중 챕터가 어기면 나중 챕터 정정 (의도적 변경은 bible 갱신)
  • 모순은 Critical: 저술가 재량으로 덮지 않는다. 미합의 시 continuity_log.md에 "미해소(모순 위험)" 명시 후 에스컬레이션
  • 복선은 끝까지 추적: 원장에서 심기→회수를 닫는다

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 106 lines · 165 tokens per session scan A a78ee4d7f72c

Subscribe to this mod's changes

continuity-check is a skill published in the GitHub repository tobyilee/book-writer (81 stars, last pushed 19d ago), licensed MIT. It adds 165 tokens to every session and 1,780 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens