← All skills
ai-elements
82 / 100 · Low risk
Fine to try.
By openai/plugins (GitHub) · design · 7,836 stars · scanned at commit d420d13
AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn/ui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 17 places.
Show 14 more
- plugins/vercel/skills/ai-elements/SKILL.md, line 119
npx ai-elements@latest add conversation # Full chat UI (if building a chat app) - plugins/vercel/skills/ai-elements/SKILL.md, line 149
**Install only the components you actually use.** Do NOT run `npx ai-elements@latest` without arguments or install `all.json` — this installs 48 components, mos - plugins/vercel/skills/ai-elements/SKILL.md, line 153
npx ai-elements@latest add message # MessageResponse — required for any AI text - plugins/vercel/skills/ai-elements/SKILL.md, line 154
npx ai-elements@latest add conversation # Full chat UI container - plugins/vercel/skills/ai-elements/SKILL.md, line 155
npx ai-elements@latest add code-block # Syntax-highlighted code - plugins/vercel/skills/ai-elements/SKILL.md, line 156
npx ai-elements@latest add tool # Tool call display - plugins/vercel/skills/ai-elements/SKILL.md, line 159
npx shadcn@latest add https://elements.ai-sdk.dev/api/registry/message.json - plugins/vercel/skills/ai-elements/SKILL.md, line 160
npx shadcn@latest add https://elements.ai-sdk.dev/api/registry/conversation.json - plugins/vercel/skills/ai-elements/SKILL.md, line 306
npx ai-elements@latest add persona speech-input transcription audio-player mic-selector voice-selector - plugins/vercel/skills/ai-elements/SKILL.md, line 353
npx ai-elements@latest add agent code-block commit environment-variables file-tree package-info sandbox schema-display snippet stack-trace terminal test-results - plugins/vercel/skills/ai-elements/SKILL.md, line 451
- **Rapid prototyping** — `npx ai-elements` + `<Conversation>` + `<Message>` gives you a production-quality chat UI in under 5 minutes. - plugins/vercel/skills/ai-elements/SKILL.md, line 462
1. **Missing shadcn primitives** — AI Elements components depend on shadcn/ui base components (Button, Card, ScrollArea, etc.). If you see `Module not found: @/ - plugins/vercel/skills/ai-elements/SKILL.md, line 471
1. **AI Elements requires shadcn/ui** — run `npx shadcn@latest init` first if not already set up - plugins/vercel/skills/ai-elements/SKILL.md, line 475
5. **shadcn must use Radix base** — AI Elements uses Radix-specific APIs (`asChild`, `openDelay` on Root). If shadcn was initialized with `--base base-ui`, rein
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README.
Found in 4 places.
Show 1 more
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'ai-elements' ] || [ -L ~/.agents/skills/'ai-elements' ]; then echo 'A skill folder named ai-elements already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/openai/plugins' "$d" && git -C "$d" checkout --quiet 'd420d13051bffe4543ed39e30fa46b87148e47dd' -- 'plugins/vercel/skills/ai-elements' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/vercel/skills/ai-elements' ~/.agents/skills/'ai-elements' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'ai-elements' ~/.claude/skills/'ai-elements' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for openai/plugins shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/openai/plugins/)
Score history
| Date | Version | Score |
|---|
| 2026-11-07 | d420d13 | 82 |