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 tmj-90/gaffer --skill frontend-componentgit clone --depth 1 https://github.com/tmj-90/gafferWrote 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/tmj-90/gaffer/frontend-component)<a href="https://agentmods.dev/skills/tmj-90/gaffer/frontend-component"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/frontend-component/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/tmj-90/gaffer/frontend-component"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/frontend-component.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.00079 | $0.01317 |
| Opus 5.5 | $0.00032 | $0.00527 |
| Sonnet 5.5 | $0.00016 | $0.00263 |
| Haiku 4.5 | $0.00008 | $0.00132 |
Grade A, and why
frontend-component 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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add or change a UI component
Build a component that looks like it was always part of the repo: same framework idioms, same styling system, same file shape — with a small, honest API, every state the ticket implies, and tests that exercise each acceptance criterion's own behaviour.
Steps
- Read the conventions. Call
search_lorefor the component rules (styling system, tokens, state library, folder layout, Storybook or not). Open two sibling components and the design-system primitives (Button,Input,Stack…). Reuse a primitive before writing a new one; a second button implementation is a defect. - Write the API before the markup. List props with types. Rules that keep APIs small:
- Name props for meaning (
variant="danger"), not appearance (red); onevariantenum instead of several booleans that can conflict (primary+secondary). - Content goes through
childrenor named slots, not string props that later need markup. - Form-like components support controlled use (
value+onChange) and match the repo's uncontrolled convention if it has one. - Forward the ref and spread remaining native attributes onto the root element so
callers can add
id,aria-*,data-testid,className(React 19:refis a normal prop; earlier versions useforwardRef). - Callbacks are named for the event (
onSelect,onDismiss) and receive data, not the DOM event, unless the sibling components do otherwise.
- Name props for meaning (
- Keep it presentational. Data loading, mutations and routing live in a container,
hook or route loader (the
frontend-data-fetchingskill); the component renders from props. Global stores are read at the container level (thefrontend-state-managementskill). - Semantic markup and tokens. Real elements (
button,a,ul,label), the right heading level passed in or derived, and only design tokens for colour, space, type, radius, shadow, motion (thedesign-systemskill). No raw hex or pixel font sizes. - Enumerate and build the states. From the ACs and the sibling components list which apply: default, hover, focus-visible, active, disabled, loading, empty, error, overflow (very long text, 0 and 1000 items), and right-to-left if the repo supports RTL. Each listed state renders deliberately; state precedence is disabled > loading > error > default.
- Accessibility in the same change. Keyboard operation, accessible name, focus
handling and APG pattern for any composite widget (the
frontend-a11yskill). - Test per AC. With the repo's runner and Testing Library (the
frontend-testingskill): for each AC, a test that renders the component in the AC's situation and asserts the user-visible outcome — found by role and name, driven byuserEvent. Include the non-happy states the ACs name. If the repo uses Storybook, add a story per state; if it runs visual regression, update baselines only for intended changes. - Verify and evidence. Run the repo's type-check, lint and tests (the
run-testsandrun-lintskills). Record per-ACtest_outputwith therecord-evidenceskill, then stop.
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 · +44 lines 789110521f7a
- 3mo ago First seen · 47 lines · 79 tokens per session scan A 2a5f29e17252
frontend-component is a skill published in the GitHub repository tmj-90/gaffer (1 stars, last pushed 4d ago), licensed Apache-2.0. It adds 79 tokens to every session and 1,317 once invoked, about $0.0003 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-08-31.
frontend-component compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-componenttmj-90/gaffer | Skill | 1 | 4d ago | Apache-2.0 | A | 79 | Claude Code, Codex |
| bulwark-brainstormQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 50 | Claude Code |
| plan-creationQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 38 | Claude Code |
| anthropic-validatorQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 40 | Claude Code |
| create-subagentQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 42 | Claude Code |
| test-auditQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 0 | Claude Code |
| code-reviewQBall-Inc/the-bulwark | Skill | 9 | yesterday | MIT | A | 61 | Claude Code |