agentic-ui: Skill for Cursor

.cursor/skills/component-history/SKILL.md

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

A development guide for History, a chat or conversation history list that can load, search, delete, and show more saved sessions for an agent.

In plain words
What is it for?
Use it when building a history sidebar, displaying conversation sessions, adding search or deletion, or loading more entries.
Why use it?
It clarifies how session data is requested and how the history list connects to a chat sidebar or other interface.

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-history/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-history

README.md
[![agentmods](https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-history.svg)](https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-history)
Your own site
<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-history"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-history.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 298 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.00058 $0.00298
Opus 5 $0.00029 $0.00149
Sonnet 5 $0.00012 $0.00060
Haiku 4.5 $0.00006 $0.00030

Measured 8d ago against content hash 0e3246682eb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

component-history 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 8d 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-history/SKILL.md · 29 lines

What it actually says

History 组件开发

会话历史列表:按 agent/session 拉取、展示、搜索、删除、加载更多等。

源码位置

  • 主组件:src/History/index.tsx
  • 子组件与 hooks:src/History/components/src/History/hooks/useHistory.tssrc/History/menu
  • 类型:src/History/types/(HistoryProps、HistoryData、HistoryList 等)
  • 样式:src/History/style.ts

主要 Props

  • agentIdsessionIdrequest 用于数据拉取
  • onClickonDeleteItemonInitonShow
  • standaloneemptyRendercustomDateFormatter

开发规范

  • 使用 token 与 createStyles;列表项结构见 generateHistoryItems 等。
  • 与 ChatLayout 侧栏、MarkdownInputField 等组合时保持数据流清晰。

修改历史组件时,参考 src/History/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. 8d ago First seen · 29 lines · 58 tokens per session scan A 0e3246682eb6

Subscribe to this mod's changes

component-history is a skill published in the GitHub repository antdigital-ai/agentic-ui (224 stars, last pushed 26d ago), licensed MIT. It adds 58 tokens to every session and 298 once invoked, about $0.0003 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

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

ue-component-model

Create or edit the Universal Editor component configuration (component-definition.json, component-models.json, component-filters.json) for AEM Edge Delivery Services blocks. Use this skill whenever the user mentions component models, component definitions, component filters, block configuration for the Universal…

adobe/skills · 140 tokens