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.
Before you start
Section titled “Before you start”- Keep Unity open, with your project and database loaded, and out of Play mode.
- Open Claude Code in your project folder.
- Make sure the Studio is not in a test run.
- 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).
The session
Section titled “The session”You ask in one line, and Claude does the rest and tells you what it is doing.
Create an assassination intrigue.
I will check the connection and read your database first.
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.
The check reported something at one place in the draft. I fixed that place and will check again.
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.
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.
What each step does
Section titled “What each step does”- Connect.
intrigues_statusfinds the project and tells Claude whether Unity is compiling or in Play mode. If it is, Claude says so and waits for you. - Read.
intrigues_inventorylists what your database already holds, so Claude reuses aGoldvariable instead of inventing a second one. - 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.
- Write and check. Claude saves the draft in
IntriguesAI/drafts/and checks it withintrigues_validate. This changes nothing in your database. - 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.
- Apply.
intrigues_applyadds the draft in one undo step and opens it in the Studio. It does not save. - Summary. Claude tells you what it made, what it assumed, and what is left for you to do by hand.
What you should see in the Studio
Section titled “What you should see in the Studio”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, 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.
You read it like any other scheme. The Studio covers the window, and Make your first scheme covers the nodes by hand.
Keep it or throw it away
Section titled “Keep it or throw it away”- 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.