Agent skill

Component Tool Use

by antdigital-ai in antdigital-ai/agentic-ui

Develop ToolUseBar and ToolUseBarThink for displaying tool/API calls in @ant-design/agentic-ui.

MITAuto-check passed

Install Component Tool Use

skills CLI
$ npx skills add antdigital-ai/agentic-ui --skill component-tool-use -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install antdigital-ai/agentic-ui component-tool-use --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/antdigital-ai/agentic-ui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/component-tool-use .claude/skills/component-tool-use && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
component-tool-use
GitHub stars
224
Token cost
~198 tokens
SKILL.md length
28 words
Files
1
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Develop ToolUseBar and ToolUseBarThink for displaying tool/API calls in @ant-design/agentic-ui.

  • Showing tool invocations
  • SKILL.md covers 源码位置, 主要能力 and 开发规范
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • API call results

What it does

Component Tool Use is an agent skill from antdigital-ai/agentic-ui. Develop ToolUseBar and ToolUseBarThink for displaying tool/API calls in @ant-design/agentic-ui. Use when showing tool invocations, API call results, cost or duration. Triggers on tool use, tool call, API call, ToolUseBar, ToolUseBarThink.

Its SKILL.md is about 200 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Ant Design. The licence is MIT.

When your agent uses it

  • Showing tool invocations
  • API call results
  • ToolUseBarThink

Example prompts

  • “/component-tool-use”

What it can do on your machine

Read from SKILL.md and the folder at commit d0aed66. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Component Tool Use loads about 198 tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 28 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~198

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from antdigital-ai/agentic-ui at commit d0aed66, republished under its MIT licence (© antdigital-ai). 28 words, ~198 tokens.

Download SKILL.mdSave it as .claude/skills/component-tool-use/SKILL.md (or your agent's skills folder).
name
component-tool-use
description
Develop ToolUseBar and ToolUseBarThink for displaying tool/API calls in @ant-design/agentic-ui. Use when showing tool invocations, API call results, cost or duration. Triggers on tool use, tool call, API call, ToolUseBar, ToolUseBarThink.

ToolUseBar / ToolUseBarThink 组件开发

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

源码位置

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

主要能力

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

开发规范

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

修改或扩展工具调用展示时,参考 src/ToolUseBar/、src/ToolUseBarThink/ 及 AGENTS.md。

© antdigital-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/component-tool-use of antdigital-ai/agentic-ui.

Open the folder on GitHubat commit d0aed66

Compare with similar skills

Component Tool Use next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Component Tool Use compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Component Tool Use this skillantdigital-ai/agentic-ui224—~198Automated safety check: PassMIT
LobeHub Interactive Prototypelobehub/lobehub83k—~1.6kAutomated safety check: PassCustom licence
Version ReleaseNG-ZORRO/ng-zorro-antd9.2k—~3.1kAutomated safety check: PassMIT
Ant Design Mobile Releaseant-design/ant-design-mobile12k—~497Automated safety check: PassMIT
Building With Lobe UIlobehub/lobe-ui2.2k—~2kAutomated safety check: PassMIT
Feature SyncNG-ZORRO/ng-zorro-antd9.2k—~840Automated safety check: PassMIT

Similar skills

  • Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.

    83k GitHub stars~1.6k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Version Release

    NG-ZORRO/ng-zorro-antd

    NG-ZORRO/ng-zorro-antd repository release workflow. An agent skill from NG-ZORRO/ng-zorro-antd.

    9.2k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Ant Design Mobile Release

    ant-design/ant-design-mobile

    Prepares an npm release of ant-design-mobile up to the version commit, then tags and publishes the GitHub Release after you run the publish command yourself.

    12k GitHub stars~497 tokensUpdated 24 days ago
    DevelopmentAuto-check passed
  • Building With Lobe UI

    lobehub/lobe-ui

    Build UI with the LobeHub design ecosystem — @lobehub/ui (plus its base-ui, chat, mobile, awesome, brand, mdx, i18n namespaces), @lobehub/icons, @lobehub/charts, @lobehub/fluent-emoji and…

    2.2k GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Feature Sync

    NG-ZORRO/ng-zorro-antd

    Sync an Ant Design React component or feature into NG-ZORRO.

    9.2k GitHub stars~840 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Ant Design Vue UI

    lazzyfu/goInsight

    Build, refactor, or review production-grade admin interfaces with Vue 3 + JavaScript + Ant Design Vue 4.x.

    730 GitHub stars~2k tokensUpdated 6 mo ago
    DatabasesAuto-check passed

More from antdigital-ai/agentic-ui

All 22 skills in this repo
  • Markdown Syntax Guide

    antdigital-ai/agentic-ui

    指导用户使用 @ant-design/agentic-ui 的 Markdown Editor / Renderer 扩展语法。图表场景优先使用内置 chart(HTML 注释 chartType + 表格),只有当内置 chartType 都不能表达诉求时才回退 Mermaid。Triggers on keywords like 表格, 视频, 图表, 卡片, 提示块, 流程图, 语法…

    224 GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check passed
  • Agentic UI Usage

    antdigital-ai/agentic-ui

    Guides how to use @ant-design/agentic-ui in applications (install, import, layout, chat, editor, i18n).

    224 GitHub stars~691 tokensUpdated 2 days ago
    Auto-check passed
  • Component Bubble

    antdigital-ai/agentic-ui

    Develop and extend Bubble components (AIBubble, UserBubble, Bubble list) for AI chat messages in @ant-design/agentic-ui.

    224 GitHub stars~283 tokensUpdated 2 days ago
    Auto-check passed
  • Component Schema

    antdigital-ai/agentic-ui

    Develop SchemaForm, SchemaEditor, SchemaRenderer and validator in @ant-design/agentic-ui for low-code and JSON Schema.

    224 GitHub stars~247 tokensUpdated 2 days ago
    Auto-check passed
  • Agentic UI Development

    antdigital-ai/agentic-ui

    Guides development workflow, design system, scripts, and component inventory for @ant-design/agentic-ui.

    224 GitHub stars~555 tokensUpdated 2 days ago
    Auto-check passed
  • Component Agentic Layout

    antdigital-ai/agentic-ui

    Develop AgenticLayout (left-center-right layout with header) in @ant-design/agentic-ui.

    224 GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Component Tool Use

What does Component Tool Use do?

Develop ToolUseBar and ToolUseBarThink for displaying tool/API calls in @ant-design/agentic-ui. Component Tool Use is an agent skill from antdigital-ai/agentic-ui. Develop ToolUseBar and ToolUseBarThink for displaying tool/API calls in @ant-design/agentic-ui.

When should I use Component Tool Use?

Component Tool Use fits situations like: showing tool invocations; API call results; toolUseBarThink.

How do I install Component Tool Use in Claude Code?

Run `npx skills add antdigital-ai/agentic-ui --skill component-tool-use -a claude-code`. Or copy the skill folder (.cursor/skills/component-tool-use in antdigital-ai/agentic-ui) into .claude/skills/component-tool-use in your project. Claude Code loads it when a task matches its description.

How do I install Component Tool Use in Codex?

Run `npx skills add antdigital-ai/agentic-ui --skill component-tool-use -a codex`. Or copy the skill folder (.cursor/skills/component-tool-use in antdigital-ai/agentic-ui) into .agents/skills/component-tool-use in your project. Codex loads it when a task matches its description.

Can I use Component Tool Use in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add antdigital-ai/agentic-ui --skill component-tool-use -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/component-tool-use, .gemini/skills/component-tool-use, .github/skills/component-tool-use and .opencode/skills/component-tool-use in your project.

What does Component Tool Use need to run?

SKILL.md names no scripts, command-line tools or credentials: Component Tool Use is instructions for the agent only.

Does Component Tool Use access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Component Tool Use safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Component Tool Use use?

Component Tool Use is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Component Tool Use use?

About 198 tokens (SKILL.md is roughly 792 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Component Tool Use?

Skills that share tags, products or a category with Component Tool Use: LobeHub Interactive Prototype (lobehub/lobehub, 83k stars), Version Release (NG-ZORRO/ng-zorro-antd, 9.2k stars), Ant Design Mobile Release (ant-design/ant-design-mobile, 12k stars) and Building With Lobe UI (lobehub/lobe-ui, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Component Tool Use?

antdigital-ai (a GitHub organization) maintains it in antdigital-ai/agentic-ui, which has 224 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 6, 2026.

Source: antdigital-ai/agentic-ui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.