.claude/skills/story-context/SKILL.md
Context scoping for writing agent spawns — use when deciding what context a spawned agent should receive, whether ephemeral story decisions should be materialized before handoff, and how much to pass. Poor context handoffs cause writers to invent contradictions and critics to miss relevant history.
npx skillsauth add haowjy/pokemon-amber story-contextInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Every spawn starts with a context decision. Get it wrong and the writer invents facts that contradict established canon, the critic misses a continuity issue because it never saw the relevant chapter, or the brainstormer explores territory the author already rejected.
The /meridian-spawn skill teaches the mechanics of -f, --from, and spawn commands. This skill teaches the judgment — what story context to pass, when to materialize decisions before spawning, and how much is enough.
-f — concrete artifacts. Use when the context already exists as files: chapters, outlines, wiki pages, style files from $MERIDIAN_FS_DIR/styles/, character state from $MERIDIAN_FS_DIR/characters/. The agent reads exactly what you point it at. This is the default choice because files are stable, inspectable, and survive compaction.
# Good: writer gets the scene brief, relevant style files, and prior chapter for continuity
meridian spawn -a writer -p "Draft the Route 1 encounter scene" \
-f $MERIDIAN_WORK_DIR/outline/route1-brief.md \
-f $MERIDIAN_FS_DIR/styles/[relevant style files] \
-f $MERIDIAN_FS_DIR/styles/[relevant scene-type files] \
-f story/chapter4/4chapter.md
# Bad: dumping every chapter and style file "just in case"
meridian spawn -a writer -p "Draft the Route 1 encounter" \
-f story/**/*.md -f $MERIDIAN_FS_DIR/styles/*.md
--from — conversation history. Use when the agent needs to understand decisions, reasoning, or brainstorm context that hasn't been written down yet. Session history captures the why behind choices — why the author picked this meeting angle, what tone they want, what they explicitly rejected.
# Good: critic needs to understand the author's intent for this scene
meridian spawn -a critic --from p203 -p "Review for voice consistency" \
-f $MERIDIAN_WORK_DIR/drafts/route1-v1.md
# Bad: passing --from when the direction is already captured in an outline
Materialize first — when context is too important to be ephemeral. If critical story decisions only live in conversation, write them to $MERIDIAN_FS_DIR/ or $MERIDIAN_WORK_DIR/ before spawning. Story direction decisions are especially important to materialize — if the author chose "comedic misunderstanding" over "shared threat" for a meeting scene, that reasoning needs to survive compaction. The writer who drafts the scene weeks later needs to know not just what was chosen, but what was rejected.
Rule of thumb: if a writer could accidentally contradict this context, materialize it. If it's supplementary background that enriches but isn't load-bearing, --from is fine.
Writers need enough to stay in voice and on-canon, not everything ever written. The essential context:
$MERIDIAN_FS_DIR/styles/ and pick the files that match the scene. Character files for whoever appears, scene-type files for the kind of scene being written. Each style file is self-describing — read the top to know when it applies.$MERIDIAN_FS_DIR/characters/ for characters who appear in the scene, especially if their emotional state or knowledge has changed recentlyTell the writer where to find more if it needs to explore — "the full arc outline is in the work directory, focus on the Route 1 section" — rather than attaching everything preemptively.
Critics need the draft plus enough context to judge it against:
-f--from if the orchestrator discussed direction with the author, or via materialized decision notes$MERIDIAN_FS_DIR/issues/ if the critic should watch for specific recurring problemsBrainstormers need constraints, not answers:
Don't pass too much — brainstormers that receive the full project history tend to produce conservative ideas that fit neatly into existing patterns instead of exploring fresh territory.
--from pointing at the conversation to mine, plus $MERIDIAN_FS_DIR/ paths for where to write findings-f, plus existing $MERIDIAN_FS_DIR/canon/ and $MERIDIAN_FS_DIR/timeline/ for deduplication$MERIDIAN_FS_DIR/ directory structure — it needs to see everything to rebuild connectionsUse --from <prior-spawn-id> to carry forward what a previous phase learned. The revision writer benefits from seeing what the first-draft writer discovered — where the outline was ambiguous, what choices were made to fill gaps. The critic benefits from seeing prior critique rounds — what was already flagged and addressed.
Combine mechanisms when phases produce artifacts: pass the prior spawn's report via --from for reasoning context, and the files it created via -f for concrete outputs.
# Revision writer gets the critique synthesis AND the original draft
meridian spawn -a writer \
--from p301 \
-f $MERIDIAN_WORK_DIR/drafts/route1-v1.md \
-f $MERIDIAN_WORK_DIR/critique-reports/round1-synthesis.md \
-p "Revise the Route 1 scene, addressing the pacing and voice findings"
data-ai
Team composition for writing workflows — which agents to spawn, how many, what focus areas to assign, and how to scale effort. Use when composing critic panels, dispatching researchers, staffing draft/revise loops, or setting up brainstorm fan-outs.
testing
What fiction readers actually want, framed as four composable reward channels (transportation, aesthetic, social simulation, flow), and the specific documented ways alignment training damages each one. Grounded in reader-psychology research and empirical NLP findings. Load when drafting prose, critiquing a draft, deciding whether to show or tell, diagnosing why a passage feels flat, or reasoning about why a scene is or isn't working.
testing
Logging and referencing writing issues — craft problems, tics, inconsistencies, and structural concerns found during analysis, critique, or review. Use when an agent identifies something worth tracking beyond a single critique report: repeated tics across chapters, inconsistencies that affect multiple scenes, structural problems that need the author's attention, or patterns that should be fixed in revision.
development
Shared artifact convention between orchestrators — what goes where in `$MERIDIAN_FS_DIR/` and `$MERIDIAN_WORK_DIR/`, how artifacts flow between phases, and what each directory means. Use whenever work artifacts, style files, knowledge entries, drafts, or critique reports are being created, referenced, or discussed.