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.
npx agentmods add agents/ihatesea69/kiro-kit/state-managergit clone --depth 1 https://github.com/ihatesea69/kiro-kitWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00033 | $0.00389 |
| Opus 5 | $0.00016 | $0.00195 |
| Sonnet 5 | $0.00007 | $0.00078 |
| Haiku 4.5 | $0.00003 | $0.00039 |
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 3d 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.
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
- Analyze data flow requirements and state dependencies
- Choose appropriate state management approach for the scope
- Design state shape and update patterns
- Implement with proper error handling and loading states
- Add tests for state transitions
- 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
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.
- 3d ago First seen · 51 lines · 33 tokens per session scan A 2fdc1dd7209b
state-manager is an agent published in the GitHub repository ihatesea69/kiro-kit (18 stars, last pushed 14d ago), licensed MIT. It adds 33 tokens to every session and 389 once invoked, about $0.0002 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.
Other agents, from other repositories
ux-flow-auditor
Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…
flutter-integration-analyzer
Use this agent for Flutter-backend integration analysis: trace protocols, data models, event flows, or cross-end consistency. Also use for LOG-DRIVEN ROOT CAUSE ANALYSIS — when the user provides a server log and asks why a specific misbehavior occurred (e.g. "why did it stop responding"), this agent parses the log…
copilot
cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.
aider
Aider reads CONVENTIONS.md, .aider.conf.yml, and files you add to context.
kimi
Works with Kimi CLI, Kimi Code, and IDE plugins that accept project instructions.
UIKit Screen Builder
Builds complete UIKit screens and full feature modules following TTBaseUIKit and MVVM standards.