Zum Inhalt springen
Skillpedia
Agenten31k · #9287

ask-user

Was er macht

Dieser Skill hält deinen Agenten an, bevor eine Entscheidung mit echten Folgen fällt, und lässt dich wählen. Er bietet zwei bis vier klare Optionen an, dazu einen Weg zum Abbrechen.

Wann du ihn nutzt

  • ✓Wenn eine Anfrage mehrere gültige Bedeutungen hat und ein falsches Raten Zeit kosten würde.
  • ✓Wenn eine Aktion Daten löschen oder überschreiben würde und zuerst deine Freigabe braucht.
  • ✓Wenn eine Ablage- oder Prioritätsentscheidung deine Eingabe braucht, bevor der Agent weitermacht.

Link zum Skill

https://github.com/garrytan/gbrain/blob/master/plugin/skills/ask-user/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/garrytan/gbrain/blob/master/plugin/skills/ask-user/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Bevor du diese alten Entwürfe löschst, gib mir ein paar Auswahlmöglichkeiten und warte auf meine Antwort.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent listet zwei bis vier beschriftete Optionen auf, dazu eine Überspringen- oder Abbrechen-Option. Dann hält er an und wartet auf deine Antwort, bevor er etwas anderes tut, und handelt nach deiner Wahl.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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"
Häufige Fragen

Warum hält der Agent nach der Frage an?

Er wartet, damit er nicht rät oder mit einem Standardwert weitermacht, der falsch sein könnte.

Wie viele Auswahlmöglichkeiten sehe ich?

Nie mehr als vier, damit die Entscheidung einfach bleibt.

Kann er mehrere Fragen auf einmal stellen?

Nein. Er stellt jeweils eine Frage, damit alles klar bleibt.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
31k
Platz im Ranking
#9287
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills