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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00023 $0.00119
Sonnet 5.5 $0.00012 $0.00060
Haiku 4.5 $0.00006 $0.00030

Measured 2mo ago against content hash 0e3246682eb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 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-history/SKILL.md · 29 lines

What it actually says

History 组件开发

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

源码位置

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

主要 Props

  • agentId、sessionId、request 用于数据拉取
  • onClick、onDeleteItem、onInit、onShow
  • standalone、emptyRender、customDateFormatter 等

开发规范

  • 使用 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. 2mo 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 (237 stars, last pushed 24d ago), licensed MIT. It adds 58 tokens to every session and 298 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-history compared with skills from other repositories

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