How do I write instructions for an AI assistant?

On this page
- How do I give an AI assistant instructions it can follow?
- Why does a one-line instruction go wrong?
- What does "Finished when" mean, and why does it matter?
- How do I tell the bot what it must never do?
- Why does the bot need to know where the work lives?
- How do I know the instructions are finished?
- Common questions
How do I give an AI assistant instructions it can follow?
Write each job down in five parts: Starts when, Step by step, Finished when, Never do and Tools. Say it out loud first, as messily as you like, then sort what you said into the five parts. If you can answer all five, a bot can do the job. If one is missing, the bot guesses.

In our setups, people described a job best when they talked through one they had just done, with it open on the screen.
Why does a one-line instruction go wrong?
A one-line instruction leaves the bot to guess everything you didn't say. "Sort out the overdue invoices" has no start date, no finish line and no limits, so the bot fills each gap with a guess. Write the job the way you'd leave a note for someone covering while you're away.
The note you'd leave says what to do, what to watch for and what they must never touch. A job for a bot needs the same note, written a little more carefully.
What does "Finished when" mean, and why does it matter?
The Finished when part of a bot's job says what finished looks like and where the work goes. People leave it out more than any other part. In one of our setups, an accounts job with clear steps and no Finished when made 41 drafts going back a month, some for work that had already been sent.

Write Finished when as something you could check by looking: "the quote is in my drafts", "the bill is in Xero as a draft with the PDF attached". If you can't check it by looking, the bot can't tell when it's done either.
How do I tell the bot what it must never do?
Ask yourself straight out, for each job: what must the bot never do, send or touch? Write the answer as one plain line under Never do. In our setups, the answers came out only when someone asked directly. Where nobody asked, none were captured, and the bot's limits had to be guessed afterwards.

A print business owner gave his in one sentence: "As long as they're not sent, I'm happy for it to be drafted." His answer decided what every one of his bots may do.
Why does the bot need to know where the work lives?
A bot can only work in the programs it can reach, so the Tools part of its instructions must name the programs where the work happens today. In our setups, bots briefed for the wrong program could not do the job at all, and one argued for close to an hour about a system change that hadn't happened.
In one setup we gave a scheduler's bots email and shared files, because that is where the form pointed. Her working day was in the booking program where she marks jobs as ready, so her bots could not do the check she does every day. In another, a sales bot's instructions said the business had moved to a new customer system. The move was still only planned.
How do I know the instructions are finished?
Read the job's five parts as if you were the person covering for you. If you could do the job from those lines alone, without phoning anyone, the instructions are finished. If not, the gap is usually in Finished when or Never do. Then hand it over on drafts: the bot drafts, you check and send.
Expect your corrections to be the valuable part. An operations lead described a job of matching incoming paperwork emails to the right customer. When the bot's version was read back to her, she corrected it: match by address first, flag anything that doesn't match, and never submit a job for approval. Only she knew those three rules.
When the bot gets something wrong, find which part was missing: Why does my AI assistant keep getting it wrong?.
Common questions
Should I type the job out or say it out loud?
Whichever you do today. Some people in our setups typed and some talked. Saying it out loud is often faster for a first version, as long as all five parts end up written down where the bot can read them.
How long should a bot's job description be?
As long as the five parts need. The quote job on our Grok Bot page fits in five short lines. A missing part causes far more trouble than a short one.
Can one bot do several jobs?
Give each job its own written instructions. In our setups a lead bot runs the team, and each helper bot has one job, the tools that job needs and its own five parts.
What if I don't know the answer to one of the five parts?
Mark it "not said yet" and find out before the bot starts. A missing Finished when or Never do is where bots went wrong in our setups, so ask whoever knows.


