ask-user-question
できること
エージェントが、アプリ内のダイアログを通じてあなたに質問するよう教えます。エージェントのターミナルの出力は見えないため、作業の前にあなたに確認させたい人向けです。
使う場面
- ✓作業が不明確で、始める前にエージェントがあなたに明確にしてもらう必要があるとき。
- ✓エージェントが、いくつかの選択肢から選ぶ必要があるとき。
- ✓破壊的または機密の作業で、先に承認が必要なとき。
スキルのリンク
https://github.com/MemTensor/MemOS/blob/main/apps/openwork-memos-integration/apps/desktop/skills/ask-user-question/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のファイルを整理し直す前に、どうまとめたいかを尋ねてください。”
毎週5つの新しいスキル。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
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
memos-local
12kエージェントが、OpenClaw用のローカルのメモリプラグインであるMemOSをインストールして設定し、自分のデバイス上で過去の会話を覚えられるよう支援します。
browserwing-admin
12kエージェントが、ブラウザの自動化ツールBrowserWingをインストールして管理するのを支援します。自動化スクリプトの作成、実行、修正を含みます。
browserwing-executor
12kエージェントが、HTTP APIを通じてブラウザを操作できるようにします。ページを開く、クリック、入力、データの抽出、スクリーンショットの撮影、一連の手順の一括実行に対応します。
memos-memory-guide
12kあなたが以前の会話、好み、過去の判断に言及したとき、エージェントが過去の会話とチームの共有メモリを検索して使えるように教えます。
似ているスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
configure-channel
394kTelegramなどのチャットアプリをOpenClawに接続し、ボットトークンを安全に保存して、メッセージが流れることを確認するようエージェントに教えます。
discord
394kOpenClawを通じてDiscordのメッセージを読み、送信し、編集し、リアクションするようエージェントを支援します。変更の前に正確なメッセージを確認します。