Plan
The Plan is where you set out a book’s structure before and while you write it. It shows every act, chapter and scene as cards. Use it to add structure, rename chapters, move scenes, merge two scenes, and archive what you no longer need. Archiving a chapter or a scene keeps its text, and you can restore it from the Archived list.
Address: /books/<id>/plan. A new book opens here.


Each act is a row. Each chapter is a column inside it, and each scene is a card in the column. A chapter header shows its number, the count of scenes and the words written. A card shows its scene number, title, summary, linked Knowledge base entries and labels, and the word count. A scene with nothing written says Not written. A scene that has an AI draft waiting shows Draft pending. The third act and later start collapsed. Select an act’s arrow to open it, or use Collapse all and Expand all in the toolbar.
The toolbar has New Act, the Board and Outline switch, Find in plan, a Label filter, Archived and Collapse all. The bar at the top of the book has a Scope list that limits the view to one act or chapter, and a word count for that scope.
Switch between board and outline
Section titled “Switch between board and outline”Select Outline to see the same acts, chapters and scenes as a table with the columns #, Scene summary, Codex, Labels and Words. Select Board to go back. Codex remembers your choice for each book in your browser.


Find a scene
Section titled “Find a scene”Type in Find in plan to dim every scene that does not match. Choose a label in the Label filter to dim the scenes that do not have it. Select Manage labels in the filter to rename a label, add one, or delete one. Deleting a label asks first and says how many scenes use it, then removes it from them.




Add a chapter or a scene
Section titled “Add a chapter or a scene”- To add a chapter, select New Chapter in the act’s header. Codex adds the chapter at the end of the act and numbers it to follow the chapter before it.
- To add a scene, select New scene at the bottom of a chapter. The new card takes focus in its summary, so you can type at once.
- To add an act, select New Act in the toolbar. Codex adds it with one chapter and one scene. Type its name and press Enter.






A scene summary saves by itself 3 seconds after your first edit, and when you leave the field. Type @ in a summary to mention a Knowledge base entry. If the server refuses a new chapter or scene, a toast such as Could not add the scene: names the reason.
Rename a chapter
Section titled “Rename a chapter”To rename a chapter, double-click its title, or open the three-dot menu in the chapter header and choose Rename chapter. Type the new title and press Enter. Press Escape to keep the old one.


A chapter keeps its reference in Write, such as ch:the-lamp-room, when you rename it. A link to the chapter in your text reads § Chapter 2, with the chapter’s number, and shows the title as a tooltip, so a rename changes the tooltip. The title cannot be empty. If you clear it and press Enter, the box says The title cannot be empty. and Codex saves nothing.




To rename an act, select the pencil in its header, type the new title and press Enter.


To rename a scene, type in the title above its summary. It saves the same way as the summary.
Move chapters and scenes
Section titled “Move chapters and scenes”A card and a chapter header each have a grip and a three-dot menu. They show when you point at the card or header, or when you Tab to them. An act has a grip that shows the same way, and a three-dot menu that always shows beside New Chapter.
To move a scene, drag the grip at the top left of its card into a chapter column. A scene lands only in a chapter column. To reorder chapters, drag the grip in the chapter’s own header. To reorder acts, drag the grip in the act’s header. A line shows where the item will land. Press Escape while you drag to cancel. To move a chapter into another act, drop it on that act’s row. The act must be open. Chapter numbers run across acts, so a move renumbers only the chapters between the old place and the new one. A chapter that goes from the end of an act to the start of the next keeps its number.




A link to a chapter in your text reads § Chapter N. After a move the link shows the chapter’s new number, and the stored link does not change. The Used in column in References lists the chapter numbers where each source is cited, so it follows the move.




You can also move with the keyboard. Tab to the grip, then press Alt and an arrow:
- On a chapter, Left or Right moves it before or after its neighbour in the act. Up or Down moves it into the neighbouring act, to the end of the act above or the start of the act below.
- On a scene, Up or Down moves it one place in its chapter. Past the first or last scene, it moves into the neighbouring chapter, to the end of the chapter above or the start of the chapter below. Left or Right moves it to the end of the previous or next chapter.
- On an act, Up or Down moves the act.




