Aller au contenu
Skillpedia
Prompts et LLM14k · #11350

answers-ask-user-input

Ce qu’il fait

Cette compétence permet à l'agent de recueillir quelques détails manquants avant de donner un conseil. Elle affiche des choix à toucher et un champ de réponse libre, pour que les réponses soient rapides à donner.

Quand l’utiliser

  • ✓Quand l'agent a besoin de quelques détails, comme votre objectif ou votre budget, avant de pouvoir vous aider.
  • ✓Quand un choix serait plus rapide à donner avec des options à toucher.
  • ✓Quand le conseil dépend de vos contraintes ou de vos préférences.

Lien du skill

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/sales/workflows/answers-ask-user-input/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/sales/workflows/answers-ask-user-input/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Je veux de l'aide pour planifier une routine d'entraînement, et je veux que tu me poses d'abord des questions sur mes objectifs et mon temps.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent choisit quelques questions qui changeraient réellement son conseil et les présente sous forme d'options avec un champ de texte. Vos réponses orientent la recommandation.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Combien de questions pose-t-elle ?

Elle ne pose que quelques questions qui changeraient réellement le conseil.

Puis-je écrire ma propre réponse ?

Oui. Chaque question comporte une ligne de réponse libre.

Va-t-elle redemander ce que j'ai déjà dit ?

La compétence vise à ne demander que les détails manquants qui changent la recommandation.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
14k
Position au classement
#11350
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires