ui-pick-prompting

Present structured choices via a GUI picker and return the selection.

Updated Aug 25, 2018
One-click install
npx skills add https://github.com/metabench/jsgui3-html --skill ui-pick-prompting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-pick-prompting
Source: https://github.com/metabench/jsgui3-html/tree/main/docs/agi/skills/ui-pick-prompting
Command: npx skills add https://github.com/metabench/jsgui3-html --skill ui-pick-prompting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a standardized way to present structured choices to a user, ensuring clear options and capturing their selection efficiently.

Core Features & Use Cases

  • GUI Picker: Displays a graphical interface with a list of options for the user to choose from.
  • Structured Results: Returns the user's selection in a defined format, indicating success or cancellation.
  • Use Case: When an AI needs to confirm a specific action or choice with a human operator, it can use this Skill to present a clear, interactive list of available options.

Quick Start

Use the ui-pick-prompting skill to show the user the options 'Approve' and 'Reject'.

Frequently Asked Questions about ui-pick-prompting

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

FAQPage Schema
How do I present structured choices to a user during an AI workflow?

A GUI picker handles user interaction by displaying a list of options and waiting for a selection. It returns structured results indicating the chosen value or if the prompt was cancelled.

Can I customize the user interaction interface when asking for a selection?

Yes, you can customize the user interaction interface. The GUI picker supports optional theming, allowing you to adjust the visual presentation of the selection list shown to the user.

How do I handle a cancelled user selection prompt in my script?

When a user selection prompt is cancelled, the picker returns structured results indicating the cancellation. This allows your script to handle the exit gracefully without crashing.

What is the best way to confirm an AI action with a human operator?

The best way to confirm an AI action is to use a GUI picker to display clear interactive options. This ensures the human operator understands the choices and captures their selection efficiently.

What data formats are supported for defining options in a GUI picker?

When defining options for a GUI picker, you can use simple strings or structured objects. Objects allow you to specify label, value, and description fields for richer user interaction context.