Agent skill

A2ui Author

by danielwpz in danielwpz/pokoclaw

Generate, validate, and interpret static A2UI v0.8 JSON for interactive UI surfaces.

Apache-2.0Auto-check passed

Install A2ui Author

skills CLI
$ npx skills add danielwpz/pokoclaw --skill a2ui-author -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install danielwpz/pokoclaw a2ui-author --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/danielwpz/pokoclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/a2ui-author .claude/skills/a2ui-author && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
a2ui-author
GitHub stars
142
Token cost
~330 tokens
SKILL.md length
117 words
Files
12 (incl. scripts, references)
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate, validate, and interpret static A2UI v0.8 JSON for interactive UI surfaces.

  • Works in 5 steps: Author A2UI server messages, not raw… → Read references/protocol.md for message… → Use references/examples.md for compact… → …
  • An agent needs to call publisha2ui
  • SKILL.md covers Workflow and Static Content Rule
  • Runs JavaScript scripts from its folder; calls node

What it does

A2ui Author is an agent skill from danielwpz/pokoclaw. Generate, validate, and interpret static A2UI v0.8 JSON for interactive UI surfaces. Use when an agent needs to call publisha2ui, author A2UI messages, check whether generated A2UI JSON is valid, or handle normalized userAction replies from interactive UI callbacks.

Its SKILL.md is about 330 tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts and reference files (for example `package.json`, `references/examples.md` and `references/protocol.md`).

The repository describes itself as: The claw that actually ships 🚀. The licence is Apache-2.0.

When your agent uses it

  • An agent needs to call publisha2ui
  • Author A2UI messages
  • Check whether generated A2UI JSON is valid
  • Handle normalized userAction replies from interactive UI callbacks

Example prompts

  • “/a2ui-author”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Author A2UI server messages, not raw channel card JSON.
  2. Read references/protocol.md for message structure,
  3. Use references/examples.md for compact examples.
  4. Validate generated JSON with the bundled script. Resolve to
  5. For user replies, reason from A2UI userAction events. Do not expose raw

What it can do on your machine

Read from SKILL.md and the folder at commit 6cfb6c1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

A2ui Author loads about 330 tokens when it runs, and up to ~4.5k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 117 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~330
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from danielwpz/pokoclaw at commit 6cfb6c1, republished under its Apache-2.0 licence (© danielwpz). 117 words, ~330 tokens.

Download SKILL.mdSave it as .claude/skills/a2ui-author/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.
name
a2ui-author
description
Generate, validate, and interpret static A2UI v0.8 JSON for interactive UI surfaces. Use when an agent needs to call publish_a2ui, author A2UI messages, check whether generated A2UI JSON is valid, or handle normalized userAction replies from interactive UI callbacks.

A2UI Author

Use this skill to work with the static A2UI v0.8 subset supported by the current renderer.

Workflow

  1. Author A2UI server messages, not raw channel card JSON.
  2. Read references/protocol.md for message structure, supported components, bindings, and current renderer adaptations.
  3. Use references/examples.md for compact examples.
  4. Validate generated JSON with the bundled script. Resolve <skill-dir> to this skill directory before running the command:
bash
node <skill-dir>/scripts/validate-a2ui.js --version v0_8 path/to/a2ui.messages.json
  1. For user replies, reason from A2UI userAction events. Do not expose raw channel callback payloads to application logic or an LLM.

Static Content Rule

Generate only static A2UI server messages: dataModelUpdate, surfaceUpdate, beginRendering, and deleteSurface. Do not emit messages or components outside the supported static subset documented in this skill.

© danielwpz, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 11 other files (scripts, references) in skills/a2ui-author of danielwpz/pokoclaw.

  • SKILL.md
  • package.json
  • references/examples.md
  • references/protocol.md
  • runtime/v0_8/callback.js
  • runtime/v0_8/index.js
  • runtime/v0_8/json.js
  • runtime/v0_8/render.js
  • runtime/v0_8/surface.js
  • runtime/v0_8/types.js
  • runtime/v0_8/validate.js
  • scripts/validate-a2ui.js

Open the folder on GitHubat commit 6cfb6c1

Compare with similar skills

A2ui Author next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

A2ui Author compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
A2ui Author this skilldanielwpz/pokoclaw142—~330Automated safety check: PassApache-2.0
Hermes Agent Skill AuthoringNousResearch/hermes-agent252k—~3.6kAutomated safety check: PassMIT
Configuring Oauth2 Authorization Flowmukul975/Anthropic-Cybersecurity-Skills34k—~1.7kAutomated safety check: PassApache-2.0
Authoring Skillsvercel/next.js143k—~1kAutomated safety check: PassMIT
Abp Authorizationabpframework/abp14k—~1.3kAutomated safety check: PassLGPL-3.0
Implementing GCP Binary Authorizationmukul975/Anthropic-Cybersecurity-Skills34k—~2kAutomated safety check: PassApache-2.0

