component-source-router

component-source-router is a skill for Codex from Lrinvl1203/world-class-web-design-os. It costs 58 tokens per session (267 once invoked), scanned A, original, MIT.

A guide for deciding whether a user interface should use native HTML and CSS, accessible building blocks, owned components, or external component examples.

In plain words
What is it for?
Use it when selecting or integrating components from sources such as shadcn-style libraries, 21st.dev, Aceternity, React Bits, Motion Primitives, Magic UI, or Animate UI.
Why use it?
It helps avoid unnecessary dependencies, accessibility problems, poor framework fit, and designs that look copied from a component library.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when selecting or integrating components from sources such as shadcn-style libraries, 21st.dev, Aceternity, React Bits, Motion Primitives, Magic UI, or Animate UI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lrinvl1203/world-class-web-design-os/component-source-router
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 Lrinvl1203/world-class-web-design-os --skill component-source-router
Clone the repo
git clone --depth 1 https://github.com/Lrinvl1203/world-class-web-design-os

Made for: Codex.

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 component-source-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/lrinvl1203/world-class-web-design-os/component-source-router/github.svg)](https://agentmods.dev/skills/lrinvl1203/world-class-web-design-os/component-source-router)
Your own site
<a href="https://agentmods.dev/skills/lrinvl1203/world-class-web-design-os/component-source-router"><img src="https://agentmods.dev/badge/skills/lrinvl1203/world-class-web-design-os/component-source-router/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 component-source-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/lrinvl1203/world-class-web-design-os/component-source-router"><img src="https://agentmods.dev/badge/skills/lrinvl1203/world-class-web-design-os/component-source-router.svg" alt="Reviewed on agentmods" width="80" 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 267 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.00058 $0.00267
Opus 5 $0.00029 $0.00133
Sonnet 5 $0.00012 $0.00053
Haiku 4.5 $0.00006 $0.00027

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

Security

Grade A, and why

component-source-router 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 9d 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.

.codex/skills/component-source-router/SKILL.md · 39 lines

What it actually says

Component Source Router

Principle

A component source solves implementation cost; it does not define the final visual language.

Route in this order

  1. semantic native HTML/CSS when sufficient;
  2. accessible unstyled primitives for complex behavior;
  3. owned/source components when they save implementation time;
  4. animated/visual registries as inspiration or behavior prototypes;
  5. custom implementation when the signature interaction requires it.

Read references/catalog.md when choosing a source.

Before adopting an external component

Check:

  • behavior fit;
  • accessibility and keyboard model;
  • framework/runtime fit;
  • dependency cost and duplication;
  • styling reset effort;
  • responsive behavior;
  • reduced-motion behavior;
  • license/current documentation.

Integration rule

Strip generic surface styling, map to project tokens, rewrite content, adapt composition, audit states, and remove unused dependencies. If the imported component makes the page look like its registry, the integration is unfinished.

Files

What ships with it

2 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. 9d ago First seen · 39 lines · 58 tokens per session scan A e6f38d46d514

Subscribe to this mod's changes

component-source-router is a skill published in the GitHub repository Lrinvl1203/world-class-web-design-os (8 stars, last pushed 13d ago), licensed MIT. It adds 58 tokens to every session and 267 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

information-architecture

In large applications, information architecture determines whether users can find, understand, and act on data. Naming matters. The UI should mirror the data model and signal how data can be transformed. Dangerous or irreversible changes always require a confirm dialog. Use when designing navigation, naming entities…

dembrandt/dembrandt-skills · 71 tokens

brand-visual-language

A brand's visual tone — playful or serious, rounded or angular — should be consistent across all UI elements. Shape language in typography, border-radius, and iconography communicates personality before a single word is read. Use when establishing a design system, choosing icon libraries, setting border-radius tokens…

dembrandt/dembrandt-skills · 68 tokens

data-display-and-selection

Complex data deserves multiple view modes — grid, list, table — chosen by the user based on their task. Row and item selection should use large hit areas (the whole row or card, not just a checkbox). Selected state is communicated through a subtle background colour shift. Mass actions appear when items are selected.…

dembrandt/dembrandt-skills · 85 tokens

generate-ui-from-brand

Pipeline skill — turns a URL or DESIGN.md into a concrete UI structure with decisions already made. Extracts live design tokens, normalizes them into a semantic system, applies UX principles, and outputs an actionable UI spec. Use when building UI for an existing brand from scratch, auditing a design system, or…

dembrandt/dembrandt-skills · 72 tokens

loading-states-and-perceived-performance

Manage user expectations during wait times with appropriate loading states — from simple spinners to complex skeleton screens and staggered animations. Perceived performance is often more important than actual load time. Use when designing data-heavy components, handling API calls, building hero sections, or improving…

dembrandt/dembrandt-skills · 68 tokens

micro-interactions

Micro-interactions are small, purposeful animations and responses that reward the user and make the interface feel alive — an animated icon, a satisfying toggle, a subtle reveal. Borrowed from the natural world, they add delight without distraction. Use when designing interactive components, success states, toggles…

dembrandt/dembrandt-skills · 70 tokens