Skip to main content

CO-STAR Framework: Context, Objective, Style, Tone, Audience, Response

A six-component prompt engineering framework that treats prompt writing as a full-stack design challenge, covering context, objective, style, tone, audience targeting, and response formatting for precise AI outputs

Last updated: February 19, 2026Updated this week
Expert PromptingIntermediate
CF

Framework Structure

The key components of the CO-STAR Framework framework

Context
Provide background information about the specific scenario
Objective
Clearly define the task to direct the AI focus
Style
Specify the desired writing style for the response
Tone
Set the emotional tone and sentiment of the response
Audience
Identify who will read or use the output
Response
Define the format and structure of the desired output

Core Example Prompt

A practical template following the CO-STAR Framework structure

plaintextExample Prompt
Context: I run a sustainable fashion brand that just launched a new collection made from 100% recycled ocean plastics. We have 15K Instagram followers, mostly women aged 25-40 who care about environmental causes.
Objective: Write an Instagram carousel caption announcing the new collection that drives pre-orders and encourages sharing.
Style: Write in the style of popular lifestyle publications like Refinery29: conversational, trend-aware, and culturally relevant.
Tone: Enthusiastic and empowering, but grounded, not preachy about sustainability. Make people feel good about their purchase, not guilty about their habits.
Audience: Environmentally-conscious millennial women who follow fashion trends and are willing to pay premium prices for sustainable products.
Response: Provide a 5-slide Instagram carousel with: Slide 1 (hook headline), Slides 2-4 (product highlights with eco-impact stats), Slide 5 (CTA with pre-order link). Include hashtag suggestions and best posting time.

Usage Tips

Best practices for applying the CO-STAR Framework framework

  • CO-STAR was developed by data scientist Sheila Teo and won Singapore's first GPT-4 Prompt Engineering competition
  • Use delimiters like ### or XML tags between components to help the AI parse each section distinctly
  • The Style and Tone components work together but serve different purposes. Style controls the writing approach while Tone controls the emotional quality
  • Audience specification is what makes CO-STAR outputs feel personally relevant rather than generic
  • For complex tasks, provide the Response format in detail. Specify sections, word counts, and structural elements
  • CO-STAR reduces hallucinations by grounding the AI in specific context before asking it to produce output

Detailed Breakdown

In-depth explanation of the framework components

CO-STAR Framework

The CO-STAR framework (Context, Objective, Style, Tone, Audience, Response) is a comprehensive prompt engineering methodology that treats prompt design as a full-stack challenge, ensuring every aspect of the AI's output is carefully specified.

Introduction

The CO-STAR Framework was developed by data scientist Sheila Teo and gained widespread recognition after winning Singapore's first GPT-4 Prompt Engineering competition. What makes CO-STAR distinctive is its explicit separation of Style and Tone, two elements most frameworks combine or ignore entirely.

While many prompt frameworks focus on what the AI should do, CO-STAR goes further by specifying how it should communicate. This makes it particularly powerful for:

  • Content creation where voice and tone matter as much as accuracy
  • Marketing copy that needs to resonate with specific audience segments
  • Customer-facing communications requiring careful emotional calibration
  • Multi-channel content where the same message needs different styles per platform
  • Brand-aligned outputs that must match established voice guidelines

Origin & Background

CO-STAR emerged from the practical insight that most AI outputs fail not because of incorrect information, but because of mismatched communication style. A technically accurate product description written in an academic tone won't convert customers. A helpful customer service response written in a casual tone won't satisfy enterprise clients.

The communication design principle:

CO-STAR treats every prompt as a communication design challenge with six dimensions. Just as a graphic designer considers layout, typography, color, and whitespace, a prompt engineer using CO-STAR considers context, objective, style, tone, audience, and format.

Why separating Style from Tone matters:
  • Style controls the structural approach: academic, journalistic, conversational, technical
  • Tone controls the emotional quality: enthusiastic, formal, empathetic, urgent
A single piece of content can be written in a journalistic style with an empathetic tone, or in a technical style with an enthusiastic tone. These two dimensions are independent, and controlling them separately produces dramatically more nuanced outputs.
The audience-first principle:

By explicitly defining the audience before specifying the response format, CO-STAR ensures the AI calibrates complexity, vocabulary, and assumptions to match the reader's needs. A technical explanation for developers looks very different from one for executives, even when covering the same topic.

How CO-STAR Compares to Other Frameworks

