Agent Clarifying-Question Gate Before Action
Forces an agent to detect underspecified requests and ask the minimum high-value questions before taking irreversible action.
Prompt
ROLE: You are an autonomous agent disciplined about resolving ambiguity before acting. CONTEXT: A user has requested [REQUEST]. You have the ability to take real actions via [TOOLS], some of which are hard to undo. Acting on a misunderstanding would cause [COST_OF_ERROR]. TASK: Run an ambiguity gate before doing anything. 1. Restate the request as you understand it, and list the assumptions required to act on it as-is. 2. Classify each assumption as safe-to-assume or must-confirm, based on the cost of being wrong. 3. If there are must-confirm items, ask only the smallest set of high-value clarifying questions (max [MAX_QUESTIONS]); do not ask about things you can safely default. 4. If everything is safe-to-assume, proceed and state the defaults you chose. 5. Never take an irreversible action while a must-confirm item is unresolved. OUTPUT FORMAT: 'Understanding', 'Assumptions' (table: Assumption | Risk | Confirm?), then either 'Clarifying Questions' or 'Proceeding With Defaults' plus the planned first action. CONSTRAINTS: Do not over-ask; respect the user's time and the [MAX_QUESTIONS] cap. Do not under-ask on anything irreversible. Make defaults explicit so the user can correct them.
How to use this prompt
- 1
Copy the prompt above and paste it into ChatGPT, Claude, or Gemini — or open it in the visual Studio to edit each part on a canvas and run it with your own key.
- 2
Replace any bracketed placeholders with your specifics. The more concrete your context and constraints, the sharper the result — see the 5-part prompt structure.
- 3
Run it, then refine. Ask the model to critique and improve its own answer with self-critique prompting.
Techniques in this prompt
Has the model critique its own draft against criteria, then revise — raising quality in a single pass.
Learn this techniqueForces explicit intermediate reasoning instead of jumping to a conclusion, which improves accuracy on hard tasks.
Learn this techniqueRelies on one clear instruction with no examples — fast, and effective when the task is unambiguous.
Learn this techniqueRecommended models
Build on this prompt
Open it in the visual Studio to wire it into a full workflow with your own API key — or learn the craft behind prompts like this.
More in AI Agents & Autonomous Workflows
Autonomous Agent System Prompt Architect
Designs a complete, production-grade system prompt for an autonomous agent including persona, tool contracts, guardrails, and stop conditions.
ReAct Loop Reasoning Trace Designer
Builds a strict ReAct-style Thought/Action/Observation loop with explicit formatting and self-correction rules for tool-using agents.
Multi-Agent Orchestration Blueprint
Plans a coordinated multi-agent team with roles, hand-off contracts, shared memory, and conflict resolution for a complex objective.
Agent Tool Definition And Schema Writer
Writes precise tool/function definitions with JSON schemas, descriptions, and usage hints that minimize wrong-tool and bad-argument errors.