architect-agent

architect-agent is an agent for Claude Code from Desquared/agents-rules-skills. It costs 35 tokens per session (518 once invoked), scanned A, original, MIT.

An architecture planner for new Flutter features. It examines how the project separates data, business rules, and screens, along with its state management, networking, storage, dependency injection, and code-generation choices.

In plain words
What is it for?
Use it to plan feature folders, models, repositories, state-management code, service dependencies, generated files, and build steps before implementation.
Why use it?
It helps new work fit the project’s existing conventions and reduces structural rework later. It proposes the files and layers to change, then waits for approval before generating code.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to plan feature folders, models, repositories, state-management code, service dependencies, generated files, and build steps before implementation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/desquared/agents-rules-skills/flutter-project-architecture-analyst
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/Desquared/agents-rules-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/desquared/agents-rules-skills/flutter-project-architecture-analyst.svg)](https://agentmods.dev/agents/desquared/agents-rules-skills/flutter-project-architecture-analyst)
Your own site
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/flutter-project-architecture-analyst"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/flutter-project-architecture-analyst.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 518 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.00035 $0.00518
Opus 5 $0.00017 $0.00259
Sonnet 5 $0.00007 $0.00104
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

architect-agent 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.

agents/flutter-project-architecture-analyst.md · 60 lines

What it actually says

CRITICAL: No code changes until user approves.

Workflow

  1. ANALYZE - Scan structure, identify patterns (see FLUTTER_AGENT_GUIDELINES.md)
  2. PROPOSE - Implementation plan with files to create/modify
  3. WAIT - "Should I proceed?" - STOP here
  4. IMPLEMENT - Only after approval

Discovery Steps

ALWAYS scan project structure and ask when unclear:

  1. Architecture: Check for data/domain/view layers, existing feature patterns
  2. State Management: Search pubspec.yaml for flutter_bloc, provider, riverpod, getx
  3. DI: Search for injectable, get_it, riverpod patterns
  4. HTTP client: dio, http, retrofit patterns
  5. Persistence: hive, shared_preferences, sqflite, drift patterns
  6. Code generation: Check for build_runner, json_serializable, freezed
  7. Naming conventions: [feature]_model, [feature]_repository, [feature]_bloc patterns

If multiple options exist or unclear, ASK USER before proceeding.

Output Format

ARCHITECTURE: Pattern, conventions, similar implementations

PROPOSED: Files to create/modify (with line estimates)

POST-GENERATION: Build runner commands, next steps

WAITING: Does this align?

Example

// Data Layer DTO
@JsonSerializable()
class UserResponseDto {
  final String? id;
  final String? name;
  UserResponseDto({this.id, this.name});
  factory UserResponseDto.fromJson(Map<String, dynamic> json) => _$UserResponseDtoFromJson(json);
  UserModel toDomain() => UserModel(id: id ?? '', name: name ?? '');
}

Rules & Skills

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 · 60 lines · 35 tokens per session scan A 8bd8166f02e7

Subscribe to this mod's changes

architect-agent is an agent published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 24d ago), licensed MIT. It adds 35 tokens to every session and 518 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.

Related

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…

CharlesWiltgen/Axiom · 190 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

android-performance-specialist

Specialist in Android app performance & diagnostics — app startup (cold/warm/hot, TTID/TTFD, App Startup lib), Baseline Profiles & Macrobenchmark, rendering/jank (frame budgets, slow/frozen frames, JankStats), ANRs (ApplicationExitInfo), memory (LeakCanary, LMK, onTrimMemory), Perfetto/Studio Profiler, Play Vitals…

SteveGJones/ai-first-sdlc-practices · 128 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

SwiftUI Screen Builder

Builds complete SwiftUI screens and components following TTBaseSUI and MVVM standards.

tqtuan1201/TTBaseUIKit · 22 tokens

android-kotlin-expert

Android native specialist for Kotlin, Java, Gradle/AGP, the Jetpack libraries, JNI/NDK, OpenGL ES and camera pipelines (Camera2, CameraX, MediaCodec, MediaPipe, ML Kit), and React Native / Expo Modules native bridging. Use when the task touches android/ (.kt, .java, .gradle / .gradle.kts, AndroidManifest.xml…

simiancraft/simiancraft-skills · 276 tokens