Improve a Weak LLM Prompt

Anthropic Cookbook

Submit a prompt

Overview

Rewrite a weak prompt into a clearer, higher-signal prompt.

Use cases

Prompt
Copied 0
Improve my prompt so an LLM will do the job better.

Return:
1) Diagnosed problems in my original prompt
2) Improved prompt (copy-paste ready)
3) Optional variables I should fill
4) A quick eval checklist (how I’ll know the output is good)

MY PROMPT:
<<<paste>>>
TASK GOAL:
<<<what success looks like>>>

Can AI?

Alternatives

  • Critique a prompt for ambiguity and conflictsThis prompt checks a prompt written for an LLM for unclear wording, missing definitions, instructions that clash, and assumptions left unstated. It returns a list of issues, suggested edits to specific lines, and a rewritten version.ai agent framework
  • Grade an AI response against expert workThis prompt rates an AI answer on how well it follows its original instructions, measured against what a top human expert would deliver. It returns a letter grade from A+ to F, five reasons for the grade, a score out of 100, and how the score was reached.ai agent framework