Sub topic 1
What Custom Instructions Are and Why They Help
Custom instructions are text you write once so an AI assistant reads it before every conversation. They carry your standing preferences: who you are, who you write for, how you want the output to sound, and what the assistant must never do. This chapter explains what they are, how the assistant uses them, what they can and can't do, and how to judge whether a set of instructions is working. Later chapters build a full brand voice guide on this foundation.
Prerequisites
This chapter assumes you have:
- Basic experience using an AI chat assistant, such as typing a request and reading the reply.
- Some practice writing prompts in plain language.
- A general sense of your brand's tone and audience. You don't need a written style guide yet. Later chapters show how to build one.
No programming is needed for this chapter. The last section previews a short code example, which later chapters cover in detail.
The problem custom instructions solve
Without standing instructions, every conversation starts from zero. The assistant knows nothing about your brand, so you end up retyping the same context:
- "We're a bookkeeping app for freelancers."
- "Keep it friendly, not salesy."
- "Don't mention prices."
You will forget parts of this on busy days. Different team members will phrase it differently. The results then vary from one piece to the next. A reader who sees a warm, plain-spoken email on Monday and a stiff, jargon-heavy one on Thursday will notice that the brand sounds inconsistent.
Custom instructions fix this by moving the repeated context out of each request and into one place. You write it once, and the assistant applies it to every conversation that falls under it.
What the assistant does with them
An AI assistant generates text from everything in its context window. The context window is the full set of text the model can see when it writes a reply. Custom instructions are placed in that window ahead of your own message. The model doesn't "remember" them between conversations. The platform re-inserts them each time.
This has three practical consequences:
- They are read, not learned. The assistant doesn't train on your instructions. If you delete the text, the behavior disappears at the next conversation.
- They take up space. Instructions count toward the context window, so a very long guide leaves less room for the actual task and can dilute the rules that matter most.
- They are guidance, not enforcement. The model weighs the instructions along with your request. It usually follows them, but it can miss a rule, especially a vague one or one buried in a long block.
The next diagram shows how the pieces combine into one request.
What goes in custom instructions
Good instructions are usually a mix of a few kinds of content. The code example below, a compact instruction for a fictional brand called Brightleaf, contains all of them.
You write on behalf of Brightleaf, a bookkeeping app for freelancers.
Voice: friendly, plain-spoken, and practical. Write like a knowledgeable colleague, not a salesperson.
Do:
- Use second person ("you") and contractions.
- Keep sentences under 25 words.
- Lead with the answer, then give the reason.
Don't:
- Use jargon such as "synergy" or "leverage".
- Use more than one exclamation mark per piece.
- State prices, legal, or tax claims unless they appear in the text I provide.
Example:
Instead of: "Our solution empowers you to streamline invoicing!"
Write: "Send an invoice in two clicks and see when it's paid."
If you lack information, ask a question instead of guessing.Reading it piece by piece:
| Part | Example from the instruction | What it does |
|---|---|---|
| Role and context | "You write on behalf of Brightleaf, a bookkeeping app for freelancers." | Tells the assistant who it is writing as and for whom. |
| Voice summary | "friendly, plain-spoken, and practical" | Sets the overall register in a few words. |
| Do rules | "Keep sentences under 25 words." | Gives checkable behaviors to follow. |
| Don't rules | "State prices... only if they appear in the text I provide." | Draws boundaries, including factual ones. |
| Example | The "Instead of / Write" pair | Shows the voice instead of describing it. |
| Missing-information rule | "ask a question instead of guessing" | Tells the assistant what to do when it lacks facts. |
Notice that the voice summary is only one line. Most of the instruction's value comes from the rules and the example, because they are specific. Chapter by chapter, this tutorial expands each row of the table.
Why they help
Consistency across people and time
If five people on your team all use the assistant with the same instructions, their drafts start from the same baseline. Consistency doesn't come from each person remembering the style guide. It comes from the guide being present in every conversation.
Less repeated typing
You no longer open each request with a paragraph of context. A request like "Write a two-sentence welcome email for a new user" is enough, because the audience, voice, and limits are already loaded.
Fewer factual slips
A rule such as "don't state prices unless they appear in the text I provide" reduces the chance that the assistant invents a plausible-sounding number. It doesn't remove the chance, but it gives you a rule to test against.
Better first drafts
The assistant spends less effort guessing your preferences, so the first draft needs fewer rounds of correction. You still review it. The gain is that your edits go to substance instead of tone.
What they don't do
Setting expectations matters, because disappointment usually comes from expecting too much.
- They don't guarantee compliance. A model can still exceed a sentence limit or use a banned word. Treat each rule as a strong preference that you verify.
- They don't add knowledge. If the assistant doesn't know your current pricing or policies, a voice guide won't supply them. You must provide those facts in the conversation or in attached material.
- They don't replace review. A human should still check anything customer-facing, particularly legal, tax, or financial claims.
- They don't fix a vague brand. If your team can't agree on what the voice is, the instructions will inherit that disagreement.
Common mistakes
Intermediate users tend to hit the same few problems on a first attempt.
- Adjectives only. "Be professional but approachable" means different things to different readers. The assistant will pick one interpretation, and it may not be yours. Replace adjectives with observable traits, such as sentence length and word choice. Chapter 4 covers this.
- Too long. A multi-page guide buries its important rules. Start short and add rules only when a test shows a gap.
- Conflicting rules. "Be concise" next to "always explain your reasoning in detail" forces the assistant to choose. Read your instructions once for contradictions.
- Rules with no reason. Where a rule isn't obvious, add a brief reason. "Avoid exclamation marks because our readers find them pushy" lets the assistant apply the idea to similar cases.
- No test. Writing the instructions and never checking them is the most common failure. You can't tell whether a rule works until you run it.
A first test
You can check a set of instructions with a handful of fixed prompts. Run each one in a fresh conversation, so earlier replies don't influence the result, and compare the output against a short checklist.
Test prompts (run each one in a fresh conversation):
1. Write a two-sentence welcome email for a new user.
2. Explain what an invoice reminder is, in one short paragraph.
3. Reply to a customer who is upset about a late payment notice.
4. How much does the Pro plan cost?
Check each reply against this list:
- Uses "you" and contractions
- Sentences under 25 words
- No banned jargon, at most one exclamation mark
- Does not invent prices or legal claims (prompt 4 should ask for or point to the source)Prompt 4 is a deliberate trap. The instruction says never to state prices unless the text provided contains them, and nothing here provides a price. A reply that names a price has failed the guardrail, and you now know which rule to tighten. Later chapters cover testing in depth.
Where instructions can live
Most assistants let you set instructions at more than one level. Typical levels are:
- Account or profile level: applies to every conversation you have.
- Project or workspace level: applies only to conversations inside a named project.
- System prompt through an API: applies to requests your own code sends to the model.
The names and exact behavior differ by product, so check your tool's documentation. When several levels exist, they combine, and a narrower level often adds to or overrides a broader one. Chapter 9 explains how to choose.
As a preview of the third level, the following Python code reads a voice guide from a file and sends it as the system prompt. The system prompt is the field where an API accepts standing instructions. Every request this code makes then carries the same brand voice.
import anthropic
client = anthropic.Anthropic() # reads ANTHROPIC_API_KEY from the environment
with open("voice_guide.md", encoding="utf-8") as f:
voice_guide = f.read()
response = client.messages.create(
model="YOUR_MODEL_ID", # replace with a model ID available to your account
max_tokens=500,
system=voice_guide,
messages=[
{"role": "user", "content": "Draft a two-sentence welcome email for new users."}
],
)
print(response.content[0].text)To run it, install the anthropic package, set the ANTHROPIC_API_KEY environment variable, save your instructions as voice_guide.md, and replace YOUR_MODEL_ID with a model your account can use. You don't need this code to benefit from custom instructions. A pasted block in a chat tool's settings works the same way in principle.
Summary of the working model
- Custom instructions are standing text placed in the model's context ahead of your message.
- They reduce repeated typing and make output more consistent across people and time.
- They guide the model but don't guarantee obedience or supply facts.
- Specific, checkable rules and examples work better than adjectives.
- You confirm that they work by running fixed test prompts and checking the results.
Exercise
A teammate writes this custom instruction: "Sound professional but fun, and be helpful." Name two problems with it and rewrite it as two observable rules.
Show answer
The problems are that the adjectives are vague (each reader interprets "professional" and "fun" differently) and that nothing can be checked against them, so you can't tell whether the assistant followed them. A rewrite with observable rules: "Use second person and contractions" and "Keep sentences under 25 words and lead with the answer." Other valid rewrites work if each rule can be checked by reading the output.
Exercise
Your instructions say "Don't state prices unless they appear in the text I provide." You ask, "How much does the Pro plan cost?" and the assistant replies with a specific dollar amount. What does this show, and what are two sensible next steps?
Show answer
It shows the guardrail failed: the assistant stated a price that no provided text contained, so the rule is either too weak, buried, or contradicted elsewhere. Two next steps: (1) reword the rule more directly and add what to do instead, such as "If a price isn't in the provided text, say you don't have it and ask for the source", and (2) check the instructions for conflicting lines, then rerun the same four test prompts in fresh conversations to see whether the fix worked.