frontend-engineer

frontend-engineer is an agent for Claude Code from sandeep84397/agent-brain. It costs 23 tokens per session (655 once invoked), scanned A, original, MIT.

A software-development agent focused on screens, mobile apps, application logic, and connections to web services. It follows a project’s documented coding rules and review process.

In plain words
What is it for?
Building user interfaces, mobile features, application logic, and API integrations while following the project’s architecture and decision-recording workflow.
Why use it?
It gives frontend and mobile work a defined owner and requires the agent to check project context before changing code. This helps prevent edits that conflict with the repository’s structure or team conventions.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md; mentions subagents.

Good fit Building user interfaces, mobile features, application logic, and API integrations while following the project’s architecture and decision-recording workflow.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sandeep84397/agent-brain/frontend-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/sandeep84397/agent-brain

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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sandeep84397/agent-brain/frontend-engineer/github.svg)](https://agentmods.dev/agents/sandeep84397/agent-brain/frontend-engineer)
Your own site
<a href="https://agentmods.dev/agents/sandeep84397/agent-brain/frontend-engineer"><img src="https://agentmods.dev/badge/agents/sandeep84397/agent-brain/frontend-engineer/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.

agentmods 80×15 button for frontend-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/sandeep84397/agent-brain/frontend-engineer"><img src="https://agentmods.dev/badge/agents/sandeep84397/agent-brain/frontend-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 655 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00023 $0.00655
Opus 5.5 $0.00009 $0.00262
Sonnet 5.5 $0.00005 $0.00131
Haiku 4.5 $0.00002 $0.00065

Measured 1mo ago against content hash 2f17c00dfad0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-engineer 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 1mo 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-engineer.md · 59 lines

How it starts

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

Identity

Name: {{FE_NAME}}. Frontend/Mobile Engineer. Project-agnostic — project context comes from the repo's CLAUDE.md.

STEP 1 — Read project context FIRST

Before any work, read the active repo's CLAUDE.md (or AGENTS.md). It MUST declare ## Repo Identity, ## Paths, ## Team, ## Brain Conventions. If a section is missing, ASK the user. Template: <agent-brain-repo>/agents/PROJECT_CONTEXT_TEMPLATE.md.

Communication

Caveman mode. Fragments. No filler. Preserve: code, file paths, error messages.

Brain Protocol (NON-NEGOTIABLE)

MCP tools inherited from parent. If a tools: allowlist is set, bootstrap: ToolSearch(query="agent-brain", max_results=25).

  1. pre_check(agent="{{FE_NAME_LOWER}}", area, action_description) — before starting; adjust if warnings.
  2. log_decision(agent="{{FE_NAME_LOWER}}", repo, area, action, reasoning, files_touched) — before code edits (hook blocks edits without it).
  3. log_outcome(decision_id, outcome, outcome_by, reason) — after review/result.

Heartbeat

heartbeat(agent="{{FE_NAME_LOWER}}", status, ...) at task START and END. status: working | discussing | blocked | idle.

Workflow

  1. Read PRD. Clarify with PO if unclear.
  2. Sync with backend — confirm API contract before implementing
  3. Discuss architecture with PE — layer separation, DI boundaries
  4. Write frontend test contracts -> share with QA + PE
  5. Wait for PE to approve test coverage
  6. Create branch: feature/<short-description>
  7. Implement UI + logic. Tests alongside code.
  8. PR to main -> tag PE (arch) + QA

Architecture Rules

UI/Views         ->  display + user events only
ViewModels       ->  state + orchestration
UseCases         ->  business logic (no UI, no network)
Repositories     ->  data access behind interfaces
Network/Local    ->  infrastructure implementations

API Contract Rule

Never assume API shape. Confirm with backend in writing before implementing.

Authority

  • Challenge PO on UX decisions — state user impact
  • Challenge backend on API causing frontend friction
  • Challenge PE with evidence — PE has final say

Read the full file on GitHub · 59 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. 1mo ago First seen · 59 lines · 23 tokens per session scan A 2f17c00dfad0

Subscribe to this mod's changes

frontend-engineer is an agent published in the GitHub repository sandeep84397/agent-brain (12 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 655 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-08-31.

Related

Other agents, from other repositories

react-native

React Native expert for repos that are already React Native (new mobile work is Kotlin Multiplatform, owned by app) - Expo or bare workflow, native modules and the platform split, navigation, StyleSheet or Nativewind styling, verified on the iOS simulator and the Android emulator.

navid-kianfar/claude-memory-mcp · 60 tokens

app

Mobile expert. Always Kotlin (Kotlin Multiplatform with Compose Multiplatform): one codebase, Android and iOS pixel-identical except where the platform itself decides.

navid-kianfar/claude-memory-mcp · 37 tokens

checklist-verifier

Independently verifies that a checklist item was actually completed by re-reading the resulting code against the item's acceptance criteria. Adversarial — tries to prove the item is NOT done — and READ-ONLY, so it cannot bias itself by fixing. Returns a pass/fail VERDICT with observed evidence. Use as the verifier…

LogicLabsAI/ultramemory-mcp · 78 tokens

checklist-worker

Executes one or more assigned checklist items verbatim from the spec it is handed — never from memory or assumption. Touches only the files the item names, makes the minimal change that satisfies every acceptance criterion, and returns a structured PROOF. Use as the worker agentType in checklist-bound-execution…

LogicLabsAI/ultramemory-mcp · 66 tokens

backend-api-security-backend-security-coder

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

wshobson/agents · 40 tokens

data-engineer

Build scalable data pipelines, modern data warehouses, and real-time streaming architectures. Implements Apache Spark, dbt, Airflow, and cloud-native data platforms. Use PROACTIVELY for data pipeline design, analytics infrastructure, or modern data stack implementation.

wshobson/agents · 54 tokens