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.
npx skills add makifbaysal/tasktrooper --skill component-compositiongit clone --depth 1 https://github.com/makifbaysal/tasktrooperWrote 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/makifbaysal/tasktrooper/component-composition)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/component-composition"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/component-composition/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/makifbaysal/tasktrooper/component-composition"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/component-composition.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.00030 | $0.01850 |
| Opus 5.5 | $0.00012 | $0.00740 |
| Sonnet 5.5 | $0.00006 | $0.00370 |
| Haiku 4.5 | $0.00003 | $0.00185 |
Grade A, and why
component-composition 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 1mo 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 — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Component Composition (Atomic Design)
Overview
All web UI follows Atomic Design on top of a shared component library. The quality bar is reuse and correct placement: a new screen is assembled from existing atoms and molecules, and anything genuinely new is added at the right level so the next screen reuses it too.
Core principle: Reuse before you build, and place new components at the level the import-direction rule expects — ui → atoms → molecules → organisms → templates → pages.
No design system yet in this repo (no tokens, no components/ levels, no INVENTORY.md)? Lay the foundation with web-design-system-foundation first — this skill assumes it already exists.
The Levels
| Level | What | Web examples |
|---|---|---|
ui/ |
Vendor layer: generated/wrapped Radix-shadcn primitives | Dialog, Popover, Tabs, Tooltip |
| Atom | Smallest reusable UI, no app logic, variants only | Button, Input, Label, Badge, Icon, Heading, Text, Container, Stack, Link |
| Molecule | A few atoms as one reusable unit | FormField (label+input+error), NavLink, PriceTag, Rating, SearchBar |
| Organism | A page section composed of molecules/atoms (may contain another organism) | SiteHeader, MobileNav, PricingTable, ContactForm, SiteFooter |
| Template | Page skeleton: owns the grid + breakpoints, no data | MarketingLayout, DashboardLayout |
| Page | Route component: data + state wiring, composes templates/organisms | PricingPage, ProjectBoardPage |
The reuse procedure (every time, before writing a component)
- Read
src/components/INVENTORY.md. - Grep the level folders for the noun (
grep -ri button src/components). - Found a close match → reuse it, or extend it with a new variant backward-compatibly (add a
cvavariant, don't change an existing one's output). - Nothing close → create it at the right level (see placement below) and add its
INVENTORY.mdline in the same commit.
Placement decision list
- Does it fetch data or own app state? → page (or a container that wraps a page-level hook).
- Is it a page skeleton with no content, owning only the grid/breakpoints? → template.
- Several molecules/atoms forming a page section (pricing grid, contact form, header)? → organism.
- Label + input + error, or icon + text pairing — two or three atoms as one reusable unit? → molecule.
- A single element with variants and no composition (one button, one badge)? → atom.
- A generated/wrapped Radix or shadcn primitive with no app-specific variants of its own? →
ui/.
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.
- 1mo ago First seen · 109 lines · 30 tokens per session scan A a2e70a48a0f5
component-composition is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 30 tokens to every session and 1,850 once invoked, about $0.0001 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-10-05.
component-composition compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| component-compositionmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 30 | Claude Code, Codex |
| wireframepaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 47 | Claude Code, Codex |
| design-critiquepaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 42 | Claude Code, Codex |
| paperclip-capsulespaperclipai/paperclip | Skill | 118k | yesterday | MIT | A | 41 | Claude Code, Codex |
| design-before-build-gatejoelbrilliant/agentic-delivery-skills | Skill | 3 | 3d ago | MIT | A | 49 | Claude Code, Codex |
| presentation-template-designerPrompthon-IO/agent-systems-handbook | Skill | 315 | 1mo ago | none | A | 70 | Codex |
| architecture-designkarthikrshet/aiskills | Skill | 4 | 2d ago | none | A | 60 | Claude Code, Codex |