Skip to content

Your first prompt, step by step

This page walks through one whole session. The conversation below is an example, not a recorded run, so your Claude will use its own words and make its own choices. The steps and the tools are the real ones.

You need Claude Code with the skill installed and Unity connected. If you have not done that, Set up Claude Code and MCP in plain words come first. For a smaller first try, see Or ask Claude to make it.

  1. Keep Unity open, with your project and database loaded, and out of Play mode.
  2. Open Claude Code in your project folder.
  3. Make sure the Studio is not in a test run.
  4. Work on your own database or a copy of the Demo database. Claude does not write into the shipped Demo or Example database (X-PACKAGE-DATABASE).

You ask in one line, and Claude does the rest and tells you what it is doing.

ClaudeExample, not a recorded run
You

Create an assassination intrigue.

Claude

I will check the connection and read your database first.

intrigues_statusthe project folder, the work folder, the database it would use, and whether Unity is ready
intrigues_inventorywhat your database already holds: variables, actors, clans, roles, requirement sets, languages
Claude

Here is my plan. Your database already has a scheme called Assassination, so I will name mine “A Death Arranged”.

  • The conspirator chooses the means at an apothecary: nightshade for 60 gold, or a hired blade for 30. Or they walk away.
  • Nightshade: wait for the feast, then bribe the cupbearer or pour it yourself. A roll decides.
  • Blade: wait a random time for the night. A roll decides.
  • Success kills the target. Failure raises the target’s suspicion.
  • Who may start it: both people alive, not your own blood, at least 30 gold. A wary target only warns you.

Assumptions: everyone starts with 100 gold, and I will write the text in English.

intrigues_validatechecks the draft against your database and changes nothing
Claude

The check reported something at one place in the draft. I fixed that place and will check again.

intrigues_validatethe second check, after the fix
Claude

No errors and no strict audit findings. I will add it now. It is one undo step, it is not saved, and it opens in the Studio.

intrigues_applyadds the scheme in one undo step, does not save, opens it in the Studio
Claude

Done. I added one scheme, A Death Arranged, with 5 requirements and 3 World variables. Everyone starts with 100 gold, so you can start it at once. The dialogues and announcements are in English. To test it, the scene needs the Intrigue Manager with this database. Enter Play mode, open the actor panel of a living person who is not a relative, and start A Death Arranged from its scheme list. The scheme panel (key J) shows the objective. Edit > Undo removes the whole draft, and Cmd+S (Ctrl+S) keeps it.

  1. Connect. intrigues_status finds the project and tells Claude whether Unity is compiling or in Play mode. If it is, Claude says so and waits for you.
  2. Read. intrigues_inventory lists what your database already holds, so Claude reuses a Gold variable instead of inventing a second one.
  3. Plan. Claude writes the plan in its reply and lists its assumptions. It asks a question only when a wrong guess would be costly to undo.
  4. Write and check. Claude saves the draft in IntriguesAI/drafts/ and checks it with intrigues_validate. This changes nothing in your database.
  5. Fix. Claude fixes each problem at the place the report names, then checks again. It checks at most 5 times. See How Claude builds content.
  6. Apply. intrigues_apply adds the draft in one undo step and opens it in the Studio. It does not save.
  7. Summary. Claude tells you what it made, what it assumed, and what is left for you to do by hand.

The scheme opens as a graph. This figure shows the first part of the example scheme: the choice of means, then the blade path. The full scheme has more nodes.

Start
Set Objective
Show Dialogue
TOConspirator
The Apothecary
Behind the shop the old woman weighs your purse with her eyes.
Timeout · 45 s
Buy the nightshade (60 gold).
Hire a blade instead (30 gold).
Leave. This was a mistake.
Set Variable
Conspirator: Gold − 30
Set Objective
Wait
10–20 sec
Chance
35% chance
+ 2 bonuses
Success
Failure
Succeed Scheme
Result: Success (ends when its flows end)
Fail Scheme
Result: Failure (ends when its flows end)
  • Start, output Start, goes to Set Objective.
  • Set Objective goes to Show Dialogue.
  • Show Dialogue, output Hire a blade instead (30 gold)., goes to Set Variable.
  • Show Dialogue, output Leave. This was a mistake., goes to Fail Scheme.
  • Show Dialogue, output Timeout, goes to Fail Scheme.
  • Set Variable goes to Set Objective.
  • Set Objective goes to Wait.
  • Wait goes to Chance.
  • Chance, output Success, goes to Succeed Scheme.
The first part of A Death Arranged, from the worked draft in the skill's assassination recipe: the choice at the apothecary, and the hired-blade path. The nightshade path, the failure nodes and the End branches are not drawn.

You read it like any other scheme. The Studio covers the window, and Make your first scheme covers the nodes by hand.

  • Keep it: press Cmd+S (Ctrl+S). Claude saves only if you ask.
  • Undo it: choose Edit > Undo in Unity. One step removes the whole draft.
  • Change it: ask Claude. It can edit its own scheme without asking. See Change or fix existing content.

The nine Intrigues tools, What Claude cannot do here, or Build houses, clans and cultures by prompt.