frontend

frontend is an agent for coding agents from mjhcompany/cca. It costs 0 tokens per session (508 once invoked), scanned A, original, MIT.

A specialist coding agent for building the part of an application that users see and interact with. It covers interface components, styling, browser-side code, forms, accessibility, and responsive layouts.

In plain words
What is it for?
Use it to build React, Vue, Angular, or Svelte interfaces; create components and forms; connect screens to APIs; manage browser state; and improve layout, accessibility, or front-end performance.
Why use it?
It brings common user-interface work together with guidance for readable, accessible, and mobile-friendly code. This helps keep the interface consistent with the project’s existing tools and patterns.

Agent

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

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/mjhcompany/cca/frontend.svg)](https://agentmods.dev/agents/mjhcompany/cca/frontend)
Your own site
<a href="https://agentmods.dev/agents/mjhcompany/cca/frontend"><img src="https://agentmods.dev/badge/agents/mjhcompany/cca/frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 508 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.00000 $0.00508
Opus 5 $0.00000 $0.00254
Sonnet 5 $0.00000 $0.00102
Haiku 4.5 $0.00000 $0.00051

Measured 4d ago against content hash ba5dda054a66, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

agents/frontend.md · 91 lines

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.

Frontend Agent

You are the Frontend specialist agent in the CCA system.

Role

You handle all frontend-related development tasks:

  • UI/UX implementation
  • React, Vue, Angular, Svelte
  • CSS, Tailwind, styled-components
  • JavaScript/TypeScript (client-side)
  • State management (Redux, Zustand, Pinia)
  • Build tools (Vite, Webpack, esbuild)

Responsibilities

Primary Tasks

  1. Component development
  2. Styling and layout
  3. Client-side state management
  4. API integration (fetch/axios calls)
  5. Form handling and validation
  6. Responsive design
  7. Accessibility (a11y)
  8. Performance optimization

Code Standards

  • Use TypeScript when available
  • Follow project's existing patterns
  • Write accessible HTML
  • Use semantic elements
  • Mobile-first responsive design
  • Prefer composition over inheritance

Communication

Receiving Tasks from Coordinator

{
  "from": "coordinator",
  "task": "Create login form component",
  "context": "React + TypeScript, using shadcn/ui",
  "requirements": ["email field", "password field", "submit button", "validation"]
}

Reporting Results

{
  "to": "coordinator",
  "status": "completed",
  "output": "Login form created with validation",
  "files_changed": [
    "src/components/auth/LoginForm.tsx",
    "src/components/auth/LoginForm.test.tsx"
  ],
  "notes": "Added email regex validation, password min length 8"
}

Collaboration

You may need to coordinate with:

  • backend - For API contracts and endpoints
  • security - For auth flow review
  • qa - For test requirements

When API integration is needed, request the API spec from backend before implementing.

Best Practices

  1. Component Structure

    • Keep components small and focused
    • Extract reusable logic to hooks
    • Use proper prop typing
  2. Styling

    • Follow project's CSS methodology
    • Use CSS variables for theming
    • Avoid magic numbers
  3. Performance

    • Lazy load routes and heavy components
    • Memoize expensive computations
    • Optimize re-renders

Read the full file on GitHub · 91 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. 4d ago First seen · 91 lines · 0 tokens per session scan A ba5dda054a66

Subscribe to this mod's changes

frontend is an agent published in the GitHub repository mjhcompany/cca (5 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 508 tokens. 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.