ai-elements
Skill67 starsChanged 2 months agoMITView on GitHub
Builds AI chat interfaces with AI Elements components copied into the project. Use when adding or composing conversations, messages, prompt inputs, attachments, reasoning, tool output or sources in an AI SDK application.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- BytePioneer-AI/codex-hosttheir own version, first seen Oct 2, 2026
- skillpie/ZCodeOnlinetheir own version, first seen Sep 29, 2026
- ccbud/CCBuddytheir own version, first seen Sep 24, 2026
- ZCodium-project/ZCodiumtheir own version, first seen Sep 20, 2026
- wdchenxyz/skills-arsenaltheir own version, first seen Aug 12, 2026
- soromi/soromitheir own version, first seen Aug 6, 2026
Used with
Projects with it also use architecture-governance, dep-refs and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ZCodium-projectSkillarchitecture-governance
Apply the repository's architecture policy to code changes by generating a bounded context package, checking module and layer boundaries, and reporting baseline-aware violations. Use for any code change; skip for documentation-only work.
Also in 4 projects that use this
ZCodium-projectSkilldep-refs
Use when needs to inspect TypeScript export references in the z-code workspace, list exports from a file, verify whether an export is unused before deletion, investigate who imports a symbol during refactors, or combine pnpm knip unused-export results with pnpm dep:refs symbol-level reference tracing.
Also in 4 projects that use this
VercelSkillelectron
Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.
Also in 4 projects that use this
VercelSkilldogfood
Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.
Also in 5 projects that use this
anasahmed07Skillbetter-auth-best-practices
Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.
Also in 3 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 3 projects that use this
- +1 more from ZCodium-project
- +2 more from vercel-labs
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- openai/plugins★ 7.3ksame name
- BytePioneer-AI/codex-host★ 2.7ksame name
- vercel/ai-elements★ 2.5ksame name
- mxyhi/ok-skills★ 492same name
- marian2js/opengoat★ 426same name
- ZCodium-project/ZCodium★ 215same name
- oasm-platform/open-asm★ 204same name
- vobase/vobase★ 61same name
- ssdeanx/AgentStack★ 44same name
- soromi/soromi★ 36same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/ai-sdk-6/references/agents.mdAGENTS.md
- skills/ai-sdk-7/references/agents.mdAGENTS.md
- skills/openai-agents-sdk/references/agents.mdAGENTS.md
- skills/react-best-practices/AGENTS.mdAGENTS.md
- skills/vercel-react-view-transitions/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ai-appSkill
- ai-sdk-6Skill
- ai-sdk-7Skill
- ai-sdkSkill
- cache-componentsSkill
- chrome-devtoolsSkill
- frontend-designSkill
- goSkill
- handoffSkill
- hetzner-cloudSkill
- iconsSkill
- next-best-practicesSkill
- nextjs-chatbotSkill
- nextjs-seoSkill
- nextjs-shadcnSkill
- openai-agents-sdkSkill
- postgres-semantic-searchSkill
- react-best-practicesSkill
- shadcnSkill
- skill-creatorSkill
- supabase-postgres-best-practicesSkill
- vercel-react-view-transitionsSkill
- web-design-guidelinesSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use AI Elements where its components fit the interaction.
- Very specific: line 13
Follow the project's package manager, aliases, shadcn configuration and AI SDK major.
- Very specific: line 18
Read generated components/ai-elements/<component>.tsx first, then the matching references/ file and its scripts/ examples.
- Distinctive: line 36
Keep model choice, tools, credentials and authorization on the server.
- Very specific: line 43
When rendering fails, inspect the owned component, theme imports, semantic tokens and actual configured aliases.
- Distinctive: line 47
Verify the rendered flow with real message states and the project's checks.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Elements
Use AI Elements where its components fit the interaction. The generated source belongs to the project: inspect it for the actual API and customize it deliberately.
Project and documentation
Follow the project's package manager, aliases, shadcn configuration and AI SDK
major. Read ai-sdk to resolve the installed version, then the appropriate
ai-sdk-6 or ai-sdk-7 guidance. AI Elements and AI SDK versions can change
independently.
Read generated components/ai-elements/<component>.tsx first, then the
matching references/ file and its scripts/ examples. Use the
AI Elements site or available AI Elements MCP
for current documentation. Load only relevant references; verify bundled
examples against installed source.
For installation, use the project's runner with ai-elements@latest add <component>
or shadcn@latest add @ai-elements/<component>. Components land in
components/ai-elements/ under the alias configured in components.json; that
installed source is the offline API reference. Check installed components and
review generated files before replacing local customization. Use shadcn for
registry, preset and primitive-base details.
Integration
Integration covers the UI/SDK boundary, v6
pitfalls and the context.tsx patch that AI SDK 7 needs. Keep stable message
IDs and render supported message parts with the generated compound components.
Keep model choice, tools, credentials and authorization on the server.
Compose the states the feature needs: streaming, completion, retry, cancellation, attachments, approval or sources. Avoid adding components merely because the library offers them. Preserve keyboard interaction, accessible labels and useful scroll behavior.
When rendering fails, inspect the owned component, theme imports, semantic tokens
and actual configured aliases. Do not copy a default tsconfig or replace the
project's theme to fix one import.
Verify the rendered flow with real message states and the project's checks; type correctness alone does not establish usable streaming or attachment behavior.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

