ask
Present a multiple-choice question to the user using AskUserQuestion tool
When & Why to Use This Skill
The Ask Skill is a specialized utility designed to facilitate structured human-in-the-loop interactions by presenting multiple-choice questions. It streamlines the decision-making process within agentic workflows, allowing Claude to pause and request specific user input from a predefined set of options (2-4), ensuring accuracy and alignment before proceeding with complex tasks. This skill is essential for reducing ambiguity and enhancing the reliability of automated agent operations.
Use Cases
- Technical Configuration: Prompting users to select preferred technologies or frameworks, such as choosing between 'pytest' or 'unittest' for a testing suite.
- Deployment Control: Requesting explicit confirmation for target environments (e.g., Staging vs. Production) during automated CI/CD or infrastructure tasks.
- Workflow Branching: Enabling the agent to ask for direction when multiple valid paths exist, such as selecting a specific database (PostgreSQL, MySQL, etc.) for a project initialization.
- Interactive Assessments: Creating quick knowledge checks or quizzes to verify user preferences or understanding during onboarding and educational sessions.
| name | ask |
|---|---|
| description | Present a multiple-choice question to the user using AskUserQuestion tool |
Ask Skill
Quick invocation of the AskUserQuestion tool for single-select questions.
Usage
/ask "Question" "Option 1" "Option 2" ["Option 3"] ["Option 4"]
Instructions
When this skill is invoked:
- First quoted argument = question text
- Remaining arguments = options (2-4 required)
- Invoke AskUserQuestion tool with parsed arguments
- Set multiSelect: false
Constraints
- Minimum 2 options, maximum 4 options
- If constraints violated, inform user of limits
Examples
/ask "Which testing framework?" "pytest" "unittest" "nose2"
/ask "Deploy to which environment?" "staging" "production"
/ask "Database choice?" "PostgreSQL" "MySQL" "SQLite" "MongoDB"