magic-ui-generator

magic-ui-generator is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 22 tokens per session (653 once invoked), scanned A, original, MIT.

A guide for generating and comparing different versions of web interface components using Magic by 21st.dev. It focuses on responsive components that fit the project's technology stack.

In plain words
What is it for?
Use it to create or improve components such as pricing tables, contact forms, and hero sections, while considering responsiveness, accessibility, animations, and frameworks such as Next.js, TypeScript, or Tailwind CSS.
Why use it?
It helps when one design does not clearly fit the requirement and several usable interface directions need to be explored before implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or improve components such as pricing tables, contact forms, and hero sections, while considering responsiveness, accessibility, animations, and frameworks such as Next.js, TypeScript, or Tailwind CSS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/magic-ui-generator
Install

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.

Any agent
npx skills add beel-collab/presets.dev --skill magic-ui-generator
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for magic-ui-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/beel-collab/presets.dev/magic-ui-generator/github.svg)](https://agentmods.dev/skills/beel-collab/presets.dev/magic-ui-generator)
Your own site
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/magic-ui-generator"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/magic-ui-generator/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.

agentmods 80×15 button for magic-ui-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/magic-ui-generator"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/magic-ui-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 653 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00653
Opus 5 $0.00011 $0.00327
Sonnet 5 $0.00004 $0.00131
Haiku 4.5 $0.00002 $0.00065

Measured 5d ago against content hash 45760f554c0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

magic-ui-generator 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 5d 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.

claude/skills/web-development/magic-ui-generator/SKILL.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Magic UI Generator

Leverage Magic by 21st.dev to build modern, responsive UI components using an AI-native workflow that prioritizes choice and design excellence.

Context

This skill leverages Magic by 21st.dev to build modern, responsive UI components. Instead of generating a single standard solution, it focuses on providing multiple design variations to choose from, drawing inspiration from a curated library of real-world components and premium design patterns (Shadcn UI, Magic UI, Aceternity, etc.).

When to Use

Trigger this skill whenever:

  • A new UI component is requested (e.g., pricing tables, contact forms, hero sections).
  • Enhancing an existing UI element with animations, better styling, or advanced features.
  • Brainstorming different design directions for a specific feature.
  • Professional logos or icons are needed (via the built-in SVGL integration).

Execution Workflow

  1. Analyze Requirements: Review the component description. Ensure the target output aligns with the project's stack (e.g., Next.js, TypeScript, Tailwind CSS). Define clear constraints for accessibility and responsiveness.
  2. Generate Variations: Interface with the Magic MCP server or use the browser_subagent to explore 21st.dev/magic to generate several distinct, unconventional styles for the requested component.
    • Pro Tip: Use descriptive prompts pushing for modern aesthetics: "avant-garde SaaS pricing table with glassmorphism and animated borders" or "highly immersive contact form with dynamic floating labels."
  3. Present Options: Briefly describe the generated variations side-by-side. Highlight stylistic differences, layout approaches, and premium features (sticky headers, hover animations, etc.).
  4. Integrate Selection: Once a favorite variation is chosen:
    • Integrate the fully functional, production-ready TypeScript code.
    • Ensure dependencies (lucide-react, framer-motion) are installed.
    • Handle proper props, types, and responsive behaviors.

Read the full file on GitHub · 48 lines

Changes

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.

  1. 5d ago First seen · 48 lines · 22 tokens per session scan A 45760f554c0a

Subscribe to this mod's changes

magic-ui-generator is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 653 once invoked, about $0.0001 per session on Opus 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-09-03.

Related

Other skills, from other repositories

apply-mantel-styles

Provides guidelines for applying Mantel's brand styles to diagrams and frontend components. Use when asked to create visuals that need to align with Mantel's branding.

sammcj/agentic-coding · 37 tokens

web-artifacts-builder-v2

Suite of tools for creating elaborate, multi-component claude.ai HTML artefacts using modern frontend web technologies (React 19, Tailwind CSS v4, shadcn/ui). Use for complex artefacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artefacts.

sammcj/agentic-coding · 73 tokens

aksel-spacing

Lag responsive layouts med Aksel Design System (v8+) - spacing tokens, layout primitives (Box, HStack, VStack, HGrid, Page, Bleed) og ResponsiveProp.

navikt/copilot · 41 tokens

web-design-reviewer

Visuell inspeksjon av nettsider for å identifisere og fikse designproblemer. Trigges av forespørsler som "sjekk designet", "gå gjennom UI-en", "fiks layouten", "finn designfeil". Finner problemer med responsivt design, tilgjengelighet, visuell konsistens og layout, og fikser dem i kildekoden.

navikt/copilot · 89 tokens

frontend-blueprint

AI frontend specialist and design consultant that guides users through a structured discovery process before generating any code. Collects visual references, design tokens, typography, icons, layout preferences, and brand guidelines to ensure the final output matches the user's vision with high fidelity. Use when the…

tech-leads-club/agent-skills · 170 tokens

frontend-ui-engineering

Front-load UI construction decisions — component boundary and prop API, where state lives, data/async, the required UI states (loading/empty/error), responsive behavior, and accessibility by construction. Use when creating or refactoring a component, page, or design-system primitive. Don't use for pure logic (tdd)…

helderberto/agent-skills · 102 tokens