/palladius-public-goodies:a2uifrom palladius-public-goodies
Builds and renders portable, declarative Generative UIs using Google A2UI (Agent-to-User Interface). Generates interactive widgets, cards, forms, and dashboards with a component catalog including Card, TextField, Button, ChoicePicker, Slider, Tabs, Modal, and reactive state bindings.
Ships in palladius-public-goodies. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use A2UI (a2ui.org | github.com/google/A2UI) to let AI agents generate rich, interactive user interfaces declaratively using a component catalog (Card, Row, Column, Text, TextField, Button, ChoicePicker, Slider, Tabs, Modal, List, Image), without emitting unsafe raw HTML/JS from the LLM.
<a2ui>)When an agent needs to output a UI, wrap the component tree in <a2ui>...</a2ui> and assign the root widget to root:
<a2ui>
surface("main")
$/form/name = "Mario Rossi"
$/form/role = "Developer"
header = Text("Registrazione Utente", "h2")
nameField = TextField("Nome completo", $/form/name, "Inserisci il nome", "shortText", ?required("Il nome è obbligatorio"))
rolePicker = ChoicePicker("Ruolo", ["Developer", "SRE", "Designer"], $/form/role, "mutuallyExclusive")
submitBtn = Button("Salva", action=Event("save_profile", {name: $/form/name, role: $/form/role}), variant="primary")
root = Card(Column([header, nameField, rolePicker, submitBtn]))
</a2ui>
basic Catalog)Card(child), Column(children, justify?, align?), Row(children, justify?, align?), Tabs(tabs=[{title, child}]), Modal(trigger, content), Divider(), List(children, direction?)Text(text, variant="h1"|"h2"|"h3"|"body"|"caption"), Image(url, altText?, variant?), Icon(name), Video(url), AudioPlayer(url)Button(label, action=Event("name", {...}), variant="primary"|"secondary"|"borderless")TextField(label, value=$/path, placeholder?, variant="shortText"|"longText"|"number"|"obscured", checks?)CheckBox(label, value=$/boolPath)ChoicePicker(label, options, value=$/path, variant="mutuallyExclusive"|"multipleSelection")Slider(label, min, max, value=$/numPath)DateTimeInput(value=$/isoDatePath, enableDate=true, enableTime=true)$/path/to/data (reactive JSON pointer in dataModel).formatString("Ciao ${/form/name}").?required("Messaggio"), ?email(), ?numeric(min=0, max=100), ?regex("^[0-9]+$", "Solo numeri").(For the complete list of component & function signatures, read $SKILL_DIR/references/express_basic_catalog.md.)
When the user asks to see or interact with an A2UI UI right here in Antigravity:
<a2ui> spec (or JSON surface) so the declarative structure is clear.<appDataDir>/brain/<conversation-id>/ with Tailwind (<script src="https://www.gstatic.com/antigravity/web/dev/tailwindcss.min.js"></script>) that maps each A2UI component (Card, Column, Row, TextField, ChoicePicker, Slider, Button) to reactive DOM controls, and embed it inline:
<agent-embed src="file:///<artifact_path>/a2ui_surface.html"></agent-embed>
a2ui-agent-sdk)pip install a2ui-agent-sdk
from a2ui.processor.catalog_config import CatalogConfig
from a2ui.processor.generator import A2uiGenerator
generator = A2uiGenerator(catalogs=[CatalogConfig.from_path(name="basic", catalog_path="file:///path/to/catalog.json")])
processor = generator.create_processor()
# 1. Inject A2UI instructions into your agent's system prompt
system_prompt = processor.prompt_generator.generate(
role_description="Sei un assistente che risponde generando interfacce A2UI.",
include_schema=True,
)
# 2. Parse the LLM output into A2UI UI parts for the frontend renderer
parts = processor.parser.parse_response(llm_output)
npx copilotkit@latest create my-app --framework a2ui
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
palladius-public-goodies@palladius-skills is listed by palladius/skills — review the source before installing
npx claudepluginhub palladius/skills --plugin palladius-public-goodies68 skills in this plugin
/add-to-portfolio-app(💛) Adds or syncs Talks, Keynotes, Workshops, Articles, Codelabs, Slides, and Videos in Riccardo's personal portfolio application (apps-portfolio) and companion bio repo (my-sessions-and-bio), including SQLite sync, TDD checks, default speaker images, and automated Cloud Run deployment./adk-python(💛) Create and manage AI agents using Google's Agent Development Kit (ADK) for Python. Use when the user wants to build single or multi-agent systems, evaluate agents, or deploy them. Includes instructions for fetching fresh ADK documentation and links for TypeScript and Go development./agy-cli-to-t3-import(💛) Import, resuscitate, and migrate historical or interrupted Antigravity CLI sessions (`agy --conversation <cid>`) into native T3 Code threads with standard title formatting `[agy2t3] 🪦 <Topic> (<short_cid>)` and context handoff./ai-coding(💛) Best practices for AI-assisted coding and maintaining agent system instructions (AGENTS.md, GEMINI.md, CLAUDE.md, CONTRIBUTING.md, SPECS.md, INSTRUCTIONS.md, SKILL.md) and collaborative Google Docs (references/google-docs-best-practices.md). Enforces inclusive AGENTS.md over vendor-specific files, prevents prompt bloat (instruction cramming, single-concept overfitting H2 sections, append-only drift), and provides analyze_bloat_history.py to audit Git history or uncommitted diffs./ai-ethics(💛) Use when evaluating ethical boundaries, ensuring EU AI Act (Regulation (EU) 2024/1689) safety-ladder compliance, handling security vulnerabilities or responsible disclosure, facing pressure to prioritize task completion over safety/honesty, launching multi-agent swarms (carbon footprint), verifying factual/scientific claims against disinformation, enforcing work-to-personal non-exfiltration, or installing/auditing AI_ETHICS.md and CONSTITUTION.md./antigravity-dnd-character-viewer(💛) Interactive 1982 D&D BECMI Character Record Sheet UI Sidecar for Google Antigravity's right-hand Aux Pane (file_extensions: [".character.json", ".dnd.json"]). Zero-NPM Node.js sidecar that renders raw character JSON files with classic STR/DEX/CON/INT/WIS/CHA ability scores, BECMI modifiers, HP, AC, Saving Throws, General Skills (GEMINI.md), and Class Skills (SKILL.md). Emit a `sidecar://dnd-character-viewer/view.html?path=/abs/hero.character.json` pill link whenever an agent creates or edits a character sheet.