Tool 01 — live

PROMPT GENERATOR Free · CO-STAR, few-shot & chain-of-thought

A simple structure for turning vague instructions into useful prompts. Instead of "write about diabetes" — tell the model who you are, what you need, how it should sound, who is reading, and what format you want.

5 frameworks Assembles as you type Nothing leaves your browser

The framework

CO-STAR — six fields, one good prompt

The most complete of the five. Use it when the output has to land right first time — a brief, a report, anything going to other people.

THE CO-STAR FRAMEWORK

C
Context
Background for the task
O
Objective
Exactly what you want done
S
Style
How it should be written
T
Tone
Emotional or professional feel
A
Audience
Who will consume the output
R
Response
Format, length, structure

LIVE CO-STAR BUILDER — FILL EACH FIELD AND WATCH YOUR PROMPT ASSEMBLE

→ YOUR ASSEMBLED PROMPT

The framework

Zero-shot — ask once, no examples

Just the instruction. Fastest to write and the right default for common tasks a model already understands — summarise, translate, rewrite, classify. If the output drifts, add an example and move to one-shot.

ANATOMY OF A ZERO-SHOT PROMPT

1
Role
Who the model should act as
2
Task
One clear instruction
3
Constraints
Rules and limits to respect
4
Format
Shape of the answer

LIVE ZERO-SHOT BUILDER

→ YOUR ASSEMBLED PROMPT

The framework

One-shot — show it exactly one example

Describing a format in words is harder than demonstrating it. One worked example pins down structure, length and voice far more reliably than another paragraph of instructions.

ANATOMY OF A ONE-SHOT PROMPT

1
Task
What you want done
2
Example In
A representative input
3
Example Out
Exactly the output you want
4
Your Input
The real one to process

LIVE ONE-SHOT BUILDER

→ YOUR ASSEMBLED PROMPT

The framework

Multi-shot — a pattern, not a one-off

Two to five examples let the model infer the rule rather than copy a single case. Worth the extra typing for classification, structured extraction, and any format with edge cases. Cover a tricky case in one of them — that is where the value is.

ANATOMY OF A MULTI-SHOT PROMPT

1
Task
The rule in one sentence
2
Examples
Two to five input/output pairs
3
Edge Case
Make one example a hard one
4
Your Input
The real one to process

LIVE MULTI-SHOT BUILDER

EXAMPLES

→ YOUR ASSEMBLED PROMPT

The framework

Chain-of-Thought — make the reasoning visible

For problems with steps: sums, logic, diagnosis, anything where a confident wrong answer is expensive. Asking for the working makes errors visible and usually makes the final answer better too.

ANATOMY OF A CHAIN-OF-THOUGHT PROMPT

1
Problem
What has to be worked out
2
Known Facts
Data it may rely on
3
Steps
The route to follow
4
Answer
How to state the conclusion

LIVE CHAIN-OF-THOUGHT BUILDER

→ YOUR ASSEMBLED PROMPT

WHICH ONE SHOULD I USE?

  • Start zero-shot. It is the cheapest to write. Only add machinery when the output is actually wrong.
  • Wrong format? Move to one-shot — showing beats describing.
  • Inconsistent across inputs? Move to multi-shot so the model infers the rule.
  • Wrong reasoning? Use chain-of-thought and read the working.
  • High-stakes writing? Use CO-STAR, which pins down audience and tone as well as the task.

New drops, every week

Free tools & Claude templates, landing regularly.

We keep shipping new free tools, code recipes and Claude Code templates. Follow @freeyantra on Instagram or join the newsletter so you never miss one.

Follow @freeyantra

or get them by email

Double opt-in. Unsubscribe any time. Privacy