Claude Prompt Optimizer
Anthropic's documentation recommends XML tags to separate parts of a prompt. This tool formats your request into role, task, context, instructions and output sections.
Results
Fill in the form and press Generate to see results here.
How to use the Claude Prompt Optimizer
- Enter the your rough prompt.
- Enter the audience.
- Choose the output format.
- Press Generate and review the results.
- Copy the option you like and edit it to match your voice.
Tip: Put long documents inside their own tag, e.g. <document>…</document>.
Examples
Input: summarise a research paper
<role>You are a careful, expert assistant.</role> <task>summarise a research paper</task>…
Frequently asked questions
Why XML tags for Claude?
Tags help Claude distinguish instructions from content and follow structure reliably.
Is Taskify affiliated with Anthropic?
No. Taskify is an independent tool.
Can I edit the tags?
Yes — tag names are flexible; clarity is what matters.
Related tools
Try another tool: Thumbnail Prompt Generator or browse more AI Prompts tools.