Arc Outline

The plan of your book in the sidebar: arcs, each split into chapters, with the state of every one of them, and a model that can write arcs and chapters for you. The outline is not part of the story prompt; the generators and the Side Query can use it when you ask them to.

The Arcs tab

The left sidebar of the story editor gets an Arcs tab next to Outline. Add new arc opens the dialog of an arc:

Field  
Title Required.
Description What happens in it.
Note (private) Notes for yourself.
State Planned, Current or Finished.
Linked part The part of the story the arc or chapter belongs to, see below.

Chapters have the same fields. The list shows every arc as a card with its chapters indented below it. The color of a card follows its state: grey for planned, blue for the current one, green with a dimmed title for finished ones. The buttons of a card:

Button  
calendar / play / check The state; opens a menu to change it.
chevron (arcs) Hides or shows the chapters of the arc.
chevron (chapters with a note) Shows or hides the note of the chapter under its description, so you can read it without opening the dialog.
arrows Move the arc or chapter up or down.
plus (arcs) Adds a chapter at the end of the arc.
wand (arcs) Asks the model to write chapters for the arc, see below.
thumbtack Links (pins) the arc or chapter to the part that is the most visible in the story, see below.
target (arcs and chapters with a linked part) Scrolls the story to the part it is linked to.
pen Opens it in the dialog.
trash Deletes it (an arc with all its chapters), after a confirmation.
robot (generated arcs and chapters) Shows what the model wrote, see below.

Next to the wand at the top is a pen with a feather: it drafts the instructions of the next turn from the current chapter, see below.

The Arcs tab: a finished, a current and a planned arc
The Arcs tab: a finished, a current and a planned arc

Linking to the story

