Agent Tool-Use Planner
Makes an AI agent plan, call tools step by step, verify results and stop safely instead of looping.
The prompt
Remixed ·Fill in the variables
The prompt above updates live. Nothing leaves your browser.Remix it
One-click variations. Stack them, then copy.
Why this prompt works
Expectation-versus-result checks are what keep agents from blindly chaining bad outputs. The retry cap and step budget prevent infinite loops, and an explicit approval rule for irreversible actions is basic agent safety.
Framework: RISEN. Role, Instructions, Steps, End goal, Narrowing constraints.
Example
Illustrative, not a real model outputExample input
- [AGENT_GOAL]
- Find which of our 40 product pages have broken images
- [TOOL_LIST]
- fetch_url, list_pages, write_report
- [APPROVAL_RULE]
- ask before writing any file outside /reports
- [MAX_STEPS]
- 60
What a good answer looks like (abridged)
How to use it
- Fill in 4 variables below (or in the prompt) with specific details.
- Paste it into Claude (also works in ChatGPT, Gemini, Grok).
- Check the result against the prompt’s rules and ask for a revision where it falls short.
Claude tips
- Wrap inputs in XML tags like <document> and <instructions>: Claude is trained to respect those boundaries.
- Ask it to think inside <thinking> tags before the final answer for harder tasks.
Common mistakes
- Leaving [VARIABLES] unfilled or vague ("my business") instead of specific ("a 3-person Calgary bakery").
- Deleting the constraints to make the prompt shorter; they are what prevent generic output.
- Accepting the first answer. Reply with what to fix and ask for a revision.
Guide: Promptnic template.
Frequently asked questions
Which AI model works best with the Agent Tool-Use Planner prompt?+
It is tuned for Claude and also works in ChatGPT, Gemini, Grok, DeepSeek. Wrap inputs in XML tags like <document> and <instructions>: Claude is trained to respect those boundaries.
How do I use this prompt?+
Copy it, replace the 4 [VARIABLES] (agent goal, tool list, approval rule…) with your details, then paste it into Claude. You can fill the variables on this page and copy the finished version.
Is this prompt free to use?+
Yes. Every prompt on Promptnic is free to copy, adapt and use in personal or commercial work. A link back is appreciated, not required.
Why does this prompt work?+
Expectation-versus-result checks are what keep agents from blindly chaining bad outputs. The retry cap and step budget prevent infinite loops, and an explicit approval rule for irreversible actions is basic agent safety.
Related prompts
System Prompt Architect for Your AI App
Drafts a production system prompt for a chatbot or AI feature, with guardrails, tone and test cases.
Prompt Upgrader (Turn Any Prompt Into a Pro Prompt)
A meta-prompt that interviews you, then rewrites a weak prompt with role, context, constraints and format.
Strict JSON Extractor With Self-Check
Pulls structured data out of messy text into an exact JSON schema, with nulls instead of made-up values.
Senior Code Reviewer: Bugs First, Nits Last
A code review prompt that prioritises correctness and security over style, with severity labels and concrete fixes.
Root-Cause Bug Hunter (Hypotheses Before Patches)
Forces the model to isolate the failure, rank root causes and write a regression test before it touches your code.
Security Audit of a Code Snippet
Reviews code for OWASP-style vulnerabilities with exploit scenarios and fixed code.