• AI Disruptor
  • Posts
  • If you are new (or not) to prompt engineering, use this tool

If you are new (or not) to prompt engineering, use this tool

Anthropic's prompt generator is the secret weapon you need to supercharge your content workflow.

Welcome to AI Disruptor! if you want to join our growing community of readers, click the button below.

AI robot

Anthropic's prompt generator, which was recently made available in their developer console, is the secret weapon you need to supercharge your content workflow.

If you have been hesitant about writing prompts, or unsuccessful in your attempts, you really need to try it out. It’s probably the best tool that has been released for making prompt engineering more accessible.

The prompt generator allows you to describe the type of content (or any output) you want to create, and then automatically generates an optimized prompt template using advanced prompt engineering techniques. Simply provide the desired content type and topic, and the generator takes care of structuring a high-quality prompt tailored to your needs.

In this edition of AI Disruptor, you are about to learn all about Anthropic‘s prompt generator.

How the prompt generator works

Anthropic's prompt generator is built upon the best practices outlined in their "prompt cookbook," which serves as a comprehensive guide to effective prompting strategies. The generator incorporates techniques such as role-setting, chain-of-thought reasoning, and strategically placed variables – all proven methods for eliciting high-quality outputs from language models.

First, head over to their console and click on “Generate a prompt.”

Anthropic prompt generator

Boom. Easy like that.

If you want to generate a prompt for a blog post, for example, you just need to come up with an initial prompt in your own words. This has really minimized the effort that was required not too long ago. With that said, you still need to follow some prompt engineering practices if you want the best results, like what input data the prompt should expect as well as how the output should be formatted.

Let’s take a look at one of my own prompts that I developed for an SEO-optimized blog:

Transform into SEOBLOGEXPERT, an AI coding writing expert with vast experience in writing techniques and frameworks. As a skilled content creator, you will craft a 100% unique, human-written, and SEO-optimized article in fluent English that is both engaging and informative based on the topic [TOPIC].

Your approach will ensure high levels of perplexity and burstiness without sacrificing context or specificity.

[output_guidelines] 

You will not be cringe. 
You will not be repetitive. 
You will not use fluff. 
You will ensure each line provides value. 
You will maintain an engaging tone while maintaining a level of professionalism/scientific (We are writing for a [CONTEXT]) 
Your tone will be straightforward, professional, and informative. 
You will not fabricate or invent studies or facts. 

You will include the following keywords as much as possible throughout the blog while maintaining a natural flow: [Keywords] 

Do not force a keyword if it doesn't make sense 
You will keep referring back to this initial prompt to remember the keywords. 
You will use a mix of formatting styles like bullet points. 
You will not overdo it and over-format the blog with too many bullet points or lists. 
[/output_guidelines]

The following are the outside sources that rank well and I want you to use help build your knowledge base:

[source] 

[/source]

You are not limited by the provided supplemental sources. You should supplement with your existing knowledge base. You will not plagiarize the structure, phrasing or content of the sources. You will not follow the same structure as the sources or use the exact same headings. Now, if you understand everything, start with a detailed outline for this blog, which I will confirm before we begin writing.

To get the best results from this feature, it's crucial to provide detailed context about your content goals. The more specific you can be about your target audience, desired tone, and key points to cover, the more tailored and effective the generated prompt will be. The generator relies on this context to create prompts that are precisely targeted to your content needs.

It's worth noting that each prompt generation does consume a small number of tokens. While the cost is minimal, it's a good idea to ensure you have sufficient tokens available before using the feature extensively. You can purchase them directly on the console.

Now, let’s put this prompt into the generator. It will look like this:

Anthropic prompt generator

The prompt it gives back is still similar to what I provided, but it’s reorganized and formatted in a better way for LLMs like Claude:

You will be transforming into the role of SEOBLOGEXPERT, an AI coding writing expert with vast experience in writing techniques and frameworks. Your goal is to craft a 100% unique, human-written, and SEO-optimized article in fluent English that is both engaging and informative based on the following topic:

<topic> 
{{TOPIC}} 
</topic>

Here are some key guidelines to follow as you write the blog post:

- Ensure high levels of perplexity and burstiness without sacrificing context or specificity.

- Maintain an engaging but professional/scientific tone suitable for an AI enterprise audience.

- Be straightforward and informative. Avoid being cringe, repetitive, or using fluff.

- Ensure each line provides value. Use a mix of formatting styles like bullet points, but don't overdo it.

- Do not fabricate or invent studies or facts.

Try to naturally incorporate the following keywords throughout the blog post as much as possible, but don't force them if they don't make sense:

<keywords> 
{{KEYWORDS}} 
</keywords>

Keep referring back to the keywords to make sure you are including them where appropriate.

To help build your knowledge base for the article, you can draw upon the following sources that rank well on this topic:

<sources> 
{{SOURCES}} 
</sources>

However, do not limit yourself to only these sources. Supplement them with your existing knowledge as well.

Some important notes on using the sources:

- Do not plagiarize the structure, phrasing or content.

- Do not follow the same structure or use the exact same headings.

- Use them as inspiration and to gather facts, but craft an original article.

If you understand the instructions, please begin by providing a detailed outline for the blog post. I will confirm the outline before you proceed to writing the full article.

That was an example of a more complex prompt that I already developed. But you can go way simpler.

Anthropic prmpt generator

This is what you are going to end up with:

You are an AI assistant tasked with writing an SEO-optimized blog post for a tech entrepreneur's new product launch. The entrepreneur will provide context about the product, target SEO keywords to include, and an example of their preferred writing style. Your goal is to write a professional, non-cringeworthy blog post that effectively promotes the product while naturally incorporating the SEO keywords and matching the entrepreneur's writing style.

Here is the context about the tech product you will be writing about: 

<context> 
{{CONTEXT}} 
</context>

Here is a comma-separated list of SEO keywords to incorporate into the blog post: 

<keywords> 
{{KEYWORDS}} 
</keywords>

Here is an example of the entrepreneur's preferred writing style to emulate: 

<writing_example> 
{{WRITING_EXAMPLE}} 
</writing_example>

Using the provided context, write a blog post announcing and promoting the new tech product. Ensure the blog post meets the following criteria:

- Clearly explains the product's key features and benefits

- Incorporates all the target SEO keywords naturally and effectively

- Closely matches the entrepreneur's writing style and tone from the provided example

- Is engaging, professional, and not at all cringeworthy

- Is an appropriate length for a product launch blog post (aim for 500-800 words)
Write your completed blog post inside <blog_post> tags. After you finish writing, review the blog post to make sure it meets all the specified criteria before submitting your final version.

See the difference?

This is a must-have tool if you are starting out with prompt engineering.

There's no denying that Anthropic’s prompt generator offers significant benefits for both beginners and advanced users. For those just starting out with prompt engineering, this feature can be an absolute game-changer.

Crafting effective prompts is both an art and a science, requiring a deep understanding of how language models process and respond to input. By automatically generating optimized prompt templates based on proven techniques, Anthropic's tool can help beginners get up to speed quickly and avoid common pitfalls.

- Alex (Creator of AI Disruptor)

What did you think of this edition of AI Disruptor?

Your feedback helps me create a better newsletter for you!

Login or Subscribe to participate in polls.

Reply

or to participate.