-
Notifications
You must be signed in to change notification settings - Fork 0
The Codex
The Codex is your universe's encyclopedia — a structured collection of facts, rules, and world-building details that define how your story world works.
When you write down facts in the Codex, two things happen:
-
You stay consistent. It's easy to forget that you said a character's eyes are green in chapter 3 and then call them blue in chapter 20. The Codex is your single source of truth.
-
The AI stays consistent. DasBook's AI reads your Codex before helping you write. If your Codex says "Benny is a stag beetle," the AI won't accidentally call him a spider.
The Consistency Checker (the Alerts feature) also uses your Codex. It automatically scans your chapters and flags any text that contradicts a Codex rule.
Anything that's a fact about your world:
- Character details — "Sonny is a mockingbird from the Florida Panhandle. He speaks with a Southern accent."
- World rules — "Glass windows are called 'sorcery walls' by the animals."
- Geography — "The story is set in Boston, near the waterfront."
- Tone & style — "The narrative voice is warm and humorous, aimed at middle-grade readers."
- Terminology — "Humans are called 'the tall ones' by the birds."
The Codex is a tree — entries can have child entries. Use this to organize by topic:
Writing Guidelines
Tone & Voice
Sentence Structure
Audience Notes
Characters
Sonny
Benny
Tully
World Rules
Animal Society
Human Interactions
Click the green + at the top to add a root entry. Hover over any entry and click + to add a child under it.
These are different things:
- AI Rules (in the sidebar) — high-level instructions for the AI: "write in past tense," "this is a YA dark fantasy." These are sent to the AI on every interaction.
- Codex — specific facts about your world. The AI queries only the relevant parts when it needs them.
Think of AI Rules as the AI's general instructions, and the Codex as the AI's reference library.
- Be specific. "Benny is a stag beetle with a dark shell and curved mandibles" is better than "Benny is a bug."
- Update as you write. When you introduce a new fact in your story, add it to the Codex so the AI and consistency checker know about it.
- Use it for style too. "Dialogue uses em dashes for interruptions, not ellipses" helps the AI match your writing style.