0PricingLogin
AI Prompt Engineering · Lesson

Specifying Your Audience

Adapt output for experts, beginners, children, executives, or general audiences.

Audience: The Most Underused Prompt Variable

Of all the specificity dimensions you can add to a prompt, audience specification has the most consistent, dramatic impact on output quality.

The same explanation of 'machine learning' written for a 10-year-old vs a senior ML researcher should share almost no vocabulary or structure. Without audience context, the model picks the middle — useful to no one in particular.

The Age-Based Audience Anchor

Age-based audience specification is the simplest and most universally understood. The model has seen millions of examples of content written for different age groups and calibrates vocabulary, complexity, and analogy style accordingly.

  • 'For a 10-year-old' → simple vocabulary, concrete analogies, short sentences
  • 'For a high school student' → slightly more abstract, assumes basic math literacy
  • 'For a college graduate' → assumes general academic vocabulary
import anthropic

client = anthropic.Anthropic(api_key='sk-ant-your-key-here')

ages = ['a 10-year-old', 'a 16-year-old high school student', 'a college graduate with no CS background']

for age in ages:
    response = client.messages.create(
        model='claude-opus-4-5',
        max_tokens=80,
        messages=[{
            'role': 'user',
            'content': f'Explain what a computer CPU does in 2 sentences for {age}.'
        }]
    )
    print(f'Audience ({age}):')
    print(response.content[0].text.strip())
    print()

All lessons in this course

  1. Formal vs Informal Tone
  2. Specifying Your Audience
  3. Professional Writing Styles
  4. Adjusting Vocabulary Level
← Back to AI Prompt Engineering