Borrowing it
Nothing to install: this file belongs to ccbud/CCBuddy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ccbud/CCBuddy/main/.agents/skills/ai-elements/SKILL.mdgit clone --depth 1 https://github.com/ccbud/CCBuddyWrote 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/ccbud/ccbuddy/ai-elements)<a href="https://agentmods.dev/skills/ccbud/ccbuddy/ai-elements"><img src="https://agentmods.dev/badge/skills/ccbud/ccbuddy/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/ccbud/ccbuddy/ai-elements"><img src="https://agentmods.dev/badge/skills/ccbud/ccbuddy/ai-elements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00046 | $0.01718 |
| Opus 5.5 | $0.00018 | $0.00687 |
| Sonnet 5 | $0.00009 | $0.00344 |
| Haiku 4.5 | $0.00005 | $0.00172 |
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 yesterday.
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.
This is a copy
88% identical to ai-elements, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 156 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.
Installing AI Elements is straightforward and can be done in a couple of ways. You can use the dedicated CLI command for the fastest setup, or integrate via the standard shadcn/ui CLI if you've already adopted shadcn's workflow.
IMPORTANT: Run all CLI commands using the project's package runner:
npx ai-elements@latest,pnpm dlx ai-elements@latest, orbunx --bun ai-elements@latest— based on the project'spackageManager. Examples below usenpx ai-elements@latestbut substitute the correct runner for the project.
Prerequisites
Before installing AI Elements, make sure your environment meets the following requirements:
- Node.js, version 18 or later
- A Next.js project with the AI SDK installed.
- shadcn/ui installed in your project. If you don't have it installed, running any install command will automatically install it for you.
- We also highly recommend using the AI Gateway and adding
AI_GATEWAY_API_KEYto yourenv.localso you don't have to use an API key from every provider. AI Gateway also gives $5 in usage per month so you can experiment with models. You can obtain an API key here.
Installing Components
You can install AI Elements components using either the AI Elements CLI or the shadcn/ui CLI. Both achieve the same result: adding the selected component’s code and any needed dependencies to your project.
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 5.7 KB
- references/artifact.md 4.9 KB
- references/attachments.md 7.8 KB
- references/audio-player.md 8.1 KB
- references/canvas.md 1.7 KB
- references/chain-of-thought.md 5.1 KB
- references/checkpoint.md 6.6 KB
- references/code-block.md 7.4 KB
- references/commit.md 9.4 KB
- references/confirmation.md 11 KB
- references/connection.md 1.5 KB
- references/context.md 7.9 KB
- references/controls.md 1.6 KB
- references/conversation.md 9.2 KB
- references/edge.md 2.9 KB
- references/environment-variables.md 6.0 KB
- references/file-tree.md 2.8 KB
- references/image.md 4.5 KB
- references/inline-citation.md 13 KB
- references/jsx-preview.md 4.4 KB
- references/message.md 13 KB
- references/mic-selector.md 11 KB
- references/model-selector.md 7.5 KB
- references/node.md 4.7 KB
- references/open-in-chat.md 4.2 KB
- references/package-info.md 5.1 KB
- references/panel.md 1.5 KB
- references/persona.md 6.2 KB
- references/plan.md 5.4 KB
- references/prompt-input.md 28 KB
- references/queue.md 8.1 KB
- references/reasoning.md 9.5 KB
- references/sandbox.md 6.1 KB
- references/schema-display.md 3.0 KB
- references/shimmer.md 2.2 KB
- references/snippet.md 3.6 KB
- references/sources.md 7.1 KB
- references/speech-input.md 7.6 KB
- references/stack-trace.md 12 KB
- references/suggestion.md 4.4 KB
- references/task.md 7.8 KB
- references/terminal.md 4.6 KB
- references/test-results.md 7.9 KB
- references/tool.md 10 KB
- references/toolbar.md 1.6 KB
- references/transcription.md 5.9 KB
- references/voice-selector.md 17 KB
- references/web-preview.md 7.7 KB
- scripts/agent.tsx 1.9 KB
- scripts/artifact.tsx 3.1 KB
- scripts/attachments-inline.tsx 3.7 KB
- scripts/attachments-list.tsx 2.5 KB
- scripts/attachments.tsx 2.2 KB
- scripts/audio-player-remote.tsx 1.0 KB
- scripts/audio-player.tsx 2.1 KB
- scripts/chain-of-thought.tsx 139 KB
- scripts/checkpoint.tsx 2.9 KB
- scripts/code-block-dark.tsx 1.0 KB
- scripts/code-block.tsx 3.2 KB
- scripts/commit.tsx 2.1 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.
- yesterday First seen · 156 lines · 46 tokens per session scan A 24a4dd70cb8c
ai-elements is a skill published in the GitHub repository ccbud/CCBuddy (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 46 tokens to every session and 1,718 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to ai-elements, and is treated as a copy.
Other skills, from other repositories
claude-api-in-prototypes
Call Claude from your HTML artifacts via window.claude.complete.
cv-webapp-starter
Use when starting a Computer Vision web application with Next.js, FastAPI, browser MediaPipe, typed APIs, bounded uploads, and private media handling.
painter
Draw clear, easy-to-understand architecture diagrams, flow charts, and feature explainer graphics from code, system architecture, or DevOps pipelines. Output is an HTML artifact (inline CSS and SVG) styled with a blue-white tech palette, flat vector icons, a card-based multi-step layout, flow arrows, and dark code…
edit-canvas-app
Edit an existing Power Apps canvas app. USE WHEN the user wants to modify, update, change, or edit an existing Canvas App or pa.yaml files.
generate-canvas-app
Generate a complete, visually distinctive Power Apps canvas app with YAML. USE WHEN the user wants to create, build, or generate a Canvas App or pa.yaml files.
p5js
Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.