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.
npx agentmods add agents/fockus/skill-memory-bank/mb-frontendgit clone --depth 1 https://github.com/fockus/skill-memory-bankWrote 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.
[](https://agentmods.dev/agents/fockus/skill-memory-bank/mb-frontend)<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>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.
| Model | Per session | Once 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 |
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.
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
- Components first. Smallest reasonable composable unit. Props are a contract — typed (TS) or PropTypes-validated. No hidden state coupling between siblings.
- 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.
- Accessibility is non-negotiable. Semantic HTML first; ARIA only when semantics fall short. Keyboard navigation works. Focus management on modal open/close.
aria-livefor async feedback. - Design tokens, not magic numbers. Spacing / colour / typography from the design-tokens layer. No
#FF8800literals in components. - Responsive is the default. Mobile-first. Test at 320px / 768px / 1280px. Touch targets ≥ 44px.
- Performance budgets. Bundle additions noted. Lazy-load routes. Memoise only when profiling shows wins.
- 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-coreclean (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.
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.
- 5d ago First seen · 56 lines · 48 tokens per session scan A d5e61367595f
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.
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.
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.
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.
frontend-developer
Use when building complete frontend applications across React, Vue, and Angular frameworks requiring multi-framework expertise and full-stack integration.
frontend-developer
像素级 Figma 稿件还原专家。在以下任何情况下激活: 用户提供了 Figma 链接(figma.com/design/ 或 figma.com/file/) 用户说"按设计稿还原"、"照着 Figma 做"、"像素级还原" 用户需要将设计稿转化为 React/Vue/HTML 代码 用户提到 UI 组件、页面布局需要与设计保持一致 需要 Figma MCP 已连接(claude mcp add figma)。 读取设计稿的真实数据:精确的颜色值、间距、字体、组件结构, 然后生成与稿件视觉完全一致的代码。绝不凭感觉估算,所有数值来自 Figma。.
aichan
Frontend Specialist for UI/UX development. Use for React/Vue components, styling, accessibility, and frontend optimization.