
Check an Outline with Scene Beat List
Check a Claude-drafted scene outline before sharing it for review. See required fields, chapter and scene counts, word counts, and signs of prose; the tool does not invent plot beats. #写作
Check a Claude-drafted scene outline before sharing it for review.
See required fields, chapter and scene counts, word counts, and signs of prose; the tool does not invent plot beats.
Scene Beat List — Check a Claude-Drafted Scene Outline
Claude writes a scene outline from the premise; this tool checks its fields, word counts, chapter and scene counts, and signs of prose. It checks a draft outline; it does not write story prose or invent plot beats.
What it checks
- Required fields: every scene has
chapter,who,wants,happens, andchanges; extra and missing keys are reported. - Chapter coverage: chapter count is a positive whole number from 1 to 500; each chapter has at least one scene.
- Field contents: each beat field is non-empty. If CJK characters make up more than half of its visible characters, it allows up to 60 grapheme clusters after NFC normalization; otherwise it allows up to 25 words, counting each CJK character as one word.
- Capitalized terms: capitalized terms after the first word and Katakana runs not found in the premise are listed for a person to verify. The tool cannot distinguish names from other words; this list never changes the exit code. Claude and the writer must review it.
- Draft prose: paired dialogue quotes containing at least three whitespace-separated words, or at least ten CJK characters, are flagged. A 2–6 word Title Case quote is treated as a title. Straight/curly single and double quotes and « » are recognized.
- Duplicate scenes: repeated four-field beats after NFKC normalization, whitespace collapsing, and case folding are reported with the earlier scene number.
- Output: Markdown (default) or JSON report;
--outputmust name a different file, including when paths are aliases or hard links.
The program validates a proposed outline. Tabs in fields are treated as spaces. It cannot determine whether a beat is dramatically compelling; people must review the capitalized-term suggestions and prose findings.
Input format
Save UTF-8 JSON with a premise, chapter count, and one or more scenes per chapter. Each beat field should be a compact outline fragment, not finished prose.
{
"premise": "Mira finds a brass key beneath the lighthouse. She wants to unlock the sealed archive before the storm reaches the harbor.",
"chapters": 2,
"scenes": [
{"chapter": 1, "who": "Mira", "wants": "Find the brass key beneath the lighthouse", "happens": "Mira discovers the key under a loose stone", "changes": "The sealed archive becomes reachable"},
{"chapter": 2, "who": "Mira", "wants": "Unlock the archive before the storm", "happens": "Mira uses the key at the archive door", "changes": "The archive opens before the harbor storm"}
]
}
Run
Python 3.9+; standard library only.
python3 scripts/scene_beat_list.py examples/outline.json
python3 scripts/scene_beat_list.py examples/outline.json --format json
python3 scripts/scene_beat_list.py examples/outline.json --format json --output report.json
python3 -m unittest discover tests
Exit codes: 0 means no findings, 1 means the outline has findings, and 2 means the input or output could not be processed. A chapter without scenes is an outline finding (exit 1). A chapter may contain at most 20 scenes. Input is limited to 200,000 bytes and must be a regular file. UTF-8 with or without a UTF-8 BOM is accepted; UTF-16, malformed or excessively nested JSON, empty files, decoded control/invisible characters, and output paths that refer to the input file are rejected with one error: line. The 60-grapheme-cluster rule applies only when CJK characters are more than half of visible characters; otherwise each whitespace-separated word and each CJK character counts toward the 25-word limit. Unencodable terminal characters are escaped so findings retain their normal exit code; use --output for readable Unicode output.

