Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/frontend-component-labWrote 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/morningstar202604/awesome-skillkit/frontend-component-lab)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/frontend-component-lab"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/frontend-component-lab/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/morningstar202604/awesome-skillkit/frontend-component-lab"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/frontend-component-lab.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00117 | $0.00998 |
| Opus 5.5 | $0.00047 | $0.00399 |
| Sonnet 5.5 | $0.00023 | $0.00200 |
| Haiku 4.5 | $0.00012 | $0.00100 |
Grade A, and why
frontend-component-lab 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frontend Component Lab (Component Scaffold + Design System Token)
Turn a component requirement into a **runnable React/TS component + CSS Modules
- design token file**, plus a review checklist of "the mistakes LLMs most often
make writing frontend". Adapted from mattpocock/skills'
frontend-designconcept and ECC'sfrontend-patterns(React/Next conventions), trimmed to an offline, zero-dependency scaffold + discipline layer.
Core judgment: the model's frontend disease isn't "can't write"—it's "magic numbers + inline styles + untyped props". This skill blocks these three problem types directly with token files and strongly-typed skeletons.
Red lines: default dry-run only prints what would be generated;
--writesaves; existing same-named files need--force. Zero network, no npm install.
Input Checklist
| Input | Required | Notes |
|---|---|---|
| Component name | yes | PascalCase, e.g. PricingCard |
| props | no | comma-separated string-typed props |
| Token override | no | Pass a JSON to override default color/spacing/radius/font |
| Output directory | no | Default current directory |
Pre-flight Checks
- Is component name PascalCase? (script rejects lowercase-start)
- Does the target project use CSS Modules? If not (Tailwind/Styled), after
--writemanually rename.module.cssto corresponding approach—this skill doesn't assume the build tool. - Do design tokens need to inherit existing brand? If so, prepare an override JSON first.
Workflow
# 1. Dry run: see which files would be generated
python3 scripts/scaffold_component.py --name PricingCard --props title,price,cta --out ./src/ui
# 2. Real generation
python3 scripts/scaffold_component.py --name PricingCard --props title,price,cta \
--out ./src/ui --write
# 3. With brand token override
python3 scripts/scaffold_component.py --name PricingCard --tokens ./brand.json \
--out ./src/ui --write --force
After generation, go through TSX per the checklist in
references/frontend-sins.md, filling // TODO
with real render logic.
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.
- 2mo ago Changed · +7 lines · -7 tokens per session 56d72397bd4c
- 2mo ago First seen · 94 lines · 124 tokens per session scan A bec88cb863c7
frontend-component-lab is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 117 tokens to every session and 998 once invoked, about $0.0005 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-09-23.
frontend-component-lab compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-component-labMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 117 | Claude Code, Codex |
| building-landing-homelobehub/lobe-icons | Skill | 2.7k | 7d ago | MIT | A | 121 | Claude Code, Codex |
| ui-componentsyonatangross/orchestkit | Skill | 312 | today | MIT | A | 44 | Claude Code |
| component-searchyonatangross/orchestkit | Skill | 312 | today | MIT | A | 34 | Claude Code |
| ui-designmblode/agent-skills | Skill | 228 | today | MIT | A | 86 | Claude Code, Codex |
| frontend-designmastra-ai/mastra | Skill | 30k | today | none | A | 77 | Claude Code, Codex |
| website-design-clonerroedyrustam/vibes-plug | Skill | 129 | 3d ago | MIT | A | 32 | Cursor |