This tool creates perfect Claude 3 prompts (in seconds)

A step-by-step tutorial how to use it

Hey Warrior,

While browsing the Anthropic docs this week (the company behind Claude), I discovered a really awesome tool.

It's a prompt optimizer that creates advanced Claude 3 prompt templates for you.

As you know, writing good prompts is important for getting good responses from AI models. And with a prompt optimizer you can save yourself a lot of time spent on optimizing your prompts.

I’ve tried several prompt optimizers in the past (like Prompt Perfect or Battle Royal), but what stood out with this one is that it actually creates amazing prompt TEMPLATES.

Here's what we'll cover today:

  • How to set up the Claude 3 prompt optimizer

  • Turning a simple prompt into an advanced prompt template

  • Testing the optimized prompt vs. the initial prompt

Let’s jump in!

Read time: 5 minutes

🔧 Tool of the week: Guidde

Guidde is an AI-powered screen recording tool (think Loom on steroids).

You simply record your screen and then AI will automatically turn that recording into a FULL step-by-step tutorial!

I can then share this how to guide with anyone, which makes it really easy and fast to demo a workflow or show a process.

*sponsored content

Setting up the Claude 3 prompt optimizer

Let’s start by opening up this page, where you’ll find the Google Collab notebook of the Claude 3 prompt optimizer.

Ok, now I admit, this might look a bit intimidating at first, especially to non-techies.

Bear with me though, it's not really that hard to understand, and I'll guide you through it.

This notebook essentially lets you run pre-written code directly within it.

First, copy the notebook into your drive and then you'll need to enter your Anthropic API key, which you can get from here.

Go to API Keys and click on “Create Key”. Then copy it over into the Google collab notebook.

(Note that this will cost a few cents to run the prompts with your API key, but you also get $5 credit on signup, so it will only start costing if you use it a lot.)

Now run each step of the notebook by pressing on the play buttons until you reach the cell that says “Task”.

Turning a simple prompt into an optimized prompt template

Now you'll be able to enter your initial prompt, which is the prompt you want to optimize (or not even a prompt, just a task).

In this example we'll use: "Design a marketing strategy for launching a new product".

At this point you can also enter variables.

Variables are basically placeholders within your final prompt. For example, in the case of designing a marketing strategy for your product, variables might be product details and target customers.

You can define the variables yourself here or leave them empty and let the prompt optimizer come up with them for you.

To keep it simple, lets just leave it empty for now.

Now just continue running all of the steps and you’ll end up getting your optimized megaprompt template!

And just like that our initial tiny prompt has been turned into this huge prompt here:

You will be designing a marketing strategy for launching a new product. Here is a description of the


The target market for this product is:


The product's key unique selling points are:


To develop an effective marketing strategy, consider the following:

- The key messages and value proposition to communicate to the target market
- The most effective marketing channels and tactics to reach and engage the target audience
- How to differentiate the product from competitors
- Pricing and promotional strategies
- Ideas for creative marketing campaigns and content

First, brainstorm some initial ideas for the marketing strategy in a <brainstorming> section.
Consider the target market, unique selling points, potential marketing channels and tactics, key
messages, and campaign ideas. Don't worry about fully developing the ideas yet, just get your
initial thoughts down.

After brainstorming, develop your ideas into a cohesive marketing strategy in a <strategy> section.
Your strategy should include:

- Key marketing messages and product positioning
- Priority marketing channels and tactics to utilize (e.g. social media, content marketing,
advertising, events, etc.)
- High-level ideas for marketing campaigns, content, and creative
- Pricing and promotional strategies
- How the strategy ties back to the target market and unique selling points

Provide a clear, logical rationale for your strategic recommendations. The strategy should be
well-tailored to the given product, target market, and unique selling points.

Feel free to make reasonable assumptions as needed for details not provided in the product
description, target market, and selling points. Do not make up any additional product features or
selling points not explicitly stated.

Please begin by brainstorming ideas before providing your final marketing strategy.

This prompt looks amazing.

It has three variables: target market, product description, company strengths. To use this prompt you have to fill these in with information relevant to your product.

Additionally, this prompt has very clearly defined steps of what to do including first brainstorming and then laying out a marketing strategy that includes certain key components.

Now let’s see how this prompt performs in testing…

Testing the optimized prompt

To see how much the optimized prompt is actually better than the initial one, we’ll just run both and compare.

First, here’s the output of the initial prompt:

You see that it’s pretty generic and reads more like a basic checklist of marketing activities you should do, something you might also find in a business textbook.

Now let's take the optimized prompt from above and run it in Claude. I’ll fill in the variables with some info about the AI Growth Kit, which is the product I am about to launch.

And here’s the output of that prompt:

There’s a HUGE difference between this output and the previous one.

The optimized one has a lot of customized and actionable advice.

For example it suggests key messaging options such as: “Stop wasting time starting from scratch. [Product Name]'s proven templates let you launch faster and smarter.” This is pretty spot on!

It also gives me a lot of targeted advice for campaigns I can run, which are relevant to my product.

Wrapping Up

I was really impressed by how well this worked. I’ll definitely be continuing to use this tool to optimize my prompts.

The only downside currently is the UI of this tool. But I’m sure someone is already working on improving that.

Thanks for reading!

If you enjoyed this email, consider forwarding this newsletter to a friend or colleague.

What did you think of today's email?

Your feedback helps me create better emails for you!

Login or Subscribe to participate in polls.

See you in the next one!

P.S. Whenever you’re ready, here are three ways I can help you:

  1. Get your product in front of 20,000+ solopreneurs, business owners and professionals. Sponsor this newsletter here.

  2. You’re a content creator, builder or maker and want to accelerate your product growth? Pre-order my AI Growth Kit here.

Join the conversation

or to participate.