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 odarino/haren --skill collect-componentsgit clone --depth 1 https://github.com/odarino/harenWrote 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/odarino/haren/collect-components)<a href="https://agentmods.dev/skills/odarino/haren/collect-components"><img src="https://agentmods.dev/badge/skills/odarino/haren/collect-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.
<a href="https://agentmods.dev/skills/odarino/haren/collect-components"><img src="https://agentmods.dev/badge/skills/odarino/haren/collect-components.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.00022 | $0.01319 |
| Opus 5.5 | $0.00009 | $0.00528 |
| Sonnet 5.5 | $0.00004 | $0.00264 |
| Haiku 4.5 | $0.00002 | $0.00132 |
Grade A, and why
collect-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 11d 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Collect Components
Keep one catalog of the common building blocks in the target repos. The plan skill reads it before it designs new code. The implement skill updates it after each task.
Output: artifacts/03-modules/component-catalog.md (template: templates/component-catalog.md).
When to Use
- Incremental: the implement skill runs it after the code commit of each task. Scan only the files that the task commits changed.
- Full scan: the catalog does not exist yet, the user asks for it, or the plan skill starts the reuse inventory (Step 4) on a repo that has code but no catalog. Scan all target repos in manifest.yaml
repos.
What Is Common
Add an item when one of these is true:
- It is in a shared location: a
shared/,common/,components/ui/,lib/,utils/,core/folder, or a shared package of the monorepo. - Two or more modules or features import it.
- The design marks it as a reuse target ("reuse" or "extend" verdict in
## Existing Code).
Do not add page-level screens, one-off helpers that one file uses, tests, generated code, or vendored code.
Kinds
| Kind | Examples | API to record |
|---|---|---|
| UI component | Button, DataTable, FormField, Modal, layout shell | Props (name, type, required, default), slots/children, variants, states |
| Shared service | API client, auth, notification, mail, file storage, audit log, numbering | Public methods with signature, side effects, tables it writes |
| Shared function | date/number/currency format, validation, mapping, hooks | Signature, return value, one-line purpose |
A route guard or a wrapper that renders JSX (for example RoleGuard) is a UI component. A client state store (Zustand, Redux slice, Pinia) is a shared service. A hook that only computes values is a shared function.
Process
- Read
artifacts/03-modules/component-catalog.md. If it does not exist, create it fromtemplates/component-catalog.mdand do a full scan. - Get the repo keys from manifest.yaml
repos. Ifreposis empty (common in the monorepo layout), use the keydefaultfor the repo that holds the haren folder (see skill.md "No repos listed"). Do not make up keys. If an existing entry uses a key that breaks this rule (for examplebackendwhenreposis empty), re-key every entry in one pass, then continue - Get the files to scan:
- Incremental:
git -C <repo> show --name-only --format= <sha>for each code commit SHA of the task - Full scan: list the source files of each repo. Skip
node_modules, build output, tests and generated folders
- Incremental:
- For each candidate, apply "What Is Common". To count importers, search all target repos for the import path or the symbol name
- For each common item, write or update its entry (see "Entry format")
- Remove an entry when its file or symbol no longer exists. If it moved, update the path. Search for the symbol name before you remove it
- Update
Used byfrom the import search, not from memory - On every run, re-sort each whole kind section A-Z, not only the new entries. Sort by the
###heading name, case-insensitive (Combobox before ConfirmationDialog, ResizableTable before RichTextEditor). Check the order of every section before you save - Update the front matter
updated:date and thelast_scan:line:full, orincremental <repoKey>@<sha>, ... - Register the catalog once:
haren track artifact component-catalog --type component-catalog --path artifacts/03-modules/component-catalog.md --status approved. Run it again only if the row is missing
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.
- 11d ago First seen · 82 lines · 22 tokens per session scan A 2665dfaee9a2
collect-components is a skill published in the GitHub repository odarino/haren (13 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 1,319 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-11-21.
collect-components compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| collect-componentsodarino/haren | Skill | 13 | yesterday | MIT | A | 22 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |