Reverse-engineer any AI output with this forensic prompt

Paste your best piece of AI-generated content into this prompt. Then watch it tell you exactly what instructions produced it.

Tone, pacing, structure, emotional intent — all mapped out. Then synthesized into a reusable master prompt you can run on anything, anytime.

The original poster shared this technique claiming it’s used internally by prompt engineers at top AI labs. Whether or not that’s true, the prompt itself is genuinely useful — and this Redditor is giving it away for free.

🔬 The Reverse Engineering Mega-Prompt

Copy the entire block below and paste it into ChatGPT, Claude, or Gemini:

<System>
You are an Expert Prompt Engineer and Linguistic Forensic Analyst. Your specialty is "Reverse Prompting" -- the art of deconstructing a finished piece of content to uncover the precise instructions, constraints, and contextual nuances required to generate it from scratch. You operate with a deep understanding of natural language processing, cognitive psychology, and structural heuristics.
</System>

<Context>
The user has provided a "Gold Standard" example of content, a specific problem, or a successful use case. They need an AI prompt that can replicate this exact quality, style, and depth. You are in a high-stakes environment where precision in tone, pacing, and formatting is non-negotiable for professional-grade automation.
</Context>

<Instructions>
1. Initial Forensic Audit: Scan the user-provided text/case. Identify the primary intent and the secondary emotional drivers.
2. Dimension Analysis: Deconstruct the input across these specific pillars:
   - Tone & Voice: (e.g., Authoritative yet empathetic, satirical, clinical)
   - Pacing & Rhythm: (e.g., Short punchy sentences, flowing narrative, rhythmic complexity)
   - Structure & Layout: (e.g., Inverted pyramid, modular blocks, nested lists)
   - Depth & Information Density: (e.g., High-level overview vs. granular technical detail)
   - Formatting Nuances: (e.g., Markdown usage, specific capitalization patterns, punctuation quirks)
   - Emotional Intention: What should the reader feel? (e.g., Urgency, trust, curiosity)
3. Synthesis: Translate these observations into a "Master Prompt" using the structured format: <System>, <Context>, <Instructions>, <Constraints>, <Output Format>.
4. Validation: Review the generated prompt against the original example to ensure no stylistic nuance was lost.
</Instructions>

<Constraints>
- Avoid generic descriptors like "professional" or "creative"; use hyper-specific language (e.g., "Wall Street Journal editorial style" or "minimalist Zen-like prose").
- The generated prompt must be executable as a standalone instruction set.
- Maintain the original's density; do not over-simplify or over-complicate.
</Constraints>

<Output Format>
### Part 1: Linguistic Analysis
[Detailed breakdown of the identified Tone, Pacing, Structure, and Intent]

### Part 2: The Generated Master Prompt
[Insert the fully engineered prompt here]

### Part 3: Execution Advice
[Advice on which LLM models work best for this prompt and suggested temperature/top-p settings]
</Output Format>

<Reasoning>
Apply Theory of Mind to analyze the logic behind the original author's choices. Use Strategic Chain-of-Thought to map the path from the original text's "effect" back to the "cause" (the instructions). Ensure the generated prompt accounts for edge cases where the AI might deviate from the desired style.
</Reasoning>

<User Input>
Please paste the "Gold Standard" text, the specific issue, or the use case you want to reverse-engineer. Provide any additional context about the target audience or the specific platform where this content will be used.
</User Input>

📋 How to Run It (Step by Step)

  1. Find a piece of content you want to replicate — a top-performing blog post, a competitor’s email, ad copy that converts, a LinkedIn post that blew up.
  2. Open ChatGPT, Claude, or Gemini and paste the entire prompt above.
  3. When the AI reaches the User Input section, paste in the content you want to reverse-engineer, plus any context about your target audience or platform.
  4. Read Part 1 (Linguistic Analysis) carefully before skipping to Part 2.
  5. Take the Master Prompt from Part 2 and use it to generate similar content on demand.

💡 What the Three Parts Actually Give You

Part 1 breaks your content down across six dimensions: tone and voice, pacing and rhythm, structure and layout, information density, formatting nuances, and emotional intention.

Part 2 translates all of that into a reusable prompt with proper system instructions, constraints, and output format.

Part 3 is the least useful of the three — the model recommendations are generic. Ignore the temperature advice and just run Part 2 at defaults. It works.

The real value most people miss: Part 1 teaches you to see content differently. Once you know what dimensions to look for, you stop copying outputs and start understanding patterns.

⚡ Extra Tips

  • Run it on your own best work. Paste in something you created that performed well. Let the AI surface what you did right — then turn it into a repeatable system.
  • Compare a winner against a loser. Run the prompt on content that worked and content that flopped. The gap between the two analyses tells you exactly what was missing.
  • Use the output as a style guide. The Linguistic Analysis section makes an excellent briefing doc for anyone on your team generating content in a consistent voice.
  • ⚠️ One limitation: The prompt works best on text-heavy content. Highly visual or interactive formats won’t give the AI enough to analyze.

🎯 Try It Right Now

Pull up any output you’ve been trying to recreate — something you saw that worked, something from your own archive that you can’t quite replicate. Paste it in and run the forensic audit.

Once you see what surfaces in Part 1, you’ll run it on everything!

Frequently Asked Questions

Q: Is this ‘reverse engineering’ or ‘prompt optimization’?

Great question, commenters noticed the terminology distinction too. This technique is technically reverse prompting: you give it a finished piece of content and it deconstructs what prompt would have generated that quality. It’s not recovering the original prompt (that would be impossible), but building a better one by analyzing tone, structure, and intent. Think of it as “reverse-engineering the recipe from the finished dish.”

Q: What should I actually feed into this prompt?

Provide a real example of content you want to replicate, a blog post, email, product description, anything. The prompt audits it across 6 dimensions (tone, pacing, structure, depth, formatting, emotional intent) and generates a new prompt tailored to match that quality. It’s most useful when you have a “gold standard” but need to scale it consistently.

Q: Can I use this to recover the original prompt someone else used?

Not exactly. This generates a functionally equivalent prompt, one that would produce similar output quality, but it won’t magically reveal someone’s exact instructions. It’s for building better prompts, not reverse-engineering proprietary ones.

Try this reverse engineering mega-prompt often used by prompt engineers internally
by u/EQ4C in ChatGPTPromptGenius

Scroll to Top