ask-via-ui

ask-via-ui is a skill for Claude Code from mindverse-ltd/macaron-artifacts. It costs 103 tokens per session (2,185 once invoked), scanned A, original, Apache-2.0.

A user-interface method for asking questions through interactive cards instead of plain text. It supports choices, confirmations, forms, and value adjustments.

In plain words
What is it for?
Use it whenever the agent needs the user to choose an option, confirm an action, enter details, resolve ambiguity, or adjust a setting.
Why use it?
It lets users answer structured questions with controls such as buttons, fields, sliders, or color pickers.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the macaron plugin — 5 skills, 1 command shipped together

Good fit Use it whenever the agent needs the user to choose an option…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mindverse-ltd/macaron-artifacts/ask-via-ui
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 mindverse-ltd/macaron-artifacts --skill ask-via-ui
Clone the repo
git clone --depth 1 https://github.com/mindverse-ltd/macaron-artifacts

Made for: Claude Code.

Or install macaron, the plugin that ships this one along with the rest of its 5 skills, 1 command.

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-via-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/mindverse-ltd/macaron-artifacts/ask-via-ui.svg)](https://agentmods.dev/skills/mindverse-ltd/macaron-artifacts/ask-via-ui)
Your own site
<a href="https://agentmods.dev/skills/mindverse-ltd/macaron-artifacts/ask-via-ui"><img src="https://agentmods.dev/badge/skills/mindverse-ltd/macaron-artifacts/ask-via-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,185 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.
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.00103 $0.02185
Opus 5 $0.00051 $0.01092
Sonnet 5 $0.00021 $0.00437
Haiku 4.5 $0.00010 $0.00218

Measured 7d ago against content hash b7cd0baa53a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ask-via-ui 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 7d 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.

skills/ask-via-ui/SKILL.md · 180 lines

How it starts

The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ask via UI (never as plain text)

AskUserQuestion is disabled here. Text prompts like "which one?", "reply 1/2/3", "should I do X or Y?" are equally forbidden — a plain-text question forces the user to type a reply, when a widget could resolve it in one click and carry richer context (form values, adjusted sliders, selected chips) back to the next turn.

Rule: If your turn would end with the user needing to answer, that answer must arrive via a widget you rendered.

When this fires (non-exhaustive)

  • Commit / push gate: "want me to commit this?", "should I push?", "open a PR?" — the end-of-work hand-off. Two buttons, and optionally a default with a countdown (template C).
  • Choice: "Pick a framework", "which of these files did you mean", "A or B?", boolean confirms.
  • Form: any request for structured input — name/email/config values, migration parameters, tuning knobs.
  • Adjustment: pick a color, resize a padding, choose a threshold. Slider / color picker / preview + apply beats "give me a number".
  • Disambiguation: 3 matching functions, 2 possible interpretations, several branches you could take.
  • Confirmation before a destructive action: "apply this migration?" → render the diff summary + Apply / Cancel buttons.
  • Sequential wizard: multi-step configuration — render one step at a time, each step's Continue button posts the state.

The pattern

Every widget you render for an answer must:

  1. Show the question clearly at the top (one sentence).
  2. Present the answer surface (buttons / inputs / sliders / whatever fits) using $macaron/ui components.
  3. On submit / click, call sendUserMessage(...) with a natural-language sentence that includes every value the next turn needs. Fold structured data (JSON fenced block) into that string when the fields don't compress into prose.
  4. End your assistant text after render with a one-sentence ack ("Pick one above.", "Fill out the form."). Do NOT restate the options in prose.

Templates

Read the full file on GitHub · 180 lines

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. 7d ago First seen · 180 lines · 103 tokens per session scan A b7cd0baa53a7

Subscribe to this mod's changes

ask-via-ui is a skill published in the GitHub repository mindverse-ltd/macaron-artifacts (10 stars, last pushed 14d ago), licensed Apache-2.0. It adds 103 tokens to every session and 2,185 once invoked, about $0.0005 per session on Opus 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

portaljs-add-chart

Add a chart (line, bar, area, pie, or scatter) to a dataset's showcase in a PortalJS portal. Installs recharts, writes a reusable Chart component, and renders it in the showcase Views section. Use when visualizing a dataset already registered in datasets.json.

datopian/portaljs · 63 tokens

mcp-visual-output

Interactive MCP visual output via @json-render/mcp: upgrade plain JSON tool responses to dashboards rendered in sandboxed iframes inside MCP clients like Claude, Cursor, and ChatGPT. Use when a tool result would read better as a stat grid, data table, or status badge than as text. For the server itself (transport…

yonatangross/orchestkit · 88 tokens

panel

Best practices for developing tools, dashboards and interactive data apps with HoloViz Panel. Create reactive, component-based UIs with widgets, layouts, templates, and real-time updates. Use when developing interactive data exploration tools, dashboards, data apps, or any interactive Python web application. Supports…

MarcSkovMadsen/holoviz-mcp · 100 tokens

panel-holoviews

Best practices for integrating HoloViews and hvPlot visualizations into Panel applications. Use when embedding HoloViews/hvPlot plots in Panel panes, preserving zoom/pan state across data refreshes with DynamicMap, composing DynamicMap overlays without type errors, using HoloViews streams (Selection1D, RangeXY, Tap…

MarcSkovMadsen/holoviz-mcp · 114 tokens

hvplot

Best practices for doing quick exploratory data analysis with minimal code and a Pandas .plot like API using HoloViews hvPlot.

MarcSkovMadsen/holoviz-mcp · 29 tokens

holoviz-mcp-cli

Command reference for the holoviz-mcp CLI tool. Use the CLI when you have Bash/shell access and want direct access to HoloViz documentation, component introspection, and visualization tools.

MarcSkovMadsen/holoviz-mcp · 47 tokens