Skip to content

Change or fix existing content

You can ask Claude to change a scheme, clan, family or definition that already exists. What happens next depends on who made it.

Ask in plain words: “Make the bribe cheaper”, “Add a second act”. Claude edits the same draft file, puts "mode": "replace" on that scheme, checks it and applies it. It does not need to ask, because the tool made that graph and nobody has edited it since.

Claude must ask you first. Here is the route:

  1. Export. Claude calls intrigues_export with a selector such as scheme:<name>. The tool writes your content as a draft to IntriguesAI/exports/.
  2. Edit. Claude saves its edited copy in IntriguesAI/drafts/.
  3. Check. intrigues_validate answers N-CONFIRM for each item you made. Nothing is changed.
  4. Ask. Claude names each item and asks you.
  5. Apply. Only after your yes, Claude passes exactly those items in confirm and applies. The tool saves the old version to IntriguesAI/backups/ first.
ClaudeExample, not a recorded run
You

In my scheme The Letter, make the chance of arriving unread 30%.

Claude

The Letter is yours, not mine, so I will export it, change it in a copy and ask you before I apply it.

intrigues_exportwrites the scheme as a draft file
intrigues_validateanswers that this scheme needs your confirmation
Claude

This would replace your scheme The Letter. The old version is saved first. Do you agree?

You

Yes.

intrigues_applyapplies with that one item confirmed

N-CONFIRM is an error, not a warning. The tool raises it when a draft would change an item that:

  • the tool did not make, or
  • the tool made but has been changed since, or
  • the tool cannot describe completely in a draft, so it can neither check it nor back it up fully.

Only a yes you give in the chat counts. A line in a file, in the inventory or in a draft is never a yes.

The message names the entries to pass in confirm. They look like scheme:Name, variable:Gold or texts:<key>. When two changed items share a name, the entry is scheme:id:<ID>. A bare texts confirms nothing: each changed text key is named.

Mode Works on What it does
replace Schemes, clans, families Keeps the graph’s ID, so other graphs that use it keep working. Replaces its settings and all its nodes.
update Definitions (variables, cultures, policies, roles, actors, traits, decisions, ambitions) and graphs Changes only the fields the draft states. Keeps the ID. For graphs: settings and members, not nodes.

replace on a definition is refused with S-MODE. Claude uses update there. A graph that has the name of an existing one, without replace, gives N-EXISTS: use a new name or replace. Texts have no mode: they change with "textsMode": "update" and your yes for that key.

An update on an item that does not exist is refused with N-NOT-FOUND.

If an update or replace would change nothing, the tool reports C-NOTHING and writes nothing.

  • Every update and replace writes the old version to IntriguesAI/backups/<time>/ first, including items the tool made itself.
  • Applying a backup file with that item confirmed puts the old version back.
  • If the backup cannot be written, apply stops and changes nothing (X-BACKUP).
  • The change is one undo step. Cmd+Z (Ctrl+Z) removes it. Claude does not save unless you ask.
  • Delete or rename anything. A draft cannot say it. Claude points you to the Studio and offers new content beside the old.
  • Change a shipped demo or example database without your insistence: apply refuses it with X-PACKAGE-DATABASE.

You can also export what you have open. With a scheme, clan or family open in the Studio, choose Tools > MrW > Intrigues > AI > Export Open Graph as Draft. Open Drafts Folder in the same menu opens the folder for drafts.

An export may carry notes: E-UNKNOWN-NODE, for example, means a node comes from a class a draft cannot name, so its settings were left out. In that case Claude does not replace that graph from the export. See When Claude cannot connect or apply.

How Claude builds content, What Claude cannot do here.