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.
curl -O https://raw.githubusercontent.com/antdigital-ai/agentic-ui/main/.cursor/skills/component-agentic-layout/SKILL.mdgit 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/component-agentic-layout)<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-agentic-layout"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-agentic-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.
<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-agentic-layout"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-agentic-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00057 | $0.01972 |
| Opus 5.5 | $0.00023 | $0.00789 |
| Sonnet 5.5 | $0.00011 | $0.00394 |
| Haiku 4.5 | $0.00006 | $0.00197 |
Grade A, and why
component-agentic-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.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AgenticLayout 组件开发
智能体应用主布局:左-中-右三栏 + 头部,用于应用外壳与侧栏布局。修改布局或头部时,按本技能内的 API 与规范直接实现,无需再查源码。
组件 API(自包含)
AgenticLayoutProps
| 属性 | 说明 | 类型 | 默认 |
|---|---|---|---|
left |
左侧内容 | ReactNode | - |
center |
中间内容(必填) | ReactNode | - |
right |
右侧内容 | ReactNode | - |
header |
头部配置,见下 | LayoutHeaderConfig | - |
style |
自定义样式,会透传到根节点(可含 minHeight 等) |
React.CSSProperties | - |
className |
自定义类名,与根节点 prefixCls、hashId 一起拼接 |
string | - |
leftWidth |
左侧宽度(px) | number | 256 |
rightWidth |
右侧宽度(px),可被用户拖拽改变,会受最小/最大限制 | number | 540 |
minHeight |
最小高度(类型已声明,实现上可用 style.minHeight 覆盖样式默认值) |
string | number | - |
children |
子元素(兼容用,内容建议用 center) |
ReactNode | - |
说明:根节点最小高度由样式固定为 600px;需自定义时传 style={{ minHeight: '...' }}。当前未从 props 的 minHeight 读到根节点,与类型保持一致即可。
LayoutHeaderConfig(头部配置)
| 属性 | 说明 | 类型 | 默认 |
|---|---|---|---|
title |
标题,支持文本或 React 节点 | ReactNode | 'AI 助手' |
showShare |
是否显示分享按钮 | boolean | false |
leftCollapsible |
左侧是否可折叠(未传时由 AgenticLayout 按是否有 left 推断) |
boolean | - |
rightCollapsible |
右侧是否可折叠(未传时由 AgenticLayout 按是否有 right 推断) |
boolean | - |
leftCollapsed |
左侧折叠状态(受控) | boolean | - |
rightCollapsed |
右侧折叠状态(受控) | boolean | - |
leftDefaultCollapsed |
左侧默认折叠(非受控) | boolean | false |
rightDefaultCollapsed |
右侧默认折叠(非受控) | boolean | false |
onLeftCollapse |
左侧折叠回调 | (collapsed: boolean) => void | - |
onRightCollapse |
右侧折叠回调 | (collapsed: boolean) => void | - |
onShare |
分享点击 | () => void | - |
leftExtra |
头部左侧额外内容,渲染在标题同侧 | ReactNode | - |
rightExtra |
头部右侧额外内容,渲染在分享/折叠按钮同侧 | ReactNode | - |
className |
头部根节点自定义类名 | string | - |
折叠状态:有 leftCollapsed/rightCollapsed 时为受控;否则用 leftDefaultCollapsed/rightDefaultCollapsed 作初始值,由内部 useMergedState + onLeftCollapse/onRightCollapse 更新。LayoutHeader 内部用 I18n 的 locale['chatFlow.collapseLeft']、locale['chatFlow.collapseRight']、locale['chatFlow.share'] 等做文案与 aria-label。
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.
- 2mo ago First seen · 100 lines · 57 tokens per session scan A 514b99b60798
component-agentic-layout is a skill published in the GitHub repository antdigital-ai/agentic-ui (237 stars, last pushed 24d ago), licensed MIT. It adds 57 tokens to every session and 1,972 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.
component-agentic-layout compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| component-agentic-layoutantdigital-ai/agentic-ui | Skill | 237 | 24d ago | MIT | A | 57 | Cursor |
| webgl-holographic-foilnexu-io/open-design | Skill | 106k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 106k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-taste-brutalistnexu-io/open-design | Skill | 106k | today | Apache-2.0 | A | 78 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | 3d ago | MIT | A | 52 | Codex |
| glance-canonical-layoutsandroid/skills | Skill | 10k | yesterday | Apache-2.0 | A | 56 | Claude Code |
| accessibilitymicrosoft/hve-core | Skill | 1.6k | yesterday | MIT | A | 47 | Claude Code |