component-tool-use

component-tool-use is a skill for Claude Code, Codex, Cursor from antdigital-ai/agentic-ui. It costs 63 tokens per session (316 once invoked), scanned A, original, MIT.

Development guidance for ToolUseBar and ToolUseBarThink, interface components that show tool or API calls, their parameters, results, status, and duration in a chat application.

In plain words
What is it for?
Use it when building or changing tool-call status bars, loading or thinking indicators, or their integration with chat components in @ant-design/agentic-ui.
Why use it?
It keeps tool-call displays consistent with the surrounding conversation interface and establishes the expected styling and event conventions.

Skill for Claude CodeCodexCursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/antdigital-ai/agentic-ui/component-tool-use
Any agent
npx skills add antdigital-ai/agentic-ui --skill component-tool-use
Clone the repo
git clone --depth 1 https://github.com/antdigital-ai/agentic-ui

Made for: Claude Code, Codex, 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-tool-use

README.md
[![agentmods](https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-tool-use.svg)](https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-tool-use)
Your own site
<a href="https://agentmods.dev/skills/antdigital-ai/agentic-ui/component-tool-use"><img src="https://agentmods.dev/badge/skills/antdigital-ai/agentic-ui/component-tool-use.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 316 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.00316
Opus 5 $0.00032 $0.00158
Sonnet 5 $0.00013 $0.00063
Haiku 4.5 $0.00006 $0.00032

Measured 4d ago against content hash c54966fe4c36, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

component-tool-use 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 4d 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-tool-use/SKILL.md · 27 lines

What it actually says

ToolUseBar / ToolUseBarThink 组件开发

工具调用与“思考中”状态展示条,用于在对话中呈现工具名称、参数、结果与耗时等。

源码位置

  • 工具调用条:src/ToolUseBar/index.tsxsrc/ToolUseBar/BarItem.tsx
  • 思考条:src/ToolUseBarThink/index.tsx

主要能力

  • ToolUseBar:工具名称、状态、参数、结果、耗时(costMillis)等展示。
  • ToolUseBarThink:思考中/加载状态条,常与思维链或 Bubble 配合。

开发规范

  • 样式使用 createStyles 与 token,支持 classNames/styles
  • 事件与回调使用 on 前缀。
  • 与 Bubble、ThoughtChainList 等组件协同使用时,保持展示风格一致。

修改或扩展工具调用展示时,参考 src/ToolUseBar/src/ToolUseBarThink/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. 4d ago First seen · 27 lines · 63 tokens per session scan A c54966fe4c36

Subscribe to this mod's changes

component-tool-use is a skill published in the GitHub repository antdigital-ai/agentic-ui (224 stars, last pushed 23d ago), licensed MIT. It adds 63 tokens to every session and 316 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

hallmark

Anti-AI-slop design skill for greenfield pages, audits, redesigns, and design extraction from URLs or screenshots. Use when the user asks to build a new app or landing page, wants to redesign something, invokes Hallmark by name, or uses audit/redesign/study.

Nutlope/hallmark · 61 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

desktop-principles

Desktop-specific UX principles - hover states, pointer precision, keyboard shortcuts, multi-window, focus management. Covers macOS, Windows, Linux, web desktop.

Jwuthri/Tracely-ai · 36 tokens

taiyi-ui-design

TaiyiForge 第 4 阶段 — UI/UX 契约,产出 UI-DESIGN.md。四端通用。.

Dong90/oh-my-taiyiforge · 35 tokens

accessibility-analysis

服務可達性分析工具箱(accessibility / service coverage)。當用戶說「30km 路網可達」「最近 X 站」「服務範圍」「沙漠」「孤島」「等時圈」「isochrone」「可達性分析」「路網覆蓋」或要新增任何「離 POI 多遠」類型的分析時觸發。整合 mini-taiwan-pulse + taipei-gis-analytics 兩端 SOP,覆蓋三種視覺模式(路網染色 / Polygon 沿路網 / Hex 格點)、三套既有 reference pipeline 對照、模式選擇決策樹、常見坑(Overpass mirror 不穩 / pyrosm 爆 RAM / multi-bucket /…

ianlkl11234s/mini-taiwan-pulse · 239 tokens