Apply to my task
arXiv:2507.07045 ★ 83 Jul 9, 2025

5C Prompt Contract: A Minimalist 5-Part Prompt Structure

Key result

Complex XML prompts burn 6 times more tokens (348 vs. 54) yet deliver the same result. The paradox: the simpler the structure, the more horsepower the model puts into content instead of parsing instructions. 5C Prompt Contract strikes the balance: control like DSL languages, creativity like a free-form prompt, with several times fewer tokens. The trick: instead of XML tags and multi-level templates, 5 simple blocks in one prompt. Character (role), Cause (goal), Constraint (boundaries), Contingency (fallback plan if something is unclear), Calibration (output format). The model grasps the structure instantly, no extra words — token savings AND rich output (777 output tokens vs. 833 for a free-form prompt).

01

TL;DR

5C Prompt Contract is a way to structure prompts with 5 clear blocks: Character (the role), Cause (the task), Constraint (the limits), Contingency (the fallback plan), Calibration (the output format). Instead of complex XML tags or long instructions, you get a short scheme that covers every important aspect of working with an LLM.

Complex prompt structures (XML markup, multi-level templates) eat tokens and distract the model into following syntax instead of generating creatively. In the experiments, DSL prompts needed 6 times more input tokens (348 vs. 54) for the same result. That's not just pricier; it also cuts into the model's "creativity budget": it spends its horsepower parsing elaborate markup instead of on depth of content.

5C gives you a minimal but sufficient structure. Each of the 5 components is one block in the prompt. Character sets the role, Cause the goal, Constraint the boundaries, Contingency what to do if something is unclear (a fallback), Calibration the output format. The study found that a minimalist structure saves tokens AND keeps the output rich: 5C delivered as much creativity as a free-form prompt, with control on par with DSL.

Want this for your own case? Apply this study to your task: AI adapts its method to what you are working on and writes the prompt.

02

Method Blueprint

Character: [Who you are / what role]
Cause: [What the goal is / what needs to be done]
Constraint: [What the limits are / what to keep in mind]
Contingency: [What to do if something is unclear / the fallback plan]
Calibration: [Output format / how to structure the answer]

All 5 blocks in one prompt. One request.

03

Example in Action

Task: You're launching a new online course on AI for marketers. You need an Instagram post that lands with the audience: people aged 25-35 who work in marketing and want to use AI but don't know where to start.

Prompt:

Character: You're a seasoned marketer who went from "AI scares me" 
to confidently using AI at work. You write simply, with real-life examples, 
no hype and no technical jargon.

Cause: Write an Instagram post announcing the course "AI for Marketers in 2 Weeks". 
The goal of the post is to hook people who keep putting off learning AI and show them it's 
actually easy and pays off fast.

Constraint: 
- No "revolution", "breakthrough", "buy before it's gone"
- No more than 1,200 characters
- No technical terms (prompt, tokens, models)
- One concrete example of using AI in marketing from your own experience

Contingency: If you're not sure which AI example to pick, go with something 
related to a content calendar or audience analysis; every marketer gets those.

Calibration: Format: a short hook paragraph about the pain point, your AI example, 
a call to action. Emojis only if they reinforce the meaning, not for decoration.

Result: The model will produce a post tailored exactly to your task: it opens with the pain point ("you keep putting off AI because it seems complicated"), shows a concrete example (say, how ChatGPT built a month-long content calendar in 5 minutes), and closes with a call to action, no hard sell. The length lands right inside the limit, and the style is lively with no hype clichés.

04

Why It Works

An LLM generates better when it has a clear structure but freedom inside it. Complex XML tags or long instructions overload the context: the model spends its "horsepower" parsing syntax instead of meaning. It's like giving someone a task and simultaneously making them count the words in every sentence: the result gets worse.

5C gives a structure of 5 simple blocks, so the model gets what you want right away, without extra words. Character tunes the tone and perspective, Cause sets a clear goal, Constraint creates boundaries (without smothering creativity), Contingency insures against "I didn't understand the task" (the model knows what to do if something is unclear), and Calibration sets the format without spelling out every element.

The key insight: minimalism = more room for creativity. When the prompt is short and clear, the model doesn't burn tokens parsing instructions. It channels its horsepower into generating content. In the study, 5C prompts produced output as rich as free-form prompts (777 output tokens vs. 833), but with the control and predictability of DSL, and with 6 times fewer input tokens.

Control levers: - Contingency: swap "if unclear, pick X" for "if unclear, ask me" → the model asks clarifying questions instead of deciding on its own - Calibration: drop the specific output format → the model picks a structure itself based on the task - Constraint: add more constraints → tighter control, less creativity; remove the extras → more freedom

05

Prompt Template

Character: {who does the task — role, perspective, style}

Cause: {what needs to be done — specific goal, for whom, why}

Constraint: 
- {constraint 1 — what to avoid, limits, required elements}
- {constraint 2}
- {constraint 3}

Contingency: If {situation of uncertainty}, then {what to do — pick X, 
ask, use approach Y}.

Calibration: {output format — structure, style, length, elements}

What to fill in: - {who does the task}: a role with context: "seasoned editor at a tech publication," "HR pro with 5 years of hiring experience," "e-commerce analyst" - {what needs to be done}: a specific task with context: not just "write some copy" but "write a job post for a mid-level Python developer at a startup that attracts people who value growth" - {constraints}: a list of clear boundaries: length, style, what to include/exclude, required elements - {situation of uncertainty}: what could go wrong: "if there isn't enough data," "if several approaches fit," "if the task allows different interpretations" - {output format}: how to structure it: "a list with short explanations," "3 paragraphs: problem-solution-result," "a table with columns X, Y, Z"

🚀 Quick start: paste this into the chat:

Here's the 5C Prompt Contract template, a minimalist 5-block prompt structure. 
Adapt it to my task: [your task]. 
Ask me questions to fill in all 5 components (Character, Cause, Constraint, 
Contingency, Calibration).

[paste the template above]

The LLM will ask about the role (Character), the goal (Cause), the constraints (Constraint), the fallback plan if something is unclear (Contingency), and the output format (Calibration), because it needs to fill all 5 blocks of the structure. It will take the pattern from the template and adapt it to your task.

06

Limitations

⚠️ Creative tasks vs. analytics: The study was tested only on a creative task (writing a narrative). It's unclear how 5C performs on data extraction, pure analytics or code generation. Tasks that need a rigid output structure (JSON, for example) may call for a more detailed Calibration.

⚠️ Contingency can misfire: If the fallback plan is too generic ("if unclear, do whatever you think is best"), the model may interpret it its own way. You need a concrete fallback: not "do better" but "if unclear, use approach X" or "if unclear, ask me."

⚠️ Minimalism ≠ universality: For very complex tasks (multi-step reasoning, multi-stage code generation) it may not be detailed enough. 5C is about balancing simplicity and structure, not about maximum control.

07

How It Was Studied

The team tested 5C on 4 models (OpenAI GPT, Anthropic Claude, DeepSeek, Google Gemini) and 3 prompt styles. The task was the same for all: write a short cyberpunk detective story about a secret society manipulating politics. The detective had to have personal biases, and the text had to be a cinematic narrative.

The three styles: 1. 5C Prompt Contract: the 5-block structure (Character, Cause, Constraint, Contingency, Calibration) 2. DSL: XML markup with tags like <ROLE>, <GOAL>, <CONSTRAINT> 3. Unstructured: free form, no explicit structure

Each style was run several times on each model, counting tokens: input (how many went into the prompt), output (how many the model generated), and total (the sum).

Results: - 5C: the fewest input tokens (54.75 on average), rich output (777.58): the model generated detailed narratives with depth of scene and speculative detail - DSL: lots of input tokens (348.75, 6 times more!), shorter output (711.50): the model produced coherent but less developed texts - Unstructured: lots of input (346.25), large but unpredictable output (833.17): the model was creative but less focused on the task

Why they reached these conclusions: XML tags and complex markup distract the model into following syntax. It spends its "horsepower" not on content but on parsing structure. It's like asking a writer for a short story while making them count the words in every sentence: the result comes out thinner.

What was surprising: On Gemini, all three styles produced the same output (1795 tokens), but the input differed dramatically: 5C used 54 tokens, DSL 1212, Unstructured 1315. That showed the model compensates on its own for missing structure or prompt complexity at the output level, but the input-token savings are real.

Practical insight: Paying for input tokens? The minimalist 5C structure saves money several times over with no loss in quality. For SMEs and individual users on a tight budget, that's critical.

08

Resources

"5C Prompt Contracts: A Minimalist, Creative-Friendly, Token-Efficient Design Framework for Individual and SME LLM Usage" — Ugur Ari, AI Research Strategist and LLM Ecosystem Analyst, July 2025

References from the study: - Vaswani et al. (2017) "Attention is all you need" — on the transformer architecture - Brown et al. (2020) "Language models are few-shot learners" — the GPT-3 paper - Ouyang et al. (2022) "Training language models to follow instructions with human feedback" — on RLHF - Leike et al. (2018) "Scalable agent alignment via reward modeling" — on the alignment problem - Ganguli et al. (2022) "Predictability and surprise in large generative models" — balancing predictability and creativity

Research digest

Key result

Complex XML prompts burn 6 times more tokens (348 vs. 54) yet deliver the same result. The paradox: the simpler the structure, the more horsepower the model puts into content instead of parsing instructions. 5C Prompt Contract strikes the balance: control like DSL languages, creativity like a free-form prompt, with several times fewer tokens. The trick: instead of XML tags and multi-level templates, 5 simple blocks in one prompt. Character (role), Cause (goal), Constraint (boundaries), Contingency (fallback plan if something is unclear), Calibration (output format). The model grasps the structure instantly, no extra words — token savings AND rich output (777 output tokens vs. 833 for a free-form prompt).

Principle