To move a scene to a different chapter without dragging, open the card’s three-dot menu, choose Move to chapter, and choose the chapter. The scene goes to the end of that chapter and takes the next scene number there. The menu has no Move to chapter item when the book has one chapter.




Everything that belongs to the scene moves with it: its text, summary, labels, linked entries, beats and source uses. If the server refuses a move, the Plan puts the card back and shows Could not move the scene: with the reason.
Split a scene
Section titled “Split a scene”The Plan does not split scenes. To split one, open it in Write, put the cursor in the last paragraph of the first part, press / and choose Split scene here. The next paragraph starts the second scene.


Merge two scenes
Section titled “Merge two scenes”To merge a scene into the one before it, open the card’s menu and choose Merge into previous scene. The earlier scene keeps its place and takes the later scene’s text, summary, labels, linked entries, beats and source uses. Codex archives the later scene with no text. The first scene in a chapter has no earlier scene, so its menu has no merge option.


A toast says Scenes merged · the later scene is in Archived. Both scenes keep their earlier text in version history, so you can bring it back from there.


The merge is refused
Section titled “The merge is refused”Codex refuses to merge while either scene has an AI draft waiting. The toast says Could not merge the scene: Apply or discard the draft first. and nothing changes. Open the scene in Write, apply or discard the draft, then merge again. See AI drafts.


Archive a scene or a chapter
Section titled “Archive a scene or a chapter”To archive a scene, open its menu and choose Archive scene. To archive a chapter, open its menu and choose Delete chapter. Delete chapter only archives the chapter. A toast tells you what went with it, for example Scene archived · 1 source use archived (Signals at Sea) or Chapter archived · 2 scenes. Select Undo in the toast to bring it back at once.
Codex archives a scene’s source uses with it. A source that no scene cites any more shows as not cited in References until you restore the scene.








To archive an act, open its menu and choose Delete act. The act’s chapters and scenes go with it, and the toast reads Act deleted. If source uses go with the act, it adds how many. An archived act does not appear in the Archived list, so Undo in the toast is the only way back on the Plan. Use it before the toast closes.


A book always keeps one act. If you try to delete the last act, Codex refuses with Could not delete the act: A book needs at least one act. and nothing changes.
Restore archived items
Section titled “Restore archived items”The Archived button in the toolbar shows how many archived scenes there are. Select it to open the list of archived chapters and scenes. Each archived scene shows where it was and how many source uses went with it. Select Restore on a scene or a chapter to bring it back.


If a scene’s chapter is archived too, Restore asks Restore the chapter too? Select Restore both to bring back the chapter and then the scene. Select Cancel to leave the scene archived.




An empty list says Nothing archived. A link in your text to an archived chapter reads the chapter’s title. Select it to open the Plan with the Archived list open at that chapter.


Imported books
Section titled “Imported books”A book you made with Import opens on the Plan with a banner that says where it came from and what it skipped. Select the close button on the banner to dismiss it. The owner also sees Undo import, until the book is written in. Undo import asks first, then deletes the book and everything in it and returns you to the Library. You cannot undo this. See Library.
Books shared with you
Section titled “Books shared with you”With the View or Comment role you can read the Plan but not change it. The grips, New Act, New Chapter, New scene, the chapter menu, the act’s rename button and menu, and the buttons that add labels and entries do not appear. The scene menu stays, with Open in Write only. With the Edit role you can change everything on this page except Undo import, which only the owner sees. See Sharing a book.
Keyboard
Section titled “Keyboard”| Keys | What happens |
|---|---|
| Alt and Left or Right on a chapter grip | Moves the chapter before or after its neighbour in the act. |
| Alt and Up or Down on a chapter grip | Moves the chapter into the neighbouring act. |
| Alt and Up or Down on a scene grip | Moves the scene one place, then into the neighbouring chapter past the edge. |
| Alt and Left or Right on a scene grip | Moves the scene to the end of the previous or next chapter. |
| Alt and Up or Down on an act grip | Moves the act. |
| Enter in a title box | Saves the title. |
| Escape in a title box | Keeps the old title. |
| Escape while dragging | Cancels the move. |