Generic Assistant
mastra-ai/mastra
Fallback authoring playbook for building general-purpose personal assistant agents that do not fit a more specific archetype.
Guide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive.
$ npx skills add compozy/compozy --skill assistant-ui-primitives -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install compozy/compozy assistant-ui-primitives --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/compozy/compozy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/assistant-ui/assistant-ui-primitives .claude/skills/assistant-ui-primitives && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "assistant-ui-primitives" agent skill from https://github.com/compozy/compozy/tree/main/.agents/skills/assistant-ui/assistant-ui-primitives into .claude/skills/assistant-ui-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assistant-ui-primitives", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/compozy/compozy/tree/main/.agents/skills/assistant-ui/assistant-ui-primitivesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add compozy/compozy --skill assistant-ui-primitives -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install compozy/compozy assistant-ui-primitives --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/compozy/compozy.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/assistant-ui/assistant-ui-primitives .agents/skills/assistant-ui-primitives && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "assistant-ui-primitives" agent skill from https://github.com/compozy/compozy/tree/main/.agents/skills/assistant-ui/assistant-ui-primitives into .agents/skills/assistant-ui-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assistant-ui-primitives", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add compozy/compozy --skill assistant-ui-primitives -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install compozy/compozy assistant-ui-primitives --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/compozy/compozy.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/assistant-ui/assistant-ui-primitives .cursor/skills/assistant-ui-primitives && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "assistant-ui-primitives" agent skill from https://github.com/compozy/compozy/tree/main/.agents/skills/assistant-ui/assistant-ui-primitives into .cursor/skills/assistant-ui-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assistant-ui-primitives", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/compozy/compozy.git --path .agents/skills/assistant-ui/assistant-ui-primitives--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add compozy/compozy --skill assistant-ui-primitives -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install compozy/compozy assistant-ui-primitives --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/compozy/compozy.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/assistant-ui/assistant-ui-primitives .gemini/skills/assistant-ui-primitives && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "assistant-ui-primitives" agent skill from https://github.com/compozy/compozy/tree/main/.agents/skills/assistant-ui/assistant-ui-primitives into .gemini/skills/assistant-ui-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assistant-ui-primitives", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install compozy/compozy assistant-ui-primitivesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add compozy/compozy --skill assistant-ui-primitives -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/compozy/compozy.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/assistant-ui/assistant-ui-primitives .github/skills/assistant-ui-primitives && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "assistant-ui-primitives" agent skill from https://github.com/compozy/compozy/tree/main/.agents/skills/assistant-ui/assistant-ui-primitives into .github/skills/assistant-ui-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assistant-ui-primitives", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add compozy/compozy --skill assistant-ui-primitives -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install compozy/compozy assistant-ui-primitives --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/compozy/compozy.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/assistant-ui/assistant-ui-primitives .opencode/skills/assistant-ui-primitives && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "assistant-ui-primitives" agent skill from https://github.com/compozy/compozy/tree/main/.agents/skills/assistant-ui/assistant-ui-primitives into .opencode/skills/assistant-ui-primitives/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "assistant-ui-primitives", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
assistant-ui-primitivesGuide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive.
Assistant UI Primitives is an agent skill from compozy/compozy. Guide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive. Use when customizing chat UI components.
Its SKILL.md is about 1000 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/action-bar.md`, `references/composer.md` and `references/message.md`).
The repository describes itself as: An operating system for AI agents. Plug in the agent CLIs you already use (Claude Code, Codex, Gemini CLI, Cursor) and they become a team: they split the work, hand tasks to each… The licence is MIT.
Read from SKILL.md and the folder at commit c46be43. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
assistant-ui.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Assistant UI Primitives loads about 999 tokens when it runs, and up to ~7.2k if it reads all its reference files. Until then it costs about 39 tokens; SKILL.md has 120 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from compozy/compozy at commit c46be43, republished under its MIT licence (© compozy). 120 words, ~999 tokens.
.claude/skills/assistant-ui-primitives/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Always consult assistant-ui.com/llms.txt for latest API.
Composable, unstyled components following Radix UI patterns.
import {
AuiIf,
ThreadPrimitive,
ComposerPrimitive,
MessagePrimitive,
ActionBarPrimitive,
BranchPickerPrimitive,
AttachmentPrimitive,
ThreadListPrimitive,
ThreadListItemPrimitive,
} from "@assistant-ui/react";| Primitive | Key Parts |
|---|---|
ThreadPrimitive | .Root, .Viewport, .Messages, .Empty, .ScrollToBottom |
ComposerPrimitive | .Root, .Input, .Send, .Cancel, .Attachments |
MessagePrimitive | .Root, .Parts/.Content, .If, .Error |
ActionBarPrimitive | .Copy, .Edit, .Reload, .Speak, .FeedbackPositive, .FeedbackNegative, .ExportMarkdown |
BranchPickerPrimitive | .Previous, .Next, .Number, .Count |
function CustomThread() {
return (
<ThreadPrimitive.Root className="flex flex-col h-full">
<ThreadPrimitive.Empty>
<div className="flex-1 flex items-center justify-center">
Start a conversation
</div>
</ThreadPrimitive.Empty>
<ThreadPrimitive.Viewport className="flex-1 overflow-y-auto p-4">
<ThreadPrimitive.Messages components={{
UserMessage: CustomUserMessage,
AssistantMessage: CustomAssistantMessage,
}} />
</ThreadPrimitive.Viewport>
<ComposerPrimitive.Root className="border-t p-4 flex gap-2">
<ComposerPrimitive.Input className="flex-1 rounded-lg border px-4 py-2" />
<ComposerPrimitive.Send className="bg-blue-500 text-white px-4 py-2 rounded-lg">
Send
</ComposerPrimitive.Send>
</ComposerPrimitive.Root>
</ThreadPrimitive.Root>
);
}Prefer AuiIf for new code. Primitive .If components still exist but are deprecated.
<AuiIf condition={({ message }) => message.role === "user"}>
User only
</AuiIf>
<AuiIf condition={({ thread }) => thread.isRunning}>
Generating...
</AuiIf>
<AuiIf condition={({ message }) => message.branchCount > 1}>
Has edit history
</AuiIf>
<AuiIf condition={({ thread }) => thread.isRunning}>
<ComposerPrimitive.Cancel>Stop</ComposerPrimitive.Cancel>
</AuiIf>
<AuiIf condition={({ thread }) => thread.isEmpty}>No messages</AuiIf><MessagePrimitive.Content components={{
Text: ({ part }) => <p>{part.text}</p>,
Image: ({ part }) => <img src={part.image} alt="" />,
ToolCall: ({ part }) => <div>Tool: {part.toolName}</div>,
Reasoning: ({ part }) => <details><summary>Thinking</summary>{part.text}</details>,
}} /><MessagePrimitive.If hasBranches>
<BranchPickerPrimitive.Root className="flex items-center gap-1">
<BranchPickerPrimitive.Previous>←</BranchPickerPrimitive.Previous>
<span><BranchPickerPrimitive.Number /> / <BranchPickerPrimitive.Count /></span>
<BranchPickerPrimitive.Next>→</BranchPickerPrimitive.Next>
</BranchPickerPrimitive.Root>
</MessagePrimitive.If>Primitives not rendering
AssistantRuntimeProviderStyles not applying
className and style with your app's Tailwind/CSS system© compozy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in .agents/skills/assistant-ui/assistant-ui-primitives of compozy/compozy.
Open the folder on GitHubat commit c46be43
Assistant UI Primitives next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Assistant UI Primitives this skillcompozy/compozy | 2.8k | — | ~999 | Automated safety check: Pass | MIT | |
| Generic Assistantmastra-ai/mastra | 29k | — | ~1.1k | Automated safety check: Pass | Custom licence | |
| Author UI Primitivesremix-run/remix | 33k | — | ~2.5k | Automated safety check: Pass | MIT | |
| RAG AssistantAtmosphere/atmosphere | 3.8k | — | ~504 | Automated safety check: Pass | Apache-2.0 | |
| AI AssistantAtmosphere/atmosphere | 3.8k | — | ~193 | Automated safety check: Pass | Apache-2.0 | |
| Tool AssistantAtmosphere/atmosphere | 3.8k | — | ~412 | Automated safety check: Pass | Apache-2.0 |
mastra-ai/mastra
Fallback authoring playbook for building general-purpose personal assistant agents that do not fit a more specific archetype.
remix-run/remix
Build idiomatic headless primitives in packages/ui for Remix.
Atmosphere/atmosphere
Knowledge base assistant that retrieves and cites documents from a curated index.
Atmosphere/atmosphere
Streaming chat assistant with conversation memory. An agent skill from Atmosphere/atmosphere.
Atmosphere/atmosphere
Tool-calling assistant with backend functions for time, city time, weather, and temperature conversion, plus cost metering and approval workflows.
MadsLorentzen/ai-job-search
Evaluates job postings against your profile, then tailors a LaTeX CV and cover letter and prepares interview answers for the roles you pursue.
compozy/compozy
Dogfoods Compozy through an autonomous startup scenario with live providers, cross-surface observation, and strict evidence audit.
compozy/compozy
Go test-shape discipline for Compozy. An agent skill from compozy/compozy.
compozy/compozy
Guide for assistant-ui library - AI chat UI components. An agent skill from compozy/compozy.
compozy/compozy
Guide for assistant-ui runtime system and state management. An agent skill from compozy/compozy.
compozy/compozy
Guide for assistant-stream package and streaming protocols. An agent skill from compozy/compozy.
compozy/compozy
Guide for tool registration and tool UI in assistant-ui. An agent skill from compozy/compozy.
Guide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive. Assistant UI Primitives is an agent skill from compozy/compozy. Guide for assistant-ui UI primitives - ThreadPrimitive, ComposerPrimitive, MessagePrimitive.
Assistant UI Primitives fits situations like: customizing chat UI components.
Run `npx skills add compozy/compozy --skill assistant-ui-primitives -a claude-code`. Or copy the skill folder (.agents/skills/assistant-ui/assistant-ui-primitives in compozy/compozy) into .claude/skills/assistant-ui-primitives in your project. Claude Code loads it when a task matches its description.
Run `npx skills add compozy/compozy --skill assistant-ui-primitives -a codex`. Or copy the skill folder (.agents/skills/assistant-ui/assistant-ui-primitives in compozy/compozy) into .agents/skills/assistant-ui-primitives in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add compozy/compozy --skill assistant-ui-primitives -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/assistant-ui-primitives, .gemini/skills/assistant-ui-primitives, .github/skills/assistant-ui-primitives and .opencode/skills/assistant-ui-primitives in your project.
SKILL.md names no scripts, command-line tools or credentials: Assistant UI Primitives is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: assistant-ui.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Assistant UI Primitives is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 999 tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Assistant UI Primitives: Generic Assistant (mastra-ai/mastra, 29k stars), Author UI Primitives (remix-run/remix, 33k stars), RAG Assistant (Atmosphere/atmosphere, 3.8k stars) and AI Assistant (Atmosphere/atmosphere, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
compozy (a GitHub organization) maintains it in compozy/compozy, which has 2,791 GitHub stars. The repository holds 47 skills in this directory. The repository was last updated on October 7, 2026.
Source: compozy/compozy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.