AI Glossary / Prompting and human-AI interaction / Beginner
CO-STAR prompt framework
Definition
The CO-STAR prompt framework is a structured template for writing prompts to a language model. It breaks a request into six labeled parts: Context, Objective, Style, Tone, Audience and Response format. It is a writing convention, not a feature of any model, and it is not a standard. Practitioners use slightly different wording for each part, and the framework does not guarantee a correct answer.
What it means
A prompt is the written instruction you give an AI model. Many weak outputs come from weak instructions: the model was not told who the text is for, how long it should be, or what the situation is. CO-STAR is a checklist that prompts you to supply those missing details before you send the request.
Think of it as a briefing form. Each letter asks one question. What is the background (Context)? What exactly should be done (Objective)? How should the writing read (Style)? What attitude should it carry (Tone)? Who will read it (Audience)? What shape should the output take (Response format)? Once the six answers are on the page, the model has far less to guess.
How it works
You write the prompt as six short blocks, usually with a label in front of each. Context gives the background facts the model could not otherwise know, such as the product, the situation or the constraints. Objective states the single task in a direct sentence. Style names the writing manner, such as plain business English or a formal report voice. Tone names the attitude, such as calm, warm or firm. Audience says who will read it, which affects vocabulary and detail. Response format says how the answer should be laid out, such as three bullet points, a table or a 150-word email.
The model reads all six blocks as one instruction and predicts a response that fits them. Nothing special happens inside the model because of the labels. The gain comes from the clearer information, not from the acronym. The order is a convention, and many people shorten or reorder the blocks to suit the task.
Because the structure is fixed, a team can save a good CO-STAR prompt as a template and reuse it. Only the Context and Objective usually change from one request to the next. Style, Tone, Audience and Response format can often stay constant for a given kind of work, which keeps outputs consistent across staff.
Three practical examples
- Finance team: An analyst needs a short note on a variance. Context is that travel spend ran 12 percent over budget for the quarter. Objective is to explain the likely drivers in two paragraphs. Audience is the department heads, and the format is plain paragraphs with no jargon. The analyst still checks every figure before sending.
- Retailer: A store manager wants a reply to a customer who received a damaged item. Context covers the order details and the refund policy. Style is plain and short, Tone is apologetic but steady, and the format is a four-sentence email. The manager edits the draft and sends it under their own name.
- Support desk: A team lead wants a clear internal summary of a long ticket thread. Objective is to list the problem, the steps tried and the open question. Audience is the next shift, so the format is three labeled lines. The same template is reused for every handover.
Think of it this way
Think of CO-STAR as a briefing form you hand to a temporary writer who knows nothing about your business: the more of the six boxes you fill in, the less they have to guess. The analogy stops working because a human writer will ask questions when something is unclear, while a model usually just produces an answer from whatever it was given.
Worked example
Suppose a small firm tests the same task two ways, ten times each, and scores each draft as usable or not. The task is to write a customer email about a late delivery.
With a one-line prompt, such as 'Write an email about a late delivery', 4 of 10 drafts are usable without edits. That is 4 divided by 10, or 40 percent. The other 6 are too long, too stiff or miss the refund policy.
With a CO-STAR prompt that fills all six blocks, 8 of 10 drafts are usable. That is 8 divided by 10, or 80 percent. The improvement is 80 minus 40, which is 40 percentage points.
Now count the time saved. Each unusable draft takes about 6 minutes to fix, and each usable one takes about 1 minute to check. The one-line prompt costs 4 times 1 plus 6 times 6, which is 4 plus 36, or 40 minutes. The CO-STAR prompt costs 8 times 1 plus 2 times 6, which is 8 plus 12, or 20 minutes. The structured prompt saves 20 minutes over ten emails, or 2 minutes per email. These numbers are invented for illustration; real results depend on the model and the task.
Illustrative case study
Fictional case: Harbor Lane Supplies, a small wholesale company, let each sales rep write their own prompts for customer follow-up emails. Quality varied widely. Some drafts sounded cold, some promised discounts the firm did not offer, and the manager spent time rewriting them.
The operations lead introduced one shared CO-STAR template. Style, Tone, Audience and Response format were fixed for follow-up emails. Reps filled in only Context and Objective. Drafts became more consistent within a week, and the tone complaints stopped.
A new problem appeared. Reps pasted raw customer details into the Context block, including contact data that did not need to be there. The lead added a rule to the template: describe the situation, never paste personal data, and have a person review every draft before it is sent. The template now includes a note listing what the Context block may and may not contain.
Common misconceptions and mistakes
CO-STAR is an official standard that every model understands. It is a community-style writing convention. Models respond to the clarity of the information, not to the acronym.
Using CO-STAR guarantees an accurate answer. It improves how well the output fits the request, but the model can still state false facts, so figures and claims need checking.
Every prompt needs all six parts. Simple tasks may need only two or three blocks. Add the ones that change the result and drop the rest.
A good template replaces human review. A template makes drafts more consistent, but a person remains responsible for what is sent or acted on.
Business use
To start, pick one repeated task, such as customer replies or meeting summaries. Write a CO-STAR prompt for it, run it on ten real examples, and compare the results with your current approach. Save the version that works as a shared template, and fix the blocks that rarely change so staff only edit Context and Objective.
Measure the share of drafts usable without edits, the minutes spent fixing each draft, and how consistent the tone is across staff. The cost is mostly the time to design and test the template. The main risks are pasting confidential or personal data into the Context block, trusting unchecked facts, and letting a template drift out of date. Set a simple rule on what data may be entered, and require human review for anything customer-facing or financial.
People also ask
What does CO-STAR stand for?
It stands for Context, Objective, Style, Tone, Audience and Response format. Each letter is one block of information you include in the prompt.
Is CO-STAR better than other prompt frameworks?
Not necessarily. It is one of several checklists for writing clear prompts, and the best choice is the one your team finds easy to apply and that produces usable drafts on your tasks.
Do I need to use all six parts every time?
No. Use the blocks that change the result. A simple summary task may need only Objective, Audience and Response format.
Check your understanding
What are the six parts of CO-STAR?
Answer: Context, Objective, Style, Tone, Audience and Response format.
In the worked example, how many percentage points did the usable-draft rate improve?
Answer: It rose from 40 percent to 80 percent, an improvement of 40 percentage points.
In the worked example, how many minutes were saved over ten emails?
Answer: The one-line prompt cost 40 minutes and the CO-STAR prompt cost 20 minutes, so 20 minutes were saved.
Why did Harbor Lane Supplies add a rule about the Context block?
Answer: Reps were pasting raw customer details into it, so the template now says to describe the situation without personal data and to have a person review every draft.
Related terms
- Prompt engineering
- Prompt
- System prompt
- Few-shot prompting
- Zero-shot prompting
- Context window
- Human-in-the-loop
- Prompt template
Learn next
Pick one routine task and build a CO-STAR template for it, then test it on ten real examples before sharing it. Next, read the entries on prompt engineering, few-shot prompting and prompt templates to see how examples and reuse can improve results further.
More in Prompting and human-AI interaction
- Chain-of-verification - Chain-of-verification is a prompting technique in which a language model first drafts an answer, then writes its own check questions about the claims in...
- Chat interface - A chat interface is a conversational screen, usually a text box with a running thread of messages, through which a person gives instructions to an AI system...
- Clarifying question - A clarifying question is a question an AI system asks the user, before or during a task, to resolve missing, vague or conflicting information in the request.
- Code completion - Code completion is a feature in a code editor that predicts and suggests the next piece of code while a person types, from a single word to a whole function.
- Conversational analytics - Conversational analytics is the practice of asking questions about data in everyday language and getting answers back as figures, tables, charts or short...
- Conversational coding - Conversational coding is an iterative way of creating or changing software through dialogue with an AI system.
Sources
OpenAI, Prompt engineering guide: https://platform.openai.com/docs/guides/prompt-engineering DAIR.AI, Prompt Engineering Guide: https://www.promptingguide.ai/ Microsoft, Guidelines for Human-AI Interaction: https://www.microsoft.com/en-us/haxtoolkit/ai-guidelines/ The sources were consulted for general guidance on writing clear prompts and designing human-AI interaction; the examples, analogy, worked example and case are original educational illustrations. Checked 10 Nov 2026.
Previous: Co-occurrence network Next: Co-training