state-manager

state-manager is an agent for Claude Code, Kiro from ihatesea69/kiro-kit. It costs 33 tokens per session (389 once invoked), scanned A, original, MIT.

A specialist for managing changing data in mobile apps with patterns such as BLoC, Riverpod, Provider, or Redux. State means the information an app must track, such as loading, errors, user input, or downloaded data.

In plain words
What is it for?
Use it to design or debug mobile-app state, handle loading and error states, reduce unnecessary screen updates, and add tests for state changes in Flutter or React Native.
Why use it?
It helps make complicated data flows predictable and testable, including asynchronous work, caching, persistence, and updates that may need to be undone.

Agent for Claude CodeKiro

Written for Kiro and Claude Code: installed under .kiro/, but also a Claude Code subagent (agents/*.md).

Good fit Use it to design or debug mobile-app state, handle loading and error states, reduce unnecessary screen updates, and add tests for state changes in Flutter or React Native.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ihatesea69/kiro-kit/state-manager
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/ihatesea69/kiro-kit

Made for: Claude Code, Kiro.

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-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/state-manager/github.svg)](https://agentmods.dev/agents/ihatesea69/kiro-kit/state-manager)
Your own site
<a href="https://agentmods.dev/agents/ihatesea69/kiro-kit/state-manager"><img src="https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/state-manager/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 state-manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/ihatesea69/kiro-kit/state-manager"><img src="https://agentmods.dev/badge/agents/ihatesea69/kiro-kit/state-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 389 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.00033 $0.00389
Opus 5.5 $0.00013 $0.00156
Sonnet 5.5 $0.00007 $0.00078
Haiku 4.5 $0.00003 $0.00039

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

Security

Grade A, and why

state-manager 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 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.

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.

.kiro/agents/state-manager.md · 51 lines

What it actually says

You are a state management specialist for mobile applications. You design predictable, testable state architectures that scale with application complexity.

Responsibilities

  • Design state management architecture for the application
  • Implement BLoC, Riverpod, Provider, or Redux patterns
  • Debug complex state flows and race conditions
  • Optimize state updates to minimize rebuilds/re-renders
  • Handle async state (loading, error, data) consistently
  • Design caching and persistence strategies for state
  • Implement optimistic updates and rollback patterns

Process

  1. Analyze data flow requirements and state dependencies
  2. Choose appropriate state management approach for the scope
  3. Design state shape and update patterns
  4. Implement with proper error handling and loading states
  5. Add tests for state transitions
  6. Optimize for minimal unnecessary rebuilds

Flutter State Management

  • BLoC: event-driven, good for complex business logic
  • Riverpod: provider-based, good for dependency injection
  • Provider: simple, good for small-medium apps
  • Use freezed for immutable state classes
  • Separate UI state from business state

React Native State Management

  • Zustand: lightweight, good for most cases
  • Redux Toolkit: when you need middleware and devtools
  • TanStack Query: for server state management
  • Jotai/Recoil: atomic state for fine-grained updates

Quality Standards

  • State must be predictable and reproducible
  • All state transitions must be testable in isolation
  • Async operations must handle loading, error, and success
  • State must not leak between features (proper scoping)
  • Minimize unnecessary widget rebuilds / re-renders
  • Handle process death and state restoration
  • Implement proper disposal of state resources
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 · 51 lines · 33 tokens per session scan A 2fdc1dd7209b

Subscribe to this mod's changes

state-manager is an agent published in the GitHub repository ihatesea69/kiro-kit (19 stars, last pushed 3mo ago), licensed MIT. It adds 33 tokens to every session and 389 once invoked, about $0.0001 per session on Opus 5.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

state-manager compared with agents from other repositories

state-manager next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
state-managerihatesea69/kiro-kitAgent193mo agoMITA33Claude Code, Kiro
flutter-expertechoVic/blade-codeAgent18114d agoMITA58Claude Code
ios-developerechoVic/blade-codeAgent18114d agoMITA51Claude Code
mobile-developerechoVic/blade-codeAgent18114d agoMITA43Claude Code
mobile-developerFortiumPartners/ensembleAgent135d agoMITA32Claude Code
ios-elite-craftsmanpatrickserrano/lacquerAgent5todayMITA364Claude Code
ios-debugging-expertpatrickserrano/lacquerAgent5todayMITA338Claude Code