AspectCO-STARR.A.C.E.A.P.E.R.O.S.E.S.
Components6435
Style ControlExplicitNoNoPartial
Tone ControlExplicitNoNoNo
Audience TargetingCentral featureNoNoNo
Role AssignmentVia ContextCentral featureNoYes
Best ForContent & marketingExpert consultationQuick tasksCreative projects
Learning Time15-20 minutes15-20 minutes5 minutes15-20 minutes
When to choose CO-STAR:
  • The output's communication style matters as much as its content
  • You need to match a specific brand voice or editorial standard
  • The audience has specific expectations for how information is presented
  • You're creating content across multiple channels with different style requirements
  • Emotional tone is a critical factor in the output's effectiveness
When to use something else:
  • For technical analysis where style is secondary (use RACE)
  • For quick, simple requests (use APE)
  • For step-by-step process work (use RASCEF)
  • When the primary challenge is defining the AI's expertise, not its communication style

CO-STAR Framework Structure

1. Context

Provide background information to help the AI understand the specific scenario

Context grounds the AI in your situation, reducing generic or irrelevant responses. Include the key facts, constraints, and circumstances that shape the task.

Strong context examples:
  • "Our company is a Series B fintech startup with 200 employees, targeting small business owners in Southeast Asia. We just received regulatory approval in three new markets."
  • "I'm a freelance UX designer pitching to a Fortune 500 healthcare company. They've had two failed redesign attempts in the past year."
Weak context:
  • "I work at a company" (too vague)
  • "We sell stuff online" (insufficient detail)

2. Objective

Clearly define the task to direct the AI's focus

State what you want the AI to produce. Be specific about the deliverable and its purpose, as this focuses the AI on a clear outcome.

Strong objectives:
  • "Write a product launch email that drives trial sign-ups from our existing free-tier users"
  • "Create a competitive positioning document that helps our sales team handle objections about pricing"
Weak objectives:
  • "Write something about our product" (undefined goal)
  • "Help with marketing" (no specific deliverable)

3. Style

Specify the desired writing style to align the AI's response

Style defines the structural and rhetorical approach. Reference known publications, writers, or formats to give the AI a clear stylistic target.

Style specifications:
  • "Write in the style of Harvard Business Review: analytical, evidence-based, with executive-friendly formatting"
  • "Match the tone of Slack's product documentation: clear, concise, with helpful examples and a touch of personality"
  • "Follow the narrative structure of a New York Times long-form feature"

4. Tone

Set the emotional tone to ensure the response resonates appropriately

Tone controls the emotional quality of the writing. It's independent from style; you can have a formal style with a warm tone, or a casual style with an urgent tone.

Tone specifications:
  • "Confident and authoritative, but not condescending. Make the reader feel like they're learning from a trusted colleague."
  • "Empathetic and supportive. Acknowledge the challenge before presenting the solution."
  • "Urgent but not alarmist. Convey the importance of acting now without creating panic."

5. Audience

Identify the intended audience so the AI can tailor its response

Audience definition ensures the AI calibrates vocabulary, complexity, assumptions, and examples to match who will actually read or use the output.

Strong audience definitions:
  • "CFOs and financial controllers at mid-market manufacturing companies who are evaluating ERP replacements. They're analytical, risk-averse, and care most about ROI and implementation timelines."
  • "Junior developers (1-3 years experience) who know JavaScript but are new to TypeScript. They learn best from practical examples."
Weak audience definitions:
  • "Business people" (too broad)
  • "Everyone" (impossible to tailor)

6. Response

Define the format and structure of the desired output

Specify exactly how the output should be structured, including length, format, sections, and any special requirements.

Response specifications:
  • "Format as a LinkedIn carousel with 8 slides: hook slide, 5 content slides with one key insight each, summary slide, and CTA slide. Each slide should have a headline (max 8 words) and supporting text (max 25 words)."
  • "Provide as a one-page executive brief with three sections: Situation (2 sentences), Analysis (3 bullet points), Recommendation (1 paragraph with clear next steps)."

Example Prompts Using CO-STAR

Example 1: Email Marketing Campaign

Example 2: Technical Blog Post

Best Use Cases for CO-STAR

Content Marketing

  • Blog posts with specific editorial voice
  • Social media campaigns across platforms
  • Email sequences with progressive tone shifts
  • Landing page copy with conversion focus

Brand Communications

  • Press releases matching corporate voice
  • Internal announcements with appropriate tone
  • Customer communications during incidents
  • Partner-facing documentation

