agentic-ui-usage

agentic-ui-usage is a skill for Claude Code, Codex, Cursor from antdigital-ai/agentic-ui. It costs 97 tokens per session (1,083 once invoked), scanned A, original, MIT.

A usage guide for the Agentic UI library, a collection of React components for building AI-agent interfaces such as chat screens, editors, layouts, and workspaces.

In plain words
What is it for?
Use it when integrating the library, creating an agent chat interface, setting up layouts or editors, or checking component imports and APIs.
Why use it?
It explains how to install the library, import its components, and combine them in a consumer application.

Skill for Claude CodeCodexCursor

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.

agentmods
npx agentmods add skills/antdigital-ai/agentic-ui/agentic-ui-usage
Any agent
npx skills add antdigital-ai/agentic-ui --skill agentic-ui-usage
Clone the repo
git clone --depth 1 https://github.com/antdigital-ai/agentic-ui

Made for: Claude Code, Codex, Cursor.

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 agentic-ui-usage

README.md
[![agentmods](https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/agentic-ui-usage.svg)](https://agentmods.dev/skills/antdigital-ai/agentic-ui/agentic-ui-usage)
Your own site
<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/agentic-ui-usage"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/agentic-ui-usage.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00097 $0.01083
Opus 5 $0.00048 $0.00541
Sonnet 5 $0.00019 $0.00217
Haiku 4.5 $0.00010 $0.00108

Measured 4d ago against content hash ac6715fc1c9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentic-ui-usage 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 4d 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.

.cursor/skills/agentic-ui-usage/SKILL.md · 108 lines

How it starts

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

Agentic UI 组件库使用指南

面向在业务项目中使用 @ant-design/agentic-ui 的开发者:安装、引入、常见场景与 API 查阅方式。

安装与依赖

pnpm add @ant-design/agentic-ui
# 或 npm / yarn
  • Peerreactreact-dom >= 16.9.0(项目需已安装)。
  • 运行时依赖:包内已含 antd@ant-design/cssinjs 等,无需单独安装。
  • 使用前确保项目已正确引入 Ant Design 样式或 CSS-in-JS 方案(与 antd 5 一致)。

引入方式

// 按需引入常用组件
import {
  AgenticLayout,
  ChatLayout,
  History,
  Workspace,
  Bubble,
  AIBubble,
  UserBubble,
  MarkdownInputField,
  MarkdownEditor,
  ThoughtChainList,
  ToolUseBar,
  TaskList,
  AgentRunBar,
  WelcomeMessage,
  ChatBootPage,
} from '@ant-design/agentic-ui';

// 类型
import type { HistoryItemProps, BubbleListProps } from '@ant-design/agentic-ui';
  • 组件与类型均从 @ant-design/agentic-ui 单入口导出,无需从子路径导入。
  • 若打包器支持 Tree Shaking,未用到的组件会被剔除。

典型使用场景

1. 智能体聊天整体布局

左栏历史 + 中间聊天 + 右侧工作区:

<AgenticLayout
  left={<History dataSource={sessions} onSelect={...} />}
  center={
    <ChatLayout
      header={...}
      content={<Bubble.List messages={messages} />}
      footer={<MarkdownInputField onSubmit={...} />}
    />
  }
  right={<Workspace tabs={[...]} />}
  header={{ leftCollapsed, rightCollapsed, onLeftCollapse, onRightCollapse }}
/>

2. 仅聊天区域(无三栏)

<ChatLayout
  content={<Bubble.List messages={messages} />}
  footer={<MarkdownInputField onSubmit={...} />}
/>

3. 消息列表与气泡

  • 使用 Bubble.List + AIBubble / UserBubble 或直接传入 messages 与渲染约定。
  • 流式、思维链、工具调用等由气泡与 ThoughtChainList、ToolUseBar 等配合展示。

4. 编辑器与输入

  • 只读/展示MarkdownEditor 只读模式或直接渲染 Markdown。
  • 可编辑MarkdownEditor 受控 + value / onChange
  • 输入框MarkdownInputField 支持附件、语音、发送等,通过 onSubmit 等回调与后端对接。

5. 国际化

  • 通过 Ant Design 的 ConfigProvider 传入 locale,与 antd 一致。
  • 组件库内置中英文等 locale,可合并或覆盖:import { locale } from '@ant-design/agentic-ui'(具体以文档为准),再传给 ConfigProvider

API 与文档查阅

  • 组件 API:仓库内 docs/components/ 下各组件文档(如 agentic-layout.mdbubble.md),含 Props、受控/非受控说明。
  • Demodocs/demos-pages/ 与站点 Demo 页(如 layout、chat、editor、markdown-input-field、workspace、history 等)对应实际用法。
  • 类型:从 @ant-design/agentic-ui 导出,用 TypeScript 时可查看 .d.ts 或 IDE 提示。

Read the full file on GitHub · 108 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. 4d ago First seen · 108 lines · 97 tokens per session scan A ac6715fc1c9c

Subscribe to this mod's changes

agentic-ui-usage is a skill published in the GitHub repository antdigital-ai/agentic-ui (224 stars, last pushed 23d ago), licensed MIT. It adds 97 tokens to every session and 1,083 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

chakra-ui-refactor

Review, convert, and improve UI code using Chakra UI v3. Use this skill whenever a user wants to review Chakra UI code for issues, convert plain HTML/CSS, Tailwind, CSS Modules, or styled-components to Chakra UI, clean up messy Chakra components, fix layout structure or token usage, or asks anything like "is this…

chakra-ui/chakra-ui · 139 tokens

coss

Helps implement coss UI components correctly. Use when building UIs with coss primitives (buttons, dialogs, selects, forms, menus, tabs, inputs, toasts, etc.), migrating from shadcn/Radix to coss/Base UI, composing trigger-based overlays, or troubleshooting coss component behavior. Covers imports, accessibility…

usekaneo/kaneo · 80 tokens

magic-ui

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.

magicuidesign/magicui · 56 tokens

stitch::react-components

Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.

google-labs-code/stitch-skills · 43 tokens

skyroc-admin-prd-prototype

为 Skyroc Admin / RuoYi Plus Fast 模块编写来源可追溯的 PRD,并生成可独立打开、可交互、经过桌面端和移动端验收的 HTML 设计原型。仅在用户明确要求使用本 Skill 时启用。.

Ohh-889/skyroc · 69 tokens