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/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/laguagu/claude-code-nextjs-skills/ai-elements"><img src="https://agentmods.dev/badge/skills/laguagu/claude-code-nextjs-skills/ai-elements.svg" alt="Reviewed on agentmods" width="80" 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.00067 | $0.00766 |
| Opus 5.5 | $0.00027 | $0.00306 |
| Sonnet 5.5 | $0.00013 | $0.00153 |
| Haiku 4.5 | $0.00007 | $0.00077 |
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 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Elements
Use AI Elements where its components fit the interaction. The generated source belongs to the project: inspect it for the actual API and customize it deliberately.
vercel/ai-elements will be deprecated at the end of November 2026 (announced
2026-10-14, CLI 1.9.1). Its replacement is AI Elements from shadcn/ui
(https://ui.shadcn.com/docs/ai-elements): copy-in patterns built on Message,
Bubble, Message Scroller, Trace and Code Block. Copied files in
components/ai-elements/ keep working. To move one onto shadcn/ui, use the
'Migrating from AI SDK Elements' prompt on its pattern page; some elements
(artifact, canvas, persona, web-preview, ...) have no replacement. For new chat
UI use the shadcn skill, not ai-elements add.
Project and documentation
Follow the project's package manager, aliases, shadcn configuration and AI SDK
major. Read ai-sdk to resolve the installed version, then the appropriate
ai-sdk-6 or ai-sdk-7 guidance. AI Elements and AI SDK versions can change
independently.
Read generated components/ai-elements/<component>.tsx first, then the
matching references/ file and its scripts/ examples. Use the
AI Elements site for current documentation. Load only relevant references; verify bundled
examples against installed source.
To add a missing component to an existing install, use the project's runner
with ai-elements@latest add <component> or
shadcn@latest add @ai-elements/<component>. Components land in
components/ai-elements/ under the alias configured in components.json; that
installed source is the offline API reference. Check installed components and
review generated files before replacing local customization. Use shadcn for
registry, preset and primitive-base details.
AI Elements targets the Radix base (upstream uses style new-york with
radix-ui). On Base UI projects expect prop mismatches in prompt-input,
attachments, inline-citation and plan (upstream #446,
open 2026-10-11); adapt the installed copies.
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/checkpoint.md 5.6 KB
- references/code-block.md 5.4 KB
- references/commit.md 5.8 KB
- references/confirmation.md 8.7 KB
- references/connection.md 1.1 KB
- references/context.md 5.8 KB
- references/controls.md 971 B
- references/conversation.md 7.4 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.1 KB
- references/inline-citation.md 11 KB
- references/integration.md 4.3 KB
- references/jsx-preview.md 3.2 KB
- references/message.md 9.7 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 5.4 KB
- references/plan.md 3.2 KB
- references/prompt-input.md 20 KB
- references/queue.md 5.4 KB
- references/reasoning.md 7.8 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.9 KB
- references/speech-input.md 6.5 KB
- references/stack-trace.md 5.6 KB
- references/suggestion.md 4.6 KB
- references/task.md 6.8 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/voice-selector.md 10 KB
- references/web-preview.md 6.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
- scripts/chain-of-thought.tsx 139 KB
- scripts/checkpoint.tsx 2.8 KB
- scripts/code-block-dark.tsx 1.0 KB
- scripts/code-block.tsx 2.9 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.
- 1mo ago Changed · +10 lines · +24 tokens per session 4a66ed71b0b5
- 1mo ago Changed · -1 lines 8d4587761883
- 1mo ago Changed · +6 lines a2110166220e
- 2mo ago Changed · -52 lines · -90 tokens per session 61bf264fe2fe
- 2mo ago Changed · -61 lines c1218b441166
- 3mo ago Changed · -1 lines · +7 tokens per session 5c41ef32f89f
- 3mo 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 (75 stars, last pushed 6d ago), licensed MIT. It adds 67 tokens to every session and 766 once invoked, about $0.0003 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.
ai-elements compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-elementslaguagu/claude-code-nextjs-skills | Skill | 75 | 6d ago | MIT | A | 67 | Claude Code |
| shadcnshadcn-ui/ui | Skill | 130k | yesterday | MIT | A | 113 | Claude Code, Codex, Cursor |
| magic-uimagicuidesign/magicui | Skill | 24k | yesterday | MIT | A | 56 | Claude Code, Codex |
| common-stitch-designHoangNguyen0403/agent-skills-standard | Skill | 598 | yesterday | MIT | A | 50 | Claude Code, Codex |
| common-ui-designHoangNguyen0403/agent-skills-standard | Skill | 598 | yesterday | MIT | A | 47 | Claude Code, Codex |
| common-architecture-diagrammingHoangNguyen0403/agent-skills-standard | Skill | 598 | yesterday | MIT | A | 71 | Claude Code, Codex |
| system-design-diagrammingHoangNguyen0403/agent-skills-standard | Skill | 598 | yesterday | MIT | A | 63 | Claude Code, Codex |