From haowjy-creative-writing-skills
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 claudepluginhub haowjy/creative-writing-skills --plugin creative-writing-skillsThis skill uses the workspace's default tool permissions.
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.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
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, character state files. The agent reads exactly what you point it at. This is the default choice because files are stable, inspectable, and survive compaction.
KB=$(meridian context kb)
WORK=$(meridian context work)
# 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 $WORK/outline/route1-brief.md \
-f $KB/styles/[relevant style files] \
-f $KB/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 $KB/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 $WORK/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 the kb or work directory 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:
Tell 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 notesBrainstormers 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 kb paths for where to write findings-f, plus existing canon files and timeline entries for deduplicationUse --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.
WORK=$(meridian context work)
# Revision writer gets the critique synthesis AND the original draft
meridian spawn -a writer \
--from p301 \
-f $WORK/drafts/route1-v1.md \
-f $WORK/critique-reports/round1-synthesis.md \
-p "Revise the Route 1 scene, addressing the pacing and voice findings"