ask-user-question_skill

This skill helps you collect user input via a modal UI to clarify preferences, confirmations, or constraints before acting.
  • Python

4.7k

GitHub Stars

4

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill memtensor/memos --skill ask-user-question

  • package-lock.json54.5 KB
  • package.json333 B
  • SKILL.md4.0 KB
  • tsconfig.json248 B

Overview

This skill lets your agent present modal questions to the user and capture their responses via the UI. Use it whenever the agent needs clarification, preferences, or explicit confirmation before proceeding. The user cannot see any console or CLI output — this tool is the only way to show interactive prompts.

How this skill works

The skill opens a UI modal with one or more question objects that include a prompt, an optional short header, and optional selectable options. Options can include an "Other" choice to capture free-text input; multiSelect can be enabled to allow multiple selections. The tool returns a clear string indicating the user selection, typed response, or dismissal so the agent can branch logic accordingly.

When to use it

  • Clarify ambiguous instructions before taking action
  • Ask user preferences (naming, organization, formats, etc.)
  • Confirm destructive or irreversible operations
  • Get approval for sensitive actions (financial, messaging, deletion)
  • Collect details required to continue a multi-step task

Best practices

  • Keep questions short and specific; use a 12-character header to label context
  • Provide 2–4 clear option choices and include an "Other" option for free-text when needed
  • Use multiSelect only when the user genuinely needs to pick multiple items
  • Always wait for and handle the tool response — do not assume a default
  • Treat a dismissed modal as an explicit non-response and prompt again or abort safely

Example use cases

  • Ask how to organize a Downloads folder: by type, date, or project
  • Confirm deletion of duplicate files with options: Delete all, Review first, Cancel
  • Request send confirmation for an email or message
  • Ask for naming conventions when creating shared project folders
  • Collect preferred output format and level of detail before generating reports

FAQ

It returns a short text like 'User selected: Option A' or 'User responded: [their text]' or 'User declined to answer the question.'

How do I allow custom text input?

Include an option labeled 'Other' to trigger a text input field. When chosen, the response will be 'User responded: [their text]'. Handle that text explicitly.

Can I show multiple questions in one modal?

Yes. Provide multiple items in the questions array. Each question can have its own header, options, and multiSelect setting.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational