agent-ui — Claude Code skill: what it does, how to install
agent-ui is a Claude Code skill that adds a ready-made AI agent interface to React and Next.js, with chat, user approvals, and browser tool calls.
no license 247 installs ★ 31 updated 2026-08-31
npx skills add 101-skills/superpowers --skill agent-ui -a claude-codeWhat agent-ui does
This skill guides your coding agent through adding the pre-built agent UI from ui.inference.sh. The component bundles client-side tool execution, token streaming, and approval prompts. You can embed it into a Next.js project without writing orchestration logic on your own server.
The component relies on an API proxy route created with @inferencesh/sdk and needs an INFERENCE_API_KEY. Without that proxy configured, requests to the model will fail. It installs via the shadcn CLI and supports props for file and image uploads.
What it helps with
- embed an interactive AI assistant into a Next.js or React interface
- require user confirmation before running agent tools
- automate browser form filling with client-side tools
- render declarative JSON widgets directly from agent responses
Example prompts for the agent
- Add the inference agent component configured with the
/api/inference/proxyroute - Set up form-filling client tools for the Agent component
- Enable file and image attachments on the Agent interface
How to install agent-ui
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill agent-ui -a claude-code2Manually: put the files in place
~/.claude/skills/agent-ui/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/agent-ui/
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill agent-ui -a codex2Manually: put the files in place
.agents/skills/agent-ui/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill agent-ui -a cursor2Manually: put the files in place
.cursor/skills/agent-ui/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install 101-skills/superpowers ui/agent-ui/SKILL.md2Manually: put the files in place
.github/skills/agent-ui/SKILL.md1Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill agent-ui -a gemini-cli2Platform CLI
gemini skills install https://github.com/101-skills/superpowers --path ui/agent-uiManually: put the files in place
.devin/skills/agent-ui/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add 101-skills/superpowers --skill agent-ui -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about agent-ui
How to install agent-ui in Claude Code?
Run npx skills add 101-skills/superpowers --skill agent-ui -a claude-code in your terminal.
What does agent-ui do?
It shows your AI coding assistant how to set up the pre-built agent component from ui.inference.sh in a React application.
What backend setup does the component require?
You need the @inferencesh/sdk package to handle the Next.js proxy route and an INFERENCE_API_KEY in your environment.