ask-user

ask-user is a skill for Claude Code, Codex from plmbr/nui. It costs 17 tokens per session (519 once invoked), scanned A, original, MIT.

A structured question tool that collects answers from a human through a prompt interface instead of ordinary chat messages. It supports open questions and choices with explanations.

In plain words
What is it for?
Use it to ask about scope, requirements, options, or approval for a consequential action. It is also used when a command needs the user to select an item.
Why use it?
It keeps decisions and missing information organized when the agent needs clarification, approval, or a preference before continuing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to ask about scope, requirements, options, or approval for a consequential action. It is also used when a command needs the user to select an item.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plmbr/nui/ask-user
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add plmbr/nui --skill ask-user
Clone the repo
git clone --depth 1 https://github.com/plmbr/nui

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ask-user

README.md
[![agentmods](https://agentmods.dev/badge/skills/plmbr/nui/ask-user/github.svg)](https://agentmods.dev/skills/plmbr/nui/ask-user)
Your own site
<a href="https://agentmods.dev/skills/plmbr/nui/ask-user"><img src="https://agentmods.dev/badge/skills/plmbr/nui/ask-user/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ask-user

Your own site · 80×15
<a href="https://agentmods.dev/skills/plmbr/nui/ask-user"><img src="https://agentmods.dev/badge/skills/plmbr/nui/ask-user.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 519 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00519
Opus 5.5 $0.00007 $0.00208
Sonnet 5.5 $0.00003 $0.00104
Haiku 4.5 $0.00002 $0.00052

Measured 1mo ago against content hash 83cb50bdbbeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ask-user scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

internal/skills/builtins/ask-user/SKILL.md · 63 lines

What it actually says

Ask User (nui HITL)

When you need any input, clarification, preference, or approval from the human, use the nui-hitl MCP tool ask_user. Do not ask those questions only in assistant text — the human answers through the nui UI prompt card.

When to use ask_user

  • The user asks you to ask clarifying questions before continuing
  • You need a choice between options (cuisine, scope, constraints, etc.)
  • You would otherwise write "Which do you prefer?" or list questions in the chat
  • You need structured answers before taking a consequential action

How to call it

Use the MCP tool ask_user on server nui-hitl with a questions array. Each question object can include:

  • question — the prompt text (required)
  • header — short label shown in the UI (optional)
  • options — array of { "label": "...", "description": "..." } for multiple choice (optional)

Example:

{
  "title": "Recipe preferences",
  "questions": [
    {
      "header": "Region",
      "question": "Which South American country or region should the recipe focus on?",
      "options": [
        { "label": "Peru", "description": "Andean / coastal Peruvian" },
        { "label": "Argentina", "description": "Grilled meats, empanadas" },
        { "label": "Brazil", "description": "Feijoada, moqueca, etc." }
      ]
    },
    {
      "header": "Diet",
      "question": "Any dietary restrictions?",
      "options": [
        { "label": "None" },
        { "label": "Vegetarian" },
        { "label": "Gluten-free" }
      ]
    }
  ]
}

Wait for the tool result (answers from the human), then continue with the task using those answers.

Tool approval

For yes/no gates before risky actions, use request_approval on nui-hitl instead of ask_user.

Do not

  • List clarification questions in plain assistant text when ask_user is available
  • Proceed with assumptions when the user explicitly asked you to clarify first
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 63 lines · 17 tokens per session scan A 83cb50bdbbeb

Subscribe to this mod's changes

ask-user is a skill published in the GitHub repository plmbr/nui (8 stars, last pushed 18d ago), licensed MIT. It adds 17 tokens to every session and 519 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

apple-tools

Reach Apple PIM data (Calendar, Contacts, Reminders, Messages, Location, Maps, Weather) from a pi session via iMCP + pi's built-in MCP on macOS. Use when the user asks to read/search their Apple Calendar, Contacts, Reminders, iMessages, current Location, Maps, or Weather. Does NOT cover Apple Mail — iMCP exposes no…

BlackBeltTechnology/pi-agent-dashboard · 92 tokens

pi-dashboard-bootstrap

Make sure the local pi-dashboard server is running before any pi-dashboard action. Use FIRST whenever the user mentions the pi dashboard, pi sessions or pi agents, or asks to start/open the dashboard; also when a dashboard call fails with "connection refused".

BlackBeltTechnology/pi-agent-dashboard · 54 tokens

kb-setup

Set up, initialize, or configure the local markdown knowledge base for a project. Use when the user says "set up the knowledge base", "init the KB", "configure the markdown KB", "index my docs", "add a doc source to the KB", or wants the project's markdown searchable by kb search. Wraps kb init end-to-end through kb…

BlackBeltTechnology/pi-agent-dashboard · 89 tokens

kb-search

Search the local markdown knowledge base for facts, prior decisions, definitions, people, error codes, config flags, and how-we-fixed-it notes. ALWAYS search here BEFORE answering a project-specific question from memory, guessing, or asking the user. Use whenever you hit an unknown term, an unfamiliar entity, an error…

BlackBeltTechnology/pi-agent-dashboard · 84 tokens

kungfu-agent-onboarding

Use when a user asks to understand, start, inspect, extend, or safely operate installed Kungfu; verify the installed pack, select one intent route, personalize the explanation, and propose one smallest safe next action.

kungfu-systems/kungfu · 49 tokens

ship-it

Worktree-side implementation orchestrator for an OpenSpec change. Idempotent: gates automated scenarios on filesystem reality, owns the red-test fix loop, runs the docker harness with always-teardown, then drives ship-change inline. Escape hatch writes SHIPITBLOCKED.md. Runnable headless. Triggers: "ship it", "build…

BlackBeltTechnology/pi-agent-dashboard · 92 tokens