Mega Prompt: Definition and Examples
A mega prompt is a long, structured instruction sent to an AI model, combining in a single message all necessary directives: context, role, output format, constraints, and examples.
Full definition
A mega prompt is a prompt engineering approach that consists of grouping into a single message all instructions intended for a language model. Unlike a simple prompt that is limited to a question or a brief instruction, the mega prompt provides a complete framework: definition of the AI's role, detailed context, precise objectives, constraints to respect, expected output format, and often illustrative examples.
This technique is based on the idea that an AI model produces better results when it has all the necessary information from the start. By structuring the prompt into clearly identified sections (often using tags, titles, or separators), the user guides the model precisely and reduces ambiguities that could lead to off-topic or incomplete responses.
Mega prompts are particularly useful for complex tasks that require very specific output: writing long content, structured data analysis, code generation, creating marketing plans, or producing professional documents. They allow obtaining a result close to the final deliverable in a single interaction, without requiring multiple back-and-forths.
Although extremely powerful, mega prompts require significant design effort. They must be tested and iterated to find the right balance between comprehensiveness and clarity. A mega prompt that is too long or poorly organized can paradoxically degrade response quality if the model loses track of the instructions.
Etymology
The prefix 'mega' (from Greek megas, 'great') emphasizes the size and ambition of this type of prompt compared to traditional short instructions. The term emerged in the prompt engineering community around 2023, popularized by content creators and practitioners who shared structured prompts of several hundred words on social media.
Concrete examples
Creating comprehensive marketing content
You are a digital marketing expert with 15 years of experience. My company sells B2B SaaS software for project management. Target: technical directors of SMEs (50-200 employees). Objective: create a 1500-word blog article on the benefits of agile project management. Tone: professional but accessible. Structure: introduction with striking statistic, 5 sections with H2 subheadings, conclusion with CTA to a free trial. Constraints: no excessive jargon, include 3 concrete examples, optimize for the keyword 'agile project management SME'.
Generating a structured course plan
Role: expert data science trainer. Context: I need to create a 5-day training program for business analysts who want to upskill in Python. Participant level: beginners in programming, advanced in Excel and SQL. Output format: for each day, indicate the main theme, learning objectives (max 3), hour-by-hour schedule, practical exercises, and expected deliverables. Constraints: logical progression, 70% practice, use realistic business datasets.
Automating data analysis
You are a senior data analyst. I will provide you with sales data in CSV format. For each file: 1) Identify columns and their types. 2) Calculate the following KPIs: total revenue, average basket, conversion rate, top 5 products. 3) Detect anomalies (outliers, missing data). 4) Generate a 5-line executive summary. 5) Propose 3 actionable recommendations. Format: markdown table for KPIs, bullet points for recommendations. Tone: concise and decision-oriented.
Practical usage
To create an effective mega prompt, start by clearly defining the AI's role, the task context, and the desired output format. Structure your instructions into distinct sections with visual separators (dashes, numbers, tags) to facilitate model understanding. Test and refine progressively by adding constraints or examples until you reliably obtain the desired result.
Related concepts
FAQ
What is the difference between a mega prompt and a system prompt?
Is a mega prompt always more effective than a series of short prompts?
How to structure a mega prompt to prevent the model from ignoring certain instructions?
See also
How to use this prompt
- Copy the prompt with the button above.
- Paste it into ChatGPT, Claude or your favorite AI assistant.
- Replace the bracketed variables with your details, then refine the result.
About Prompt Guide
Prompt Guide is a free library of 2500+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.
More definitions
Meta AI: Definition and Examples
Meta AI refers to the artificial intelligence division of Meta (formerly Facebook), responsible for developing language models like LLaMA and for integrating AI features into Meta's ecosystem products.
Meta Learning: Definition and Examples
Meta learning, or "learning to learn," refers to the ability of an AI model or a user to improve learning strategies based on past experience.
Million Token Context: Definition and Examples
Capacity of a language model to process up to a million tokens in a single request, enabling analysis of very large documents, codebases
Mistral AI: Definition and Examples
Mistral AI is a French artificial intelligence company founded in 2023, specializing in the development of large open-source and proprietary language models (LLMs).
Mixtral: Definition and Examples
Mixtral is an open-source language model developed by Mistral AI, based on a Mixture of Experts (MoE) architecture that selectively activates only a portion of its parameters for each token, offering a great performance-to-cost ratio.
Model Card: Definition and Examples
A model card is a standardized document that accompanies an AI model to describe its performance, limitations, potential biases, and conditions of use
Get new prompts every week
Join our newsletter.