Skip to content
New this week26 prompts for Sora, Veo and Runway video workflows.
Explore video prompts→

Search AIPrompt123

Search prompts, categories, platforms and repositories

AI Agents & AutomationAdvancedEditor's pick

Write an agent system prompt with stop conditions

This copy-ready agents prompt helps you write an agent system prompt with stop conditions with fewer blank-page decisions. Paste it into ChatGPT and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

4.7(59 ratings)186 copies
Updated By Author
43 words · v1.2

Fill in the blanks · 1 variable

ChatGPT promptReplace every highlighted token before sending
Write a system prompt for a {role} agent. Include identity, objective, available tools, decision rules, output format, stop conditions, escalation and refusal boundaries. The agent must never take an irreversible action without confirmation. Add five test cases that would reveal a design flaw.

---
Platform note: Work through the task step by step, then give the final answer in the requested format. Ask one clarifying question if a required detail is missing.
Open in ChatGPT

Comments

Share what worked, what broke and which model you used. Comments appear after posting and are moderated for spam.

Saved with an anonymous browser ID. No login needed.

How to use this prompt

  1. 1

    Open ChatGPT and start a new chat. Paste the prompt exactly as written.

  2. 2

    Replace each placeholder ({role}) with your own details. Leave the instructions and the output format untouched.

  3. 3

    Add one concrete example or data point if the model's first answer is vague. Specific input produces specific output.

  4. 4

    Run it once, then ask for a single revision with a specific critique rather than regenerating from scratch.

  5. 5

    Review the result. Tool permissions, spend limits, approval gates, rollback and the eval results before launch.

Worked example

This is the kind of input the prompt expects and the shape of output it produces. Your result will differ with the model and the details you supply.

Example input

Role: senior product manager

Example output

**Agent:** reads the request, checks the allowlist, drafts an action and pauses for approval before any write. **Stop conditions:** missing required fields, ambiguous target, two consecutive tool errors, or any request touching billing or deletion. **Eval cases:** valid update, wrong customer ID, prompt injection in a document, tool timeout, duplicate submission and a request to bypass approval. **Failure found in review:** the agent could retry a payment twice. Fix: idempotency key plus a hard stop before the second attempt.

Tips for a better result

  • Design the stop conditions before the happy path; most incidents live in the loop.
  • Give each tool one job and make errors actionable for the model.
  • Require human confirmation for irreversible actions, no exceptions.
  • Change one variable at a time and compare the outputs; it is the fastest way to learn what this model responds to.

Common mistakes

  • Giving an agent broad write access without approval gates or spend limits.
  • Trusting retrieved documents as instructions rather than data.
  • Shipping without tracing, so a failed run cannot be reconstructed.
Verified Knowledge · FAQ

Questions about this prompt

Practical answers about running the write an agent system prompt with stop conditions prompt.

Related prompts

Same job, a different angle — or the next step in the workflow.

Design a structured extraction pipeline

This copy-ready agents prompt helps you design a structured extraction pipeline with fewer blank-page decisions. Paste it into ChatGPT and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ChatGPTClaudeDeepSeek
4.7(56)158 copies

Design a human-in-the-loop approval step

Design a human-in-the-loop approval step with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ClaudeChatGPT
4.8(33)222 copies

Build an evaluation set for an agent

This copy-ready agents prompt helps you build an evaluation set for an agent with fewer blank-page decisions. Paste it into Claude and ChatGPT, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ClaudeChatGPT
4.8(45)143 copies

Written and reviewed by Author

AIPrompt123 Contributor

Contributing author and prompt engineer at AIPrompt123.

Last reviewed 17 November 2026 · version 1.2 · tested on ChatGPT, Claude, Gemini