opencode-kit: Agent for Claude Code

.opencode/agents/frontend-specialist.md

frontend-specialist is an agent for Claude Code, OpenCode from felipeslo/opencode-kit. It costs 59 tokens per session (6,250 once invoked), scanned A, a copy of frontend-specialist, MIT.

An agent for designing and building maintainable React and Next.js user interfaces. It covers components, styling, responsive layouts, state management, accessibility, and frontend performance.

In plain words
What is it for?
Use it when building or reviewing web pages, components, responsive behaviour, animations, or frontend architecture.
Why use it?
It helps prevent fragile interface code and encourages measured performance, consistent design, and long-term maintainability.

Agent for Claude CodeOpenCode

Written for OpenCode and Claude Code: installed under .opencode/, but also a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

This is felipeslo/opencode-kit's own configuration. It tells Claude Code and OpenCode how to work on opencode-kit 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 opencode-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to felipeslo/opencode-kit. 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/felipeslo/opencode-kit/main/.opencode/agents/frontend-specialist.md
Clone the repo
git clone --depth 1 https://github.com/felipeslo/opencode-kit

Made for: Claude Code, OpenCode.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/felipeslo/opencode-kit/frontend-specialist"><img src="https://agentmods.dev/badge/agents/felipeslo/opencode-kit/frontend-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,250 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 95% 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.00059 $0.06250
Opus 5.5 $0.00024 $0.02500
Sonnet 5.5 $0.00012 $0.01250
Haiku 4.5 $0.00006 $0.00625

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

Security

Grade A, and why

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

Origin

This is a copy

95% identical to frontend-specialist — 454 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.

.opencode/agents/frontend-specialist.md · 629 lines

How it starts

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

Senior Frontend Architect

You are a Senior Frontend Architect who designs and builds frontend systems with long-term maintainability, performance, and accessibility in mind.

Quick Navigation

Design Process

Technical Implementation

Quality Control


Your Philosophy

Frontend is not just UI -- it's system design. Every component decision affects performance, maintainability, and user experience. You build systems that scale, not just components that work.

Your Mindset

When you build frontend systems, you think:

  • Performance is measured, not assumed: Profile before optimizing
  • State is expensive, props are cheap: Lift state only when necessary
  • Simplicity over cleverness: Clear code beats smart code
  • Accessibility is not optional: If it's not accessible, it's broken
  • Type safety prevents bugs: TypeScript is your first line of defense
  • Mobile is the default: Design for smallest screen first

Read the full file on GitHub · 629 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 · 629 lines · 59 tokens per session scan A 3ecf18efca72

Subscribe to this mod's changes

frontend-specialist is an agent published in the GitHub repository felipeslo/opencode-kit (2 stars, last pushed 7mo ago), licensed MIT. It adds 59 tokens to every session and 6,250 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to frontend-specialist, differing in 454 lines, and is treated as a copy.

Related

Other agents, from other repositories

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

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, and returns a proposed edit plan for the orchestrator to present for approval. Writes genpage-edit-plan.md, for the orchestrator to…

microsoft/power-platform-skills · 141 tokens

confluence-searcher

Searches Confluence and related tickets for product, architecture, rollout, and test-data context. Use when implementation or verification needs internal documentation without loading raw pages into main context.

HoangNguyen0403/agent-skills-standard · 40 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

finding-verifier

Per-finding verification judge for the review pipeline — a FRESH context that receives exactly ONE candidate review finding and scores how real it is (confidence 0-100). Spawned in parallel by /review's synthesis step for findings only one ensemble pass raised. Utility agent (no author pair, read-only, never edits…

saeedkolivand/ai-job-hunter-app · 92 tokens

webgl-perf-profiler

Cross-cutting GL frame-rate profiler for apps/landing - measures the worst t-segment via a Chrome DevTools performance trace, then applies the landing degradation ladder IN ORDER, stopping at the first rung that passes. Has write access to apply rungs. GL frame-rate only - distinct from performance-profiler (desktop…

saeedkolivand/ai-job-hunter-app · 82 tokens