# tools-ui

tools-ui is a skill for building React/Next.js interfaces for agent tool calls, showing progress, approval prompts, and results. It makes tool activity visible before and after execution.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 243 installs · ★ 31 repo stars
- Author: 101-skills
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/101-skills/superpowers/tree/HEAD/ui/tools-ui/SKILL.md
- Updated: 2026-08-31
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/tools-ui

## What it does

The skill covers `ToolCall`, `ToolResult`, and `ToolApproval` components. They display call arguments and results, with states for `pending`, `running`, `approval`, `success`, and `error`. `ToolApproval` accepts handlers for approving or denying an action.

Add the UI components with `npx shadcn@latest add https://ui.inference.sh/r/tools.json`. The examples also show an `Agent` component that handles tool lifecycle and enables approval with `requiresApproval`. These are React/Next.js interface components, not the tool execution logic itself; the app still needs to connect calls and handlers to its own behavior.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill tools-ui -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/tools-ui/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/tools-ui/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill tools-ui -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/tools-ui/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill tools-ui -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/tools-ui/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install 101-skills/superpowers ui/tools-ui/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/tools-ui/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill tools-ui -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/101-skills/superpowers --path ui/tools-ui
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/tools-ui/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add 101-skills/superpowers --skill tools-ui -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/101-skills/superpowers/tree/HEAD/ui/tools-ui/SKILL.md

## When to use it
- display tool arguments and execution state
- ask for approval before a tool runs
- show a tool result or error
- assign icons to tools based on their names

## Example prompts
- Add a React card for `search_web` that shows its arguments and running status.
- Add an approval step for `send_email` with approve and deny handlers.
- Show tool results along with pending, running, and error states.

## Similar
- [integrate-todo-list](https://affpapa.org/en/nevibecode/skills/integrate-todo-list.md) — skill · 1900 installs
- [vercel-react-view-transitions](https://affpapa.org/en/nevibecode/skills/vercel-react-view-transitions.md) — skill · 197400 installs
- [feature-sliced-design](https://affpapa.org/en/nevibecode/skills/feature-sliced-design.md) — skill · 24500 installs
- [agentation](https://affpapa.org/en/nevibecode/skills/agentation.md) — skill · 14000 installs
- [stitch::code-to-design](https://affpapa.org/en/nevibecode/skills/stitchcode-to-design.md) — skill · 11700 installs
- [setup](https://affpapa.org/en/nevibecode/skills/assistant-ui-setup.md) — skill · 6400 installs

From the same set: [101-skills/superpowers](https://affpapa.org/en/nevibecode/by/101-skills/superpowers.md) — 81 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
