Skip to content
Service status

Type to search

Better instructions and Skills · 3 min read

Role, behavior and reasoning

Write a role that describes how the assistant behaves, structure long instructions, ask for reasoning and grounding, and keep instructions accurate after you publish.

Long instructions work when the role describes behavior, the structure is one the model can navigate, and the assistant knows what to do when the material runs out.

“You are a lawyer” tells the model very little. A useful role sets the tone, the domain assumptions, the perspective (adviser, reviewer, drafter) and the behavior: how to handle uncertainty, risk and sources. Compare:

You are a lawyer. Analyze the attached contract.
You are an experienced procurement lawyer working with public procurement
and municipal contracts.
Behavior:
- Point out legal risks and deviations first.
- If an interpretation is uncertain, say so and name the provision.
- Flag clauses that may conflict with procurement rules.
- Answer in the format [Risk] / [Assessment] / [Recommendation].

The second gives the model a perspective, a priority order, a rule for uncertainty and a format. That keeps answers consistent across hundreds of conversations. Add negative instructions as well: what the assistant must not do, such as “don’t invent facts you can’t find in the attached knowledge”.

The behavior list is also where you make an assistant careful by design. “Never ask for personal identity numbers” or “recommend that a case officer reviews any assessment about an individual” turn your organization’s rules into the assistant’s default behavior. Users then do not have to remember them.

Models have read a great deal of Markdown. # and ## headings for Role, Behavior and Boundaries, with lists under each, help them through long instructions. XML-style tags go one step further, marking exactly where a part starts and ends:

<policy>
...the relevant policy text...
</policy>
<task>
Answer the question below using only the policy. Quote the paragraph you rely on.
</task>

Tags are most useful when material and instructions sit side by side. The model then does not mistake a sentence in a pasted document for an order.

Put overarching principles first and the details that follow from them after. Save IMPORTANT: for the one or two rules that matter most; when every rule is emphasized, the model cannot tell which ones count. Aim between “Help with HR questions” and a long matrix of if-then rules, which still misses cases and starts contradicting itself. The middle ground has clear principles, how to handle uncertainty, when to refer the person to someone, and the format.

When there are several factors to weigh, or a wrong conclusion is costly, ask the model to reason before it concludes: “Identify the factors, assess each one, then give your recommendation.” Visible reasoning also makes human review possible. A case officer can only check a conclusion if they can see how the assistant got there.

When describing tone or structure is not enough, show one or two short examples of the input and output you want. This is called few-shot prompting. Use invented examples, not real cases with real names. For complex questions, ask the model to list the sub-questions first and answer them one at a time.

A model generates plausible text, and without an anchor it fills gaps with confident guesses. Three instructions reduce that:

  1. Restrict the assistant to the material where that fits the task, and give it a ready phrase for the gap: “If the answer is missing, write: That is not covered by the material.”
  2. Require a source for claims that can be checked.
  3. Ask it to say when it is unsure instead of guessing.

When sources contradict each other, tell the assistant what to do. It can describe the conflict and name the documents, or apply a priority you set, such as newer policy over older.

Everyone in its Space shares a published assistant, so a change to its instructions or knowledge takes effect for all of them immediately.

  • Keep a test set: five or so typical questions, a few ambiguous ones and a few out of scope. Run it after every change and compare.
  • Change one thing at a time, so you know which change caused which effect.
  • Watch real use. With Insights switched on, you see the questions people ask.
  • Review on a schedule, because policies, models and Skills change.

The audit log records who changed an assistant and keeps its previous settings, which your organization’s Admins can see.

Test your knowledge

Question 1 of 4

Question 1 of 4

Your contract-review assistant's instructions say only 'You are a lawyer.' Its answers are generic and never mention uncertainty. What change helps most?

Your contract-review assistant's instructions say only 'You are a lawyer.' Its answers are generic and never mention uncertainty. What change helps most?