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.
npx skills add mindverse-ltd/macaron-artifacts --skill ask-via-uigit clone --depth 1 https://github.com/mindverse-ltd/macaron-artifactsWrote 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.
[](https://agentmods.dev/skills/mindverse-ltd/macaron-artifacts/ask-via-ui)<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>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.
| Model | Per session | Once 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 |
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.
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:
- Show the question clearly at the top (one sentence).
- Present the answer surface (buttons / inputs / sliders / whatever fits) using
$macaron/uicomponents. - 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. - 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
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.
- 7d ago First seen · 180 lines · 103 tokens per session scan A b7cd0baa53a7
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.
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.
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…
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…
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…
hvplot
Best practices for doing quick exploratory data analysis with minimal code and a Pandas .plot like API using HoloViews hvPlot.
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.