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 mxyhi/ok-skills --skill ai-elementsgit clone --depth 1 https://github.com/mxyhi/ok-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/mxyhi/ok-skills/ai-elements)<a href="https://agentmods.dev/skills/mxyhi/ok-skills/ai-elements"><img src="https://agentmods.dev/badge/skills/mxyhi/ok-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/mxyhi/ok-skills/ai-elements"><img src="https://agentmods.dev/badge/skills/mxyhi/ok-skills/ai-elements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 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 12 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 123 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.00046 | $0.01632 |
| Opus 5.5 | $0.00018 | $0.00653 |
| Sonnet 5.5 | $0.00009 | $0.00326 |
| Haiku 4.5 | $0.00005 | $0.00163 |
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.
Copies of this mod
5 near-identical copies found in the catalogue:
- ai-elements — 100% identical, 0 lines differ
- ai-elements — 100% identical, 0 lines differ
- ai-elements — 100% identical, 0 lines differ
- ai-elements — 100% identical, 0 lines differ
- ai-elements — 92% identical, 28 lines differ
How it starts
The opening of the file, as written. The whole thing — 161 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.
The CLI will download the component’s code and integrate it into your project’s directory (usually under your components folder). By default, AI Elements components are added to the @/components/ai-elements/ directory (or whatever folder you’ve configured in your shadcn components settings).
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.5 KB
- references/code-block.md 5.4 KB
- references/commit.md 5.8 KB
- references/confirmation.md 8.6 KB
- references/connection.md 1.1 KB
- references/context.md 5.6 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.0 KB
- references/inline-citation.md 11 KB
- references/jsx-preview.md 3.2 KB
- references/message.md 9.4 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 6.2 KB
- references/speech-input.md 6.5 KB
- references/stack-trace.md 7.9 KB
- references/suggestion.md 3.6 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/voice-selector.md 10 KB
- references/web-preview.md 6.1 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
- 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.
- 1mo ago First seen · 161 lines · 46 tokens per session scan A 6e1697f6728f
ai-elements is a skill published in the GitHub repository mxyhi/ok-skills (505 stars, last pushed 7d ago), licensed Apache-2.0. It adds 46 tokens to every session and 1,632 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
idea-refine
Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…
chinese-git-workflow
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
skill-trigger-auditor
Audit whether skills, agents and slash commands route correctly and safely, and whether a trigger regression test is needed. Use before changing routing metadata or widening a description.
subagent-driven-development
A development workflow in which a fresh coding agent implements each independent task, another review checks that task, and a final review examines the complete set of changes.
performance-optimization
Measure first, optimize second. Data-driven performance improvements with before/after benchmarks and production validation.