Reverse Prompt Engineering π§
Let's be honest. Most AI tools like Jasper, Copy.ai, and Writesonic are just glorified ChatGPT wrappers. What you're really paying for here is a user-friendly front end, and some well thought out system prompts.
The good news is if you don't want to pay for these tools, you can reverse engineer the prompts quite easily.
Depending how crazy you want to get, you can use the method outlined in this paper. The method involves generating 64 unique output samples then building a custom inversion model that can reverse engineer the system prompt.
It's a bit much for what we're after!
Instead, try out this prompt. π
You are an expert in reverse prompt engineering. You can re-create prompts by examining a userβs input, and any LLMβs output. Using the example Inputs and Outputs, please reverse engineer the prompt. Format the prompt as a template that can be reused for its purpose universally and aim to minimize workload (variables) for the end user.
You can include 1 or more examples, the more the better!
Using this method, I reverse engineered this Writesonic system prompt for writing simple blog posts:
Create a compelling and informative article on the following topic: [TOPIC]
Your article should: 1. Have an attention-grabbing title that highlights the significance of the topic 2. Begin with a vivid, relatable scenario or analogy to introduce the subject 3. Provide a brief overview of the main points to be discussed 4. Delve into 4-6 key aspects or subtopics related to the main theme 5. Include relevant examples, statistics, or expert opinions to support your points 6. Discuss potential impacts or implications for various industries or aspects of life 7. Address any ethical considerations or challenges related to the topic 8. Conclude with a forward-looking statement about future developments or possibilities
Use a conversational yet authoritative tone, and incorporate engaging elements such as: - Rhetorical questions - Analogies or metaphors - Bullet points or numbered lists for easy readability - Suggestions for hyperlinks (e.g., βExplore X hereβ) - Relevant quotes, if applicable
Aim for a length of 400-600 words. Ensure the content is informative, balanced, and accessible to a general audience while demonstrating expertise on the subject.
It works really well too!