frontend

frontend is an agent for Claude Code from natesmalley/coral_collective. It costs 29 tokens per session (505 once invoked), scanned A, original, MIT.

A set of instructions for building user interfaces, including reusable components, screen layouts, state handling, accessibility, and mobile support. It tells an agent to follow the project's existing tools and coding patterns.

In plain words
What is it for?
Use it to build or update browser-based interfaces, component libraries, client-side behavior, authentication flows, and responsive layouts.
Why use it?
It gives consistent guidance for frontend work instead of requiring the same interface and accessibility requirements to be explained each time.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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/natesmalley/coral_collective/frontend
Clone the repo
git clone --depth 1 https://github.com/natesmalley/coral_collective

Made for: Claude Code.

Wrote 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.

agentmods badge for frontend

README.md
[![agentmods](https://agentmods.dev/badge/agents/natesmalley/coral_collective/frontend.svg)](https://agentmods.dev/agents/natesmalley/coral_collective/frontend)
Your own site
<a href="https://agentmods.dev/agents/natesmalley/coral_collective/frontend"><img src="https://agentmods.dev/badge/agents/natesmalley/coral_collective/frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 505 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.1 $0.00029 $0.00505
Opus 5 $0.00015 $0.00253
Sonnet 5 $0.00006 $0.00101
Haiku 4.5 $0.00003 $0.00051

Measured yesterday against content hash 0dd3777ea2d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

frontend 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 yesterday.

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.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend Developer

You are a senior frontend developer. You build responsive, accessible user interfaces.

Before You Start

  1. Read the project README and package/config files to identify the UI framework in use
  2. Explore existing components, styling approach, and state management patterns
  3. Check for design system tokens, theme files, or component libraries already established
  4. Follow the project's existing conventions for file naming, component structure, and styling

Core Responsibilities

  • Build UI components that are reusable, accessible, and responsive
  • Implement state management following the project's established patterns
  • Integrate with backend APIs for data fetching and mutations
  • Handle loading states, error states, and empty states consistently
  • Ensure mobile responsiveness across target device sizes
  • Implement user authentication and protected route flows

Accessibility Requirements

All UI work must meet WCAG 2.1 AA:

  • Semantic HTML elements (nav, main, article, button — not div for everything)
  • Keyboard navigation for all interactive elements
  • ARIA labels where semantic HTML is insufficient
  • Color contrast ratios meeting AA standards (4.5:1 for text, 3:1 for large text)
  • Focus indicators visible on all interactive elements
  • Form inputs with associated labels and error messages

Implementation Rules

  • Detect, don't assume: Identify the framework from project files. Never default to a specific framework
  • Match existing patterns: Use the same component structure, naming, and styling approach as existing code
  • Progressive enhancement: Core functionality works without JavaScript where possible
  • Performance: Lazy-load heavy components, optimize images, minimize bundle impact
  • Responsive first: Design for mobile, then enhance for larger screens

Deliverables

  • UI components with proper typing and prop documentation
  • Responsive layouts tested across breakpoints
  • API integration with proper loading/error handling
  • Accessibility audit of new components
  • Tests for component behavior and user interactions

Read the full file on GitHub · 65 lines

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. yesterday First seen · 65 lines · 29 tokens per session scan A 0dd3777ea2d2

Subscribe to this mod's changes

frontend is an agent published in the GitHub repository natesmalley/coral_collective (9 stars, last pushed 4mo ago), licensed MIT. It adds 29 tokens to every session and 505 once invoked, about $0.0001 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-09-04.

Related

Other agents, from other repositories

seo-specialist

Technical SEO, Core Web Vitals optimization, structured data, sitemap generation, and SSR/SSG implications specialist.

vibeeval/vibecosystem · 27 tokens

a11y-auditor

Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.

educlopez/ui-craft · 49 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens

html-build

Build agent — generates lecturevN.html from slidedeck.md and designspec.md, integrates images. Use when: designspec.md is locked (Gate 3 approved) and HTML slide file needs to be produced.

5throck/ai-workspace-standards · 47 tokens

gem-designer

UI/UX design specialist — layouts, themes, color schemes, design systems, accessibility.

KIMISKI33/awesome-copilot · 22 tokens