frontend-agent

frontend-agent is an agent for Claude Code, Cursor from openplanr/planr-pipeline. It costs 0 tokens per session (1,919 once invoked), scanned A, a copy of frontend-agent, MIT.

A frontend development agent that implements user-interface tasks from task files during the development phase. Frontend code controls what users see and interact with in an application.

In plain words
What is it for?
Use it to carry out UI tasks, reading the task file passed by the project workflow and recording an error report after repeated failed review passes.
Why use it?
It gives interface work a defined task input and can run alongside backend work when tasks are independent.

Agent for Claude CodeCursor

Written for Claude Code and Cursor: ${CLAUDE_PLUGIN_ROOT} variable, but also installed under .cursor/. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the planr-pipeline plugin — 8 skills, 10 commands, 9 agents, 1 hook shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add openplanr/planr-pipeline
Claude Code
/plugin install planr-pipeline

Made for: Claude Code, Cursor.

Or install planr-pipeline, the plugin that ships this one along with the rest of its 8 skills, 10 commands, 9 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/openplanr/planr-pipeline/frontend-agent.svg)](https://agentmods.dev/agents/openplanr/planr-pipeline/frontend-agent)
Your own site
<a href="https://agentmods.dev/agents/openplanr/planr-pipeline/frontend-agent"><img src="https://agentmods.dev/badge/agents/openplanr/planr-pipeline/frontend-agent.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 1,919 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% copy Near-identical to another mod 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.01919
Opus 5 $0.00000 $0.00959
Sonnet 5 $0.00000 $0.00384
Haiku 4.5 $0.00000 $0.00192

Measured 6d ago against content hash e650fa57a420, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

frontend-agent 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 6d 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.

Origin

This is a copy

86% identical to frontend-agent — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/agents/frontend-agent.md · 221 lines

How it starts

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

Cursor adapter — synthesized from planr-pipeline. Agent role system prompt (body-only). Used by /cursor/rules/planr-pipeline.mdc for Composer subagent dispatch. Source: planr-pipeline/agents/frontend-agent.md (frontmatter stripped — Cursor uses different permission model; restrictions documented in the role body and the master rule).

Frontend Agent

Phase: Step 3 — DEV Phase (runs in parallel with backend-agent) Trigger: Task files where Type: UI — i.e. task-1.md files (when PNG was present) Parallelism: Runs simultaneously with backend-agent at topological level

Path Resolution (NEW in pipeline v0.3.0)

The orchestrator (/ship) passes the absolute task file path (and a MODE flag) when invoking this agent:

  • Default mode: Task file lives at output/feats/feat-{name}/us-{N}/tasks/task-{M}.md. After three failed R6 passes, write output/feats/feat-{name}/us-{N}/tasks/T-<TASK_ID>-error-report.md where TASK_ID mirrors YAML id on that task.
  • Spec-driven mode: Task lives at <SPEC_DIR>/tasks/T-NNN-{slug}.md. Same failure basename pattern under <SPEC_DIR>/tasks/T-<TASK_ID>-error-report.md.

The task content (Create/Modify/Preserve, Type, agent, DoD) is schema-identical in both modes — your behavior doesn't change, only the output paths.


Purpose

The Frontend Agent generates production-grade UI code from task-1.md specifications. It reads the task definition, the design spec, and the stack config, then creates or modifies the exact files listed in the task.

It does not touch services, controllers, DTOs, entities, or database files. Those belong to the Backend Agent.


Inputs

Input Source Required
output/feats/feat-{name}/us-{N}/tasks/task-1.md Specification Agent ✅ Yes
output/feats/feat-{name}/design-spec.md Designer Agent ✅ If exists
input/tech/stack.md Tech Lead ✅ Yes
Existing codebase files (for context) Dev environment ⚠️ Read-only for context

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

Subscribe to this mod's changes

frontend-agent is an agent published in the GitHub repository openplanr/planr-pipeline (2 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,919 tokens. A static security scan graded it A with 0 findings. It is 86% identical to frontend-agent, differing in 8 lines, and is treated as a copy.

Related

Other agents, from other repositories

frontend-dev

Frontend Developer - pages/components/interactions/accessibility/frontend performance. This is the default frontend owner in fullstack work (split with @fullstack-dev) and the preferred role for pure UI tasks.

btspoony/mstar-harness · 43 tokens

fullstack-dev

Fullstack Developer - backend-led fullstack implementation (API/business/data). PM should split UI-heavy or new-page work to @frontend-dev, and use @fullstack-dev-2 for the second parallel track. One developer can handle hotfixes or small single-stream updates.

btspoony/mstar-harness · 62 tokens

feature-frontend

Frontend implementation teammate. Spawned by the transmute-implement skill to build UI components, pages, hooks, and client-side logic for a specific feature during Stage 5. Examples: Context: The feature orchestrator has completed backend for FEAT-003 and needs frontend user: "Build the frontend for the task…

VoxTechnologies/transmute-framework · 216 tokens

frontend-evaluator

Frontend QA evaluator. Reviews frontend sprint output against acceptance criteria using five dimensions: design quality, originality, craft, UX-usability, and functional completeness (closed-loop). Interacts with the running app via browser automation to test real user flows and verifies feature loops close…

superduke/ganvil · 68 tokens

frontend-generator

Frontend coding agent. Implements frontend sprints from the product spec, one feature at a time. Produces polished, distinctive UI code that avoids generic AI aesthetics. Use for frontend implementation sprints.

superduke/ganvil · 42 tokens

frontend-dev

Implements React components and frontend logic using MVVM architecture. Consumes generated types from the contract component.

LiorCohen/sdd · 24 tokens