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 3mo 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 3mo 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. 3mo 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 2mo 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

ask-user compared with skills from other repositories

ask-user next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ask-userplmbr/nuiSkill82mo agoMITA17Claude Code, Codex
apple-toolsBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA92Claude Code, Codex
pi-dashboard-bootstrapBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA54Claude Code
kb-searchBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA84Claude Code, Codex
kb-setupBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA89Claude Code, Codex
pi-dashboard-watchBlackBeltTechnology/pi-agent-dashboardSkill357todayMITB66Claude Code
kungfu-agent-onboardingkungfu-systems/kungfuSkill4.5k7d agoApache-2.0A49Claude Code, Codex