ask-ui
Installation
SKILL.md
Ask UI
Use Ask UI as a presentation and persistence adapter. Keep question generation and reasoning in the calling workflow.
Decide whether to use the UI
Use the UI when the current round contains at least two independent questions that the user can answer now. Keep dependent questions for a later round. Ask a single question directly in the conversation.
Always use the UI for grill-me, grill-with-docs, brainstorming, or another confirmation and question-collection workflow when a round contains more than two questions.
If the local server or browser cannot start, fall back to the calling workflow's normal text format.
Ask and wait for the answer
- Resolve the directory containing this
SKILL.mdasASK_UI_SKILL_DIR. - Read references/schema.md before creating JSON.
- Create a QuestionSet JSON file. For a new task, omit
sessionId; for follow-up rounds, reuse the activesessionIdand setbasedOnRound. - Run the foreground command and keep the tool call active until it exits: