Magic UI is an open-source library of animated interface components and effects that developers can copy into their applications. It is intended for design engineers building React and related web interfaces.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add magicuidesign/magicui --skill magic-uigit clone --depth 1 https://github.com/magicuidesign/magicuiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/magicuidesign/magicui/magic-ui)<a href="https://agentmods.dev/skills/magicuidesign/magicui/magic-ui"><img src="https://agentmods.dev/badge/skills/magicuidesign/magicui/magic-ui/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/magicuidesign/magicui/magic-ui"><img src="https://agentmods.dev/badge/skills/magicuidesign/magicui/magic-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 4 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 31 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 36 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 40 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 74 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.00777 |
| Opus 5.5 | $0.00022 | $0.00311 |
| Sonnet 5.5 | $0.00011 | $0.00155 |
| Haiku 4.5 | $0.00006 | $0.00078 |
Grade A, and why
magic-ui scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Magic UI
Use this skill when the task involves Magic UI components, animated UI sections, or converting static sections into interactive UI using the Magic UI registry.
When To Apply
Apply this skill when users ask to:
- Add a Magic UI component (for example: marquee, globe, blur-fade, shiny-button)
- Build a section with Magic UI effects (hero, testimonials, CTA, feature grid)
- Replace custom animation code with Magic UI components
- Troubleshoot installation/import issues for
@magicui/*
Core Workflow
- Define the UI outcome first.
- Identify section type, tone, motion intensity, and responsive behavior.
- Keep motion intentional; avoid stacking many high-motion effects in one viewport.
- Confirm project prerequisites.
- Project should be React/Next.js with Tailwind CSS.
- shadcn must be initialized before adding registry components:
npx shadcn@latest init
- Install the selected component(s).
npx shadcn@latest add @magicui/<component-slug>
Example:
npx shadcn@latest add @magicui/magic-card
- Integrate into the target section.
- Import from the generated path (typically
@/components/ui/<component-slug>). - Keep component APIs intact; prefer prop/className customization over rewriting internals.
- If docs mention extra dependencies or CSS keyframes, add them during integration.
- Validate quality before finishing.
- Accessibility: semantic HTML, keyboard access, meaningful labels/text.
- Responsiveness: check mobile layout and overflow behavior.
- Performance: avoid unnecessary client-only wrappers and heavy animation stacking.
- Maintainability: keep new code modular and consistent with existing project conventions.
References To Load On Demand
- For component choice, install shape, and dependency expectations:
- Read
references/components.md
- Read
- For section-level implementation patterns:
- Read
references/recipes.md
- Read
Quick Component Selection Heuristics
- Social proof/logo rails:
marquee,avatar-circles - Hero visual impact:
globe,warp-background,animated-grid-pattern - Text animation:
blur-fade,text-animate,word-rotate,sparkles-text - CTA emphasis:
shiny-button,shimmer-button,rainbow-button - Ambient backgrounds:
grid-pattern,dot-pattern,particles,flickering-grid
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 88 lines · 56 tokens per session scan A f10680483737
magic-ui is a skill published in the GitHub repository magicuidesign/magicui (22,698 stars, last pushed 5d ago), licensed MIT. It adds 56 tokens to every session and 777 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json…
ui-beats
Use this skill when users want to add, customize, or troubleshoot UI Beats components in React/Next.js projects. It covers component selection, shadcn registry installation from uibeats.com, the UI Beats MCP server, motion and reduced-motion handling, and integration patterns for animated sections.
frontend-engineer
!cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults" !cat .forgewright/codebase-context.md…
migrate-radix-to-base
Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert radix primitives, or switch a shadcn project's base library. Handles single components ("migrate accordion") and whole projects.
tuturuuu-satellite-app-ux
Implement Tuturuuu satellite app shells, app-session auth, and workspace navigation.
stitch-react-components
Convert Stitch HTML and screenshots into modular Vite/React/TypeScript components, or sync existing components to updated Stitch designs, with local architecture and validation checks.