agentic-ui: Skill for Cursor

.cursor/skills/component-chat-layout/SKILL.md

component-chat-layout is a skill for Cursor from antdigital-ai/agentic-ui. It costs 56 tokens per session (268 once invoked), scanned A, original, MIT.

A ChatLayout component for arranging a chat interface into a header, message area, and fixed input footer.

In plain words
What is it for?
Use it to build or modify chat screens in @ant-design/agentic-ui and combine it with message lists, Markdown input, history, or sharing controls.
Why use it?
It provides a consistent structure for chat pages and supports the scrolling, sizing, styling, and controls those areas need.

Skill for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

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/component-chat-layout/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 component-chat-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-chat-layout/github.svg)](https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-chat-layout)
Your own site
<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-chat-layout"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-chat-layout/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 component-chat-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-chat-layout"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-chat-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 268 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.00056 $0.00268
Opus 5.5 $0.00022 $0.00107
Sonnet 5.5 $0.00011 $0.00054
Haiku 4.5 $0.00006 $0.00027

Measured 2mo ago against content hash b8728d403816, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

component-chat-layout 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/component-chat-layout/SKILL.md · 28 lines

What it actually says

ChatLayout 组件开发

聊天界面布局:头部、内容区、底部固定区域(如输入框)。

源码位置

  • 主组件:src/ChatLayout/index.tsx
  • 类型:src/ChatLayout/types.ts(ChatLayoutProps、ChatLayoutRef)
  • 子组件:FooterBackground 等见 src/ChatLayout/components/

主要能力

  • 头部(标题、折叠、分享等)、内容区(BubbleList 等)、底部固定
  • useAutoScroll、useElementSize 等 Hooks 配合
  • ref 暴露方法见 ChatLayoutRef

开发规范

  • 样式使用 createStyles 与 token;支持 classNames/styles。
  • 与 Bubble、MarkdownInputField、History 等组合时保持结构一致。

修改聊天布局时,参考 src/ChatLayout/ 与 AGENTS.md。

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 · 28 lines · 56 tokens per session scan A b8728d403816

Subscribe to this mod's changes

component-chat-layout is a skill published in the GitHub repository antdigital-ai/agentic-ui (237 stars, last pushed 24d ago), licensed MIT. It adds 56 tokens to every session and 268 once invoked, about $0.0002 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

component-chat-layout compared with skills from other repositories

component-chat-layout next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
component-chat-layoutantdigital-ai/agentic-uiSkill23724d agoMITA56Cursor
webgl-holographic-foilnexu-io/open-designSkill106ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code