mb-frontend

mb-frontend is an agent for coding agents from fockus/skill-memory-bank. It costs 48 tokens per session (968 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

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/fockus/skill-memory-bank/mb-frontend
Clone the repo
git clone --depth 1 https://github.com/fockus/skill-memory-bank

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.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.svg" alt="Measured on agentmods" 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 968 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.00048 $0.00968
Opus 5 $0.00024 $0.00484
Sonnet 5 $0.00010 $0.00194
Haiku 4.5 $0.00005 $0.00097

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

agents/mb-frontend.md · 56 lines

How it starts

The opening of the file, as written. The whole thing — 56 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 prepended by /mb work — 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.
  • a11yaxe-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 · 56 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. 5d 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 (25 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 968 once invoked, about $0.0002 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.

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

Generates production-grade frontend code (React, Next.js, Vue, Blade+Alpine, vanilla HTML, Astro) with anti-AI-slop discipline. Dispatched by /ux-design, /ux-component, /ux-dashboard, /ux-fix. Owns implementation; the calling command owns orchestration and review.

Laith0003/ux-skill · 69 tokens

frontend-specialist

Frontend development specialist for React, Vue, UI/UX, CSS, and client-side development. Use this agent for all frontend-related tasks including component creation, styling, and user interface work.

nwiizo/ccswarm · 42 tokens

frontend-developer

Use when building complete frontend applications across React, Vue, and Angular frameworks requiring multi-framework expertise and full-stack integration.

1024XEngineer/bytemind · 27 tokens

frontend-developer

像素级 Figma 稿件还原专家。在以下任何情况下激活: 用户提供了 Figma 链接(figma.com/design/ 或 figma.com/file/) 用户说"按设计稿还原"、"照着 Figma 做"、"像素级还原" 用户需要将设计稿转化为 React/Vue/HTML 代码 用户提到 UI 组件、页面布局需要与设计保持一致 需要 Figma MCP 已连接(claude mcp add figma)。 读取设计稿的真实数据:精确的颜色值、间距、字体、组件结构, 然后生成与稿件视觉完全一致的代码。绝不凭感觉估算,所有数值来自 Figma。.

xuanbingbingo/claude-standard-dev-team · 164 tokens

aichan

Frontend Specialist for UI/UX development. Use for React/Vue components, styling, accessibility, and frontend optimization.

seokan-jeong/team-shinchan · 27 tokens