Skip to content
Skillpedia
Agents31k Β· #9287

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.md

Copy 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

Use this skill to help me: https://github.com/garrytan/gbrain/blob/master/plugin/skills/ask-user/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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:

  1. Present the choices (buttons or numbered options)
  2. Explicitly stop the current turn (do not proceed)
  3. The user's response triggers the next turn
  4. 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:

  1. Read the response β€” button click, number, or text
  2. Acknowledge briefly β€” "Got it, going with Option A."
  3. Branch and execute the chosen path
  4. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills