04-components

04-components is a skill for Claude Code from ai-driven-dev/framework. It costs 57 tokens per session (334 once invoked), scanned A, original, MIT.

A guided process for creating or changing a project's reusable interface components and supporting assets.

In plain words
What is it for?
Adding, extracting, or updating components and assets from scratch or from an existing codebase.
Why use it?
It keeps component work separate from brand decisions, design tokens, screens, and user journeys, while requiring validation after each write.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the aidd-ui plugin — 4 skills shipped together

Good fit Adding, extracting, or updating components and assets from scratch or from an existing codebase.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai-driven-dev/framework/04-components
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 ai-driven-dev/framework --skill 04-components
Clone the repo
git clone --depth 1 https://github.com/ai-driven-dev/framework

Made for: Claude Code.

Or install aidd-ui, 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 04-components

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-driven-dev/framework/04-components/github.svg)](https://agentmods.dev/skills/ai-driven-dev/framework/04-components)
Your own site
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/04-components"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/04-components/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.

agentmods 80×15 button for 04-components

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-driven-dev/framework/04-components"><img src="https://agentmods.dev/badge/skills/ai-driven-dev/framework/04-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 334 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 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.1 $0.00057 $0.00334
Opus 5.5 $0.00023 $0.00134
Sonnet 5.5 $0.00011 $0.00067
Haiku 4.5 $0.00006 $0.00033

Measured 16d ago against content hash 3c0664d8c28c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

04-components 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 16d 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.

plugins/aidd-ui/skills/04-components/SKILL.md · 37 lines

What it actually says

Components

Actions

flowchart LR
  prepare["prepare<br>actions/01-prepare.md"] --> write["write<br>actions/02-write.md"]
  write --> conclude["conclude<br>actions/03-conclude.md"]
  prepare -->|"a decision blocks"| user((user answers))
  write -->|"a decision blocks"| user
  user --> prepare
  user --> write
  conclude -->|"an error is left"| conclude
  conclude --> done((done))
  prepare -->|"no engine, no system, or impact refused"| stop((stop))

Each box is a file: read it, then do what it says.

Transversal rules

  • Speak only to ask or to give the final reply.
  • After asking, wait for the answer.
  • Otherwise call tools.
  • Run the engine from the project root; never read its source.
  • Every path written in a record starts there.
  • Write only components/, assets/ and drafts/ under aidd_docs/ui/.
  • Never write in the code, nor by hand what the engine writes.
  • After each write, fix what the hook or the validation reports.
  • Never bypass a hook.
  • Commit and push only when asked.
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. 16d ago First seen · 37 lines · 57 tokens per session scan A 3c0664d8c28c

Subscribe to this mod's changes

04-components is a skill published in the GitHub repository ai-driven-dev/framework (589 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 334 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-11-14.

Related

04-components compared with skills from other repositories

04-components next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
04-componentsai-driven-dev/frameworkSkill589todayMITA57Claude Code
frontend-designbytedance/deer-flowSkill86ktodayMITA77Claude Code, Codex
web-design-guidelinesbytedance/deer-flowSkill86ktodayMITA44Claude Code, Codex
anti-slop-frontendBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA147Claude Code, Codex
craft-studioBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA103Claude Code, Codex
craft-brand-kitBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA88Claude Code, Codex
anti-slop-image-directionBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA86Claude Code, Codex