Skip to content
Development
Skill

/a2ui

Make a reply easier to read and act on with rich blocks inside ordinary Markdown — a choice the user picks from, a form that collects several answers, a procedure as steps with warnings in place, a callout, a Mermaid diagram, a weather card, a live clock or countdown, a

From plugin
penguin-harness
3.2k40 skills

Claude Code

$ npx -y skills add Prism-Shadow/penguin-harness --skill a2ui --agent claude-code

SKILL.md

a2ui.SKILL.md
name: a2ui
description: Make a reply easier to read and act on with rich blocks inside ordinary Markdown — a choice the user picks from, a form that collects several answers, a procedure as steps with warnings in place, a callout, a Mermaid diagram, a weather card, a live clock or countdown, a dashboard of gauges for a quota, a budget or a job's progress, a chart drawn from data (line, area, bar, pie, scatter, histogram, gauge) and a system-resource board — written as fenced blocks the app renders with its own components; a pick comes back as the user's plain text. Use when a reply asks the user to decide, collects several inputs, gives a procedure, explains a structure or flow, reports the weather, a time, a deadline or a few readings, or shows numbers with a shape. Includes STE-style writing rules for Chinese and English, scripts that print real weather and system data as blocks, and a checker script to run on the draft before sending.
version: 2026.11.04.1

A2UI blocks

A reply is Markdown. Where a decision, a set of inputs, a procedure, a structure, a few readings or a series of numbers would read better as a component than as prose, write one as a fenced block: ```` ```a2ui ```` holding ONE JSON object, or ```` ```mermaid ```` holding a diagram. The Web App renders the block with its own components and theme; the CLI and the messaging channels show the same block as readable text; nothing is lost on a surface that cannot render it. You never write HTML, scripts or styles — you name a component from the catalog and fill its fields.

Before you send a reply that carries a block, run the checker (see "Check before you send"). It is the test suite for this skill: it rejects what would not render, warns about what would be hard to read, scores the draft and prints the questions a reviewer would ask.

Before you start

This skill changes how you write replies; it needs no setup. If a message only names the skill without a task — "use a2ui", "show me the blocks" — ask what the user wants to decide, enter or understand, then answer that with the fitting block. Do not demonstrate every component at once: one block that serves the question is the demonstration.

When to use a block, and when not

Use a block when it saves the reader work:

  • **choice** — the conversation needs ONE decision from the user and you can name the realistic options (2–7, ideally 2–5). Mark one `recommended` when you have a view.
  • **form** — you need SEVERAL answers at once (1–6 fields) and asking them one by one would take turns. Each field is the control its answer needs: a line or several lines of text, a number, a slider, one or several of a few options, a dropdown for a long list, a switch, a date, a time or both.
  • **steps** — the user will perform a procedure by hand. One instruction per step; a `warning` or `caution` sits on the step it applies to and is rendered above it.
  • **callout** — one thing the reader must not miss: a warning, a caution, a tip, a note. Not for ordinary paragraphs.
  • **mermaid** — a structure or a flow with more than three parts: a pipeline, a state machine, a sequence of calls, a data model.
  • **weather** — the user asks about the weather somewhere. Run `scripts/weather.mjs <place>` (see "Get real data"), paste the block it prints, and write one sentence before it.
  • **clock** — the user asks the time somewhere, or a meeting spans time zones: one to four zones.
  • **countdown** — a deadline or an event at a fixed instant.
  • **metrics** — a few readings at a glance: a quota or budget left, the progress of a job, figures with their change. Put them in ONE `metrics` block, never one block per number. `kind` says how to read a tile: `reading`, `used`, `remaining` or `progress`. `worse` says which way is bad (default `low` for `remaining`, else `high`). `warn` and `danger` colour the tile once the value passes them.
  • **resources** — a snapshot of a machine: CPU, memory, swap, disks, network, load and uptime. Run `scripts/sysinfo.mjs` and paste the block it prints. You give the numbers; the app colours them by its own thresholds.
  • **chart** — numbers with a shape: a trend over time (`line`, `area`), a comparison (`bar`), shares of a whole (`pie`), how two measures relate (`scatter`), how values spread (`histogram`), or one reading against its whole (`gauge`). The data comes from a tool, a file or the user.

A `chart` draws one basic chart from the data you give. `metrics`, `weather` and `resources` are built from the same charts for data of a known shape. Use the composite when the data has its shape: it takes fewer fields and reads better. Use a `chart` when the data has no such shape. One reading is a `chart` of kind `gauge`, several readings are a `metrics` block, and a machine snapshot is a `resources` block.

Do not use a block for:

  • a plain answer, a one-line fact, a yes/no, a number one sentence can say;
  • a conversational or emotional turn ("thanks", "sorry about that", "how was it?");
  • a decision you can take yourself from the context — take it and say so;
  • padding: a callout around an ordinary sentence, a diagram with two boxes, a form with one field (use a question);
  • data you do not have. A widget or a chart shows numbers from a script, a tool result or the user, a snapshot with its `asOf` time. Never invent, estimate or round them into a guess.

Keep to one or two blocks per reply and at most two questions (choice/form). More than that is a questionnaire, not a conversation.

The catalog in brief

The full reference, every field and its limits, a valid example of each type and the common mistakes: [`references/components.md`](references/components.md) beside this file. Read it the first time you write a block, and whenever the checker rejects one.

| Type | Required | Optional | Limits | | --- | --- | --- | --- | | `choice` | `question`, `options[]` (`label`) | `id`, `options[].value` / `description` / `recommended`, `multiple`, `allowOther` | question

Read more
@prism-shadow
Ships withpenguin-harness

🐧 Unified and Stable RSI Platform

Stars on GitHub

Momentum

stars in total
3.2k
Star history of Prism-Shadow/penguin-harness on GitHub, a chart by star-history.com

Other skills on penguin-harness.

company-hr

company-hr

Run HR for a PenguinHarness organization — guarantee every employee has an enabled calendar event, hire and offboard employees…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react10d252k
@facebook@facebookInstall Skill

Questions about a2ui.

Which coding agents can use a2ui?
a2ui installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.