Skip to content
Skills Library
AI & agents · Tool integration

ask-user-question

/ask-user-question

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.

Repository
memos ↗
Licence
Apache-2.0
Last repository change
23.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
1
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 1 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: src/index.ts

What it does and when to use it

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.

Original author description

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.

How it works

  1. Critical Rule
  2. When to Use
  3. Parameters
  4. Examples
  5. Response Format
  6. Wrong vs Correct
Original SKILL.md headings · 130 lines, 568 words
SKILL.md preview
---
name: ask-user-question
description: 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.
---

# 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

```json
{
  "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 display
- `header` (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.

```json
{ "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 selection
- `User selected: Option A, Option B` - Multiple selections (if multiSelect: true)
- `User responded: [custom text]` - If user typed a custom response
- `User 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" }
    ]
  }]
})
```
Files in this package (4)
  • SKILL.md 4 KB
  • package.json 1 KB
  • tsconfig.json 1 KB
  • src/index.ts 6 KB

Versions

RepositoryScoreLicence
This page · memtensor/memos100Apache-2.0
dualface/ask-user-question100MIT

Database snapshot: 13.11.2026 · package version 44857431ca3b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 82discuss
    Ask clarifying questions and discuss direction before starting work. Use when the user invokes $discuss or says "discuss-first", wants to discuss requirements, clarify scope, or asks Codex to ask questions before proceeding with a task. Natural phrasings include "let's discuss…
  • 82discuss
    Ask clarifying questions and discuss direction before starting work. Trigger whenever the user asks Claude to discuss, clarify, or ask questions before proceeding with a task. Natural phrasings include "let's discuss before proceeding", "ask me questions for clarification or…
  • 100requirement-clarification
    Use when receiving ambiguous instructions, preparing for state-changing operations, or needing explicit user confirmation
  • 90principle-ask-with-question-tool
    Apply when you need a decision, approval, missing input or clarification from the user. Ask through the host agent's native question tool with batched, self-contained questions and a recommended option first.
  • 90dyuaq
    Do You Understand / Ask Questions. Read the request back as a precise brief, ask only the questions that would change the output, then build it to a stated bar. Use when the user types /dyuaq, or asks you to confirm your understanding, check the ask before building, or "ask me questions first".
  • 86question-sheet
    Ask the user a set of scoping questions as a published Artifact form that sends the answers back to Claude automatically. Use when you must ask more than about three questions before you start work, when the user says "ask me questions", "list your questions", or "put your…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.