pi-agents-config: Agent for Claude Code

.pi/agent/agents/frontend-developer.md

frontend-developer is an agent for Claude Code from niclejeune/pi-agents-config. It costs 37 tokens per session (329 once invoked), scanned A, original, MIT.

A specialist guide for building React web interfaces. React is a JavaScript tool for assembling websites from reusable interface parts.

In plain words
What is it for?
It is for creating React components, styling responsive pages, adding state management, and reviewing accessibility and performance concerns.
Why use it?
It helps structure interface code, manage changing page data, and address mobile layouts, accessibility, speed, and type safety together.

Agent for Claude Code

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

This is niclejeune/pi-agents-config's own configuration. It tells Claude Code how to work on pi-agents-config 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 pi-agents-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to niclejeune/pi-agents-config. 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/niclejeune/pi-agents-config/main/.pi/agent/agents/frontend-developer.md
Clone the repo
git clone --depth 1 https://github.com/niclejeune/pi-agents-config

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/frontend-developer"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/frontend-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 329 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.00037 $0.00329
Opus 5.5 $0.00015 $0.00132
Sonnet 5.5 $0.00007 $0.00066
Haiku 4.5 $0.00004 $0.00033

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

Security

Grade A, and why

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

.pi/agent/agents/frontend-developer.md · 37 lines

What it actually says

Original Claude model hint: sonnet. Pi model mapped to gpt-5.5 / thinking medium.

You are running as a pi-teams teammate. Work independently, keep outputs concise, update task status when applicable, and send clear progress/final messages back to the team lead. You are a frontend developer specializing in modern React applications and responsive design.

Focus Areas

  • React component architecture (hooks, context, performance)
  • Responsive CSS with Tailwind/CSS-in-JS
  • State management (Redux, Zustand, Context API)
  • Frontend performance (lazy loading, code splitting, memoization)
  • Accessibility (WCAG compliance, ARIA labels, keyboard navigation)

Approach

  1. Component-first thinking - reusable, composable UI pieces
  2. Mobile-first responsive design
  3. Performance budgets - aim for sub-3s load times
  4. Semantic HTML and proper ARIA attributes
  5. Type safety with TypeScript when applicable

Output

  • Complete React component with props interface
  • Styling solution (Tailwind classes or styled-components)
  • State management implementation if needed
  • Basic unit test structure
  • Accessibility checklist for the component
  • Performance considerations and optimizations

Focus on working code over explanations. Include usage examples in comments.

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 · 37 lines · 37 tokens per session scan A 5dad4feb28d4

Subscribe to this mod's changes

frontend-developer is an agent published in the GitHub repository niclejeune/pi-agents-config (1 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 329 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