ask-user-question

Ask users clarifying questions via a UI modal with selectable options and optional text input.

10.9k|1.3k|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/accomplish-ai/accomplish --skill ask-user-question
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ask-user-question
Source: https://github.com/accomplish-ai/accomplish/tree/main/packages/agent-core/mcp-tools/ask-user-question
Command: npx skills add https://github.com/accomplish-ai/accomplish --skill ask-user-question

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a reliable way to collect user input through a UI modal, ensuring agents proceed only with explicit user guidance and without exposing CLI outputs.

Core Features & Use Cases

  • Modal-based prompts: Present questions in a focused UI modal and capture user responses.
  • Flexible question formats: Support single or multiple selections, optional headers, and an optional custom text input.
  • Use Case: Clarify requirements, gather user preferences, or secure confirmations before executing sensitive actions.

Quick Start

Use the AskUserQuestion tool to prompt a question and wait for the user's response. Example: AskUserQuestion({ "questions": [{ "question": "How would you like to organize your Downloads folder?", "header": "Organize", "options": [ { "label": "By type" }, { "label": "By date" } ], "multiSelect": false }] })

Frequently Asked Questions about ask-user-question

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I collect user input through a modal dialog before executing a task?

User input collection via modal dialog captures explicit user responses before task execution. Use the AskUserQuestion tool to present a focused UI modal with your question, options, and optional text input, then receive structured results like selectedOptions or customText to pass downstream.

Can I ask users multiple-choice questions with single or multi-select options?

Yes, the modal supports both single and multi-select question formats. Configure multiSelect as false for single-choice or true for multiple selections, define your options with labels, and the modal returns the user's chosen options in structured format.

What types of user confirmations can I gather with a UI modal?

Modal-based confirmation handles safety checks, preference gathering, and requirement clarification. Present confirmation questions with optional headers and choice options, optionally include text input fields, and receive explicit user guidance as structured data before proceeding with sensitive actions.

How do I include a custom text input field alongside multiple-choice options?

The modal schema supports optional text input alongside standard choice options. Include both options array for selections and enable custom text capture in your question configuration; the modal returns both selectedOptions and customText in the structured result.

Why use a modal prompt instead of exposing CLI outputs to users?

Modal prompts provide a reliable, focused UI interface that keeps user input collection separate from backend processing. This ensures agents gather explicit guidance without exposing CLI outputs, maintains clean separation of concerns, and creates a better user experience for clarification workflows.

Can I add headers and context to modal questions?

Yes, the modal schema accepts an optional header field alongside your question text. Headers provide context and visual organization, helping users understand the purpose of the prompt before selecting from available options.