A Lexis-AI world is a plain folder of Markdown files. You own it: the plugin stores no world data, and you can read and edit every file yourself.
my-campaign/
AGENTS.md # a short pointer for AI tools (written by /world-init)
world.md # concept, tone, language, system, Immutable Rules (IR1, IR2 …)
system.md # your game system's settings and ## Homebrew
characters/<slug>.md
locations/<slug>.md
groups/<slug>.md
hooks/<slug>.md
arcs/<slug>.md # chains of hooks (optional)
sessions/session-001.md # one log per session
proposals/<slug>.md # /create-lore output waiting for approval
old-cemetery, order-of-light. Accented letters are simplified (ç→c, ş→s, ü→u …). A slug is unique in the whole world.[[slug]], without folder or .md. This is Obsidian-compatible; open the folder in Obsidian for a graph view.## Links, ## Uncertain, type: character), so every command can find them. The text under them is in your world’s language.Frontmatter: type: world, name, language, system (the pack id, e.g. srd5), created. Sections: Concept, Genre and Tone, Inspirations, Immutable Rules, World Notes, Religion and Creation, Intro Scene, Opening Scene, Links, Uncertain.
Immutable Rules are numbered IR1, IR2 … and never renumbered. Lexis-AI never suggests anything that breaks them. If you report an event that does, it is recorded and flagged, and you decide at /close-session whether the rule changes (then it is marked _(changed: S003)_).
Your game system’s settings from /world-init (starting level, optional rules …) and ## Homebrew: your house rules. Homebrew always wins over the system pack.
Each file has fiction sections (## Who, ## Wants / ## Description …), the system sections of your game (aspects in Fate, a stat line in 5E, features of a place …), ## 🔒 GM Notes, ## Links and ## Uncertain.
A story hook has:
## Surface: what the players can see.## 🔒 Hidden Truth: what is really going on. Lexis-AI never reveals it and never lets a suggestion contradict it. If players try to break it, it suggests in-world reasons why they can’t.## Links: the people and places involved, and its arc (- [[arc]] — arc, step 2).An arc is a chain of hooks followed as one story (arcs/<slug>.md):
## Premise: what the story is about.## Steps: the hooks in order, each with an optional Moves on when: (what has to happen for the story to move on).## 🔒 Endgame (optional): where the story ends if nobody stops it. Never revealed.The order lives in the arc file and each hook’s status: in the hook file; the current step is simply the first hook that is not resolved. An arc is a plan, not a fixed future: /event notices when the players complete a step, jump ahead or destroy something a later step needs, and you decide how the arc adapts at /close-session. Older worlds with next link in the chain links keep working; /world-init offers to turn those chains into arcs.
sessions/session-NNN.md, with status: open, pending or closed. During a session only the log changes:
| Section | Items |
|---|---|
## Events |
E1, E2 … what you reported (canon) |
## Ripples |
R1 … possible consequences (hypotheses) |
## Link Proposals |
L1 … new relations |
## Generated |
G1 … scene tags, obstacles, lore proposals |
## Open Decisions |
D1 … rule conflicts and broken hidden truths |
## End-of-Session Decisions |
your answers at /close-session |
Logs are append-only: earlier lines are never rewritten. Outside the log, an item is referred to as S003-E2.
| Kind | Where it lives | How it changes |
|—|—|—|
| Canon | the body of a world file (including arcs/) | only through /close-session (or /world-init) |
| Hypothesis | ## Uncertain, or ## Ripples in the log | promoted, kept or dropped at /close-session |
| Inference | only in an answer (“who might know”) | never stored |
| Proposal | proposals/, or ## Generated in the log | approved or rejected at /close-session |
“Who might know” follows only the ## Links section of each file, one relation per line:
## Links
- [[order-of-light]] — member
- [[old-cemetery]] — keeper
/event goes one step (people present, plus those directly linked; group members count). /ripples goes 2-3 steps and marks how the news weakens. Relations written only in prose are not followed, so keep ## Links up to date. It is a possibility of knowing; you decide what NPCs actually know.
You can edit any file at any time. Keep the headings, keep [[slug]] links, and don’t renumber Immutable Rules. If you edit during a session, the change is canon immediately (Lexis-AI treats your files as the truth).
Everything is in the folder, so:
git init in the world folder) to see every change /close-session made..claude/, .agents/, .gemini/ or .github/) together with the world, or install Lexis-AI for your user instead./close-session) so nothing is left only in an open log. An open or pending log still works after moving; the next /close-session picks it up.world.md. Lexis-AI uses the nearest world.md above the folder you start the tool in.Worlds made by early versions may use Turkish headings (Değişmez Kurallar, Bağlantılar, Belirsiz …) and IDs (K1, O1 …). They keep working; Lexis-AI reads both. A world without a system: field uses Fate Accelerated.