An arc or a chapter can be linked to a part of the story, so you can jump from the plan to the place in the text. The dialog has the field Linked part: the place of the part in the active branch, numbered from 1 as the Outline tab shows it (#12). Type it, or press the link button next to it to take the part that is the most visible in the story at that moment (scroll to the place first, then open the dialog); the target button scrolls the story to the part in the field. A linked arc or chapter also has the target button on its card. The thumbtack on a card does the same as the link button without the dialog: scroll the story to where the chapter begins and press it. The link is the place in the branch, so it points to another part when parts before it are deleted or inserted; change it then. An import from the story links the chapters for you, see below.

Chapter headings in the text

Chapter headings in the text in the menu of the wand at the top writes a heading at the start of the part every chapter is linked to, for example # Chapter 4: The Storm, so the text of the story carries its chapters (the Chapter Marker extension and exports pick them up). The dialog lists the headings it would write, with their part, as you change:

Option  
Arcs get headings too Off: only chapters get a heading (#) and the arcs are left out. On: every arc gets a heading (#) and its chapters one level below (##). An arc that is not linked itself goes to the part of its first linked chapter.
Prefix of the arcs / of the chapters The word before the number, Part and Chapter at first. Empty gives 4. The Storm.
Numbers Arabic (1, 2, 3), Roman (I, II, III) or none. Chapters are numbered by their place in the outline, linked or not, so a chapter not written yet keeps its number free.
Number the chapters from 1 in every arc Otherwise the chapters are numbered through the whole book.
Put the titles into the headings Off gives Chapter 4 alone.
Remove every other heading of the story first Every heading line of the active branch is removed before the new headings are written, for when chapters were linked elsewhere since the last run.
Keep the summaries valid On at first. A heading does not change what happens, so the summaries that described the story before the change are marked valid again (the summaries that were outdated already stay outdated).

Write the headings puts them in; the headings a part already starts with are replaced, so running it again after a change of the outline does not add them twice. Remove all headings (after a confirmation) deletes every heading line from the text of the active branch. Each changed part keeps its old text in its history. A finished or current chapter without a link, and a link past the end of the active branch, get no heading and are reported. The options are remembered.

The note of a chapter

A chapter that has a note shows a chevron on the right. It opens the note under the description, in the list, so you can read the details of a chapter (the ones the model wrote for it, for example) without opening the dialog; press it again to hide the note. Which notes are open is not saved.

A chapter with its note shown
A chapter with its note shown

Moving chapters between arcs

A chapter moved up from the first place of its arc goes to the end of the previous arc; one moved down from the last place goes to the start of the next arc. Keep pressing the arrow to take a chapter as far as you need.

Drafting the instructions for the current chapter

The pen with a feather next to Add new arc opens the window that lets the model draft the instructions of the next turn, with the data of the chapter the story is at as its Plan of the Story. The current chapter is the first chapter marked Current; when none is, the first one that is not Finished; an arc marked current that has no chapters yet stands alone. The model gets that arc and chapter with their descriptions and notes, and the title and description (not the note) of the chapter after it, with the warning that the story must not get there yet. The window starts with what you typed into Instructions of the new turn panel as the guidance; Use as Instructions puts the draft into that panel and opens it. Without a current chapter the button says so.

The same data is a source for the Side Query, see below.

Finishing an arc

Marking an arc Finished marks all its chapters Finished too. Changing an arc to another state leaves its chapters as they are.

The outline is saved with the book as soon as you change it, so it is included in its backups.

The outline as a source for other extensions

The outline is offered to other extensions as a source of data about the book: in Side Query check Arc outline in the plug popover to send the arcs, their states, descriptions and chapters with your questions. There are two versions: Arc outline is the terse one (descriptions only), Arc outline (with notes) adds the note of every arc and chapter under its description, which is where the details of generated arcs and chapters are. Your private notes are sent only when you check the second one. A third source, Arc outline: current chapter, sends only the arc and the chapter the story is at (see Drafting the instructions for the current chapter).

Generating an arc

The wand button next to Add new arc opens a menu with three items: Generate an arc asks the model to write a new arc, Import from story summarizes what you have already written, see below, and Develop the plot is a conversation with the model about where the story goes, see below.

The menu of the wand
The menu of the wand

The dialog of Generate an arc has two halves.

On the left:

   
Prompt The instructions for the model, with three variables: (the entries of the book's lorebook and its sub lorebooks), (your arcs and chapters, with their states and descriptions, but not your private notes) and ``. It starts as the prompt from Settings → Extension Settings → Arc Outline (the default prompt when you have not changed it); what you edit here applies to this generation only.
Specification What you want from the arc: the theme, the characters, where it should lead. Can be empty.
Tools Only when a suite of tools for the model is installed (names, places): which suites, and which of their categories, the model may use instead of inventing things, the same as in the Lore Generator.
Model, Protocols Start as the model and protocol of the book (your default ones from Settings when the book has none). Change them to use another model for this generation only; the choice is not saved.
Generate Starts the model. While it runs the button is a red Stop and everything else in the dialog is disabled.

On the right you see the reasoning of the model as it is written and, as soon as the answer begins, the arc it proposes - a name, a terse description and a longer note - shown like an arc of the outline (the note under its description) and growing as the answer streams in. The description is what the outline shows, so the model is asked to keep it to a couple of sentences and to put the details into the note, which ends up in the Note of the saved arc. When the model is done, its answer is checked; if it is not a valid arc (for example the note is missing), the dialog says so and the arc can't be saved.

Generating an arc
Generating an arc

Save as arc adds the arc at the end of the outline. To try again, press Generate once more, with the same or a changed prompt or specification; the previous answer is replaced.

Importing an arc from the story

Import from story in the menu of the wand asks the model to read a part of your story and write it down as one arc with its chapters, so you can bring a book you have already written into the outline. The model always reads the active branch of the book, as it is when you open the dialog. The dialog is like the one for arcs, with these choices on the left:

   
From message, To message The range of the story to send. The messages of the branch that have text are numbered from 1; at first the whole branch is chosen. Under each field you see the beginning of the message it points to.
Number of chapters (optional) Choose a number to get exactly that many chapters (an answer with another number is rejected), leave it empty to let the model divide the story where it naturally divides.
Link the chapters to the parts of the story On at first. The messages are numbered from 1 within the range you send, and the model says in which message every chapter begins; the chapter is linked to that part of the story (as numbered in the whole branch, so it is right whatever the range is), and the arc to the part its first chapter begins in. An answer that names a message that was not sent leaves the chapter unlinked.
State of the imported arc and its chapters Finished at first, because the story is written; choose Current or Planned if you need it.
Token counter How many messages the range has and their approximate tokens, and the approximate tokens of the whole prompt (instructions, lore, outline and story) next to what the model takes. It turns into a warning when the prompt does not fit, then choose fewer messages. It follows the range, the number of chapters, the prompt and the model.
Prompt The instructions for the model, with the variables , , (the messages of the range) and. It starts as the Story import prompt of Settings → Extension Settings → Arc Outline.
Importing an arc from the story
Importing an arc from the story

There are no tools here, the names are in the story. On the right you see the reasoning, then the arc and its chapters as the model writes them. Save as arc adds the arc with its chapters at the end of the outline; every one of them keeps the reasoning and the answer of the model and has its own robot button. A long story is best imported in several steps, one arc for each range.

Developing the plot in a conversation

Develop the plot in the menu of the wand opens a chat with the model about the plot. Nothing in the book changes by talking: the model sees what you choose to send, answers, and when you have agreed on something you hand it to the arc generator with one click.

On the left you choose what the model sees and how it helps (the choices are remembered for the next time), on the right is the chat:

The plot wizard: the options on the left, the conversation on the right
The plot wizard: the options on the left, the conversation on the right
   
Model, Protocols Start as the model and protocol of the book. Changing them applies to this conversation only.
How the model helps Free talk (you lead), Explore directions (several distinct ways the story can go next), Find the problems (threads never resolved, promises nobody keeps, contradictions with the lore, pacing) or Expand an idea (your idea grown into a premise, turning points, an ending and chapters that fit after your arcs).
Send the lorebook The entries of the book's lorebook and its sub lorebooks.
Send the outline Not sent, Descriptions only, or With the notes (your private notes too).
Send the notes Only when Story Notes is installed: Not sent, Titles and first lines (the default) or Full text of your notes, without the pages you hid from assistants.
Send the summaries of the story The summaries stand in for the story up to the newest of them, the way a generation sends them.
Send the latest parts of the story The parts after the newest summary (all of them when summaries are off), the newest ones that fit Tokens of the story. Each part is shown to the model under its number in the outline of the story.
Tokens of the story The most tokens of story parts. Empty: a third of what the model takes.
Prompt The instructions for the model, with the variables , , , , and. The change is remembered.

Under the options a line tells how many summaries and story parts the model gets, and how many tokens the request has of what the model takes. It turns into a warning when it does not fit; send less or summarize the chat. The book is read again for every message, so a change of the outline or the story is seen by the next answer.

On the right is the chat. Type a message and press Send (it is Stop while the model writes; what has arrived is kept). Each message has buttons: copy, branch from here, delete, and on an answer of the model also a wand, Generate an arc from this message, which opens the arc generator with the message as the specification. Ask the model to summarize what you decided as a specification first if the discussion was long.

Letting the model change the book

Under the options is What the model may do. With none of these ticked the chat is only a talk. Tick a group and the model gets tools for it, and can use them when you ask or agree; it is told to look before it adds, to prefer adding to replacing, and to say what it did:

Group The model can
Planner list the scenes of the planner, add, change, move, delete them and mark them done.
Lorebook search and read the lore, create entries and change existing ones (not delete them).
Outline read the outline, add arcs and chapters, change and move them (not delete them).
Notes (when Story Notes is installed) search and read your notes and follow their links, add a page or add to one when you ask it to keep something, and change text in one (not delete a page). Pages you hid from assistants are out of reach.
Characters (when the Character Tracker is installed) read the characters of the book and their relationships, add characters and relationships, change them (name, tagline, note, color) and delete them. Only deleting is asked before it happens, a change is not: you see it in the chat and in the Characters tab. The model may name a character by its number in the list; the question and the chat show the character's name with it.
Generators call the arc and chapter generators and, when the Lore Generator is installed, generate a lore entry. They return a draft and save nothing unless the model is told to; it shows you the draft and saves it when you agree.
Tools (button, when a tool suite is installed) the name tools (names, places), as in the generators, so it can offer you real names.
  • Ask me before it changes or deletes something (on by default): changing the text of what exists (a lore entry, a scene, an arc) and deleting are shown to you first, with what the model wants to pass, and the model waits for Allow or Refuse. Adding a scene, an entry or an arc is not asked: you see it in the chat and in the planner, the lorebook or the outline, and can delete it.

  • Every tool the model called is listed under its answer (a line with the name and a mark: ✓ worked, ✗ failed; open it to see what was passed and what came back). The next messages carry the calls the model made and what they returned (a long result is cut), so it knows what it already did and does not make the same entry again; they count against the token limit of the chat.

  • What the tools cost: their descriptions are part of every request, so a model that is short of context has less room. Only models that can call functions work with it; the dialog says so when one can't.

The model added two scenes to the planner; its calls are listed under the answer
The model added two scenes to the planner; its calls are listed under the answer

Chats, branches and summaries

A book has any number of chats; pick one in the list above the messages, + starts a new one, the pen renames it (it is named after your first message until then) and the trash can deletes it. They are stored with the book.

  • Branch copies the chat as it is into a new chat; the branch button on a message copies it up to and including that message, to take the talk another way from there. The copy has nothing to do with the original afterwards.
  • Summarize the chat first asks what the summary should keep or stress (optional, for example "keep the twist about the traitor and the ending we rejected"; empty: the model decides), then asks the model for a summary of the chat (what you decided, what you rejected, what is still open, the names that were fixed) and adds it as a message. From then on the model gets that summary and the messages after it, not the messages above it, which stay on the screen, dimmed. Use it when the chat has grown too long for the model, or to start from a clean state without losing the decisions. Summarize again later and the new summary covers the old one. Branch first when you want to keep the whole chat for the model.
The question what the summary should keep
The question what the summary should keep
The chat after the summary: the messages above it stay on the screen, dimmed
The chat after the summary: the messages above it stay on the screen, dimmed

Generating chapters

The wand button on an arc asks the model to divide that arc into chapters. The dialog is like the one for arcs, with these choices on the left:

   
What the model knows of the story Whole story so far: the arcs up to this one, with all their chapters. Arc summaries only: the same arcs without chapters. Arc summaries and finished chapters: the same arcs with only the chapters you marked Finished. Arcs after this one are never sent.
What you want from the chapters in general Pace, tone, what must happen. Can be empty.
Number of chapters Write it in words ("about eight") or choose an exact number. A number adds a text area for each chapter where you can say what it should contain; all of them are optional. Using one of the two clears the other. With an exact number, an answer with a different number of chapters is rejected.
Prompt The instructions for the model, with the variables , , , and ``. It starts as the Chapter generation prompt of Settings → Extension Settings → Arc Outline.

On the right you see the reasoning, then the arc with the chapters it already has, and the new chapters as the model writes them. Save as chapters adds them at the end of the arc, each with a terse description and the details in its note (like arcs). Every new chapter keeps the reasoning and the answer of the model, and has its own robot button.

Generating the chapters of an arc
Generating the chapters of an arc

An arc or chapter written by the model keeps its reasoning and the answer it came from. The robot button on it opens them in a small popover, out of the way.

What the model wrote for an arc
What the model wrote for an arc

Commands

The outline and its generators are also commands, for the command line and for agents. They work on the book that is open (an agent: on its working copy), and an open Arcs tab shows the change at once. Arcs and chapters are given by number, as the outline shows them: the first arc is 1, the first chapter of an arc is 1 (the numbers change when something before them is added, removed or moved). A command that changes an arc or a chapter takes only the fields you give it; an empty text clears a description or a note.

Command What it does
/get-arc-outline [arc [notes]] The arcs with their chapters, states and descriptions as JSON. The private notes only with notes true; arc returns that arc alone. Reads only.
/add-arc title [description [note [state [position]]]] Adds an arc, at the end or at position.
/update-arc arc [title [description [note [state]]]] Changes an arc. state is PLANNED, CURRENT or FINISHED (finishing an arc finishes its chapters).
/move-arc arc position Moves an arc to the place position (1 is the first).
/delete-arc arc Deletes an arc with its chapters, after a confirmation.
/add-outline-chapter arc title [description [note [state [position]]]] Adds a chapter to an arc.
/update-outline-chapter arc chapter [title [description [note [state]]]] Changes a chapter.
/move-outline-chapter arc chapter position [to_arc] Moves a chapter inside its arc, or into the arc to_arc.
/delete-outline-chapter arc chapter Deletes a chapter, after a confirmation.
/generate-arc [specification [save]] Asks the model for a new arc, as Generate an arc does.
/generate-outline-chapters arc [specification [count [context [save]]]] Asks the model for the chapters of an arc, as the wand of the arc does. count is an exact number of chapters, context is EVERYTHING (the default), ARCS_ONLY or ARCS_AND_FINISHED, as the choice What the model knows of the story.
/import-arc-from-story [from [to [count [state [save [mapParts]]]]]] Asks the model to summarize the messages from to to of the active branch (numbered among the messages with text, as in Import from story) as an arc with chapters. state (default FINISHED) is the state of the saved arc and its chapters. With mapParts true every chapter is linked to the message it begins in (its Linked part, as the check box Map parts of the dialog does), and the answer has the part of each chapter.

The three generating commands use the same prompts as the dialogs (your Extension Settings → Arc Outline, or the defaults), the model and protocol of the book (your default model when the book has none) and no tools: a caller that wants names gets them with the commands of the Name generator or the Name provider and writes them into the specification. Like the dialogs they save only when asked: with save false (the default) they return the arc or the chapters as JSON and store nothing, with save true they add them to the outline (an arc at the end, chapters at the end of the arc) and the answer has their numbers. A story that is too long for the model is refused by /import-arc-from-story: choose fewer messages. The generating commands take a while, and stop when the run is stopped.

Adding and changing is not destructive; only the two delete commands are, which an agent may be set to ask you about.