a2ui-rest

a2ui-rest is a skill for Claude Code, Codex from a2uicatalog/a2ui. It costs 112 tokens per session (1,130 once invoked), scanned A, original, MIT.

An HTTP interface for the A2UI Atomic Catalog, a service that provides reusable interface building blocks and can turn them into HTML pages.

In plain words
What is it for?
Finding interface components, composing blocks from a request, checking their contracts, and rendering one or many HTML pages.
Why use it?
It lets scripts, CI jobs, and agents use the catalog without needing a special MCP client or guessing field names.

Skill for Claude CodeCodex

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

Good fit Finding interface components, composing blocks from a request, checking their contracts, and rendering one or many HTML pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/a2uicatalog/a2ui/a2ui-rest
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 a2uicatalog/a2ui --skill a2ui-rest
Clone the repo
git clone --depth 1 https://github.com/a2uicatalog/a2ui

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 a2ui-rest

README.md
[![agentmods](https://agentmods.dev/badge/skills/a2uicatalog/a2ui/a2ui-rest/github.svg)](https://agentmods.dev/skills/a2uicatalog/a2ui/a2ui-rest)
Your own site
<a href="https://agentmods.dev/skills/a2uicatalog/a2ui/a2ui-rest"><img src="https://agentmods.dev/badge/skills/a2uicatalog/a2ui/a2ui-rest/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 a2ui-rest

Your own site · 80×15
<a href="https://agentmods.dev/skills/a2uicatalog/a2ui/a2ui-rest"><img src="https://agentmods.dev/badge/skills/a2uicatalog/a2ui/a2ui-rest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,130 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.00112 $0.01130
Opus 5.5 $0.00045 $0.00452
Sonnet 5.5 $0.00022 $0.00226
Haiku 4.5 $0.00011 $0.00113

Measured 7d ago against content hash 26e716c6429d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

a2ui-rest 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/a2ui-rest/SKILL.md · 75 lines

How it starts

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

The A2UI Atomic Catalog over plain HTTP

Base URL https://a2uicatalog.ai. No API key, no signup. The full contract is the OpenAPI 3.1 spec at /openapi.json; this skill is the short path through it.

1. Find the atoms

  • GET /ask?query=countdown timer — ranked, typed atom matches for a plain-English question (NLWeb). mode=summarize adds a one-paragraph answer. 60 requests per IP per day.
  • GET /spec.json — every atom with its real field contract. Read the fields from here; never guess a field name. GET /catalogue/index.json is the compact menu.

2. Turn a request into blocks (optional)

POST /api/compose with {"prompt": "weekly sales dashboard with a trend chart"} returns candidate atom blocks. 20 requests per IP per day. Check the result against /spec.json before rendering; it is a starting point, not a finished payload.

3. Render

The payload is {"title": "...", "theme": "light" | "dark", "blocks": [ ... ]}.

  • POST /api/render — returns a complete self-contained HTML page.
  • POST /api/render/batch with {"payloads": [ ... ]} — up to 25 payloads in one call, one call against the daily allowance. Partial success: a bad payload gets its own status in results and the rest still render.
  • POST /api/render/jobs — the async form. Returns 202 Accepted with job_id, a Location header and status_url. GET the status URL until status is done, then GET its result_url for the HTML. Polling spends no quota. Jobs are kept for one hour. Renders finish within the request today, so the first poll already says done; poll anyway so your code keeps working if rendering moves to a queue.

Add ?surface=web|mcp-apps|google-apps-script-web|google-meet-stage to apply that surface's compatibility policy (X-A2UI-Degraded and X-A2UI-Incompatible name what changed).

4. Headers worth reading

  • X-API-Version: 1 on every response. Send the same header on a request to name the version your code was built against; an unsupported value gets a 400 that lists the supported versions. Breaking changes are announced with Deprecation and Sunset headers at least 90 days apart (/versioning.md).
  • X-RateLimit-Limit, X-RateLimit-Remaining, and the IETF RateLimit-Policy / RateLimit pair on the metered routes. Render is 50 requests per IP per day; a 429 carries Retry-After.
  • Idempotency-Key on render requests: retrying the same key within 10 minutes returns the first response instead of spending quota again.

Read the full file on GitHub · 75 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 Changed · +1 lines 26e716c6429d
  2. 23d ago First seen · 74 lines · 112 tokens per session scan A 442a0e016c11

Subscribe to this mod's changes

a2ui-rest is a skill published in the GitHub repository a2uicatalog/a2ui (9 stars, last pushed 5d ago), licensed MIT. It adds 112 tokens to every session and 1,130 once invoked, about $0.0004 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-11-11.

Related

a2ui-rest compared with skills from other repositories

a2ui-rest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
a2ui-resta2uicatalog/a2uiSkill95d agoMITA112Claude Code, Codex
html-artifactslangchain-ai/open-sweSkill11ktodayMITA52Claude Code, Codex
cindy-theme-creatormakecindy/cindySkill11ktodayApache-2.0A60Codex
baseline-uivercel-labs/open-agentsSkill5.9k2d agoMITA48Claude Code, Codex
proto-bot-opsmakecindy/cindySkill11ktodayApache-2.0A38Claude Code, Codex
omh-accessibility-auditrlaope/oh-my-hermesSkill6.3ktodayMITA20Claude Code
openpencil-setupZSeven-W/openpencilSkill7.4k2d agoMITA39Codex