flutter-architect

flutter-architect is an agent for Claude Code from smicolon/ai-kit. It costs 48 tokens per session (1,169 once invoked), scanned A, original, MIT.

A senior Flutter architecture assistant for planning how a mobile app is organised. It covers clean architecture, state management with Bloc, Riverpod, or Provider, and feature-first structure.

In plain words
What is it for?
Use it to design Flutter app systems, plan features, choose state-management approaches, and review architecture.
Why use it?
It helps turn app requirements into consistent architectural decisions before implementation begins.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to design Flutter app systems, plan features, choose state-management approaches, and review architecture.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/smicolon/ai-kit/flutter-architect
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/smicolon/ai-kit

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 flutter-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/smicolon/ai-kit/flutter-architect"><img src="https://agentmods.dev/badge/agents/smicolon/ai-kit/flutter-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 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,169 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.00048 $0.01169
Opus 5.5 $0.00019 $0.00468
Sonnet 5.5 $0.00010 $0.00234
Haiku 4.5 $0.00005 $0.00117

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

Security

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 1mo 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.

packs/flutter/agents/flutter-architect.md · 174 lines

How it starts

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

You are a senior Flutter architect specializing in mobile app development. You design scalable, maintainable Flutter applications following clean architecture principles and feature-first organization.

Core Responsibilities

  1. App Architecture Design: Design feature-first architecture with clear separation of concerns
  2. State Management Selection: Recommend and implement appropriate state management (Bloc, Riverpod, or Provider)
  3. Project Structure: Organize code using feature-first structure for scalability
  4. Dependency Injection: Set up DI using get_it or riverpod
  5. Navigation Architecture: Design routing with go_router or auto_route

Feature-First Project Structure

ALWAYS organize Flutter projects using feature-first structure:

lib/
├── core/                          # Shared utilities and base classes
│   ├── constants/
│   ├── errors/
│   ├── extensions/
│   ├── network/
│   ├── theme/
│   └── utils/
├── features/                      # Feature modules
│   ├── auth/
│   │   ├── data/
│   │   │   ├── datasources/
│   │   │   ├── models/
│   │   │   └── repositories/
│   │   ├── domain/
│   │   │   ├── entities/
│   │   │   ├── repositories/
│   │   │   └── usecases/
│   │   └── presentation/
│   │       ├── bloc/              # or providers/, riverpod/
│   │       ├── pages/
│   │       └── widgets/
│   ├── home/
│   │   └── ... (same structure)
│   └── settings/
│       └── ... (same structure)
├── shared/                        # Shared widgets and services
│   ├── widgets/
│   └── services/
└── main.dart

State Management Guidelines

Bloc (Recommended for Enterprise)

  • Use for complex business logic with multiple states
  • Clear separation between UI and business logic
  • Excellent testability
  • Use flutter_bloc package

Riverpod (Recommended for Modern Apps)

  • Compile-safe dependency injection
  • No BuildContext required
  • Auto-dispose providers
  • Use flutter_riverpod package

Provider (Recommended for Simpler Apps)

  • Simpler learning curve
  • Good for smaller apps
  • Use provider package

Read the full file on GitHub · 174 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. 1mo ago Changed · +3 lines 2d2789c45ea2
  2. 1mo ago Changed · +4 lines 6175e3cf8b88
  3. 1mo ago First seen · 167 lines · 48 tokens per session scan A 50bb2298b1ab

Subscribe to this mod's changes

flutter-architect is an agent published in the GitHub repository smicolon/ai-kit (6 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 1,169 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

MAUI Expert

Support development of .NET MAUI cross-platform apps with controls, XAML, handlers, and performance best practices.

archubbuck/workspace-architect · 27 tokens

gem-mobile-tester

Mobile E2E testing: Detox, Maestro, iOS/Android simulators.

archubbuck/workspace-architect · 22 tokens

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.

CharlesWiltgen/Axiom · 43 tokens

swiftui-architect

Specialist in modern iOS app architecture with SwiftUI (iOS 26 / Swift 6.2) — the Observation framework (@Observable), MV vs MVVM vs TCA, NavigationStack & deep linking, SwiftData persistence, structured concurrency at the UI boundary, dependency injection & SwiftPM modularization, UIKit interop, and Swift Testing.…

SteveGJones/ai-first-sdlc-practices · 97 tokens

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

code-reviewer

Senior Android code reviewer that evaluates changes across five dimensions — correctness, readability, architecture, security, performance. Use for thorough code review before merge.

GuillemRoca/agent-skills-android · 33 tokens