An Agent Skill that enables AI agents to ask humans questions through native macOS dialogs.
This is an Agent Skill - a folder of instructions and scripts that AI agents can use to extend their capabilities. When installed, agents can show native macOS dialogs to:
- Ask text input questions
- Present multiple choice options
- Get yes/no confirmations
- Display information requiring acknowledgment
- Send system notifications
Install via the skills CLI:
npx skills add willwillems/useuserThis will download and configure the skill for use with your AI agent.
- macOS only - Uses AppleScript for native dialogs
- A skills-compatible AI agent (Claude Code, Cursor, etc.)
scripts/ask_text.sh "What's the API endpoint?" "https://api.example.com" 300scripts/ask_choice.sh "Which database?" "PostgreSQL" "MySQL" "SQLite"scripts/ask_confirm.sh "Delete these files?" "no" 300scripts/show_info.sh "Operation completed successfully!"scripts/notify.sh "Build complete" "Dev Server" "Ready to test" "yes"- Agent encounters uncertainty or needs confirmation
- Agent runs the appropriate dialog script
- Native macOS dialog appears
- User responds
- Agent receives the response and continues
No complex setup, no server processes - just scripts that show dialogs.
See SKILL.md for complete documentation including:
- Detailed parameter descriptions
- Usage examples
- Error handling patterns
- Best practices
MIT - See LICENSE