react-state-architecture

react-state-architecture is a skill for Claude Code, Codex from ieeecsopen/mcp-cs. It costs 113 tokens per session (759 once invoked), scanned A, original, no licence file.

A guide for organizing state in React 18/19 and Next.js applications. State is the data an application remembers and updates while people use it.

In plain words
What is it for?
It covers choosing Zustand, TanStack Query, or React Server Components for application state and cache invalidation.
Why use it?
It helps choose where data should live, reduces passing data through many component layers, and handles updates to cached data.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

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/ieeecsopen/mcp-cs/react-state-architecture
Any agent
npx skills add ieeecsopen/mcp-cs --skill react-state-architecture
Clone the repo
git clone --depth 1 https://github.com/ieeecsopen/mcp-cs

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-state-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/ieeecsopen/mcp-cs/react-state-architecture.svg)](https://agentmods.dev/skills/ieeecsopen/mcp-cs/react-state-architecture)
Your own site
<a href="https://agentmods.dev/skills/ieeecsopen/mcp-cs/react-state-architecture"><img src="https://agentmods.dev/badge/skills/ieeecsopen/mcp-cs/react-state-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00113 $0.00759
Opus 5 $0.00056 $0.00380
Sonnet 5 $0.00023 $0.00152
Haiku 4.5 $0.00011 $0.00076

Measured 5d ago against content hash aa666beb295e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

react-state-architecture 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/skills/react-state-architecture/SKILL.md · 70 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 70 lines · 113 tokens per session scan A aa666beb295e

Subscribe to this mod's changes

react-state-architecture is a skill published in the GitHub repository ieeecsopen/mcp-cs (3 stars, last pushed 2d ago), with no licence file. It adds 113 tokens to every session and 759 once invoked, about $0.0006 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-31.

Related

Other skills, from other repositories

react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. Use 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 improvements. Do NOT use…

tech-leads-club/agent-skills · 80 tokens

react-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes. Do NOT…

tech-leads-club/agent-skills · 76 tokens

component-design

Design reusable React components with compound patterns, controlled/uncontrolled hybrids, typed prop APIs, async state handling, and ARIA accessibility. Use when the user creates, refactors, or reviews React components, or mentions props, hooks, .tsx files, component APIs, or accessible UI patterns.

sawrus/agent-guides · 61 tokens

navigation-patterns

When designing app navigation, implementing deep linking, or handling auth flows.

sawrus/agent-guides · 0 tokens

react

React component-based UI with hooks, context, and state management. Use for .jsx/.tsx files.

G1Joshi/Agent-Skills · 23 tokens

nextjs

Next.js React framework with SSR, App Router, and server components. Use for full-stack React.

G1Joshi/Agent-Skills · 23 tokens