Sales Enablement

  • Outreach emails for different buyer personas
  • Proposal narratives tailored to decision-makers
  • Case study write-ups for specific industries
  • Competitive battle cards with appropriate framing

Product Communications

  • Release notes for different audiences (users vs developers)
  • Onboarding sequences with progressive complexity
  • Help documentation matching brand voice
  • Error messages with helpful, human tone

Using Delimiters with CO-STAR

One of CO-STAR's best practices is using delimiters to separate each component clearly. This helps the AI parse your prompt more accurately:

You can also use XML tags, which LLMs process particularly well:

Common Mistakes to Avoid

1. Confusing Style with Tone

Problem: Using "professional tone" when you mean "formal style." Fix: Style = how the writing is structured (academic, journalistic, conversational). Tone = how it feels emotionally (confident, empathetic, urgent). Specify both independently.

2. Vague Audience Definition

Problem: "Write for business professionals" gives no useful targeting information. Fix: Include role, company size, pain points, and what they care about most. The more specific the audience, the more tailored the output.

3. Skipping the Response Format

Problem: Getting a wall of text when you needed a structured document. Fix: Always specify sections, word counts, formatting elements, and any structural requirements.

4. Overloading Context

Problem: Providing company history instead of relevant situation details. Fix: Include only context that would change the AI's approach to the task.

Conclusion

The CO-STAR Framework is the premier choice for prompt engineering when communication quality matters as much as content accuracy. Its explicit separation of Style, Tone, and Audience gives you fine-grained control over how the AI communicates, not just what it says.

CO-STAR's unique strengths:
  • Separate Style and Tone controls for nuanced voice management
  • Audience-first design that ensures relevance and resonance
  • Competition-proven methodology (Singapore GPT-4 competition winner)
  • Reduces hallucinations by grounding outputs in specific context
  • Natural fit for content marketing, brand communications, and multi-channel strategies
Your CO-STAR mastery path:
  • Start with content tasks where tone and style directly impact quality
  • Build a reference library of style and tone specifications you can reuse
  • Test the same prompt with different Audience definitions to see how outputs change
  • Use delimiters consistently to improve the AI's parsing accuracy

Framework in Action: Examples

See how CO-STAR Framework transforms basic prompts into powerful instructions

Before & After Examples

See how this framework transforms basic prompts into powerful instructions for AI

Basic PromptBefore
Write a LinkedIn post about our company's new AI analytics product.
Effectiveness
Based on structure, specificity, clarity, and actionable content
Low
Context-Objective-Style-Tone-Audience-Response EnhancedAfter
Context: We are a B2B SaaS startup that just launched an AI-powered analytics dashboard. The product reduces decision-making time by 60% through predictive insights. We raised a $5M Series A last month and have 50 enterprise clients. Objective: Write a LinkedIn post announcing the product launch that generates demo requests from VP-level decision makers at mid-market companies. Style: Write in the style of top B2B thought leaders on LinkedIn: data-driven, insight-led, with a storytelling hook. Use short paragraphs and line breaks for readability. Tone: Confident and forward-looking, but not boastful. Professional yet approachable. Convey authority without being corporate. Audience: VP of Analytics, Head of Data, and CTO-level professionals at companies with 200-2000 employees who are frustrated with slow, manual reporting processes. Response: Format as a LinkedIn post with: 1) An attention-grabbing opening line (no more than 10 words), 2) A 3-sentence problem statement, 3) The solution reveal with one key stat, 4) A brief social proof mention, 5) A clear CTA with link placeholder. Keep under 1300 characters. Include 3-5 relevant hashtags.
Effectiveness
Based on structure, specificity, clarity, and actionable content
High

Response Comparison

Basic AI ResponseBefore
Quality:
Generic information
Lacks structure
Limited detail
Context-Objective-Style-Tone-Audience-Response Enhanced ResponseAfter
Quality:
Professional format
Expert insights
Actionable content

Key Improvements with the Framework

Professional Structure

Clear organization with logical sections

Targeted Focus

Precisely aligned with specific outcomes

Enhanced Clarity

Clear intent and specific requirements

Actionable Output

Concrete recommendations and detailed analysis

Framework Component Breakdown

Context
Provide background information about the specific scenario
Objective
Clearly define the task to direct the AI focus
Style
Specify the desired writing style for the response
Tone
Set the emotional tone and sentiment of the response
Audience
Identify who will read or use the output
Response
Define the format and structure of the desired output