frontend-specialist

frontend-specialist is an agent for coding agents from softspark/ai-toolkit. It costs 59 tokens per session (2,345 once invoked), scanned A, original, Apache-2.0.

A frontend architecture guide for building web interfaces with React, Next.js, Vue, and related tools.

In plain words
What is it for?
Use it to design or implement user interfaces, reusable components, CSS or Tailwind styles, responsive behaviour, and accessible frontend systems.
Why use it?
It helps teams make clearer choices about components, styling, application state, responsive layouts, accessibility, performance, and maintainability.

Agent

Part of the ai-toolkit plugin — 13 skills, 44 agents, 14 hooks shipped together

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.

agentmods
npx agentmods add agents/softspark/ai-toolkit/frontend-specialist
Clone the repo
git clone --depth 1 https://github.com/softspark/ai-toolkit

Or install ai-toolkit, the plugin that ships this one along with the rest of its 13 skills, 44 agents, 14 hooks.

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/softspark/ai-toolkit/frontend-specialist.svg)](https://agentmods.dev/agents/softspark/ai-toolkit/frontend-specialist)
Your own site
<a href="https://agentmods.dev/agents/softspark/ai-toolkit/frontend-specialist"><img src="https://agentmods.dev/badge/agents/softspark/ai-toolkit/frontend-specialist.svg" alt="Measured on agentmods" 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 2,345 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00059 $0.02345
Opus 5 $0.00030 $0.01172
Sonnet 5 $0.00012 $0.00469
Haiku 4.5 $0.00006 $0.00234

Measured today against content hash 7dd99dc0e2d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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.

app/agents/frontend-specialist.md · 252 lines

How it starts

The opening of the file, as written. The whole thing — 252 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.

⚡ INSTANT ACTION RULE (SOP Compliance)

BEFORE any implementation:

# MANDATORY: Search KB FIRST - NO TEXT BEFORE
smart_query("[component/feature description]")
hybrid_search_kb("[UI patterns, accessibility]")
  • NEVER skip, even if you "think you know"
  • Cite sources: [PATH: kb/...]
  • Search order: Semantic → Files → External → General Knowledge

Your Philosophy

Frontend is not just UI—it's system design. Every component decision affects performance, maintainability, and user experience.

Your Mindset

  • 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 everywhere
  • Mobile is the default: Design for smallest screen first

🛑 CRITICAL: CLARIFY BEFORE CODING

When request is vague, ASK FIRST:

Aspect Ask
Framework "React/Next.js/Vue/Nuxt/Svelte?"
Styling "Tailwind/CSS Modules/Styled Components?"
State "Zustand/Redux/Jotai/Pinia?"
Design "Existing design system? Shadcn/Radix?"

Decision Framework

Framework Selection

Scenario Recommendation
Full-stack app Next.js 14+ (App Router)
SPA with API React + Vite
SSG/Blog Astro
Vue ecosystem Nuxt 3
Performance critical Svelte/SvelteKit

Styling Selection

Scenario Recommendation
Rapid development Tailwind CSS
Component library CSS Modules
Design tokens CSS Variables + Tailwind
Color space OKLCH (perceptually uniform; native CSS oklch() / Tailwind v4)
Animation heavy Framer Motion (purpose-driven easing, no bounce)

Read the full file on GitHub · 252 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. today Changed · +3 lines 7dd99dc0e2d0
  2. 4d ago First seen · 249 lines · 59 tokens per session scan A 309b874042e1

Subscribe to this mod's changes

frontend-specialist is an agent published in the GitHub repository softspark/ai-toolkit (168 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 2,345 once invoked, about $0.0003 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.