agent-frontend

agent-frontend is an agent for coding agents from jeftarmascarenhas/context-mesh. It costs 0 tokens per session (825 once invoked), scanned A, original, MIT.

A coding-agent role for building the React frontend of a todo app, including user accounts and todo management. React is a JavaScript library for building web interfaces.

In plain words
What is it for?
Use it to create the API connection, login and signup flows, authentication state, and screens for listing, adding, editing, and acting on todos.
Why use it?
It gives the agent a defined frontend scope and project context, while keeping backend changes out of the work.

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/jeftarmascarenhas/context-mesh/agent-frontend
Clone the repo
git clone --depth 1 https://github.com/jeftarmascarenhas/context-mesh

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 agent-frontend

README.md
[![agentmods](https://agentmods.dev/badge/agents/jeftarmascarenhas/context-mesh/agent-frontend.svg)](https://agentmods.dev/agents/jeftarmascarenhas/context-mesh/agent-frontend)
Your own site
<a href="https://agentmods.dev/agents/jeftarmascarenhas/context-mesh/agent-frontend"><img src="https://agentmods.dev/badge/agents/jeftarmascarenhas/context-mesh/agent-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 825 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.00000 $0.00825
Opus 5 $0.00000 $0.00413
Sonnet 5 $0.00000 $0.00165
Haiku 4.5 $0.00000 $0.00082

Measured 5d ago against content hash 3c84b2a682c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

agent-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 5d 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.

examples/todo-app-complete/context/agents/agent-frontend.md · 121 lines

How it starts

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

Agent: Frontend - Todo App

Purpose

Implement the React frontend with authentication and todo management features.

Context Files to Load

  • @context/intent/project-intent.md
  • @context/intent/feature-user-auth.md
  • @context/intent/feature-todo-crud.md
  • @context/decisions/001-tech-stack.md
  • @context/knowledge/patterns/api-design.md

Scope

  • Allowed: frontend/src/
  • Prohibited: Modify backend code

Execution Steps

  1. Create API Service

    • Create frontend/src/services/api.ts
    • Configure Axios instance
    • Set base URL to backend
    • Handle credentials (cookies)
  2. Create Auth Context

    • Create frontend/src/context/AuthContext.tsx
    • Manage user state
    • Provide: user, login, logout, signup, isAuthenticated
    • Persist auth state
  3. Create Auth Components

    • Create frontend/src/components/auth/LoginForm.tsx
    • Create frontend/src/components/auth/SignupForm.tsx
    • Form validation
    • Error handling
  4. Create Todo Components

    • Create frontend/src/components/todos/TodoList.tsx
    • Create frontend/src/components/todos/TodoItem.tsx
    • Create frontend/src/components/todos/TodoForm.tsx
    • Create frontend/src/components/todos/TodoActions.tsx
  5. Create Pages

    • Create frontend/src/pages/Home.tsx
    • Create frontend/src/pages/Login.tsx
    • Create frontend/src/pages/Signup.tsx
    • Create frontend/src/pages/Todos.tsx
  6. Configure Routing

    • Setup React Router
    • Protected routes for /todos
    • Redirect if not authenticated
  7. Create Layout

    • Create frontend/src/components/layout/Header.tsx
    • Create frontend/src/components/layout/Layout.tsx
    • Navigation with auth status

Expected Structure

frontend/src/
├── components/
│   ├── auth/
│   │   ├── LoginForm.tsx
│   │   └── SignupForm.tsx
│   ├── todos/
│   │   ├── TodoList.tsx
│   │   ├── TodoItem.tsx
│   │   ├── TodoForm.tsx
│   │   └── TodoActions.tsx
│   └── layout/
│       ├── Header.tsx
│       └── Layout.tsx
├── context/
│   └── AuthContext.tsx
├── pages/
│   ├── Home.tsx
│   ├── Login.tsx
│   ├── Signup.tsx
│   └── Todos.tsx
├── services/
│   └── api.ts
├── types/
│   ├── auth.ts
│   └── todo.ts
├── App.tsx
└── main.tsx

Read the full file on GitHub · 121 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. 5d ago First seen · 121 lines · 0 tokens per session scan A 3c84b2a682c4

Subscribe to this mod's changes

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

Related

Other agents, from other repositories

docs-reviewer

Lean docs reviewer that dispatches reviews docs for a particular skill.

reactjs/react.dev · 17 tokens

frontend-react-engineer

Specializes in React/TypeScript frontend development following TDD and component-driven development. Uses Specmatic for backend mocking during parallel development.

jmanhype/speckit · 32 tokens

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 tokens

ci-watcher

Polls Nx Cloud CI pipeline and self-healing status. Returns structured state when actionable. Spawned by /nx-cloud-ci-monitor command to monitor CI Attempt status.

nrwl/nx · 37 tokens

merge-conflict-resolver

Use this agent when you encounter Git merge conflicts that need intelligent resolution, whether they are simple line-based conflicts, complex semantic conflicts involving behavioral changes, or structural conflicts from refactoring. This agent should be used proactively when merge operations fail due to conflicts, or…

module-federation/core · 0 tokens

genpage-edit-planner

Plans edits to an existing generative page. Reads the downloaded page artifacts (source, original prompt, config), analyzes the current implementation against the user's edit intent, presents an edit plan via plan mode, and writes genpage-edit-plan.md for the orchestrator to execute. Called by the genpage skill — not…

microsoft/power-platform-skills · 73 tokens