Commands

Campaign

init

Create a new campaign.

Read-only: no. Positional parameters: folder.

  • folder (string, optional): folder of the new campaign; the current folder if left out
  • name (string, optional): name of the campaign; the folder’s name if left out
  • language (string, optional): language of the game, as a code such as it or en
  • system (string, optional): game system: one of those installed
  • difficulty ("story" | "easy" | "normal" | "hard" | "brutal", optional): how hard the world plays: story, easy, normal, hard, brutal
  • lethality ("narrative" | "epic" | "dice", optional): what a fall means: narrative, epic, dice
  • master (boolean, optional): true when you, the AI, create the campaign: the answer adds what is still to agree with the player

config

Show or change the campaign settings.

Read-only: no. Positional parameters: setting, value.

  • setting (string, optional): setting to show or change: name, language, system, mentor, premise, preparation, length, prose, story, author, style, difficulty, lethality, saves, rigor, custom-difficulty, custom-rigor, dice, master-rolls, units, voices, character, companions, calendar-start, between-sessions, pictures, pictures-by, effort, lines, veils, orders, table, precedents, learned, library, git, git-saves, git-sessions, coins, calendar, fields, tables, computed, counters, recipes, status-line, travel, values, condition-icons, widgets, or one the game system adds
  • value (string, optional): new value of the setting
  • add (string[], optional): items to add to a list setting (lines, veils, orders, table, precedents, learned, library, status-line), repeatable
  • remove (string[], optional): items to remove from a list setting (lines, veils, orders, table, precedents, learned, library, status-line), repeatable
  • computer (boolean, optional): with library and remove: off this computer too, out of every campaign, its books’ text deleted

translate

Translate the player’s dashboard into the campaign’s language yourself, in the chat.

Read-only: no.

  • phrases ({ [key]: string } | string, optional): the last batch translated: from each id, such as p12, to its translation

install

Install Codex or Claude Code on the player’s computer, and open their sign-in.

Read-only: no. Positional parameters: program.

  • program ("codex" | "claude", required): codex for a ChatGPT account, any plan; claude for Claude Pro or Max

package

The packages of the campaign: extensions such as weather, from npm; adventures, dashboard themes and languages, as a .zip, a folder or a GitHub link with adventure.yaml, theme.yaml or language.yaml; a theme or a language serves every campaign on this computer.

Read-only: no. Positional parameters: action, name.

  • action ("list" | "available" | "install" | "remove" | "uninstall" | "export" | "new", required): list, available, install, remove, uninstall, export or new
  • name (string, optional): the package: its name alone for one of ours, such as weather; another’s npm name with its scope, or npm:name without one, its version if wanted; a folder or a .tgz file on this computer; an adventure’s, a theme’s or a language’s .zip, folder or https link; an adventure’s title to remove it; a theme’s or a language’s name to uninstall it, or theme: and language: when an npm package has that name too
  • author (string, optional): export: who wrote the adventure, as the player wants it credited
  • license (string, optional): export: the licence the player gives it, such as CC BY 4.0; without one, all rights are reserved
  • link (boolean, optional): install, a theme’s folder: read where it is instead of copied, for its author to see each change on the dashboard
  • folder (string, optional): new: where to make it; else a folder of its name here
  • kind ("theme" | "system" | "extension", optional): new: what to make, theme (by default), system or extension; name is its title, or its npm name

Game

instructions

Your instructions as game master, in full: how to run this campaign and use these tools.

Read-only: yes.

  • part ("dashboard", optional): only this part, when its situation asks for it: dashboard, how the player uses their dashboard, when they ask

status

Show where the game stands.

Read-only: yes.

No parameters.

mode

Move the campaign to another mode: setup (the settings, out of the game), session zero (the player character and the companions, made in play) or play.

Read-only: no. Positional parameters: to.

  • to ("setup" | "session zero" | "play", required): the mode to enter: setup, session zero, play

validate

Check the whole campaign and say how to fix each problem.

Read-only: yes.

No parameters.

write

Create or change a page of the world.

