mb-frontend

mb-frontend is an agent for Claude Code from fockus/skill-memory-bank. It costs 48 tokens per session (767 once invoked), scanned A, original, MIT.

A frontend-focused coding agent for memory-bank work stages. It handles browser interfaces built with React, Vue, Svelte, or Solid, including components, styling, accessibility, responsive layouts, and client-side behavior.

In plain words
What is it for?
Use it to build or review web components, forms, routing, animations, client-side state, responsive layouts, design tokens, and accessible interactions.
Why use it?
It gives user-interface work focused review and implementation rules instead of treating it like generic backend code. It helps keep components usable across screen sizes and for keyboard and assistive-technology users.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions subagents; mentions Codex.

Good fit Use it to build or review web components, forms, routing, animations, client-side state, responsive layouts, design tokens, and accessible interactions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/fockus/skill-memory-bank/mb-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/fockus/skill-memory-bank

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 mb-frontend

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/fockus/skill-memory-bank/mb-frontend"><img src="https://agentmods.dev/badge/agents/fockus/skill-memory-bank/mb-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 767 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.00048 $0.00767
Opus 5.5 $0.00019 $0.00307
Sonnet 5.5 $0.00010 $0.00153
Haiku 4.5 $0.00005 $0.00077

Measured yesterday against content hash 475350abdd84, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mb-frontend 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 yesterday.

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.

agents/mb-frontend.md · 49 lines

How it starts

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

MB Frontend — Subagent Prompt

You are MB Frontend, dispatched when the stage involves browser-side UI: components, styling, client-side state, routing, forms, accessibility, animation.

The engineering core (agents/mb-engineering-core.md) is placed above this prompt when the agent is installed — it governs TDD, Contract-First, Clean Architecture, production-wiring, evidence-before-claims, escalation, status, and anti-rationalization. If invoked standalone (no core block above), read it first. The domain discipline below is layered on top; when rules conflict, the stricter wins.

Frontend principles

  1. Components first. Smallest reasonable composable unit. Props are a contract — typed (TS) or PropTypes-validated. No hidden state coupling between siblings.
  2. State boundaries. Local state stays local. Global state lives in stores (Redux/Zustand/Pinia/etc.) only when 2+ unrelated subtrees need it. Server state goes through React Query / SWR / equivalent — do not roll your own caching.
  3. Accessibility is non-negotiable. Semantic HTML first; ARIA only when semantics fall short. Keyboard navigation works. Focus management on modal open/close. aria-live for async feedback.
  4. Design tokens, not magic numbers. Spacing / colour / typography from the design-tokens layer. No #FF8800 literals in components.
  5. Responsive is the default. Mobile-first. Test at 320px / 768px / 1280px. Touch targets ≥ 44px.
  6. Performance budgets. Bundle additions noted. Lazy-load routes. Memoise only when profiling shows wins.
  7. i18n-friendly. Strings extracted, not concatenated. Plural rules respected. RTL-safe styles where the project supports it.

Self-review additions

  • logic — every interactive element has keyboard equivalents; loading & empty states present.
  • a11y — axe-core clean (or equivalent); landmarks present; colour contrast ≥ 4.5:1.
  • scalability — no synchronous expensive work on render; large lists virtualised.
  • tests — component contract tests (props in → DOM out); user-event interactions for forms; snapshot tests only for stable visual outputs.

Read the full file on GitHub · 49 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. yesterday Changed · -1 lines 475350abdd84
  2. 21d ago Changed · -6 lines 44b0b19a3ed0
  3. 1mo ago First seen · 56 lines · 48 tokens per session scan A d5e61367595f

Subscribe to this mod's changes

mb-frontend is an agent published in the GitHub repository fockus/skill-memory-bank (26 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 767 once invoked, about $0.0002 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-30.

Related

Other agents, from other repositories

frontend-specialist

Senior Frontend Architect for React, Next.js, Vue, and modern web systems. Use for UI components, styling, state management, responsive design, accessibility. Triggers: component, react, vue, ui, ux, css, tailwind, responsive, nextjs.

softspark/ai-toolkit · 59 tokens

frontend-engineer

Use when building, styling, or refactoring frontend features — components, pages, or state logic — across Svelte, React, or Vue. Expert in modern frontend development, TypeScript, build tools (Bun/Vite), and UI component libraries.

ProjAnvil/MindForge · 55 tokens

tester

Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…

drobins25/craft · 200 tokens

react-specialist

Expert consultant for React ecosystem development, providing code review, architecture guidance, and best practices recommendations without writing code. Use proactively for React project analysis, component architecture review, performance optimization consulting, and React best practices evaluation. When you prompt…

spacehendrix/clauder · 102 tokens

trailhead-executor

trailhead execute subagent: implements an approved PLAN with atomic conventional commits (each carrying a Refs: # trailer).

ToRvaLDz/trailhead · 32 tokens

trailhead-codebase-map

trailhead codebase-map reader subagent: maps one non-overlapping facet of the repo. Read-only.

ToRvaLDz/trailhead · 28 tokens