Google Analytics, Vercel Web Analytics, Leadsy, the Ship or Die traffic check, the TikTok Pixel, the OpenAI Ads Measurement Pixel, Behavly, the Convincd demo agent and HubSpot stay off until you accept. The help chat starts once you have chosen. The Book a demo button appears once you have chosen. Read our Privacy Policy.Google Analytics, Vercel Web Analytics, Leadsy, the Ship or Die traffic check, the TikTok Pixel, the Meta Pixel, Google Ads, the LinkedIn Insight Tag, Microsoft Advertising, the OpenAI Ads Measurement Pixel, Behavly, the Convincd demo agent and HubSpot stay off until you accept. The help chat starts once you have chosen. The Book a demo button appears once you have chosen. Read our Privacy Policy.
How to write a playbook your AI agent assistant follows
Write one playbook per job: a trigger line, ordered steps, decision rules and checks that can fail, so an AI agent assistant stops guessing how you work.
When an AI agent assistant gives you a mediocre result, the model is usually not the problem. The assistant does not know how you do this job: which inputs you check first, which rule you apply when two options look equal, what a finished result must contain. A playbook is where you write that down once. This guide shows how to write one that an assistant will follow.
A playbook is your written guidance for one kind of work. Think of what you would hand a capable new hire on day one: when this job comes up, what to do in what order, how to decide the hard calls, and how you will judge the result.
One idea from a guide on delegating to AI is worth borrowing: stop building a separate agent for every task, and keep a written playbook per job instead. The author's point is that the intelligence is rarely missing, and the know-how is. A fresh instruction in every chat is easy to forget. A playbook is written once and reused.
The same pattern shows up in agent tools generally. Claude Code's skills, for example, are folders with a SKILL.md file whose short description decides when the skill is loaded, while the long body is read only when it is needed. That keeps the context small until the instructions matter.
When to use it. One line that says when this playbook applies. The assistant reads this line to decide whether to open the whole playbook, so make it specific: "When a customer asks for a refund or says a charge looks wrong."
Inputs. What the assistant needs before it starts, and what to do if something is missing. Asking you is a fine answer.
Steps, in order. The way you work, not a generic process. Put the step you always forget first.
Decision rules. The reason behind each choice. "If the order is under 30 days old, offer a replacement before a refund" teaches more than "be helpful".
Examples and edge cases. One real example of good work, and the cases that went wrong before.
Write in direct sentences. Avoid "try to" and "ideally". If it matters, say it as a rule.
This is the part most people skip. Add a short list of checks that can fail, and that produce evidence from outside the draft.
Weak checks: "The answer is accurate." "The tone is friendly."
Strong checks: "Every number in the summary is traced to a row in the source file." "Every link in the post opens." "The reply names the order number the customer gave."
A check should be something you could point at. An assistant rereading its own draft and calling it good proves nothing, because it will agree with itself.
In StellarFirm, a playbook can carry up to ten of these as a definition of done. Before the assistant answers, it reports each check as passed, failed or not verifiable, with its evidence, and the same list appears in the answer so you can read it. A failed check is reported plainly, and the assistant says what to do next. Code cannot confirm that evidence is true, so skim it the first few times.
Playbooks live on the Playbooks screen in the app, and you can also start one from the chat. Each has:
A title and the "when to use it" line
The body, in Markdown
A scope label such as company, project, team or course, for grouping and search
Whether it is read when the work matches, or always followed
Who follows it: every assistant, or only the ones you pick
Use "read when the work matches" for most jobs, so the full text loads only when relevant. Use "always follow" for short rules that must never be skipped, such as house style or a legal disclaimer. Always-followed text goes into every message only while all of an assistant's "always follow" playbooks fit a budget of 12,000 characters, and their checks count toward it. Past that, the remaining playbooks are only listed and are read when the work matches. Keep each one brief, and keep any rule that must never be skipped inside the budget.
A playbook shapes how an assistant works, nothing more. Sending mail, deploying, deleting and spending still wait for your Approve, whatever the playbook says. See Approvals for how that works.
PromptDraft a playbook by interview
CEO, interview me to write a playbook for [job]. Ask one question at a time about when it starts, the inputs, the steps in order, the rules behind each decision, and what a finished result must contain. Then show me the draft before anything is saved.
Do not only fix the answer. When a result is wrong, ask which part failed:
A step was missing, so add it.
A rule was wrong or out of date, so change it.
There was no check that would have caught it, so add one.
Make the smallest fix, note the date, and run the job again to confirm. If the same mistake returns, turn the fix into an explicit rule. Reviewing these fixes monthly shows you where the job is hardest.
Today you make these edits yourself on the playbook, and the assistant never changes one on its own. Suggesting the fix from your corrections is not built yet.
PromptDiagnose a wrong result
CEO, the last result for [job] was wrong because [what went wrong]. Tell me which part of the playbook failed: a missing step, a wrong rule, or a missing check. Draft the smallest change for me to review. Do not save anything.
PromptAdd checks that can fail
CEO, read the playbook for [job] and propose up to five checks for its definition of done. Each check must produce evidence outside the draft, such as a number traced to its source or a link that opens. Remove any check that only asks you to reread the draft.
Pick one job this week, write the five parts in half an hour, add two checks that can fail, and run it on a real task. Expect to edit it twice before it holds. After that, the work you used to correct by hand is written down once and does itself. That is the idea behind StellarFirm: AI Agent Assistants that follow your way of working, with you approving the steps that matter.
Frequently asked questions
What is a playbook for an AI agent?
It is your written guidance for one kind of job: when it applies, the steps in order, the rules behind each decision, and what done looks like. The assistant reads it before it works, so it does the job your way.
How is a playbook different from a skill?
A skill is a narrow procedure for a kind of task, usually shipped with the product. A playbook is how your company wants a kind of work done. In StellarFirm you write playbooks yourself, and assistants also load skills when a task needs one.
How long should a playbook be?
Short enough to read in a few minutes. Start with the steps you would give a new hire, then add edge cases only after the assistant gets one wrong.
Does a playbook let an assistant skip Approve?
No. A playbook is guidance, never permission. Sending, deploying, deleting and spending still wait for your Approve, or for the rules you set.
How to design approval workflows for AI agents: why writes wait for a human, what to gate, and how to set rules, with StellarFirm Approve as the example.