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.
npx agentmods add skills/antdigital-ai/agentic-ui/agentic-ui-usagenpx skills add antdigital-ai/agentic-ui --skill agentic-ui-usagegit clone --depth 1 https://github.com/antdigital-ai/agentic-uiWrote 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.
[](https://agentmods.dev/skills/antdigital-ai/agentic-ui/agentic-ui-usage)<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>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.
| Model | Per session | Once 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 |
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.
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
- Peer:
react、react-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.md、bubble.md),含 Props、受控/非受控说明。 - Demo:
docs/demos-pages/与站点 Demo 页(如 layout、chat、editor、markdown-input-field、workspace、history 等)对应实际用法。 - 类型:从
@ant-design/agentic-ui导出,用 TypeScript 时可查看.d.ts或 IDE 提示。
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.
- 4d ago First seen · 108 lines · 97 tokens per session scan A ac6715fc1c9c
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.
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-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…
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…
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.
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.
skyroc-admin-prd-prototype
为 Skyroc Admin / RuoYi Plus Fast 模块编写来源可追溯的 PRD,并生成可独立打开、可交互、经过桌面端和移动端验收的 HTML 设计原型。仅在用户明确要求使用本 Skill 时启用。.