一键导入
a2ui
Agent-to-User Interface (A2UI) protocol implementation and client renderer scaffolding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Agent-to-User Interface (A2UI) protocol implementation and client renderer scaffolding.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Infrastructure automation, configuration management, and application deployment orchestration using Ansible.
Create and manage unicode braille animations and spinners for CLIs and web apps. Use this skill when the user wants to add loading indicators, progress animations, or custom braille-based art to their terminal or browser-based application.
Agent harness for headlessly deploying Code Scaffold assets.
High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds.
Comprehensive cybersecurity arsenal integrating MITRE and NIST framework methodologies, NVIDIA SkillSpector vulnerability scanning, and deep SAST secret detection.
Specialized skill for crawling and scraping websites to convert them to LLM-ready clean markdown or structured data using Firecrawl API and CLI.
| name | A2UI |
| description | Agent-to-User Interface (A2UI) protocol implementation and client renderer scaffolding. |
This skill enables agents to generate, validate, and scaffold interactive user interfaces using the A2UI (Agent-to-User Interface) protocol (v0.9+). By adhering to A2UI, agents output declarative JSON payloads instead of executable frontend code, maximizing security, LLM-streaming efficiency, and client interoperability.
Card, Button, TextField). Your JSON output simply requests the client to render these specific, registered components.When emitting an A2UI payload, you MUST wrap it in a root JSON structure containing an array of node updates.
{
"a2ui_doc": {
"nodes": [
{
"id": "node_1",
"component": "Card",
"props": {
"title": "Welcome to Code Scaffold"
},
"children": ["node_2"]
},
{
"id": "node_2",
"component": "Button",
"props": {
"label": "Click Me",
"action": "submit_form"
}
}
]
}
}
id (String): Must be a unique identifier within the document.component (String): Must match a component registered in the client's catalog.props (Object): Key-value pairs matching the component's expected data.children (Array of Strings): A list of node IDs that this component should render as its children.a2ui_doc.nodes array and recursively traverses from a root node, mapping the component strings to native React components.If the user asks you to implement an A2UI renderer in a frontend project, use this architectural pattern:
// Example Renderer Loop
function A2UIRenderer({ nodes, rootId }) {
const rootNode = nodes.find(n => n.id === rootId);
if (!rootNode) return null;
// Retrieve the actual React component from the catalog
const Component = Catalog[rootNode.component];
if (!Component) {
console.warn(`Component ${rootNode.component} not found in catalog.`);
return null;
}
return (
<Component {...rootNode.props}>
{rootNode.children?.map(childId => (
<A2UIRenderer key={childId} nodes={nodes} rootId={childId} />
))}
</Component>
);
}
If working within a backend environment, always ensure your A2UI JSON output passes structural validation before streaming it to the frontend, verifying that id fields are unique and children references exist within the node array.