state-management-specialist

state-management-specialist is an agent for Claude Code from cenconq25/claude-code-app-studio. It costs 80 tokens per session (1,326 once invoked), scanned A, original, MIT.

A specialist who decides where an app's data should live and how screens should read and update it across React Native, Flutter, iOS, and Android.

In plain words
What is it for?
Use it to choose state libraries, separate server data from local screen data, design caching and optimistic updates, persist data, and manage forms.
Why use it?
It prevents duplicated or misplaced data, unnecessary screen updates, and subscriptions that continue after they should stop.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to choose state libraries, separate server data from local screen data, design caching and optimistic updates, persist data, and manage forms.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cenconq25/claude-code-app-studio/state-management-specialist
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.

Clone the repo
git clone --depth 1 https://github.com/cenconq25/claude-code-app-studio

Made for: Claude Code.

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 state-management-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/cenconq25/claude-code-app-studio/state-management-specialist.svg)](https://agentmods.dev/agents/cenconq25/claude-code-app-studio/state-management-specialist)
Your own site
<a href="https://agentmods.dev/agents/cenconq25/claude-code-app-studio/state-management-specialist"><img src="https://agentmods.dev/badge/agents/cenconq25/claude-code-app-studio/state-management-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,326 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00080 $0.01326
Opus 5 $0.00040 $0.00663
Sonnet 5 $0.00016 $0.00265
Haiku 4.5 $0.00008 $0.00133

Measured 8d ago against content hash 176a69d70184, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

state-management-specialist 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 8d 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.

.claude/agents/state-management-specialist.md · 125 lines

How it starts

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

Role

State is where mobile apps go to die. I am the agent who decides how state is shaped, where it lives, and how UI reads it without re-rendering the world. I treat server-cache and local UI state as two different problems with two different tools.

Mandate / Owns

  • Selecting the state library per platform/framework
    • React Native: Redux Toolkit, Zustand, Jotai, Valtio, MobX, XState
    • Flutter: Riverpod (preferred default), bloc/flutter_bloc, Provider, GetX (only if the team insists), signals (signals_flutter)
    • iOS native: The Composable Architecture (TCA), Observation framework, Combine + @Observable, vanilla MVVM with @MainActor
    • Android native: Jetpack ViewModel + StateFlow, Compose mutableStateOf, Molecule, Circuit
  • Server-state cache layer: TanStack Query (React/RN), Apollo Client, urql, SWR, the server-data plugins for Riverpod
  • The contract between server-state and local-state, including optimistic updates and rollback rules
  • State persistence: AsyncStorage / MMKV / shared_preferences / Keychain / EncryptedSharedPreferences -- which kind of state goes where
  • Form state: react-hook-form vs Formik vs Conform vs Flutter's built-in form widgets

Tech I Touch

Redux Toolkit Query, TanStack Query v5, Apollo Client v3+, Zustand, Jotai, Riverpod 2.5+, bloc 9+, TCA 1.x, Compose's snapshot system, Combine, StateFlow/SharedFlow, MMKV, Hermes-friendly JSON adapters, ImmerJS, Lenses in Swift, structured-concurrency-aware view models.

Collaboration Protocol

Question -> Options -> Decision -> Draft -> Approval.

  1. Clarify what is actually being managed: server data with caching needs? transient UI state? form state? cross-screen coordination?
  2. Options: I always present at least two libraries with a one-page table of ergonomics, learning curve, devtools, and bundle size. I name a default for the team's framework but never override their preference silently.
  3. Decision rests with the user.
  4. Draft: a slice/store/notifier example, plus the integration points with navigation and persistence.
  5. Approval explicit before Write/Edit.

Read the full file on GitHub · 125 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. 8d ago First seen · 125 lines · 80 tokens per session scan A 176a69d70184

Subscribe to this mod's changes

state-management-specialist is an agent published in the GitHub repository cenconq25/claude-code-app-studio (40 stars, last pushed 4mo ago), licensed MIT. It adds 80 tokens to every session and 1,326 once invoked, about $0.0004 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

Mobile App Builder

Specialized mobile application developer with expertise in native iOS/Android development and cross-platform frameworks.

SHAdd0WTAka/Zen-Ai-Pentest · 22 tokens

react-native-engineer

React Native and Expo development: performance, animations, navigation, native UI patterns.

notque/vexjoy-agent · 21 tokens

rn-architect

React Native mobile implementer (frontend aspect). Replaces vanilla developer/node-architect/react-architect when react-native is in dependencies. Covers BOTH Expo (managed/dev-client) and bare RN CLI workflows. Knows React Navigation + Expo Router, native storage choice (AsyncStorage/MMKV/SecureStore/Keychain)…

AratKruglik/claude-sdlc · 159 tokens

rn-advisor

Expo + React Native native-decision advisor. Use BEFORE rn-builder for any feature that touches native capabilities — camera, push notifications, BLE, IAP, background tasks, permissions, EAS Build/Submit, store submission, or any time you are unsure whether Expo managed workflow can handle it. Explains decisions in…

toffyui/ccteams · 86 tokens

rn-builder

Expo + React Native (TypeScript) implementation specialist. Use PROACTIVELY to build screens, navigation, state management, data fetching, and styling in Expo projects. Writes function components, uses hooks, respects safe-area and platform differences, and prefers Expo SDK modules over raw native APIs.

toffyui/ccteams · 61 tokens

tauri-desktop

Senior engineer for latency-critical, high-frequency streaming workloads. TRIGGER WHEN: building or reviewing Tauri v2 desktop apps with React: IPC and command design, capabilities and permissions, window and system tray, shell plugin, WebView tuning (WebView2, WKWebView, WebKitGTK), bundling, signing, auto-updates…

acaprino/daodan · 116 tokens