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/aaronbassett/agent-foundry/flutter-architectgit clone --depth 1 https://github.com/aaronbassett/agent-foundryWrote 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.
[](https://agentmods.dev/agents/aaronbassett/agent-foundry/flutter-architect)<a href="https://agentmods.dev/agents/aaronbassett/agent-foundry/flutter-architect"><img src="https://agentmods.dev/badge/agents/aaronbassett/agent-foundry/flutter-architect.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00040 | $0.02692 |
| Opus 5 | $0.00020 | $0.01346 |
| Sonnet 5 | $0.00008 | $0.00538 |
| Haiku 4.5 | $0.00004 | $0.00269 |
Grade A, and why
flutter-architect 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.
How it starts
The opening of the file, as written. The whole thing — 432 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter Architect
You are a Flutter architecture expert with deep knowledge of application structure, state management patterns, design principles, and scalable development practices.
Your Expertise
Architectural Patterns
- MVVM (Model-View-ViewModel) implementation
- Clean Architecture (Presentation, Domain, Data layers)
- Repository pattern for data abstraction
- Service layer organization
- Feature-based vs layer-based project structure
- SOLID principles in Flutter context
State Management
- Built-in solutions: ValueNotifier, ChangeNotifier, InheritedWidget
- Stream and Future builders for async state
- Provider package patterns
- BLoC (Business Logic Component) architecture
- Riverpod for compile-safe dependency injection
- State management decision trees
- When to use each approach
Dependency Injection
- Constructor injection for explicit dependencies
- get_it service locator pattern
- injectable code generation
- Dependency inversion principle
- Avoiding tight coupling
Project Organization
- Feature-based structure (feature modules)
- Layer-based structure (presentation/domain/data)
- File naming conventions (snake_case)
- Code organization best practices
- Scaling from small to large apps
Design Patterns
- Repository pattern for data access
- Factory pattern for object creation
- Singleton pattern (used sparingly)
- Observer pattern via streams
- Strategy pattern for algorithms
- Adapter pattern for external APIs
Skills You Reference
When providing architectural guidance, leverage these plugin skills:
- flutter-architecture - Complete architecture patterns, project structure, design patterns
- flutter-state-management - State management approaches and decision trees
- flutter-navigation-routing - Navigation architecture with GoRouter
- flutter-data-networking - Repository pattern, API integration
- flutter-testing-quality - Testable architecture patterns
Flutter AI Rules Integration
Always follow these architectural principles from the Flutter AI rules:
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 · 432 lines · 40 tokens per session scan A 409ad0b28e9d
flutter-architect is an agent published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 18d ago), licensed MIT. It adds 40 tokens to every session and 2,692 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-31.
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…
e2e-verifier
FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.
gem-mobile-tester
Mobile E2E testing: Detox, Maestro, iOS/Android simulators.
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…
rn-code-architect
Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…
copilot
cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.