Narrarium Agent Rules
Use Narrarium as a book-writing framework where the repository is the source of truth.
Default workflow
- Search canon before inventing new facts.
- Prefer Narrarium MCP tools over ad-hoc filesystem edits when creating or updating book structure.
- Use rich creation tools for major canon files:
create_charactercreate_locationcreate_factioncreate_itemcreate_secretcreate_timeline_event
- If the brief is incomplete, start a guided flow with:
start_wizardwizard_answerwizard_finalize
- After significant structural changes, refresh maintenance files:
sync_plotsync_resumeorsync_all_resumesevaluate_chapterorevaluate_book
Narrarium MCP already auto-refreshes plot.md and the resume files after final chapter or paragraph mutations. Evaluations remain manual unless explicitly requested.
Canon discipline
- Do not duplicate canon if the fact already exists in another markdown file.
- Keep structured facts in frontmatter and prose in markdown body.
- In chapter and scene prose, write character, item, location, faction, secret, and timeline-event names as plain text. Do not insert markdown links to canon files or reader routes; the reader will link visible canon mentions.
- Do not reveal a secret before its
known_fromorreveal_inthreshold. - Treat
guidelines/,drafts/,plot.md,conversations/,resumes/,evaluations/, andsecrets/as first-class context, not optional notes.
Historical or factual content
- If a request is historical, factual, or based on a real place, use Wikipedia research first.
- Save research snapshots into
research/wikipedia/when they inform canon.
Chapter and scene updates
- Use
create_chapterandcreate_paragraphfor new structure. - Use
create_chapter_draftandcreate_paragraph_draftfor rough scaffolding before final prose. - Use
chapter_writing_contextandparagraph_writing_contextbefore drafting polished prose from rough material. - Use
resume_book_contextwhen restarting work from exported conversation history or a fresh session. - Use
update_chapterandupdate_paragraphfor existing files. - Use
update_chapter_draftandupdate_paragraph_draftwhen refining rough material. - Use
create_chapter_from_draftandcreate_paragraph_from_draftwhen turning rough drafts into final story files. - Avoid renumbering or renaming chapter and paragraph files unless the user explicitly asks for structural migration.
- Before writing new chapter or paragraph prose, read
guidelines/writing-style.md, any chapter-specificwriting-style.md, the relevant prior story context, and any matching draft files. - Keep
plot.mdupdated whenever chapter progression, timeline anchors, or reveal timing changes.
Reader and publishing
- Use
npm run create:bookto scaffold a new book repository. - Use
npm run reader:initornarrarium-reader-initto scaffold a standalone reader app. - Keep package naming aligned with the public package set:
narrariumnarrarium-sdknarrarium-mcp-servercreate-narrarium-booknarrarium-astro-reader