mainframe-frontend

mainframe-frontend is a skill for Claude Code, Codex from CATWILLgh/MAINFRAME. It costs 96 tokens per session (1,429 once invoked), scanned A, a copy of frontend, MIT.

A skill for building and maintaining user-facing React web applications and frontend code. React is a JavaScript framework for making interactive web interfaces.

In plain words
What is it for?
Use it for React pages, components, forms, browser data, responsive layouts, accessible interfaces, offline behavior, realtime features, and visualizations.
Why use it?
It helps trace a user journey through the interface, browser behavior, server connection, accessibility, styling, and tests before changing it.

Skill for Claude CodeCodex

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 skills/catwillgh/mainframe/mainframe-frontend
Any agent
npx skills add CATWILLgh/MAINFRAME --skill mainframe-frontend
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-frontend.svg)](https://agentmods.dev/skills/catwillgh/mainframe/mainframe-frontend)
Your own site
<a href="https://agentmods.dev/skills/catwillgh/mainframe/mainframe-frontend"><img src="https://agentmods.dev/badge/skills/catwillgh/mainframe/mainframe-frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% 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 $0.00096 $0.01429
Opus 5 $0.00048 $0.00714
Sonnet 5 $0.00019 $0.00286
Haiku 4.5 $0.00010 $0.00143

Measured 3d ago against content hash abccb93350c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mainframe-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 3d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/inspect-ui.mjs, scripts/recon.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

91% identical to frontend — 53 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.

adapters/codex/skills/mainframe-frontend/SKILL.md · 121 lines

How it starts

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

Frontend engineering

Deliver one coherent user-facing result. Treat React implementation, interaction quality, visual design, accessibility, component reuse, and focused tests as branches of the same frontend task rather than independent products.

Establish the active frontend

  1. Run node scripts/recon.js <package-root>, or follow manual recon, before choosing an approach.
  2. Trace the changed user journey through its route, component tree, state, browser boundary, server contract, visible states, and existing tests.
  3. Preserve the installed framework, rendering model, router, architecture, state, validation, styling, primitives, and visual language unless their migration or redesign is explicitly part of the task.
  4. Verify installed versions and version-sensitive APIs with current primary documentation or an available authoritative documentation tool.
  5. Complete the assigned behavior without TODOs, placeholders, disabled or weakened checks, suppressions, or deferred in-scope work.

Several routers, state libraries, validators, or UI systems are observations, not automatic blockers. Resolve the active owner from imports, providers, configuration, runtime wiring, and affected files. Escalate only an unresolved choice that changes product behavior, infrastructure, permission, or the assigned visual direction.

Route only the relevant context

React and browser engineering

Changed concern Read
Framework, rendering, routing, Server and Client Components frameworks
Module ownership and established architecture architecture
Fetching, mutations, caching, and optimistic UI data fetching
Forms and validation forms
PWA, IndexedDB, offline queues, and realtime offline and realtime
Editors, Markdown, files, tables, charts, and complex interaction content and data UI
Browser trust boundaries, secrets, XSS, and version-sensitive styling safety
Logic, component, browser, and CI test scope testing

Read the full file on GitHub · 121 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. 3d ago First seen · 121 lines · 96 tokens per session scan A abccb93350c9

Subscribe to this mod's changes

mainframe-frontend is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 13d ago), licensed MIT. It adds 96 tokens to every session and 1,429 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to frontend, differing in 53 lines, and is treated as a copy.

Related

Other skills, from other repositories

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance…

CherryHQ/cherry-studio · 67 tokens

webflow-cli:code-component

Create and deploy reusable React components for Webflow Designer. Configure existing React projects with webflow.json, build and bundle code, validate output, and deploy to workspace using library share. Use when building custom components for designers.

webflow/webflow-skills · 51 tokens

webflow-code-component:convert-component

Convert an existing React component into a Webflow Code Component. Analyzes TypeScript props, maps to Webflow prop types, generates the .webflow.tsx definition file, and identifies required modifications.

webflow/webflow-skills · 49 tokens

webflow-cli:devlink

Export Webflow Designer components to React/Next.js code for external projects. Configure devlink settings in webflow.json, sync design updates with devlink sync, validate generated code, show diffs, and provide integration examples. Use when building with Webflow designs in React/Next.js.

webflow/webflow-skills · 65 tokens

webflow-code-component:component-scaffold

Generate new Webflow Code Component boilerplate with React component, definition file, and optional styling. Automatically checks prerequisites and can set up missing config/dependencies.

webflow/webflow-skills · 40 tokens

webflow-code-component:component-audit

Audit Webflow Code Components for architecture decisions - prop exposure, state management, slot opportunities, and Shadow DOM compatibility. Focused on Webflow-specific patterns, not generic React best practices.

webflow/webflow-skills · 46 tokens