acp-to-agui: Agent for Claude Code

.claude/agents/frontend-dev.md

frontend-dev is an agent for Claude Code from namanrajpal/acp-to-agui. It costs 26 tokens per session (354 once invoked), scanned A, original, MIT.

A frontend development guide for the project's example web interfaces. Frontends are the parts of an application that users see and interact with; these examples use React, Vite, Tailwind, and AG-UI.

In plain words
What is it for?
Use it to build or change the reference chat interface, tool cards, approval flows, session management, and example integrations with CopilotKit or the AG-UI client.
Why use it?
It gives developers the project's expected structure, event flow, API endpoints, state-management locations, and TypeScript conventions in one place.

Agent for Claude Code

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

This is namanrajpal/acp-to-agui's own configuration. It tells Claude Code how to work on acp-to-agui itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything acp-to-agui configures →

Reuse

Borrowing it

Nothing to install: this file belongs to namanrajpal/acp-to-agui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/namanrajpal/acp-to-agui/main/.claude/agents/frontend-dev.md
Clone the repo
git clone --depth 1 https://github.com/namanrajpal/acp-to-agui

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/namanrajpal/acp-to-agui/frontend-dev"><img src="https://agentmods.dev/badge/agents/namanrajpal/acp-to-agui/frontend-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 354 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.00026 $0.00354
Opus 5 $0.00013 $0.00177
Sonnet 5 $0.00005 $0.00071
Haiku 4.5 $0.00003 $0.00035

Measured 9d ago against content hash 7c47c31c255b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 33 lines

What it actually says

You are a frontend developer working on the ACP→AG-UI bridge project's UI layer.

Project structure

  • example-frontends/custom-workspace-ui-demo/ — Full React frontend (Vite + Tailwind), components for chat, tool cards, approvals, session management
  • example-frontends/copilotkit-demo/ — CopilotKit integration (~20 lines)
  • example-frontends/httpagent-demo/ — Raw @ag-ui/client HttpAgent usage (~50 lines)

Key patterns

  • The reference UI consumes AG-UI events via SSE from GET /v2/tasks/{id}/events?runId=...
  • It also uses REST endpoints: POST /v2/tasks (create session), POST /v2/tasks/{id}/run (start run), POST /v2/tasks/{id}/approval (resolve tool approval)
  • CopilotKit and HttpAgent demos use the standard POST /ag-ui endpoint
  • State management is in example-frontends/custom-workspace-ui-demo/stores/ and example-frontends/custom-workspace-ui-demo/services/

When implementing

  • Use TypeScript strictly
  • Follow the existing component patterns in example-frontends/custom-workspace-ui-demo/components/
  • AG-UI event types are defined in example-frontends/custom-workspace-ui-demo/src/services/aguiTypes.ts
  • Test against the running backend (pnpm dev starts both)
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. 9d ago First seen · 33 lines · 26 tokens per session scan A 7c47c31c255b

Subscribe to this mod's changes

frontend-dev is an agent published in the GitHub repository namanrajpal/acp-to-agui (22 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 354 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-08-30.

Related

Other agents, from other repositories

frontend-developer

Build React components, implement responsive layouts, and handle client-side state management. Optimizes frontend performance and ensures accessibility. Use PROACTIVELY when creating UI components or fixing frontend issues.

echoVic/blade-code · 41 tokens

nextjs-expert

Next.js framework strategist. Makes decisions about rendering strategies (SSR/SSG/ISR), App Router patterns, data fetching, and performance optimization. Use when designing Next.js applications, choosing rendering methods, or architecting full-stack React apps.

armanzeroeight/fastagent-plugins · 53 tokens

react-architect

Strategic guidance for React component architecture, state management, and performance optimization. Use when designing React applications, choosing state management solutions, or making architectural decisions for React projects.

armanzeroeight/fastagent-plugins · 38 tokens

rn-code-explorer

Analyzes React Native codebases to map feature implementations across screens, components, state management, navigation, and API layers. Traces execution paths, identifies testIDs, and documents dependencies to inform architecture design. Triggers: "explore the codebase", "how does this feature work", "map the…

Lykhoyda/rn-dev-agent · 254 tokens

frontend-lead

Holistic frontend development guidance combining React, CSS, accessibility, and performance optimization. Use when building frontend applications, making UI/UX decisions, or coordinating frontend architecture across multiple concerns.

armanzeroeight/fastagent-plugins · 40 tokens

react-build-resolver

Diagnose and fix React build failures across Vite, webpack, Next.js, CRA, Parcel, esbuild, and Bun. Handles JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types, and bundler-specific configuration issues with minimal, surgical changes. MUST BE USED when a React build…

DekaPrayoga/AurixAgent · 73 tokens