agentic-ui: Skill for Cursor

.cursor/skills/agentic-ui-usage/SKILL.md

agentic-ui-usage is a skill for 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 Cursor

Written for Cursor: installed under .cursor/.

This is antdigital-ai/agentic-ui's own configuration. It tells Cursor how to work on agentic-ui itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentic-ui configures →

Reuse

Borrowing it

Nothing to install: this file belongs to antdigital-ai/agentic-ui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/antdigital-ai/agentic-ui/main/.cursor/skills/agentic-ui-usage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/antdigital-ai/agentic-ui

Made for: 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agentic-ui-usage

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00097 $0.01083
Opus 5.5 $0.00039 $0.00433
Sonnet 5.5 $0.00019 $0.00217
Haiku 4.5 $0.00010 $0.00108

Measured 2mo ago against content hash ac6715fc1c9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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
  • 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 提示。

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. 2mo 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 (237 stars, last pushed 24d ago), licensed MIT. It adds 97 tokens to every session and 1,083 once invoked, about $0.0004 per session on Opus 5.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

agentic-ui-usage compared with skills from other repositories

agentic-ui-usage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agentic-ui-usageantdigital-ai/agentic-uiSkill23724d agoMITA97Cursor
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
tamagui-v6-configtamagui/tamaguiSkill14ktodayMITA0Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14ktodayMITA48Claude Code, Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.2kyesterdayMITA48Claude Code
cobejsMengTo/SkillsSkill7.3kyesterdayMITA31Claude Code, Codex
vercel-composition-patternscalesthio/OpenMontageSkill77k3d agoAGPL-3.0A58Claude Code, Codex