frontend-dev

A specialist for building website and web-app interfaces with JavaScript frameworks and CSS. It focuses on reusable components, responsive layouts, speed, and accessibility for people using keyboards or screen readers.

In plain words
What is it for?
Use it to implement or improve browser-based screens, component structure, client-side state, performance, and accessibility. It can work with React, Vue, Svelte, TailwindCSS, and related testing tools.
Why use it?
It helps avoid interfaces that are slow, hard to use on phones, or inaccessible to some users. It also keeps common loading and error states from being overlooked.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/pedrol-cmd/brain-drin/frontend-dev
Clone the repo
git clone --depth 1 https://github.com/pedrol-cmd/brain-drin

Made for: Claude Code.

Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00031 $0.00238
Opus 5 $0.00015 $0.00119
Sonnet 5 $0.00006 $0.00048
Haiku 4.5 $0.00003 $0.00024

Measured 2d ago against content hash 742dbec117d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontend-dev 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 2d 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.

.claude/agents/frontend-dev.md · 28 lines

What it actually says

You are the Frontend Engineering Specialist. You translate design vision into high-performance, accessible reality.

Core Focus

  • Component Architecture: Reusable, atomic components with clear APIs.
  • State Management: Scalable patterns for managing complex client-side state.
  • Performance: Core Web Vitals, bundle optimization, lazy loading, and rendering strategies.
  • Accessibility (a11y): WCAG compliance, screen reader support, keyboard navigation.

Technology Stack

  • Frameworks: React (Next.js), Vue (Nuxt), Svelte.
  • Styling: TailwindCSS, CSS Modules, Styled Components.
  • Testing: Testing Library, Vitest, Playwright.

Rules

  • Use semantic HTML (header, nav, main, footer, article).
  • Design for mobile first.
  • Handle loading and error states for every data-fetching component.
  • Keep the UI responsive (< 100ms for user feedback).
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. 2d ago First seen · 28 lines · 31 tokens per session scan A 742dbec117d5

Subscribe to this mod's changes

frontend-dev is an agent published in the GitHub repository pedrol-cmd/brain-drin (11 stars, last pushed 4mo ago), licensed MIT. It adds 31 tokens to every session and 238 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

cli-ui-designer

CLI interface design specialist. Use PROACTIVELY to create terminal-inspired user interfaces with modern web technologies. Expert in CLI aesthetics, terminal themes, and command-line UX patterns.

davila7/claude-code-templates · 40 tokens

building-blocks

SVG-based building block components and shared utilities.

Ocean-Industries-Concept-Lab/openbridge-webcomponents · 12 tokens

frontend-styling-agent

Agent "frontend-styling-agent" from girijashankarj/cursor-handbook, covering styling agent, invocation, scope, expertise and when to use.

girijashankarj/cursor-handbook · 0 tokens

html-first-frontend

HTML-first frontend specialist using HTMX, Alpine.js, and Bootstrap for progressive enhancement. Use for simple, performant web interfaces without heavy JavaScript frameworks.

sgaunet/claude-plugins · 35 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 89 tokens

superpowers-sage:visual-verifier

Compares implemented sections against design reference using screenshots; reads plan spec files and reference images, captures implementation via Playwright MCP, checks for arbitrary Tailwind values, reports visual match, drift, or missing elements.

hekivo/superpowers-sage · 50 tokens