/gbrain:ask-userfrom gbrain
Presents users with 2-4 explicit choices and gates execution until they respond. Used for ambiguous requests, destructive operations, and routing decisions.
Ships in gbrain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 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
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" }
]
}
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"
]
)
After presenting choices, you MUST stop your turn. Do not:
Instead:
When the user responds:
Users sometimes type instead of clicking. Handle gracefully:
Signal the decision type:
1-3 lines maximum. The user should understand the decision in under 5 seconds.
Format: Action verb — brief qualifier
📋 **Phase 2: Google Contacts**
I can import your Google Contacts to seed the people/ directory.
This creates a brain page for each real contact (~200 pages).
1. **Import with gbrain's Google connector** — live sync; tokens stay in gbrain's vault
2. **Import from Google Takeout export** — offline, from file
3. **Skip** — move to the next phase
🔀 **Where should this go?**
Meeting notes from call with Jane Smith. She already has a page at
people/jane-smith.md and there's a deal page at deals/acme-corp.md.
1. **Merge into Jane's page** — add to her timeline
2. **Add to Acme deal page** — this was primarily a deal discussion
3. **New meeting page** — standalone at meetings/2026-01-15-jane-acme.md
4. **Skip** — don't file this
⚠️ **About to delete 847 stale cache files (2.3 GB)**
These haven't been accessed in 90+ days. They can be re-fetched
but that takes ~4 hours.
1. **Delete them** — free up space now
2. **Archive first** — upload to cloud storage, then delete
3. **Keep them** — no changes
4. **Show me the list** — let me review before deciding
This pattern is used by:
When building a new skill that needs user input at a decision point, reference this pattern rather than inventing a new one.
Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:
confirmation_required) or its fix.next is ask_user: this skill is the gate. Relay the [SHOW USER] block or user_message verbatim as the choice, then stop until the user answers.--yes or --max-usd on their behalf to move on.The skill's "output" is the choice-gate message itself, structured as:
{emoji-prefix} **{question}**
{1-3 lines of context}
1. **{Option A label}** — {short qualifier}
2. **{Option B label}** — {short qualifier}
3. **{Skip / Cancel}** — {what skipping means}
After emitting this, the skill stops the turn. No further tool calls, no preemptive action, no follow-up message until the user responds. The user's response triggers the next turn, where the calling skill branches on the chosen option.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
choice-gate, user-input, decision-point, confirmation-pattern
npx claudepluginhub weiping/gbrain-cn --plugin gbrain148 skills in this plugin
/academic-verifyVerify a research claim or academic citation by tracing it through publication → methodology → raw data → independent replication. Routes through perplexity-research for the actual web lookup, then formats results as a citation-checked brain page. Use when a book/article/conversation cites a study and you want to confirm the claim is real, replicated, and accurately characterized./archive-crawlerUniversal archivist for personal file archives (Dropbox/B2/Gmail-takeout/local-mount/hard-drive-dump). Filters for high-value content (the user's own writing, ideas, relationships) and surfaces it interactively. REFUSES TO RUN without an explicit gbrain.yml `archive-crawler.scan_paths:` allow-list./article-enrichment2 plugins ship this exact skill · first indexed Nov 24, 2026
Other plugins' skills for the same job