One-click install
npx skills add https://github.com/willwillems/useuser --skill useuser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: useuser
Source: https://github.com/willwillems/useuser/tree/main
Command: npx skills add https://github.com/willwillems/useuser --skill useuser

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of getting direct, trustworthy user input or confirmation from an AI agent without relying on chat-based prompting or custom UIs.

Core Features & Use Cases

  • Text input: Collect open-ended answers for configuration values or missing details.
  • Multiple choice: Guide users to pick from predefined options when branching decisions are needed.
  • Yes/no confirmation + blocking info: Safely confirm destructive actions or require acknowledgment before proceeding.
  • System notifications: Inform users non-blockingly about completed work or important status updates.

Quick Start

Ask an AI agent to request confirmation using a native macOS yes/no dialog before performing a potentially destructive operation.

Frequently Asked Questions about useuser

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

FAQPage Schema
How do I prompt for user confirmation from an AI agent using native macOS dialogs?

Native macOS dialogs enable AI agents to collect user confirmation by invoking AppleScript through osascript-backed scripts. This approach uses system UI components instead of chat-based prompting to securely gate destructive actions or require acknowledgment.

Can I collect text input and multiple choice selections with AppleScript dialogs?

AppleScript dialogs support both open-ended text input for configuration values and multiple choice selections for branching decisions. AI agents use these dialog prompts to gather missing details or guide users through predefined options.

Does this native dialog approach work for sending non-blocking macOS system notifications?

Native macOS system notifications inform users non-blockingly about completed work or important status updates. AI agents trigger these notifications via osascript to alert users without halting ongoing background processes.

What are the limitations of using osascript for AI agent user confirmation?

Osascript limitations include relying on return tokens like CANCELLED and TIMEOUT for handling user responses alongside basic input validation. This approach requires macOS environments with AppleScript support to function properly.

When should I use native macOS dialogs instead of chat-based prompts for AI agent interactions?

Native macOS dialogs provide trustworthy user input for safe gating of destructive actions, preference selection, or user acknowledgment. Use this approach when you need direct system-level UI prompts rather than chat-based interfaces.