answers-ask-user-input
できること
このスキルは、アドバイスの前に、エージェントがあなたから足りない詳細をいくつか集められるようにします。タップできる選択肢と自由記述の欄を表示するので、答えを素早く返せます。
使う場面
- ✓助けるために、目標や予算などの詳細が必要なとき。
- ✓タップで選べる選択肢の方が、答えるのが早い場合。
- ✓アドバイスが、あなたの制約や好みに左右されるとき。
スキルのリンク
https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/sales/workflows/answers-ask-user-input/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ワークアウトのルーティンを計画したいです。まず、目標と使える時間について質問してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、アドバイスを変えるような少数の質問を選びます。それを、自由記述の欄付きの選択肢として表示します。あなたの答えが、推奨の内容を形づくります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Ask User Input
ask_user_input
purpose: present tappable options plus a free-text option to gather user preferences before providing advice. display interactive buttons that users can tap to answer, and include a concise placeholder for the free-text answer row.
when to use this tool:
- use for elicitation -- when you need to understand the user's preferences, constraints, or goals to give useful advice
- examples:
- "help me plan a workout routine": ask about goals (strength/cardio/weight loss), time available, equipment access
- "help me find a book to read": ask about genres, mood, recent favorites
- "I'm thinking about getting a pet": ask about lifestyle, living situation, time commitment
- "help me pick a gift for my friend": ask about occasion, budget, friend's interests
question quality requirements:
- each question should uncover a concrete preference, constraint, or tradeoff that would actually change your recommendation. If the answer would only restate which option the user already seems to prefer, the question is not useful enough.
- do NOT ask proxy questions whose options map directly onto the candidate recommendations the user is already comparing. Ask about decision factors beneath those labels instead: daily tasks, budget, timeline, schedule, risk tolerance, social setting, maintenance burden, or dealbreakers.
- avoid vague umbrella axes that bundle multiple dimensions into one abstract tradeoff. Prefer one concrete dimension per question so the user's tap gives you an interpretable signal.
- examples:
- bad: user asks "Should I be an EMT or a firefighter?" and you ask "How do you feel about physical intensity vs medical focus?" with options that correspond to firefighter vs EMT.
- better: ask "Which day-to-day work sounds more appealing?" with options about patient care, rescue/fire response, shift/station environment, or training timeline.
free-text placeholder requirements:
- every question MUST include free_text_placeholder
- make the placeholder short, concrete, and specific to the question, such as "Add another constraint" or "Describe your ideal pace"
- do not use generic placeholders like "Type your answer" unless the question truly has no more specific hint
when NOT to use this tool:
- user asks "A or B": they want your analysis and recommendation, not the options repeated back as buttons
- user is venting or processing emotions (e.g. "I'm having a bad day"): just listen and respond supportively
- user asks for your opinion (e.g. "what do you think of eggs?"): give your perspective directly
- factual questions (e.g. "what's the capital of France?"): just answer
- user needs prose feedback (e.g. "review my email"): provide written analysis
- user already gave you a detailed prompt with specific constraints: they've already done the narrowing themselves; asking for more second-guesses them. Proceed with their constraints and state any assumption you make inline
key instructions:
- always include a brief conversational message before presenting options -- don't show options silently
- you can ask up to 3 questions. Three is a ceiling, not a target.
- use 2-4 short, distinct options per question. You can use up to 10, but prefer 2-4.
- after calling this tool, your turn is done. Don't keep writing.
- prefer asking questions that can be multi-select. Most questions aren't mutually exclusive.
Invocation: // Insert directly: genui{"ask_user_input": {"questions": {...}}} // This widget is not eligible for UUID Mode.
Example: genui{"ask_user_input":{"questions":[{"question":"What matters most for this recommendation?","options":["Lower cost","Less effort","Best quality"],"type":"multi_select","free_text_placeholder":"Add another priority"}]}}
Args schema:
// AskUserInputWidgetData
{
// Questions
//
// Ordered list of one-question pages to render.
// minItems: 1
questions: Array<
// AskUserInputQuestion
{
// Question
//
// Question shown to the user on this page.
question: string,
// Options
//
// Short answer options rendered as tappable choices.
options: string[], // minItems: 2, maxItems: 10
// Type
//
// Whether the user should pick one option or any number of options. Prefer wording questions as multi_select unless the answer is clearly only one choice.
type: "single_select" | "multi_select",
// Free Text Placeholder
//
// Short placeholder label for the free-text answer option shown below the tappable choices. Make it specific to this question.
free_text
よくある質問
いくつの質問をしますか?
アドバイスを実際に変える、少数の質問だけをします。
自分で答えを入力できますか?
はい。各質問には、自由記述の回答欄があります。
すでに話したことを聞きますか?
このスキルは、推奨を変える不足した詳細だけを質問するよう意図されています。
詳細
作者による元の説明
Use when a small amount of missing context would materially improve the answer and tappable options plus a free-text answer can gather it efficiently.
repo: XiaomiMiMo/MiMo-Code
人気
- GitHubのスター
- 14k
- ランキング
- #11350
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
effect
14kエージェントが、Effect TypeScriptフレームワークに関する質問に、記憶に頼らず、ソースコードとドキュメントを確認して答えられるよう支援します。
arxiv
14kエージェントが、arXivの学術論文を検索、閲覧、引用、追跡できるよう支援します。要約、BibTeXの引用、PDFのダウンロード、引用リンクを扱います。
claude-code
14kエージェントが、Claude Codeのコマンドラインツールにコーディング作業を任せられるよう支援します。一回だけの実行、対話セッション、バックグラウンドのジョブのいずれにも対応します。
codex
14kエージェントが、チャット画面なしでOpenAI Codexのコマンドラインツールを実行できるよう支援します。コーディングの作業、スクリプト、自動化されたパイプラインに使えます。
似ているスキル
writing-skills
311k新しいスキルを書き、それぞれをまず試すようエージェントに教えます。そのスキルが実際にエージェントの動作を変えることを確認します。
writing-for-agents
310kスキル、AGENTS.md、CLAUDE.mdを含め、AIエージェントのための明確な指示の書き方を説明し、エージェントが予測可能に動くようにします。
bengali-nlp
280kエージェントがベンガル語のテキストを処理できるようにします。テキストの正規化など、ベンガル語特有の性質に対応しながら、言語を理解して扱えるようにします。