Claude 1: A scheme from one prompt
What you build
Section titled “What you build”One assassination scheme, from a single prompt, written into your own database. You read Claude’s plan, watch it check the draft, see it applied, and start the scheme in Play mode.
This page tells you what to type and what to check at each stage. It does not show Claude’s answers: Claude chooses its own words and its own details, and this tutorial was not run against a live session.
Before you start
Section titled “Before you start”- Claude Code with the Intrigues skill installed, and Unity connected through an MCP server. See Set up Claude Code and MCP in plain words.
- Unity open on your project, out of Play mode, with the Studio not in a test run.
- A database of your own. Claude does not write into the Demo or Example database: the tool refuses it with
X-PACKAGE-DATABASE. Duplicate the asset if you want to try on the Demo.
Check the connection first. Type:
Call intrigues_status and tell me which database it would use.
Check: Claude names the Intrigues version and a database path, and says whether Unity is ready. If several databases exist and none is chosen, it lists them and asks you. If it has no Intrigues tool, go to Troubleshooting.
Stage 1: the prompt
Section titled “Stage 1: the prompt”Type one request. Name the story, not the nodes:
Create an assassination intrigue. A courtier wants a rival noble dead. They can buy poison or hire a blade, and either can fail and get them exposed. If it works, the rival dies and the player is told how. Reuse my money variable if I have one.
You may change the story. The skill recognises the request in any language, and writes player-facing text in the language you use.
Stage 2: the plan
Section titled “Stage 2: the plan”Claude connects, reads your database, and then writes a plan in its reply before it writes any file. Per the skill, the plan covers:
- the story beats, from setup to the consequences of success and failure;
- who may start it against whom, with the requirements and their reasons;
- which variables it reads and changes, and who owns each;
- what the player decides, and where chance decides;
- what ends the scheme early.
Check, in the plan:
- It names the variable that pays for the means, and says whether it reused yours.
- Every requirement has a reason you would be happy to show a player.
- It says how a player gets what a requirement asks for, for example a starting value of gold. A requirement nobody can meet makes the scheme unplayable.
- Its list of assumptions matches what you meant. Claude goes on after the plan unless it asked you a question. To steer, say so at once, or change the result afterwards: see Claude 3.
Stage 3: the check
Section titled “Stage 3: the check”Claude saves the draft as a JSON file under IntriguesAI/drafts/ and calls intrigues_validate with audit: "strict". This changes nothing in your database. The draft format is in the Draft format reference; you do not have to read the file.
Check:
- Claude tells you when it fixes something, and what. Errors are fixed at the place the report names, then it checks again.
- It checks at most 5 times. If errors are left after the fifth check, it stops and asks you, and nothing is applied.
- A code prefix tells you which layer spoke:
P-the JSON could not be read,S-an unknown key or node,N-a name does not resolve,G-the graph structure,D-a node’s own check,A-the audit,X-the environment. The strict audit findings are fixed before apply.
Stage 4: the apply
Section titled “Stage 4: the apply”Claude calls intrigues_apply with the same options, save: false and open: true. The write is one undo step named Apply Draft: and the draft’s title.
Check in Unity:
- The Intrigues Studio opens, or comes forward, on the new scheme.
- The database shows Unity’s unsaved-changes mark. Nothing is saved until you save.
- Click a few nodes. They read as plain English. The Studio course explains the window.
- Claude’s summary says what it created, what it assumed, what you still do by hand, and how to play-test it.
A brand new scheme needs no backup. If Claude had to change something you made earlier, it asks you first and the old version goes to IntriguesAI/backups/.
Keep or undo: Cmd+S (Ctrl+S) in the Studio keeps it. Edit > Undo removes the whole draft in one step. See Undo what Claude added.
Stage 5: play it
Section titled “Stage 5: play it”Per the skill and the first-session page, play-testing needs a scene with the Intrigue Manager whose database is this one, and a player character.
- Press Play. A scheme with a target is started from the target’s window, not from your own: click the target’s card (for example in your clan window, C, or among the relatives in your own window, P), then under Schemes to start click Start on the scheme. Your own window lists only schemes that need no target. See Play your scheme.
- Follow it in the scheme panel with J.
- Optional: ask Claude to read how it goes. It calls
intrigues_scheme_report, which only reads. Outside Play mode the answer is that the game is not playing (N-NOT-PLAYING).
Check: the dialogues show the means and their cost, the choices you cannot afford say why, and both outcomes (a death, an exposure) end with a message to you.
What you have at the end
Section titled “What you have at the end”| Check | Where | A good sign |
|---|---|---|
| The draft file | IntriguesAI/drafts/ |
A .json file named after the story |
| The scheme | Studio, schemes list | Present, with a description |
| The undo step | Edit > Undo menu text | Starts with Apply Draft: |
| Saved | Unity title and database | Not saved until you save |
| Play | The target’s window, scheme panel (J) | You can start it, and it ends in both ways |
Claude 2: A noble house by prompt, or A first session for the same flow in a smaller example.