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 laguagu/claude-code-nextjs-skills --skill ai-elementsgit clone --depth 1 https://github.com/laguagu/claude-code-nextjs-skillsWrote 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/laguagu/claude-code-nextjs-skills/ai-elements)<a href="https://agentmods.dev/skills/laguagu/claude-code-nextjs-skills/ai-elements"><img src="https://agentmods.dev/badge/skills/laguagu/claude-code-nextjs-skills/ai-elements.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 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 3 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 39 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 26 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.00133 | $0.01387 |
| Opus 5 | $0.00067 | $0.00694 |
| Sonnet 5 | $0.00027 | $0.00277 |
| Haiku 4.5 | $0.00013 | $0.00139 |
Grade A, and why
ai-elements 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 4d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Elements
AI Elements is a component library and custom registry built on top of shadcn/ui to help you build AI-native applications faster. It provides pre-built components like conversations, messages and more.
Components are copied into the project as source, so they are owned and editable — not a black-box dependency.
Prerequisites
- Node.js 18 or later
- A Next.js project with the AI SDK installed
- shadcn/ui in the project — running any install command sets it up if missing
Installing Components
Install AI Elements components using either the dedicated AI Elements CLI or the shadcn/ui CLI. Both achieve the same result: adding the selected component's code and any needed dependencies to the project.
AI Elements CLI
# npm
npx ai-elements@latest add message
# pnpm
pnpm dlx ai-elements@latest add message
# yarn
yarn dlx ai-elements@latest add message
# bun
bun x ai-elements@latest add message
shadcn CLI
# npm
npx shadcn@latest add @ai-elements/message
# pnpm
pnpm dlx shadcn@latest add @ai-elements/message
# yarn
yarn dlx shadcn@latest add @ai-elements/message
# bun
bun x shadcn@latest add @ai-elements/message
The CLI downloads the component's code and integrates it into the project's directory. By default, AI Elements components are added to @/components/ai-elements/ (or whatever folder is configured in components.json). After running the command, the terminal confirms which files were added — proceed to import and use the component in code.
Example
Import and compose them like any other local React component:
"use client";
import {
Message,
MessageContent,
MessageResponse,
} from "@/components/ai-elements/message";
import { useChat } from "@ai-sdk/react";
const Example = () => {
const { messages } = useChat();
return (
<>
{messages.map(({ role, parts }, index) => (
<Message from={role} key={index}>
<MessageContent>
{parts.map((part, i) => {
switch (part.type) {
case "text":
return (
<MessageResponse key={`${role}-${i}`}>
{part.text}
</MessageResponse>
);
}
})}
</MessageContent>
</Message>
))}
</>
);
};
export default Example;
What ships with it
60 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.
- references/agent.md 4.1 KB
- references/artifact.md 2.9 KB
- references/attachments.md 5.6 KB
- references/audio-player.md 5.2 KB
- references/canvas.md 1.1 KB
- references/chain-of-thought.md 3.3 KB
- references/chatbot.md 15 KB
- references/checkpoint.md 5.4 KB
- references/code-block.md 5.4 KB
- references/commit.md 5.8 KB
- references/confirmation.md 8.2 KB
- references/connection.md 1.1 KB
- references/context.md 5.6 KB
- references/controls.md 971 B
- references/conversation.md 7.3 KB
- references/edge.md 2.1 KB
- references/environment-variables.md 3.7 KB
- references/file-tree.md 2.0 KB
- references/image.md 4.0 KB
- references/inline-citation.md 11 KB
- references/integration.md 6.8 KB
- references/jsx-preview.md 3.2 KB
- references/loader.md 807 B
- references/message.md 11 KB
- references/mic-selector.md 7.7 KB
- references/model-selector.md 4.3 KB
- references/node.md 2.8 KB
- references/open-in-chat.md 2.7 KB
- references/package-info.md 3.2 KB
- references/panel.md 1.0 KB
- references/persona.md 4.7 KB
- references/plan.md 3.2 KB
- references/prompt-input.md 19 KB
- references/queue.md 5.4 KB
- references/reasoning.md 7.7 KB
- references/sandbox.md 4.3 KB
- references/schema-display.md 2.5 KB
- references/shimmer.md 1.6 KB
- references/snippet.md 2.2 KB
- references/sources.md 5.8 KB
- references/speech-input.md 6.5 KB
- references/stack-trace.md 7.9 KB
- references/suggestion.md 4.7 KB
- references/task.md 6.7 KB
- references/terminal.md 3.1 KB
- references/test-results.md 5.0 KB
- references/tool.md 8.5 KB
- references/toolbar.md 983 B
- references/transcription.md 4.9 KB
- references/utilities.md 11 KB
- references/voice-selector.md 10 KB
- references/web-preview.md 6.1 KB
- references/workflow.md 7.3 KB
- scripts/agent.tsx 1.6 KB
- scripts/artifact.tsx 2.9 KB
- scripts/attachments-inline.tsx 3.5 KB
- scripts/attachments-list.tsx 2.2 KB
- scripts/attachments.tsx 2.0 KB
- scripts/audio-player-remote.tsx 1.0 KB
- scripts/audio-player.tsx 1.8 KB
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.
- 4d ago Changed · -1 lines · +7 tokens per session 5c41ef32f89f
- 8d ago First seen · 163 lines · 126 tokens per session scan A c3bc1f2e27b0
ai-elements is a skill published in the GitHub repository laguagu/claude-code-nextjs-skills (62 stars, last pushed 5d ago), licensed MIT. It adds 133 tokens to every session and 1,387 once invoked, about $0.0007 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-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…
magic-ui
Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.
multi-surface-render
Multi-surface rendering with json-render — one JSON spec produces React web, Next.js, React Native, Ink terminal UIs, PDFs, emails, Remotion videos, OG images, and 3D scenes. Covers renderer target selection, registry mapping, and platform APIs (renderToBuffer, renderToStream, renderToFile). Use when generating output…
common-ui-design
Design distinctive, production-grade frontend UI with bold aesthetic choices. Use when building web components, pages, interfaces, dashboards, or applications in any framework (React, Next.js, Angular, Vue, HTML/CSS).
components
React component architecture for creating composable, accessible components with data attributes. Use when creating/updating composable components, not for higher-level feature/page components.
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.