ask-user
What it does
This skill makes your agent stop and ask you to choose before a decision with real consequences. It offers two to four clear options, including a way to cancel.
When to use it
- βWhen a request has several valid meanings and a wrong guess would waste time.
- βWhen an action would delete or overwrite data and needs your approval first.
- βWhen a filing or priority decision needs your input before the agent continues.
Skill link
https://github.com/garrytan/gbrain/blob/master/plugin/skills/ask-user/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βBefore you delete those old drafts, give me a few choices and wait for my answer.β
5 new skills a week. 1 minute to read.
How it works
The agent lists two to four labeled options with a skip or cancel choice. It then stops and waits for your reply before doing anything else, and continues based on what you chose.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Ask User β Choice Gate Pattern
Contract
- Present 2-4 options (no more β decision paralysis kicks in past 4).
- Always include an escape hatch (Skip, Cancel, or "none of these").
- Stop the turn immediately after presenting choices. No follow-up tool calls, no preemptive action, no default-and-proceed.
- The user's response triggers the next turn. Acknowledge briefly, then branch.
- One question per message β never stack multiple choice gates.
- Self-explanatory option labels: action verb plus brief qualifier, not "Option 1".
What This Is
A formalized pattern for presenting users with 2-4 options and stopping execution until they respond. This is the canonical way to gate on user input in any GBrain-powered agent.
This is NOT a traditional async/await. In an LLM agent, "gating" means:
- Present the choices (buttons or numbered options)
- Explicitly stop the current turn (do not proceed)
- The user's response triggers the next turn
- Read the response and branch accordingly
When To Use
- Ambiguous requests with multiple valid interpretations
- Destructive operations (bulk deletes, overwrites)
- Filing/routing decisions ("where should this go?")
- Priority triage ("which should I do first?")
- Cold-start phase gates ("ready for the next import source?")
- Any fork where the wrong default wastes significant work
When NOT To Use
- Clear, unambiguous instructions β just do it
- Low-stakes decisions β pick the best option and mention it
- Time-critical operations where delay costs more than a wrong choice
- When the user has already expressed a preference
How To Present Choices
Platform-agnostic format (works everywhere)
Present choices as a clear question with numbered or labeled options:
π **How should I handle this?**
[context about the decision β 1-3 lines max]
1. **Option A** β short description
2. **Option B** β short description
3. **Option C** β short description
4. **Skip** β do nothing for now
With inline buttons (Telegram, Discord, Slack)
If the platform supports interactive buttons, use them:
{
"message": "π **How should I handle this?**\n\n<context>",
"buttons": [
{ "label": "Option A β description", "value": "option_a" },
{ "label": "Option B β description", "value": "option_b" },
{ "label": "Skip", "value": "skip" }
]
}
With the clarify tool (OpenClaw agents)
Some OpenClaw agents have a built-in clarify tool that presents choices natively:
clarify(
question: "How should I handle this?",
choices: [
"Option A β description",
"Option B β description",
"Option C β description",
"Skip for now"
]
)
Constraints
- 2-4 options max. More than 4 creates decision paralysis.
- Labels must be self-explanatory. The user shouldn't need to re-read context.
- Always include an escape hatch. At minimum: "Skip" or "Cancel" as the last option.
- One question per message. Never stack multiple choice gates.
How To Gate (CRITICAL)
After presenting choices, you MUST stop your turn. Do not:
- β Continue with "while you decide, I'll start on..."
- β Pick a default and proceed
- β Send follow-up messages before the user responds
- β Make assumptions about which option they'll pick
Instead:
- β End your message with a brief note that you're waiting
- β Stop. Full stop. No more tool calls.
How To Handle The Response
When the user responds:
- Read the response β button click, number, or text
- Acknowledge briefly β "Got it, going with Option A."
- Branch and execute the chosen path
- If unclear, ask again
Handling text responses
Users sometimes type instead of clicking. Handle gracefully:
- "the first one" / "A" / "1" β map to first option
- "merge" β fuzzy match against option labels/values
- "actually, none of those" β present alternatives or ask what they want
- Unrelated message β the user moved on; drop the gate
Formatting Guidelines
Question line emoji prefix
Signal the decision type:
- π Routing/filing decisions
- β οΈ Destructive/risky operations
- π― Priority/triage decisions
- π‘ Creative/strategic forks
- π Workflow/process choices
- π Credential/security decisions
Context block
1-3 lines maximum. The user should understand the decision in under 5 seconds.
Button/option labels
Format: Action verb β brief qualifier
- β "Merge β combine with existing page"
- β "Create new β separate meeting page"
- β "Option 1"
FAQ
Why does the agent stop after asking?
It waits so it does not guess or go ahead with a default that might be wrong.
How many choices will I see?
Never more than four, so the decision stays simple.
Can it ask several questions at once?
No. It asks one question at a time to keep things clear.
Details
Original description by the author
Reusable pattern for presenting the user with explicit choices and gating execution until they respond. Used by other skills when a decision point requires human input before proceeding. Platform-agnostic β works on Telegram (inline buttons), Discord, CLI, or any agent with a message tool.
repo: garrytan/gbrain
Popularity
- GitHub stars
- 31k
- Ranking position
- #9287
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
gbrain
31kLets your agent search a shared company knowledge brain for facts about people, projects and decisions, and save durable notes to it.
brain-ingest-gate
31kChecks new content against an existing knowledge brain before it is added, to avoid duplicates and resolve named entities first.
brain-link-discipline
31kMakes sure your agent includes a working link to each brain page it reports, in the same message, so you can open it right away.
brain-ops
31kGives your agent the core routine for a knowledge brain: check existing context first, save explicit notes with their source, and link related pages.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.