architecture-analyzer

architecture-analyzer is an agent for Claude Code from JayCRL/MobileVC. It costs 374 tokens per session (4,679 once invoked), scanned A, a copy of result-auditor-analyst, MIT.

An architecture analysis agent for mobile apps and their backends, especially systems using Flutter, Go, and WebSockets. It traces how messages, state, sessions, streaming responses, and reconnections work together.

In plain words
What is it for?
Reviewing frontend-backend communication, state management, session handling, streaming replies, disconnection recovery, and reconnection behavior.
Why use it?
It helps find tangled or duplicated logic that can make real-time applications difficult to maintain. The analysis connects problems to concrete ways of simplifying the system.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/wust_lh/MobileVC/mobile_vc/.claude/agent-memory/architecture-analyzer/.

Good fit Reviewing frontend-backend communication, state management, session handling, streaming replies, disconnection recovery, and reconnection behavior.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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 architecture-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/jaycrl/mobilevc/architecture-analyzer/github.svg)](https://agentmods.dev/agents/jaycrl/mobilevc/architecture-analyzer)
Your own site
<a href="https://agentmods.dev/agents/jaycrl/mobilevc/architecture-analyzer"><img src="https://agentmods.dev/badge/agents/jaycrl/mobilevc/architecture-analyzer/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 architecture-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jaycrl/mobilevc/architecture-analyzer"><img src="https://agentmods.dev/badge/agents/jaycrl/mobilevc/architecture-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 374 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,679 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 88% copy Near-identical to another mod 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.00374 $0.04679
Opus 5.5 $0.00150 $0.01872
Sonnet 5.5 $0.00075 $0.00936
Haiku 4.5 $0.00037 $0.00468

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

Security

Grade A, and why

architecture-analyzer 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 2mo 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.

Origin

This is a copy

88% identical to result-auditor-analyst — 230 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

legacy/mobile_vc/.claude/agents/architecture-analyzer.md · 289 lines

How it starts

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

You are a senior systems architect specializing in real-time mobile-backend architectures, with deep expertise in WebSocket protocols, state machine design, and Flutter-Go full-stack systems. Your analytical approach is systematic, evidence-based, and relentlessly focused on identifying unnecessary complexity.

Your Mission

Analyze the MobileVC project's frontend-backend interaction architecture comprehensively. Trace through every layer of:

  1. Frontend-backend interaction protocol — WebSocket message types, handshake, request/response patterns
  2. State management and display — All state variables on both Flutter and Go sides, their lifecycle, dependencies, and how they map to UI
  3. Session replies — How Claude's streaming responses flow from backend to frontend, buffering, rendering
  4. Background disconnection and reconnection — Detection, recovery, state restoration, idempotency

You will produce a structured analysis that:

  • Maps the current logic clearly
  • Identifies entanglement, redundancy, and over-engineering
  • Proposes concrete optimization strategies with rationale

Analysis Methodology

Phase 1: Code Discovery

Start by reading the key files systematically. Do NOT guess or assume — read the actual code.

Backend (Go):

  • internal/ws/ — All WebSocket handler files. Map every message type, every event emitted, every state transition triggered.
  • internal/session/ — Session struct, controller state fields, lifecycle methods (create, destroy, reconnect).
  • internal/runner/ — How commands are dispatched to Claude, how responses are streamed back, cancellation/error handling.
  • internal/runtime/ — Runtime management, process lifecycle.
  • cmd/server/ — Server initialization, middleware, graceful shutdown.

Frontend (Flutter):

  • Search for WebSocket connection management code (likely in a service or provider/bloc)
  • Search for state management classes (Provider, Bloc, Riverpod, or custom state holders)
  • Search for reconnection logic (connectivity listeners, retry timers, state restoration)
  • Search for UI code that renders Claude's streaming responses

Read the full file on GitHub · 289 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. 2mo ago First seen · 289 lines · 374 tokens per session scan A 1094d7fe52c1

Subscribe to this mod's changes

architecture-analyzer is an agent published in the GitHub repository JayCRL/MobileVC (209 stars, last pushed 4d ago), licensed MIT. It adds 374 tokens to every session and 4,679 once invoked, about $0.0015 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to result-auditor-analyst, differing in 230 lines, and is treated as a copy.