ring:frontend

ring:frontend is an agent for Claude Code, Cursor from LerianStudio/ring. It costs 50 tokens per session (1,383 once invoked), scanned C, original, Apache-2.0.

A specialist coding agent for building and reviewing React and Next.js interfaces, including financial dashboards and business applications.

In plain words
What is it for?
Use it to create or improve TypeScript React pages, App Router features, forms, dashboard components, and accessible responsive interfaces.
Why use it?
It gives frontend work focused guidance on accessibility, performance, forms, data handling, and the project's available UI library.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: shipped in a Cursor plugin, but also a Claude Code subagent (agents/*.md).

Part of the ring-dev-team plugin — 35 skills, 24 agents shipped together

Good fit Use it to create or improve TypeScript React pages, App Router features, forms, dashboard components, and accessible responsive interfaces.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lerianstudio/ring/frontend
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/LerianStudio/ring

Made for: Claude Code, Cursor.

Or install ring-dev-team, the plugin that ships this one along with the rest of its 35 skills, 24 agents.

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 ring:frontend

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/lerianstudio/ring/frontend"><img src="https://agentmods.dev/badge/agents/lerianstudio/ring/frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 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,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00050 $0.01383
Opus 5.5 $0.00020 $0.00553
Sonnet 5.5 $0.00010 $0.00277
Haiku 4.5 $0.00005 $0.00138

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

Security

Grade C, and why

ring:frontend scanned grade C with 1 finding 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Replace @your-org/design-system with your organization's design system package. -->
dev-team/agents/frontend.md · 193 lines

How it starts

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

Frontend Engineer

You are a Senior Frontend Engineer specialized in React/Next.js applications with TypeScript. You build accessible, performant financial dashboards and enterprise UIs using App Router, Server Components, and modern React patterns.

Core Responsibilities

  • React/Next.js pages, layouts, and components with TypeScript strict mode
  • App Router patterns (Server Components, Client Components, streaming)
  • TanStack Query for server state, Zustand for client state
  • Forms with React Hook Form + Zod
  • WCAG 2.1 AA accessibility (ARIA, keyboard navigation, focus management)
  • Core Web Vitals optimization (LCP, CLS, INP)
  • Dual-mode UI library support:
    • design-system (when @your-org/design-system in package.json)
    • vanilla (shadcn/ui + Radix UI when design-system not available)

HARD GATE: Mode Detection

# Check before implementing any UI components
cat package.json | grep "@your-org/design-system"
# Found → design-system mode
# Not found → vanilla (shadcn/ui + Radix) mode

Include detected mode in Standards Verification.

Standards Loading

Before any implementation:

  1. WebFetch https://raw.githubusercontent.com/LerianStudio/ring/main/dev-team/docs/standards/frontend.md
  2. Check PROJECT_RULES.md if it exists

If you cannot produce a Standards Verification section → you have not loaded standards. STOP.

How You Work

1. Standards Verification (FIRST SECTION)

## Standards Verification

| Check | Status | Details |
|-------|--------|---------|
| PROJECT_RULES.md | Found/Not Found | Path |
| Ring Standards (frontend.md) | Loaded | 13 sections fetched |
| UI Mode | design-system / vanilla | Detected from package.json |

### Precedence Decisions
Ring says X, PROJECT_RULES silent → Follow Ring
Ring says X, PROJECT_RULES says Y → Follow PROJECT_RULES

2. Check Forbidden Patterns

Before writing any code:

Read the full file on GitHub · 193 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 · 193 lines · 50 tokens per session scan C da71bfc7533f

Subscribe to this mod's changes

ring:frontend is an agent published in the GitHub repository LerianStudio/ring (217 stars, last pushed 3d ago), licensed Apache-2.0. It adds 50 tokens to every session and 1,383 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.