Prompt
Engineering
2026
From magic words to clear briefs.
Opening. Promise: no long text, no old tricks. Today we learn how to brief a model like a smart new colleague, give it the right context, and test the result.What changed
Old tactic
Works now
"Act as a world-class expert"
→
Real context: who, why, for whom
"Think step by step"
→
Set reasoning effort, let it think
YOU MUST / NEVER in caps
→
Calm rule + the reason why
10 examples pasted in
→
1–3 varied, realistic examples
One giant mega-prompt
→
System + tools + memory + docs
Prefilling the reply / saved prompt objects
→
Format rules + schema, versioned in code
"Looks good to me"
→
Test on real cases (evals)
The one idea
A prompt is
a briefing,
not a spell.
Big idea of the session. Imagine briefing a brilliant new colleague who knows nothing about your project. Everything they need must be in the message.
The 6-Block Brief
01
Goal
What you want, and why it matters.
02
Context
Audience, background, source material.
03
Constraints
Length, tone, must and must-not.
04
Examples
1–3 samples of what good looks like.
05
Format
Exact shape: table, JSON, sections.
06
Done when
How the model knows it is finished.
Okay → Good → Excellent
Okay
task
"Explain prompt engineering."
Good
+ context
"Explain prompt engineering. I'm a design student, new to AI, using it for UX research."
Excellent
+ output
"Explain prompt engineering. I'm a design student, new to AI, using it for UX research. Give a 5-step beginner guide, one real example per step, under 200 words."
Pattern from OpenAI's ChatGPT prompt guide (2026): task → + context/persona → + output.
OpenAI's own ChatGPT guide teaches this ladder. Each step adds one thing: first the task, then who you are and why, then exactly what the answer should look like. Ask students to spot what was added each time.How the big labs structure it
OpenAI
Markdown + XML
# Identity
# Instructions
# Examples
# Context
Claude
XML tags + role
<role>
<context>
<instructions>
<example>
Gemini
XML or Markdown
system: persona, format
<context> long docs
"Based on the above…"
question last
All three work on every model. Pick one. Stay consistent.
Sources: OpenAI, Anthropic and Google official prompting guides (Nov 2026)
Each lab's current official order. OpenAI's developer message goes Identity, Instructions, Examples, Context, with Markdown headers and XML-wrapped content. Anthropic's top rules: be clear and direct, add context, use examples, structure with XML tags, give Claude a role. Google: put persona, format and critical rules in the system instruction, long context first, question last, anchored with a phrase like "Based on the information above". Click to reveal the verdict.Where your prompt lives in the apps
Custom instructions
About you + how to reply
Projects
Files + rules per project
GPTs
A saved prompt as an app
Skills
Reusable workflows
Project instructions
Rules + files per project
Styles
How Claude writes for you
Memory
Facts carried across chats
Skills
Reusable know-how
Write your 6-Block Brief once, then save it in one of these instead of retyping it every chat. Feature names change; check each app.
Showcase of where standing prompts live in the two biggest apps. Highlighted rows are the best place to start. Demo: paste the 6-Block Brief into Project instructions in Claude or Custom instructions in ChatGPT, then ask the same short question in a new chat and show how the answer changes.The 2026 prompt skeleton
Who the model is, in one line
all labs
Long material goes first
Anthropic · Google
The exact job, plus why
all labs
1–3, wrapped in tags
Anthropic · Google
Concrete length and shape
OpenAI
Say so. Never invent facts.
OpenAI
The actual ask goes last
all labs
Top to bottom = order in the prompt · Sources: Anthropic, OpenAI and Google guides (Nov 2026)
This merges the current official guides into one order. Long documents at the top and the question at the bottom helps on long inputs, per Anthropic's docs. OpenAI's GPT-5.2 guide stresses concrete length limits and an explicit rule for uncertainty, so the model says it doesn't know instead of inventing. Google says the same: long context first, question last, anchored with a phrase like "Based on the information above". OpenAI's newest GPT-6.2 guide also moves top-level instructions after the input.Settings beat magic words
Reasoning effort
replaces "think step by step"
none
low
medium
high
xhigh
Verbosity
replaces "be concise!!"
low
medium
high
Output schema
replaces "only JSON please"
off
on: JSON schema
Effort levels as named in OpenAI's GPT-5.2 guide. Claude and Gemini APIs offer similar thinking or effort controls.
Many old prompt tricks are now settings. Raise effort for hard reasoning, lower it for speed and cost. Set verbosity instead of begging for short answers. Turn on a schema instead of asking for JSON. Names differ per provider, so check the docs of the API you use.Watch a brief build
Live demo, plays on its own. Same task, vague prompt versus the 6-Block Brief. Point at each block as it types. Ask the room: which block changes the output most? Usually context.Same ask, two results
write an email about our sale
Long, generic, no call to action
Goal · Context · Limits · Example · Format · Done when
We missed you: spring sale inside
Come back for spring →
Short, on-brand, one clear action
So which one is best?
Candidates
Claude
GPT
Gemini
Open models
→
20
of your real tasks
same prompt, scored
→
Winner
for your job
Leaderboards shift every few months. Your own test set doesn't lie.
There is no single best model. Each lab leads on different tasks, and rankings change fast. The honest answer: run the same prompt on your 20 real cases, score them, and pick the winner for that job. Often a cheaper model wins on simple tasks.Context engineering
Context window
The model only knows what's in the window.
Your prompt is one layer of six. Curate all of them: less noise, better answers.
The API in 5 parts
// one request, simplified
{
"model": "…",
"system": "You are…",
"messages": [ … ],
"tools": [ … ],
"schema": { … }
}
Which brain
Standing rules
The conversation
What it can call
Shape of the answer
Free start: Google AI Studio key (free-tier data improves Google products). Anthropic, OpenAI: pay-as-you-go.
Every chat app is this request under the hood. The system field is where your 6-Block Brief usually lives. Tools let the model call functions, and the schema forces the output shape. Show one live call in the Anthropic Console, OpenAI Playground or Google AI Studio if time allows.MCP: USB-C for AI
AI apps
Claude
ChatGPT
Cursor
VS Code
⇄
MCP
Tools · do things
Resources · read data
Prompts · ready templates
⇄
Your stuff
GitHub
Slack
Figma
Database
Open standard · latest spec 2026-07-28 · modelcontextprotocol.io
MCP is one open protocol that connects any AI app to any tool or data source. Build a server once, and every MCP-compatible app can use it. Servers expose tools, resources and prompts. In Claude these show up as connectors.Skills: reusable know-how
brand-voice/
├─ SKILL.md
│ name + description
│ instructions
├─ examples/
└─ scripts/check.py
1
Sees only the name + description. Always, tiny cost.
2
Loads SKILL.md when the task matches.
3
Opens files and scripts only if needed.
Open standard (LF Projects) · ~46 apps incl. Claude, ChatGPT, Gemini CLI, Copilot, Cursor · agentskills.io/clients
A skill is a folder with a SKILL.md file: a short name and description, then instructions, plus optional files and scripts. The model loads it only when relevant, so you can install many without filling the context. Write a prompt once, reuse it forever. OpenAI's ChatGPT guide even ships its prompting tips as a downloadable skill.Prompting agents
Plan
split the goal
→
Act
call a tool
→
Observe
read result
→
Check
done yet?
→
Stop
done-when met
Describe each tool like an API doc: what, when, inputs.
Write the stop rule. Agents loop without one.
Ask before anything irreversible: send, pay, delete.
Watch an agent work
Illustrative run that plays on its own. Each log line lights up its step in the loop on the right. Point out the plan, the tool calls, the check against the done-when rule, and the stop. This is the same loop as the previous slide, now in motion.Agent frameworks
← Easier
More control →
No-code
n8n
Zapier
Make
Drag-and-drop workflows
Agent SDKs
Claude Agent SDK
OpenAI Agents SDK
Google ADK
One lab's agent loop, ready-made
Orchestration
LangGraph
CrewAI
LlamaIndex
Multi-step, multi-agent, any model
Structured outputs
Old
"Please reply in JSON. Only JSON. No extra text!!"
Breaks sometimes. You add retry hacks.
Now
// schema enforced by the API
{
"subject": string,
"tone": "friendly" | "formal",
"cta": string
}
Valid shape, every time.
Zero budget? Three ways in
01 · Free apps
Claude · ChatGPT · Gemini
Skills and projects in all three. Limits reset every few hours.
02 · Free API tiers
Google AI Studio · OpenRouter
Free Flash, Flash-Lite and Gemma tokens. About 15 $0 models on OpenRouter.
03 · Run locally
Ollama · LM Studio
Gemma, Qwen, Llama, gpt-oss. Offline, private, no limits.
Verified on official pricing pages, Nov 24, 2026. Free limits change often.
Three routes for students with no budget. Free chat apps cover most learning. Free API tiers let them build real apps: Google AI Studio gives free tokens on Gemini 4 Hydrogen, the Flash and Flash-Lite models and Gemma 4, but free-tier content is used to improve Google's products, so no private data. Gemini 2.5 Pro and Flash are deprecated and reroute from Dec 1, 2026. OpenRouter lists about 15 models at $0, and the list changes weekly. Local open-weight models through Ollama or LM Studio cost nothing per message but need a decent laptop. Verify current limits before the session.Free Claude: what you get
Free
Web, desktop and mobile apps
Search, files, code, Artifacts
Memory, connectors, Skills
Up to 5 Projects
Models: Sonnet and Haiku
Paid plans
Claude Code (from Pro, $20/mo)
Claude in Chrome
Research
Opus models
Higher usage limits
Verified on claude.com/pricing, Nov 24, 2026.
Verified on the pricing page. Free includes the web, desktop and mobile apps, desktop extensions, web search, file creation, code execution, memory, connectors, Skills, Artifacts, voice and up to 5 Projects, on Sonnet and Haiku. Not on Free: Claude Code, Claude in Chrome, Research and Opus. Claude Code is in every paid plan, from Pro at $20 a month or $17 a month billed yearly. If an exercise needs Claude Code, participants need Pro. ChatGPT Free has limited Codex as an alternative.Free plans side by side
| Free plan | Claude | ChatGPT | Gemini |
|---|---|---|---|
| Model | Sonnet · Haiku | GPT-6 | Gemini 4 Hydrogen |
| Web search | ✓ | ✓ | not listed |
| Skills | ✓ | ✓ | ✓ |
| Projects | ✓ up to 5 | ✓ | ✓ Notebook |
| Deep research | ✗ | Limited | ✓ |
| Coding agent | ✗ Claude Code | Codex, limited | not listed |
| Memory | ✓ | Limited | not listed |
Sources: claude.com/pricing · chatgpt.com/pricing · gemini.google/subscriptions · checked Nov 24, 2026
Verified side by side. ChatGPT Free has unlimited text chat with GPT-6, with abuse guardrails. Gemini Free limits reset every 5 hours with a weekly cap, plus 15 GB storage. "Not listed" means the plan page doesn't mention it, not that it's missing. For coding exercises on a zero budget, ChatGPT's limited Codex is the only free coding agent here.Evals beat vibes
Write
→
Test
→
Score
→
Fix
↺
20
real examples are enough
to start testing a prompt.
The toolkit
Draft
Anthropic Console
OpenAI Playground
Google AI Studio
Generate and improve prompts
Test
Promptfoo
Braintrust
Run evals on many cases
Trace
Langfuse
LangSmith
See what the agent did
Connect
MCP
Plug in tools and data
Optimize
DSPy
Tune prompts with code
Sources
Anthropic best practices
OpenAI prompt guide
OpenAI GPT-5.x guides
Gemini prompting
Anthropic tutorial
Agent Skills
Free plans
claude.com/pricing · chatgpt.com/pricing · gemini.google/subscriptions
Evals & optimizing
Cheat sheet
Explain the why, not only the what.
Say what to do, not only what not to.
Long docs first, question last.
Show 1–3 varied examples.
Name the exact output format.
Change one thing, then retest.
Your turn · 3 min
"Make a presentation about our product."
Rewrite it with the 6 blocks: Goal · Context · Constraints · Examples · Format · Done when.
Exercise. Timer starts when the slide opens. Pairs rewrite the vague prompt, run both versions in any model, and compare. Ask two pairs to share which block made the biggest difference.Takeaway