Skip to main content
All CollectionsThe Codex
How to automatically add characters to the codex
How to automatically add characters to the codex

How to use AI to populate your codex with characters, locations, objects, lore, etc. Perfect for pantsers and plotters alike.

Updated over a week ago

Whether you are importing your novel, or have written prose before filling in the codex, we recommend you build up this repository of all things related to your novel - if you use AI this is essential to keeping your descriptions consistent, and characters in-characters.

There are two easy ways to quickly add entries to the codex using AI.

Detect Characters/Locations

In the scene action menu in the write or plan interface, select 'detect characters'. Currently, this is only available for GPT models (April 2024).


As you can see, the characters and locations detected, should they share a name with a codex entry already made, are automatically linked. You can also choose to create a new entry, or select the entry manually to merge. If you don' want to use any of the options, simply delete them.


Chat and Extract.

With Haiku by Anthropic (or any model of your choice), you can also use the context feature in chat to extract names, locations, lore, etc. This is great if you've already written a huge chunk of your story, and Haiku is a good balance between cost and ability.

Please give me a list of all the characters in this scene. Please also include any physical details or personality traits that you infer from reading this scene. Format in the following way

Name: Details



You can then use the extract feature with the resultant answer:

You can then choose to accept or decline the proposed codex entries, or edit them yourself. If you already have a codex entry of that name, the extract feature will automatically recognise it.

Currently the extract feature will overwrite any text already there in your codex entry. As such, if you want to keep the previous entry, you might want to copy and paste the text you wish to add.

Did this answer your question?