ai-elements

ai-elements is a skill for Claude Code from SrulyRosenblat/skill-cards. It costs 58 tokens per session (1,603 once invoked), scanned A, original, no licence file.

A component-building guide for the ai-elements library, which provides reusable parts for AI chat interfaces.

In plain words
What is it for?
It supports adding AI chat components in packages/elements/src or creating a new ai-elements component.
Why use it?
It helps new components match the library's existing patterns, shadcn/ui integration, and Vercel AI SDK conventions.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It supports adding AI chat components in packages/elements/src or creating a new…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/srulyrosenblat/skill-cards/ai-elements
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 SrulyRosenblat/skill-cards --skill ai-elements
Clone the repo
git clone --depth 1 https://github.com/SrulyRosenblat/skill-cards

Made for: Claude Code.

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 ai-elements

README.md
[![agentmods](https://agentmods.dev/badge/skills/srulyrosenblat/skill-cards/ai-elements.svg)](https://agentmods.dev/skills/srulyrosenblat/skill-cards/ai-elements)
Your own site
<a href="https://agentmods.dev/skills/srulyrosenblat/skill-cards/ai-elements"><img src="https://agentmods.dev/badge/skills/srulyrosenblat/skill-cards/ai-elements.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,603 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 unknown 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.00058 $0.01603
Opus 5 $0.00029 $0.00801
Sonnet 5 $0.00012 $0.00321
Haiku 4.5 $0.00006 $0.00160

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

Security

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 6d 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.

skills/nextjs-marketplace-claude-code-nextjs-skills/source/skills/ai-elements/SKILL.md · 172 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

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

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. 6d ago First seen · 172 lines · 58 tokens per session scan A 5f0c5a97b716

Subscribe to this mod's changes

ai-elements is a skill published in the GitHub repository SrulyRosenblat/skill-cards (2 stars, last pushed 2mo ago), with no licence file. It adds 58 tokens to every session and 1,603 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

claude-api-in-prototypes

Call Claude from your HTML artifacts via window.claude.complete.

asgeirtj/system_prompts_leaks · 19 tokens

langchain

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG…

davila7/claude-code-templates · 79 tokens

core

Core package for defining schemas, catalogs, and AI prompt generation for json-render. Use when working with @json-render/core, defining schemas, creating catalogs, or building JSON specs for UI/video generation.

vercel-labs/json-render · 42 tokens

playwright

Playwright E2E testing patterns. Trigger: When writing Playwright E2E tests (Page Object Model, selectors, MCP exploration workflow). For Prowler-specific UI conventions under ui/tests, also use prowler-test-ui.

prowler-cloud/prowler · 50 tokens

thinking-orbs

Add accessible animated AI loading and agent-status indicators with the React thinking-orbs library. Use when a chat, copilot, voice, search, generation, or tool-running interface needs a semantic working, searching, solving, listening, composing, or shaping state; when replacing a generic spinner with an AI activity…

MengTo/Skills · 88 tokens

globe-gl

Use when implementing globe.gl (Globe.GL) for 3D globe data visualization with WebGL/ThreeJS, including setup, data layers (points, arcs, polygons, labels), and integration patterns in plain HTML or React.

MengTo/Skills · 51 tokens