Read-only: no. Positional parameters: page.

  • page (string, required): name of the page, or of a copy in the open scene; Page#Name writes one section or one secret
  • type ("character" | "place" | "faction" | "quest" | "item" | "event" | "topic" | "creature", optional): type of a new page, or the new type of one that exists: character, place (a room, a house, a ship, a region), faction, quest, item (a thing, even one with someone inside, such as a cart; one with words or a drawing to read again, such as a letter, a notice or a map, has document=letter, notice, map…), event, topic, creature
  • set (string[] | object | string, optional): fields to set: field=value, repeatable, or an object such as {“role”: “npc”}. A link is [[Page]], links are [[A]], [[B]], a list is [a, b]
  • unset (string[], optional): fields to remove, repeatable
  • add (string[] | object | string, optional): items to add to list fields: field=value, repeatable, such as factions=[[Barcaioli]], or an object
  • remove (string[] | object | string, optional): items to remove from list fields: field=value, repeatable, or an object
  • text (string, optional): text of the introduction, the part before the first heading; or of the section or secret given
  • section (string, optional): section or secret to write; a missing one is added at the end of the page, as a secret if secret is given; empty text removes it
  • append (boolean, optional): add the text at the end instead of replacing
  • secret (boolean, optional): with a section: create it, if missing, as a secret block > [!secret] Name
  • here (boolean, optional): a new place where the journey stopped: on a road it becomes a stop there, in the open it takes the point; those who travel go into it
  • layer (boolean, optional): change a page of the game system for the whole campaign, in a layer that holds only what differs; unset or empty text gives back the system’s
  • reset (boolean, optional): with layer, alone: take the whole layer off the page
  • why (string, optional): what the change is for, kept in the master’s log

rename

Give a page of the campaign a new name, as when the player names their wolf or the character learns a place’s true name.

Read-only: no. Positional parameters: page, to.

  • page (string, required): the page to rename: its name, or its path, as world/characters/Varro.md
  • to (string, required): its new name

move

Move characters, items or places into a place, a character’s inventory or an item.

Read-only: no. Positional parameters: page.

  • page (string | string[], required): what moves: one or more characters, items or places, such as [Ettore, Lena]
  • to (string, optional): where: a place; for characters and items also an item, such as a cart; for items also a character who carries them
  • at (string, optional): the square one stands on, such as E6: on the map of the place they are in, or with to of the place they go into; for one character, creature or copy of the open scene, never an item
  • from (string, optional): for a kind counted in stacks, such as Torch: the character, item or place it is taken from
  • count (integer, optional): for a kind: how many pieces move; without it, the whole stack

trade

Buy, sell or barter in one go: what page gives and what it gets, items and money both ways, with the change in coins.

Read-only: no. Positional parameters: page.

  • page (string, required): who trades, usually the player character
  • with (string, required): the other side: a merchant, or a shop, a place that holds its goods
  • gives (string | string[], optional): what page gives: money such as “2 gold”, kinds with how many such as Torch 5, items such as Mazza di Matteo
  • gets (string | string[], optional): what page gets, written the same way
  • why (string, optional): what the trade is, such as bought torches at the market

reveal

Record what characters learn: a secret, as Page#Secret, or a whole page they did not know.

Read-only: no. Positional parameters: page.

  • page (string | string[], required): what they learn: Page#Secret, or a whole Page; one or a list
  • to (string | string[], optional): who learns it: one or more characters, companions too when they learn it; the player’s character alone if left out

image

Give a page its picture: a portrait for a character, an image for a creature, an item or a place, as the dashboard will show it in a round token.

Read-only: no. Positional parameters: page, file.

  • page (string, required): the page that gets the picture
  • file (string, optional): the picture’s file, PNG, JPEG, WebP or SVG up to 5 MB: its full path or one from the folder the command runs in; leave it and url out to remove the page’s own picture
  • url (string, optional): instead of file, the picture’s https address, as an image tool gives it: the engine downloads it, the same formats up to 5 MB
  • svg (string, optional): instead of file, the picture’s SVG code, from <svg to </svg>, as you drew it from the brief image gave you: the engine cleans it and keeps it
  • describe (string, optional): instead of file, in a few lines, never a victim or wounds: for a place, what the party sees arriving; for a quest, what the character knows of it; for one of the party, their look, their people as this world has them and the rest as the player described it; for a character or a creature met, what the character sees of them, a disguise as the disguise; never what the character does not know. The picture is made where it can be, and comes by itself

