react-frontend

react-frontend is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 50 tokens per session (6,709 once invoked), scanned A, original, MIT.

A set of conventions for building data-heavy applications with React, a JavaScript library for user interfaces. It describes a specific setup using React, Vite, TypeScript, Tailwind CSS, routing, and charts.

In plain words
What is it for?
Use it when creating React dashboards, trading interfaces, or analytics tools, especially projects built with the listed frontend technologies.
Why use it?
It provides shared decisions for building dashboards and analytics interfaces, while clarifying when another approach is better suited.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating React dashboards, trading interfaces, or analytics tools, especially projects built with the listed frontend technologies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jansenanalytics/claudex/react-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.

Any agent
npx skills add JansenAnalytics/claudex --skill react-frontend
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/react-frontend/github.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/react-frontend)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/react-frontend"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/react-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 react-frontend

Your own site · 80×15
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/react-frontend"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/react-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,709 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00050 $0.06709
Opus 5.5 $0.00020 $0.02684
Sonnet 5.5 $0.00010 $0.01342
Haiku 4.5 $0.00005 $0.00671

Measured 3mo ago against content hash df0f37712f84, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-frontend scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const promise = fetch(url, {
skills/react-frontend/SKILL.md · 837 lines

How it starts

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

React Frontend Skill

Opinionated guide for building data-heavy React applications — dashboards, trading UIs, analytics tools. Based on the 2025/2026 React ecosystem and our actual stack (React 19 + Vite + TypeScript + Tailwind).

Companion skill: Use with frontend-design for aesthetics guidance.


Our Stack

This is what we use and what this skill optimizes for:

Layer Choice Why
Framework React 19 + Vite 7 (SPA) Fast dev, no SSR needed for dashboards
Language TypeScript (strict) Non-negotiable for data-heavy apps
Styling Tailwind CSS 4 Utility-first, consistent, fast iteration
Routing React Router 7 Mature, well-known, sufficient for SPAs
Charts Lightweight Charts (TradingView) Best for financial/OHLCV data
Build Vite + vite preview for prod Fast HMR, good tree-shaking

When NOT to use this stack

  • Need SSR/SEO: Use Next.js instead
  • Need server components: Use Next.js App Router
  • Simple marketing site: Use Astro
  • Mobile app: Use React Native (different skill)

Project Structure

src/
├── App.tsx                  # Root component, router setup
├── main.tsx                 # Entry point
├── types/                   # Shared TypeScript types
│   ├── index.ts             # Re-exports
│   └── market.ts            # Domain-specific types
├── hooks/                   # Custom hooks (data fetching, subscriptions)
│   ├── useApi.ts            # Generic API fetcher
│   ├── useBchUsd.ts         # Domain-specific data hook
│   └── useSubscription.ts   # WebSocket/SSE subscriptions
├── context/                 # React Context providers (sparingly)
│   ├── CurrencyContext.tsx
│   └── ThemeContext.tsx
├── components/
│   ├── shared/              # Reusable UI primitives
│   │   ├── Card.tsx
│   │   ├── Table.tsx
│   │   ├── LoadingSpinner.tsx
│   │   └── ErrorBoundary.tsx
│   ├── layout/              # App shell, navigation
│   │   ├── AppLayout.tsx
│   │   ├── Sidebar.tsx
│   │   └── TopNav.tsx
│   ├── dashboard/           # Feature: main dashboard
│   │   ├── AnalyticsDashboard.tsx
│   │   ├── PriceChart.tsx
│   │   ├── StatsPanel.tsx
│   │   └── TokenSelector.tsx
│   ├── market/              # Feature: market overview
│   │   ├── MarketDashboard.tsx
│   │   ├── CorrelationMatrix.tsx
│   │   └── HeatmapView.tsx
│   └── chain/               # Feature: chain analytics
│       ├── ChainDashboard.tsx
│       └── TraderGrowthChart.tsx
├── lib/                     # Pure utility functions (no React)
│   ├── api.ts               # API client
│   ├── formatters.ts        # Number/date formatting
│   └── colors.ts            # Color scales for charts
└── assets/                  # Static files

Read the full file on GitHub · 837 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. 3mo ago First seen · 837 lines · 50 tokens per session scan A df0f37712f84

Subscribe to this mod's changes

react-frontend is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 5mo ago), licensed MIT. It adds 50 tokens to every session and 6,709 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

react-frontend compared with skills from other repositories

react-frontend next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-frontendJansenAnalytics/claudexSkill55mo agoMITA50Claude Code, Codex
reactericrisco/rsc-harnessSkill7093d agoMITA70Claude Code, Codex
weapp-vite-react-best-practicesweapp-vite/weapp-viteSkill534todayMITA103Codex
codegen-reactinitializ/forgeSkill22315d agoApache-2.0A14Claude Code, Codex
typescript-advanced-typesbartstc/vite-ts-react-templateSkill1268d agoMITA57Claude Code, Codex
spiceflowremorses/spiceflowSkill16913d agoMITA167Claude Code, Codex
writing-specbartstc/vite-ts-react-templateSkill1268d agoMITA69Claude Code, Codex