elements
Skill by CerealAxis
Installs and customizes assistant-ui elements, a styled shadcn-style component catalog for chat surfaces and widgets. Built for developers who want to copy and edit chat UI components in their own project.
Install elements
Built from the published package, never by AI.
git clone --depth 1 https://github.com/CerealAxis/Nola-Translator /tmp/Nola-Translator && mkdir -p ~/.claude/skills && cp -r /tmp/Nola-Translator/skills/assistant-ui/skills/elements ~/.claude/skills/elementsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/CerealAxis/Nola-Translator /tmp/Nola-Translator && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Nola-Translator/skills/assistant-ui/skills/elements ~/.gemini/antigravity-cli/skills/elementsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill covers installing and customizing assistant-ui elements, a catalog of styled, shadcn-style components served from the r.assistant-ui.com registry. Elements are installed with the npx assistant-ui@latest add command and copied into components/assistant-ui/elements/, so the user owns and edits the source. The catalog includes prebuilt chat surfaces such as Thread and AssistantModal, plus 120 standalone elements such as approval cards, agent plans, code diffs and charts.
The skill explains when to use runtime-connected .aui.tsx files versus props-driven standalone files, how to override Thread slots through the components prop, and how to choose the Radix or Base UI flavor in components.json. It also covers common problems such as failed imports, unstyled elements and the wrong flavor being installed. It is for developers building chat interfaces with assistant-ui.
Written from the project's SKILL.md and checked against it.
What it can do
- Install elementsAdds catalog items with the npx assistant-ui@latest add command and pulls their registry and npm dependencies.
- Runtime-connected elementsExplains .aui.tsx elements such as Thread, ThreadList and AssistantModal that read the nearest runtime provider.
- Standalone elementsCovers props-driven elements such as agent plan and code diff that work without a runtime.
- Override Thread slotsShows how to replace Thread slots like Welcome and ToolFallback through the components prop.
- Choose UI flavorExplains picking the Radix or Base UI flavor through the style field in components.json.
- Shared surface tokensDescribes the elements-surfaces class constants and helpers used for a consistent look.
What you need
- npx assistant-ui CLI
- Tailwind CSS v4 with shadcn theme variables in globals.css
- A components.json file for flavor selection
- AssistantRuntimeProvider for runtime-connected elements
Try asking
- Add the thread and thread-list elements to my assistant-ui project.
- Override the Welcome slot in Thread with my own greeting component.
- Switch my elements from Radix to the Base UI flavor in components.json.
Good to know
- Runtime-connected .aui elements must sit inside AssistantRuntimeProvider.
- Base UI variants exist only for a listed set of elements; others fall back to Radix.
- The registry assumes Tailwind v4 and shadcn theme variables.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/assistant-ui/skills/elements/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to elements
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
elements: common questions
Where do assistant-ui elements get installed?
The CLI copies them into components/assistant-ui/elements/, where the user can edit the source directly. Runtime-connected files carry the .aui suffix.
What is the difference between a runtime-connected and a standalone element?
Runtime-connected elements read state from the nearest AssistantRuntimeProvider. Standalone elements take all their data through props and never read runtime state.
Why does an element render without styles?
The source says the registry assumes Tailwind v4 and the shadcn theme variables in globals.css. Missing setup of these can leave elements unstyled.
How do I install elements?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is elements free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is elements safe to use?
It scores 77 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to elements?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