Each block is one component of the prompt. Character sets the role and perspective, Cause the specific goal, Constraint a list of clear boundaries, Contingency what to do if the task allows different interpretations, Calibration the shape of the output. You don't need to spell out every element of syntax. Five blocks cover everything that matters: who, why, within what limits, what if it's unclear, how to format it. The model gets a clear scheme, but inside each block there's freedom to generate. Minimal structure = maximum room for creativity.

Why it works

An LLM has a limited "horsepower budget" per request. It spends it either on parsing complex instructions or on generating content. XML tags and multi-level templates eat that budget on syntax — the model works out where a tag opens, where it closes, what's nested in what. When the prompt is short and clear, the model doesn't burn tokens parsing instructions — it channels its horsepower into depth of content. In the experiments, DSL prompts needed 348 input tokens, 5C just 54 tokens. Yet the output was equally rich (777 vs. 833 tokens). Contingency insures against "I didn't get the task" — the model has a concrete fallback instead of guessing. Calibration sets the format without describing every element — the model picks the structure itself within the bounds.

When to apply

For tasks that need a balance of control and creativity → marketing copy, social posts, job listings, emails, narratives. Especially when you want to avoid the chaos of a free-form prompt without smothering the model in XML markup. Great for individuals and small businesses — no need to learn complex DSL languages or templates. NOT a fit for tasks where a rigid output structure is critical (say, generating JSON against a strict schema) — those may need a more detailed Calibration.

Mini recipe

1. Character: Set a role with context — not just "marketer" but "a marketer who went from fearing AI to using it confidently and writes simply with real-life examples" 2. Cause: A specific goal with context — not "write a post" but "write an Instagram post about an AI course that hooks people who keep putting off learning it and shows it's easy and pays off fast" 3. Constraint: A list of clear boundaries — what to avoid (the words "revolution," "breakthrough"), limits (no more than 1,200 characters), required elements (one concrete example of using AI) 4. Contingency: A fallback for uncertainty — not "do whatever you think is best" but "if you're unsure which example to pick, go with something related to a content calendar; everyone gets that" 5. Calibration: Output format — "a short hook paragraph about the pain point, your AI example, a call to action; emojis only if they reinforce the meaning"

Examples

[BAD]: `marketerwrite a post1200hypeparagraphs` — 348 tokens of XML markup, the model spends its horsepower parsing tags [GOOD]: `Character: Seasoned marketer, went from "AI scares me" to confidently using AI, you write simply with real-life examples Cause: Write an Instagram post about the course "AI for Marketers in 2 Weeks", hook people who keep putting off learning it, show it's easy Constraint: No "revolution", "breakthrough"; no more than 1,200 characters; one concrete example of using AI from your own experience Contingency: If you're unsure which example to pick, go with something related to a content calendar or audience analysis Calibration: A short hook paragraph about the pain point, your example, a call to action` — 54 tokens, clear structure, the model puts its horsepower into content

In plain words

Models don't run on magic, they run on predictability, and 5C Prompt Contracts is basically a skeleton that keeps the model from drifting. Instead of dumping a pile of rambling wishes or stuffy XML tags on the AI, you pack the task into five tight blocks. The root problem is that long instructions devour the model's attention: it spends resources parsing your verbal clutter instead of solving the task. This method trims the fat and leaves only Character, Cause, Constraint, Contingency and Calibration, which forces the LLM to focus on substance, not syntax.

It's like giving an assignment to a sharp but slightly scatterbrained intern. If you just say "make it awesome somehow," you'll get junk. Write a 20-page instruction manual and they'll get lost in it and nod off. 5C is a crisp checklist on a napkin: who they are today, what exactly needs doing, where not to go, what to do if they hit a snag, and what shape to hand the result back in. Technically you've boxed them in, but really you've laid down clear tracks that get them to the goal three times faster.

Let's break it down: Character sets an expert role so the model doesn't spout generic filler. Cause is the concrete goal, without which AI starts hallucinating. Constraint sets hard limits, like "no clichés." The coolest part is Contingency, the fallback plan: you tell the model in advance what to do if data is missing. And Calibration simply shapes the answer into the format you need, so you don't have to manually scrub out the throat-clearing intros and pleasantries later.

The method was framed for small businesses and personal use, but this universal pattern works everywhere, from writing code to building marketing strategies. Whether you use ChatGPT, Claude or a local model, the principle of saving tokens and keeping structure clear works the same. It's the shift from chaotic "chatting with a bot" to an engineering approach, where every block of text does a specific job instead of just taking up space in the context window.

Bottom line: time to stop writing wall-of-text prompts and hoping for the best. 5C Prompt Contract is a way to squeeze the most out of a model with the least effort spent describing what you want. Either you structure your asks with this scheme and get predictable results, or you keep playing the generation lottery. Minimalism and clarity always beat verbosity, especially when it comes to a model's compute.

AI lab assistant

Apply this study to your task

Describe what you're working on. AI takes the method and the measured results from this paper and adapts them to your case, or writes a ready prompt built on them.

Based on 5C Prompt Contract: A Minimalist 5-Part Prompt Structure arXiv:2507.07045

Sign in to apply this study New accounts get 50 free credits.