add-component

add-component is a skill for Claude Code, Codex from ahpxex/open-dashboard. It costs 164 tokens per session (2,711 once invoked), scanned A, original, MIT.

A catalogue of copy-ready admin dashboard building blocks, such as forms, tables, filters, calendars, and kanban boards. It is intended for dashboards built on the scaffold-dashboard foundation, which provides shared UI, form, chart, table, and theme pieces.

In plain words
What is it for?
Use it to add validated forms, CRUD lists, card grids, filters, saved views, CSV import or export, and other admin interface components to a scaffold-dashboard project.
Why use it?
It helps developers find an existing starting point instead of building each dashboard interface from scratch. The required foundation and each component's assumptions are documented before the code is copied.

Skill for Claude CodeCodex

Part of the open-dashboard plugin — 4 skills shipped together

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.

agentmods
npx agentmods add skills/ahpxex/open-dashboard/add-component
Any agent
npx skills add ahpxex/open-dashboard --skill add-component
Clone the repo
git clone --depth 1 https://github.com/ahpxex/open-dashboard

Made for: Claude Code, Codex.

Or install open-dashboard, the plugin that ships this one along with the rest of its 4 skills.

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 add-component

README.md
[![agentmods](https://agentmods.dev/badge/skills/ahpxex/open-dashboard/add-component.svg)](https://agentmods.dev/skills/ahpxex/open-dashboard/add-component)
Your own site
<a href="https://agentmods.dev/skills/ahpxex/open-dashboard/add-component"><img src="https://agentmods.dev/badge/skills/ahpxex/open-dashboard/add-component.svg" alt="Measured on agentmods" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,711 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00164 $0.02711
Opus 5 $0.00082 $0.01355
Sonnet 5 $0.00033 $0.00542
Haiku 4.5 $0.00016 $0.00271

Measured 5d ago against content hash 4cca7b21c11c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

add-component 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (templates/csv.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/add-component/SKILL.md · 84 lines

How it starts

The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add a UI component

A catalogue + retriever for the admin UI building blocks. The real code is the bundled templates/* (generated from the substrate's working source — the source of truth is the code, not this doc). To add a component:

  1. Find it in the catalogue below.
  2. Read its reference — references/<name>.md — for the exact cp command, the foundation it assumes, its invariants, and how to verify.
  3. Follow that reference: copy the template into a route/component and rewire it.

Every component assumes the scaffold-dashboard foundation (the platform layer: UI primitives, the form system, charts, DataTable/CardList, theme tokens). Run scaffold-dashboard — or work inside a fork of the substrate — first. For a new data resource (table + server fns + page) use the standalone add-backend skill; to point at a different backend use add-backend.

Catalogue

Forms

  • add-form — Build a validated form (create/edit dialog or full-page) with TanStack Form + zod and the bound field components. Use whenever you need user input with validation and server-error handling. Ships copy-ready templates. → references/add-form.md
  • add-wizard-form — Add a multi-step wizard / stepper form — fields split across steps with per-step validation, a progress indicator, Back/Next, and a final review + submit. Use for long or onboarding-style flows. → references/add-wizard-form.md
  • add-field-combobox — Add a searchable single-select (combobox) form field — a popover with a filter input over options, bound to the form system. Use when a plain select has too many options or needs search/async loading. → references/add-field-combobox.md
  • add-file-upload — Add a file-upload field — drag-and-drop / click-to-pick with image thumbnails, single or multiple, backed by a swappable storage seam (zero-config browser data-URL by default; swap in S3 / disk). Use for avatars, attachments, document uploads. → references/add-file-upload.md
  • add-inline-edit — Add inline / editable table cells — click a cell to edit it in place (input or select), commit on blur/Enter, revert on Escape. Use for quick spreadsheet-style edits without a separate form. → references/add-inline-edit.md

Read the full file on GitHub · 84 lines

Files

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.

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. 5d ago First seen · 84 lines · 164 tokens per session scan A 4cca7b21c11c

Subscribe to this mod's changes

add-component is a skill published in the GitHub repository ahpxex/open-dashboard (138 stars, last pushed 2mo ago), licensed MIT. It adds 164 tokens to every session and 2,711 once invoked, about $0.0008 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.

Related

Other skills, from other repositories

ctx

把一条刚踩出来的坑写进项目上下文文档(分册 AGENTS.md)。用户说「记一条」「记下来」「这个坑记进文档」「更新 CLAUDE.md」,或刚修完一个静默失败的 bug 需要沉淀结论时使用。.

yilecoding/fastapi-react-admin · 67 tokens

kiranism-shadcn-dashboard

Guide for building features, pages, tables, forms, themes, and navigation in this Next.js 16 shadcn dashboard template. Use this skill whenever the user wants to add a new page, create a feature module, build a data table, add a form, configure navigation items, add a theme, set up RBAC access control, or work with…

Kiranism/next-shadcn-dashboard-starter · 142 tokens

openspec-explore

Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.

AmanVarshney01/create-better-t-stack · 39 tokens

tanstack-query

TanStack Query v5 data fetching patterns including useSuspenseQuery, useQuery, mutations, cache management, and API service integration. Use when fetching data, managing server state, or working with TanStack Query hooks.

Kiranism/next-shadcn-dashboard-starter · 48 tokens

scaffold-project

Scaffold a new app, API, backend, fullstack project, monorepo, or starter with Better-T-Stack — including new projects built on a specific framework like Hono, Express, Fastify, Elysia, Next.js, TanStack Router/Start, Nuxt, Svelte, Solid, Astro, or React Native (native-bare, native-uniwind, native-unistyles). Use…

AmanVarshney01/create-better-t-stack · 169 tokens

next-best-practices

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling.

Kiranism/next-shadcn-dashboard-starter · 38 tokens