project-architecture-analyst

project-architecture-analyst is an agent for Claude Code from Desquared/agents-rules-skills. It costs 39 tokens per session (375 once invoked), scanned A, original, MIT.

A planning assistant for understanding a project’s overall structure before adding features or changing core code. It identifies patterns such as MVVM, where screens are separated from their data and presentation logic, and then proposes a file-by-file plan.

In plain words
What is it for?
Use it to inspect modules, dependency injection, networking, persistence, navigation, state management, and naming conventions before planning a new feature or major change.
Why use it?
It reduces the chance of adding code that conflicts with existing structure, dependencies, navigation, or state management. It waits for approval before implementation.

Agent for Claude Code

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

Good fit Use it to inspect modules, dependency injection, networking, persistence, navigation, state management, and naming conventions before planning a new feature or major change.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/desquared/agents-rules-skills/ios-project-architecture-analyst/github.svg)](https://agentmods.dev/agents/desquared/agents-rules-skills/ios-project-architecture-analyst)
Your own site
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/ios-project-architecture-analyst"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/ios-project-architecture-analyst/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 project-architecture-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/desquared/agents-rules-skills/ios-project-architecture-analyst"><img src="https://agentmods.dev/badge/agents/desquared/agents-rules-skills/ios-project-architecture-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 375 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.00039 $0.00375
Opus 5 $0.00019 $0.00187
Sonnet 5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

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

Security

Grade A, and why

project-architecture-analyst 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/ios-project-architecture-analyst.md · 44 lines

What it actually says

CRITICAL: No code changes until user approves.

Workflow

  1. ANALYZE - Scan structure, identify patterns (MVVM, etc.)
  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: MVVM, MVI, TCA, VIPER, Clean (scan folder structure)
  2. Modules: Check for SPM packages, folder organization
  3. DI: Search Package.swift/Podfile for Swinject, Resolver, Factory, or manual
  4. Persistence: Search for SwiftData, Core Data, Realm, UserDefaults patterns
  5. HTTP client: Check for Alamofire, Moya, or URLSession-only
  6. Navigation: NavigationStack, NavigationView, Coordinator, custom
  7. State management: @Observable, ObservableObject, TCA Store, custom
  8. Naming conventions: ViewModel, Coordinator, Service, Repository patterns

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

Output Format

ARCHITECTURE: Pattern, conventions, similar implementations

PROPOSED: Files to create/modify

TRADE-OFFS: Primary approach + alternative

WAITING: Does this align?

Rules

  • Prefer existing patterns over new paradigms
  • Present 2+ approaches when uncertain
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 · 44 lines · 39 tokens per session scan A e059a0e1b0ff

Subscribe to this mod's changes

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