IntermediateAgent DesignFree prompt

Write a Robust System Prompt for a Customer-Facing Agent

Generate a production-grade system prompt with role, tone, tool-use rules, refusal policy, and escalation path for an agent that talks to real users.

Get a system prompt that holds up under adversarial users, ambiguous requests, and edge cases instead of one that only works in the happy path.

system promptcustomer supporttonerefusal policyescalation

At a glance

Access

Free prompt

Open to copy — no account or payment needed.

Prompt objective

Get a system prompt that holds up under adversarial users, ambiguous requests, and edge cases instead of one that only works in the happy path.

Real use case

A SaaS support team is moving from canned macros to a Claude- or GPT-powered assistant and needs a system prompt that stays on-brand, never invents policy, and escalates billing disputes to a human.

Customize these fields first

PRODUCT NAME AND ONE-LINE DESCRIPTIONE.G. WARM, DIRECT, NO HYPEALLOWED ACTIONSPROHIBITED ACTIONSTOOLSWHEN AND HOW TO HAND OFF TO A HUMAN

Replace the placeholders with your own context before you run the prompt. That usually improves the first output more than adding more instructions later.

Prompt

Act as an AI agent prompt engineer. Write a complete production system prompt for a customer-facing agent.

Product: [PRODUCT NAME AND ONE-LINE DESCRIPTION]
Brand voice: [E.G. WARM, DIRECT, NO HYPE]
What it CAN do: [ALLOWED ACTIONS]
What it must NEVER do: [PROHIBITED ACTIONS]
Tools it can call: [TOOLS]
Escalation path: [WHEN AND HOW TO HAND OFF TO A HUMAN]

The system prompt you write must include, clearly labeled:
- Role and primary objective
- Tone and formatting rules (length, when to use lists, when to ask a clarifying question)
- Tool-use policy: when to call each tool, and the rule "never claim you did something you did not actually do via a tool"
- Grounding rule: only state policy/pricing/facts that come from a tool or provided context; otherwise say you will check
- Refusal and safety policy with example phrasings
- Escalation triggers and the exact handoff message
- 3 few-shot examples (user message → ideal agent response) covering one happy path, one ambiguous request, one out-of-scope request

Output only the final system prompt, ready to paste.

Open directly in an AI — the text is pre-filled:

How to use this prompt

  1. 1Replace the key placeholders first: PRODUCT NAME AND ONE-LINE DESCRIPTION, E.G. WARM, DIRECT, NO HYPE, ALLOWED ACTIONS, PROHIBITED ACTIONS.
  2. 2Replace any bracketed placeholders like [this] with your own context.
  3. 3Add extra background information when you want more tailored results.
  4. 4Combine multiple prompts in one conversation when you need a richer output.
  5. 5Save your best-performing prompts so they are easy to reuse later.

Next best step

Open the guide first, then branch only if you still need more.

A guide for technical builders choosing between prompts, coding workflows, and agent-based implementation.

If this prompt is close but not quite right, generate variants next. If the job is recurring, move into the course library after the guide.

Related prompts

View all

Define an AI agent’s boundaries before giving it tools

An agent contract and boundary-test matrix. Start with your own evidence and finish with a reviewable next step.

IntermediateFree prompt

Best for

Produce an agent contract and boundary-test matrix from the supplied inputs.

ai-agentspractical workflowevidence-led
Copy-ready promptOpen prompt

Plan human review for an agent’s proposed changes

A human-review workflow and approval packet template. Start with your own evidence and finish with a reviewable next step.

IntermediateFree prompt

Best for

Produce a human-review workflow and approval packet template from the supplied inputs.

ai-agentspractical workflowevidence-led
Copy-ready promptOpen prompt

Design a Single-Purpose Agent Spec from a Messy Workflow

Turn a vague "the AI should just handle this" request into a tight agent specification with scope, tools, stop conditions, and success criteria.

IntermediateFree prompt

Best for

Produce a build-ready agent spec so an engineer can implement it in Claude Code, the OpenAI Agents SDK, or a framework like LangGraph without guessing.

agent designspecscoping
Copy-ready promptOpen prompt

Decompose a Goal into a ReAct Reasoning-and-Tool Loop

Plan how an agent should alternate between reasoning and tool calls to reach a goal, with explicit halting logic to avoid infinite loops.

AdvancedFree prompt

Best for

Design the think→act→observe loop for a task so the agent makes progress every step and knows exactly when it is done.

ReActreasoning loopplanning
Copy-ready promptOpen prompt

Explore other prompt categories

Move sideways into adjacent libraries when the current category is not the full answer.

Every prompt here is free. The course teaches the thinking behind them.

Copy as many prompts as you like. When you want to move from single prompts to a repeatable AI workflow, Learn AI in 30 Days walks through it, one day at a time.

Get the courseSee the 30-day curriculum first

Buy the course once ($20), or choose $10/month or $100 lifetime access.

Help & support