ask-user-question
यह क्या करती है
यह AI एजेंट को सिखाती है कि वह ऐप के डायलॉग के ज़रिए आपसे सवाल पूछे, क्योंकि आप उसका टर्मिनल आउटपुट नहीं देख सकते। यह उन लोगों के लिए है जो चाहते हैं कि एजेंट कुछ करने से पहले उनसे पुष्टि करे।
कब इस्तेमाल करें
- ✓जब कोई काम अस्पष्ट हो और शुरू करने से पहले एजेंट को आपसे स्पष्टीकरण चाहिए।
- ✓जब एजेंट को कुछ विकल्पों में से एक चुनना हो और उसे आपका चुनाव चाहिए।
- ✓जब कोई कार्रवाई विनाशकारी या संवेदनशील हो और पहले आपकी मंज़ूरी चाहिए।
Skill का लिंक
https://github.com/MemTensor/MemOS/blob/main/apps/openwork-memos-integration/apps/desktop/skills/ask-user-question/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी फ़ाइलें दोबारा व्यवस्थित करने से पहले मुझसे पूछिए कि मैं उन्हें किस तरह समूहित करना चाहता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट एक छोटे लेबल और कुछ विकल्पों के साथ सवाल भेजता है, और ऐप में एक डायलॉग दिखता है। आपका जवाब एजेंट के पास लौटता है, जो फिर काम जारी रखता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Ask User Question
Use this MCP tool to ask users questions and get their responses. This is the ONLY way to communicate with the user - they cannot see CLI/terminal output.
Critical Rule
The user CANNOT see your text output or CLI prompts!
If you write "Let me ask you..." and then just output text - THE USER WILL NOT SEE IT. You MUST call this tool to display a modal in the UI.
When to Use
- Clarifying questions before starting ambiguous tasks
- Asking user preferences (e.g., "How would you like files organized?")
- Confirming actions before executing (especially destructive/irreversible ones)
- Getting approval for sensitive actions (financial, messaging, deletion, etc.)
- Any situation where you need user input to proceed
Parameters
{
"questions": [{
"question": "Your question to the user",
"header": "Short label (max 12 chars)",
"options": [
{ "label": "Option 1", "description": "What this does" },
{ "label": "Option 2", "description": "What this does" }
],
"multiSelect": false
}]
}
question(required): The question text to displayheader(optional): Short category label, shown as modal title (max 12 chars)options(optional): Array of selectable choices (2-4 recommended)multiSelect(optional): Allow selecting multiple options (default: false)
Custom text input: To allow users to type their own response, include an option with label "Other" (case-insensitive). When selected, the UI shows a text input field.
{ "label": "Other", "description": "Type your own response" }
Important: When "Other" is selected, the response will be User responded: [their text] instead of User selected: Other. You must wait for and handle this text response - do NOT proceed as if they selected a predefined option.
Examples
Asking about organization preferences
AskUserQuestion({
"questions": [{
"question": "How would you like to organize your Downloads folder?",
"header": "Organize",
"options": [
{ "label": "By file type", "description": "Group into Documents, Images, Videos, etc." },
{ "label": "By date", "description": "Group by month/year" },
{ "label": "By project", "description": "You'll help me name project folders" }
]
}]
})
Confirming a destructive action
AskUserQuestion({
"questions": [{
"question": "Delete these 15 duplicate files?",
"header": "Confirm",
"options": [
{ "label": "Delete all", "description": "Remove all 15 duplicates" },
{ "label": "Review first", "description": "Show me the list before deleting" },
{ "label": "Cancel", "description": "Don't delete anything" }
]
}]
})
Simple yes/no confirmation
AskUserQuestion({
"questions": [{
"question": "Should I proceed with sending this email?",
"header": "Send email",
"options": [
{ "label": "Send", "description": "Send the email now" },
{ "label": "Cancel", "description": "Don't send" }
]
}]
})
Response Format
The tool returns the user's selection:
User selected: By file type- Single selectionUser selected: Option A, Option B- Multiple selections (if multiSelect: true)User responded: [custom text]- If user typed a custom responseUser declined to answer the question.- If user dismissed the modal
Wrong vs Correct
WRONG (user won't see this):
I'll help organize your files. How would you like them organized?
- By type
- By date
- By project
CORRECT (user will see a modal):
AskUserQuestion({
"questions": [{
"question": "How would you like your files organized?",
"options": [
{ "label": "By type" },
{ "label": "By date" },
{ "label": "By project" }
]
}]
})
अक्सर पूछे जाने वाले सवाल
सवाल चैट में ही क्यों न लिखे जाएँ?
स्किल कहती है कि आप एजेंट का टेक्स्ट आउटपुट या टर्मिनल प्रॉम्प्ट नहीं देखते, इसलिए आप तक पहुँचने का रास्ता डायलॉग है।
क्या मैं अपना जवाब खुद लिख सकता हूँ?
हाँ। स्किल में कस्टम टेक्स्ट इनपुट का विकल्प शामिल है।
एक सवाल में कितने विकल्प होने चाहिए?
स्किल हर सवाल के लिए दो से चार विकल्प सुझाती है।
जानकारी
लेखक का मूल विवरण
Ask users questions via the UI. Use when you need clarification, user preferences, or confirmation before proceeding. The user CANNOT see CLI output - this tool is the ONLY way to communicate with them.
repo: MemTensor/MemOS
लोकप्रियता
- GitHub स्टार
- 12k
- रैंकिंग में स्थान
- #11401
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
memos-local
12kआपके एजेंट को MemOS इंस्टॉल और सेट करने में मदद करती है, जो OpenClaw के लिए एक लोकल मेमोरी प्लगइन है, ताकि वह आपके अपने डिवाइस पर पिछली बातचीत याद रखे।
browserwing-admin
12kआपके एजेंट को BrowserWing इंस्टॉल और चलाने में मदद करती है, जो ब्राउज़र ऑटोमेशन टूल है, जिसमें ऑटोमेशन स्क्रिप्ट बनाना, चलाना और ठीक करना शामिल है।
browserwing-executor
12kआपके एजेंट को HTTP API से ब्राउज़र चलाने देती है, ताकि वह पेज खोल सके, क्लिक और टाइप कर सके, डेटा निकाल सके, स्क्रीनशॉट ले सके और चरणों के बैच चला सके।
memos-memory-guide
12kजब आप पिछली बातचीत, अपनी पसंद या पुराने फ़ैसलों का ज़िक्र करते हैं, तब आपके एजेंट को पिछली बातचीत और साझा टीम मेमोरी में खोजना सिखाती है।
मिलती-जुलती skills
discord-user-post
394kयह आपके एजेंट को, आपकी मंज़ूरी के बाद, चैनल की पुष्टि करके आपके नाम से Discord डेस्कटॉप ऐप के ज़रिए संदेश भेजने देती है।
configure-channel
394kयह आपके एजेंट को Telegram जैसे चैट ऐप को OpenClaw से जोड़ना, बॉट टोकन सुरक्षित रखना और संदेश आने-जाने की जांच करना सिखाती है।
discord
394kयह आपके एजेंट को OpenClaw के ज़रिए Discord संदेश पढ़ने, भेजने, बदलने और उन पर रिएक्शन देने में मदद करती है, बदलाव से पहले सटीक संदेश जांचकर।