import

Make an adventure from the player’s own document: a book, a game module or notes, as a PDF, Word, OpenDocument, EPUB, HTML, RTF, text or markdown file, or a folder of them; text, or a PDF whose text can be selected, reads best: a scan is read from its pictures, on Windows only, slowly and with mistakes.

Read-only: no. Positional parameters: document.

  • document (string, optional): the document’s file or folder: its full path, or one from the folder the command runs in
  • title (string, optional): the adventure’s title; the document’s name when left out
  • character (string, optional): with start, the character of the document the player chose to play, by the name of their page
  • start (integer, optional): the starting point the player chose, by its number
  • cancel (boolean, optional): drop the import under way, and what it wrote; the player’s document stays as it is

inbox

The player’s own files in the campaign’s inbox, attached in the chat of their dashboard or put in the inbox folder: list them, look at one, or remove one.

Read-only: no. Positional parameters: file.

  • file (string, optional): a file of the inbox by its name as inbox lists it, such as inbox/map.png; leave it out to list them
  • piece (integer, optional): of a long document, the piece to read, from 1, as the answer before says
  • remove (boolean, optional): take the file out of the inbox, for good, instead of looking at it

show

Show a page of the world, or one of its sections or secrets, with what it inherits from the pages it derives from.

Read-only: yes. Positional parameters: page.

  • page (string, required): name of the page, or of a copy in the open scene; Page#Name shows one section or one secret, a group of a character’s sheet, or one field whole

view

What the player may see, without spoilers: use it, not show, when the player asks what their character knows, remembers or carries.

Read-only: yes. Positional parameters: page.

  • page (string, optional): a page as the player character knows it, or Page#Name for one section or discovered secret; none for the whole view
  • diary (string, optional): how many lines of the diary, from the last; 10 if left out; all only when the player asks for the whole story
  • rolls (string, optional): for the dashboard: how many of the last public rolls; 20 if left out
  • map (boolean, optional): the world map as the player character knows it: the places it knows, nearest first, with kind, distance and direction, and the regions
  • settings (boolean, optional): for the dashboard: the player’s settings and what each value means
  • saves (boolean, optional): for the dashboard: the saves, and what the player may do with each
  • setup (boolean, optional): for the dashboard: the campaign’s mode and name, what the next mode needs, and the setup’s questions
  • journal (boolean, optional): for the dashboard: the quests the character knows, with goals, counters, clock and deadline, and the story by scenes
  • world (boolean, optional): for the dashboard: the pages the character knows, each with the opening of its text, the documents it has or read, and the calendar with the deadlines it knows
  • as (string, optional): for a character agent: the character whose view this is, other than the player’s; alone or with page
  • focus (string, optional): for the dashboard, with more than one player character: the one in the foreground, whose place, map and squares it gives; if left out, whose turn it is, else one in the open scene

find

Find pages of the world.

Read-only: yes. Positional parameters: text.

  • text (string, optional): text to look for, ignoring case; every page if left out
  • type ("character" | "place" | "faction" | "quest" | "item" | "event" | "topic" | "creature", optional): only pages of this type: character, place, faction, quest, item, event, topic, creature

chats

Read what the player and you said in the campaign’s past chats, kept as text: what was narrated or promised, a detail described, a name said and never written.

Read-only: yes. Positional parameters: text.

  • text (string, optional): words to find in the chats, ignoring case and accents
  • day (string, optional): a day of real time, as 2026-11-19, to read its chats in order
  • from (string, optional): with day: read from this time (UTC), where the last reading stopped

book

The campaign’s story told as a book, which the player reads in the dashboard’s Journal: chapters of a novel, never summaries, each telling the scenes closed since the last one, ended where the story turns.

Read-only: no. Positional parameters: chapter.

  • chapter (integer, optional): the number of a chapter written, to read, write again or retitle; the next chapter if left out
  • title (string, optional): the chapter’s title, its first scene’s if left out
  • text (string, optional): the chapter’s prose, in markdown; empty to take the last chapter out
  • through (integer, optional): for the next chapter, the number of its last scene, when it tells only the first of the scenes still untold

rules

Find the exact text of a rule: the campaign’s house rules first, then the game system’s rules, then the table’s precedents.

Read-only: yes. Positional parameters: text.

  • text (string, optional): the words of the rule, or the heading of a section; the chapters when left out

roll

Roll dice and log the roll.

Read-only: no. Positional parameters: notation.

  • notation (string, optional): dice to roll: 1d20+5, 2d20kh1 (keep the highest), 4d6dl1 (drop the lowest), 2d6ro<=2 (reroll once), 1d6! (exploding), 1d10!oio (explode and implode once), 6d10>=8 (count successes), 4dF, d%; with who, a field of their sheet stands for its value, such as 2d6+wits
  • why (string, optional): what the roll is for
  • target (string, optional): what the roll must reach to succeed: “>= 10” at least, “> 10” more than, “< 10” less than, “<= 10” at most; a field of who rolls in place of the number; after a comma, a natural face of the one die that decides alone, such as “>= 10, natural 1 fails”; the engine says whether it succeeded
  • check (string, optional): what the roll is, as the player sees it in the dashboard’s rolls, such as Bite or Stealth: never what only you know
  • who (string, optional): character the roll belongs to, or a copy in the open scene, the damage and heals they deal too, never who takes them; leave it out only for a roll that is no one’s, such as an oracle
  • values (number[], optional): faces rolled by the player with physical dice, separated by commas; on the command line write –values=-1,0,1 for negative faces
  • hidden (boolean, optional): only the master sees the result; its fingerprint goes to the player only if they ask for it; left out, the master-rolls setting decides for who outside the party
  • reveal (string, optional): id of a hidden roll whose proof to show, later
  • keep (string, optional): a field of who that keeps rolls for later, such as omens: the dice rolled go there, in place of what it held
  • use (string, optional): a kept roll to use instead of the die, as field=value, such as omens=3: the notation has one die
  • from (string, optional): who keeps the roll that use takes, when it is not who rolls
  • double (boolean, optional): roll twice the dice, never the numbers added, as a critical hit’s damage: 1d8+3 rolls 2d8+3
  • table (string, optional): a random table to roll on, as Page#Section: the first table under that heading, its die in the first header cell (d8, 2d6, d100, d66) or as big as its highest row
  • oracle (string, optional): odds of a yes/no question, on a d100: almost certain, likely, 50/50, unlikely or small chance; why is the question asked; a double makes the answer extreme
  • toss (integer, optional): how many coins to toss, 1 to 3, each heads or tails, in their order; why is the question; with physical dice, values gives 1 for heads and 2 for tails
  • tray (boolean, optional): for a shown roll, true to throw it in the dice tray of the player’s dashboard too, landing on its faces; false for the list of rolls alone; left out, coins fly and dice do not

ask

Ask the player with buttons: every roll of the player’s character, and every choice that is truly theirs to make.

Read-only: no.

  • question (string, required): what is at stake either way, or the choice, in one line, in the player’s language
  • options (string | string[], optional): for a roll, the checks that fit with their dice, such as Forza 2d6+strength; for a choice, the answers, such as Sì and No; from 1 to 4
  • who (string, optional): for a roll or a square, the player’s character, such as Bruna; the only one there is, if left out
  • square (boolean, optional): true to ask where the player’s character moves on its place’s map
  • recipe (string, optional): the rest’s recipe that change named
  • toss (integer, optional): how many coins the player tosses, 1 to 3, each heads or tails; the question says what is at stake
  • target (string, optional): for a roll, what the roll must reach to succeed: “>= 10” at least, “> 10” more than, “< 10” less than, “<= 10” at most; a field of who rolls in place of the number; after a comma, a natural face of the one die that decides alone, such as “>= 10, natural 1 fails”; the engine says whether it succeeded

choices

Prepare choices the player makes on their dashboard when they like, while the story goes on: all a moment asks them to choose, such as a new level.

Read-only: no.

  • title (string, required): what the choices are for, in the player’s language, such as the level they reach
  • who (string, optional): who chooses: the player’s character, or a companion the player made; the only player character, if left out
  • items (object[], optional): the choices in order, each {question, options, pick}: pick is how many the player picks, 1 if left out, or a range such as 0-2 when some are optional
  • cancel (boolean, optional): true to take away the set with this title and who

change

Change a counter, money or a stack of goods on a page: hit points, uses, a progress track, an event’s clock, coins, torches.

Read-only: no. Positional parameters: page, field.

  • page (string, optional): page that holds the counter or the money; with a recipe, left out for the player character and the companions with them
  • field (string, optional): the counter or the money, such as health, or the kind of a stack, such as Torch; none with a recipe
  • by (integer | string, optional): how much to add, or to take away when negative, or coins; stops at a limit (damage, healing); on the command line write –by=-7. Dice are rolled here: by -(2d6+3) takes away 2d6+3, by -2d6 a die alone, as the game’s rules have them rolled; taking away from the party, the master’s roll, hidden or shown as master-rolls says
  • spend (integer | string, optional): how much is paid or used up, or coins; refused when there is not enough
  • to (integer | string, optional): the new value, even outside the limits: a number, max, current/max such as 15/15 (the maximum changes too), or coins; on the command line write –to=-3
  • why (string, optional): what the change is for
  • damage (string, optional): the type of the damage, with by negative and as rolled, never halved or doubled by you, such as by -12, damage fire: the page’s resistances, immunities and vulnerabilities change it; one call per type
  • recipe (string, optional): a rest of the game system, by its name; with a page, field and spend, the pool of dice it lets one spend, such as field stamina-d6, spend 2
  • values (number[], optional): with spend and a recipe, the faces the player rolled with physical dice, one for each die, such as 6,1

effect

Put a condition or an effect on a character, a place or a copy in the open scene, or end one: frightened, prone, a spell, a form.

Read-only: no. Positional parameters: action, page, name.

  • action ("add" | "end", required): add or end
  • page (string, optional): who has it: a page, or a copy in the open scene such as Annegato 2
  • name (string, optional): the effect’s name, such as Benedizione; a condition of the game system by its name there, such as Frightened, or by the system’s word for it in the campaign’s language, such as Spaventato
  • for (string, optional): add: how long it lasts: 10m, 1h, 1d 6h; in a scene with turns, rounds from the current turn, such as 1 round; scene, until it ends; or an occasion of the game system its recipe brings, such as night’s rest. Left out, until it is ended: so for one that ends with something in the story, such as breathing clean air; end it then
  • until (string, optional): add, in a scene with turns: whose next turn ends it when it starts, such as Ennio, instead of for
  • by (string, optional): add: who keeps it alive, if someone must (concentration), such as [[Lena]]; end: take away every effect they keep, on everyone
  • set (string[] | object | string, optional): add: the values it gives while it lasts, field=value, repeatable, such as speed=20; for a field the game system declares a bonus, what it adds, such as bonus-armor=2. What must outlive it, such as hit points it adds, change on the page instead
  • why (string, optional): what caused it, or ended it

mood

Set a mood: yours as the master, which the dashboard’s robot shows, or a character’s when it changes for a while: the party’s show on their sheets, anyone else’s only you see, in status.

Read-only: no. Positional parameters: who, mood.

  • who (string, required): master for yours, or a character’s page: the player character, a companion, anyone
  • mood ("neutral" | "happy" | "delighted" | "curious" | "focused" | "determined" | "worried" | "surprised" | "afraid" | "sad" | "angry" | "disgusted" | "mischievous", required): the mood: neutral, happy, delighted, curious, focused, determined, worried, surprised, afraid, sad, angry, disgusted, mischievous
  • moment (boolean, optional): yours only: show it for a few seconds, then go back to your mood, which stays as it is

thoughts

Write a few lines in a character’s diary, in their voice: a companion’s when an output says it is due, or any character’s of the campaign after a moment that changed them.

Read-only: no. Positional parameters: page, text.

  • page (string, required): the character’s page: a companion, or another character of the campaign, never the player’s
  • text (string, required): their lines, at most 200 characters

advance

Let time pass in the story: by a duration or to a later game date.

Read-only: no.

  • by (string, optional): how much time passes, in days, hours and minutes: 10m, 4h, 1d 6h
  • to (string, optional): the game date to reach, such as day 3, 06:00 (day 3 alone is its midnight); the first one sets when play starts, such as day 1, 18:00
  • why (string, optional): what the time is spent on

travel

Make a journey: whenever the party goes somewhere, use it instead of advance and move.

Read-only: no. Positional parameters: to.

  • to (string, optional): where to: a place; by road, or straight across country with across
  • across (boolean, optional): go to the place straight across country, off the roads; both need a position
  • toward (string, optional): off the roads, one way to go instead of a place: a point of the compass, such as west or NNE
  • distance (string, optional): with toward, how far, such as 12 km; if left out, until the day’s travel ends
  • who (string | string[], optional): who travels; if left out, the party where the player character is, with the vehicle they are in; given, when the player characters are apart
  • pace (string, optional): one of the game’s paces, such as fast or slow, or a speed, such as 4.5 km; if left out, the game’s usual pace, or the one the journey had
  • hours (any, optional): the hours of travel today, when they differ from the game’s: more for a forced march, 24 for a ship with its crew, 8 for a boat the party rows

route

How far a place is by road, and how long the journey takes: the stops and roads of the quickest way, the distance and the days, at the party’s pace or another.

Read-only: yes. Positional parameters: to.

  • to (string, required): where to: a place
  • from (string, optional): where from: a place, or a character; if left out, where the party is, or where its journey stopped; given, when the player characters are apart
  • pace (string, optional): one of the game’s paces, such as fast, or a speed, such as 4.5 km; if left out, the game’s usual pace
  • across (boolean, optional): straight across country, off the roads, when both places have a position

scene

Open, run and close a scene of the story.

Read-only: no. Positional parameters: action.

  • action ("open" | "add" | "leave" | "order" | "next" | "use" | "now" | "hostile" | "calm" | "close", required): open, add, leave, order, next, use, now, hostile, calm or close
  • title (string, optional): open: the scene’s title
  • type ("combat" | "social" | "exploration" | "travel" | "rest" | "challenge" | "other", optional): open: combat, social, exploration, travel, rest, challenge, other
  • place (string, optional): open: the place, such as [[Ossario]]; the character’s if left out
  • with (string | string[], optional): open, add: the characters in the scene, the player character included, such as [[Lena]]; at open, the character and the companions with them if left out
  • creatures (string | string[] | { [key]: integer }, optional): open, add: creatures as numbered copies: Annegato=2 (Annegato alone is one), or through MCP an object such as {“Annegato”: 2}
  • who (string | string[], optional): leave: who leaves the scene; hostile, calm: who attacks the party, or stops; use: who uses it; characters or copies, such as Annegato 2
  • uses (string, optional): use: what of a turn, by the game’s names, such as action, move, reaction
  • by (string, optional): use: what gives one more, or lets it in another’s turn, such as a feature
  • order (string | string[], optional): order: who takes turns, in order; those left out (fallen, fled) take none; none given ends the turns, and the scene goes on
  • now (string, optional): open, now: what is happening now, in one line as the player sees it, such as “The bandits overturn the tables”; never what they cannot see
  • summary (string, optional): close: what happened, in one or two sentences, as the player saw it
  • seen (string | string[] | { [key]: string }, optional): open, add: what the character sees of someone in the scene, by its page or creature, in two or three words, never its kind when that is a secret; the player sees it instead of the name: Bandito=brigante incappucciato, or through MCP an object such as {“Varro”: “il mugnaio”}

save

The saves of the campaign, made by themselves at the end of each scene.

Read-only: no. Positional parameters: action, save.

  • action ("list" | "make" | "load" | "reset" | "new chat", optional): list, make, load, reset or new chat
  • label (string, optional): make: a few words that name the save, such as before the duel
  • save (string, optional): load: the number of a save, or last
  • to ("start" | "session zero", optional): reset: start, the start of play with the same character (if left out), or session zero, to make the character again

© 2026 Stefano Caronia · code under the MIT license