Similar skills

  • Hermes Agent Skill Authoring

    NousResearch/hermes-agent

    Author in-repo SKILL.md files: frontmatter and structure. An agent skill from NousResearch/hermes-agent.

    252k GitHub stars~3.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Configuring Oauth2 Authorization Flow

    mukul975/Anthropic-Cybersecurity-Skills

    Configures secure OAuth 2.0 authorization flows, including Authorization Code with PKCE, Client Credentials, and Device Authorization Grant, covering flow selection, PKCE implementation, token…

    34k GitHub stars~1.7k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Authoring Skills

    vercel/next.js

    Official

    How to create and maintain agent skills in .agents/skills/. An agent skill from vercel/next.js.

    143k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Abp Authorization

    abpframework/abp

    ABP permission system - PermissionDefinitionProvider, [Authorize] attribute, CheckPolicyAsync, IsGrantedAsync, ICurrentUser, IPermissionManager, multi-tenancy side.

    14k GitHub stars~1.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Implementing GCP Binary Authorization

    mukul975/Anthropic-Cybersecurity-Skills

    Implements GCP Binary Authorization end to end, including creating KMS-backed attestors, Container Analysis notes, deploy-time policies, and signing image attestations, so that only trusted…

    34k GitHub stars~2k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Collectors Authoring

    netdata/netdata

    Author, modify, or review Netdata collectors across Go, IBM, C, Rust and external plugins.

    81k GitHub stars~1.9k tokensUpdated today
    DevOps & CloudAuto-check passed

More from danielwpz/pokoclaw

  • Claude Session Observe

    danielwpz/pokoclaw

    A skill your agent uses to inspect Claude Code session history under ~/.claude, recover what sessions exist, and manually determine what a session was doing from transcript evidence.

    142 GitHub stars~1.8k tokensUpdated 19 days ago
    Auto-check passed
  • Skill Installer

    danielwpz/pokoclaw

    Install third-party skills for Pokoclaw when the user asks an agent to install a skill, pastes a skill-store prompt, or pastes a skill-store CLI command.

    142 GitHub stars~1.9k tokensUpdated 19 days ago
    Auto-check passed
  • System Observe

    danielwpz/pokoclaw

    Use this skill before calling querysystemdb or when diagnosing pokoclaw.

    142 GitHub stars~1.5k tokensUpdated 19 days ago
    Auto-check passed

Questions about A2ui Author

What does A2ui Author do?

Generate, validate, and interpret static A2UI v0.8 JSON for interactive UI surfaces. A2ui Author is an agent skill from danielwpz/pokoclaw.8 JSON for interactive UI surfaces.

When should I use A2ui Author?

A2ui Author fits situations like: an agent needs to call publisha2ui; author A2UI messages; check whether generated A2UI JSON is valid; handle normalized userAction replies from interactive UI callbacks.

How do I install A2ui Author in Claude Code?

Run `npx skills add danielwpz/pokoclaw --skill a2ui-author -a claude-code`. Or copy the skill folder (skills/a2ui-author in danielwpz/pokoclaw) into .claude/skills/a2ui-author in your project. Claude Code loads it when a task matches its description.

How do I install A2ui Author in Codex?

Run `npx skills add danielwpz/pokoclaw --skill a2ui-author -a codex`. Or copy the skill folder (skills/a2ui-author in danielwpz/pokoclaw) into .agents/skills/a2ui-author in your project. Codex loads it when a task matches its description.

Can I use A2ui Author in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add danielwpz/pokoclaw --skill a2ui-author -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/a2ui-author, .gemini/skills/a2ui-author, .github/skills/a2ui-author and .opencode/skills/a2ui-author in your project.

What does A2ui Author need to run?

Going by SKILL.md and its folder, A2ui Author needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does A2ui Author access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is A2ui Author safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does A2ui Author use?

A2ui Author is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does A2ui Author use?

About 330 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.2k tokens, read only when the agent opens those files.

What are the alternatives to A2ui Author?

Skills that share tags, products or a category with A2ui Author: Hermes Agent Skill Authoring (NousResearch/hermes-agent, 252k stars), Configuring Oauth2 Authorization Flow (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Authoring Skills (vercel/next.js, 143k stars) and Abp Authorization (abpframework/abp, 14k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains A2ui Author?

danielwpz (a GitHub user) maintains it in danielwpz/pokoclaw, which has 142 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 19, 2026.

Source: danielwpz/pokoclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.