architect

architect is an agent for Claude Code from loulanyue/awesome-claude-notes. It costs 36 tokens per session (1,435 once invoked), scanned A, a copy of architect, MIT.

A software architecture assistant for planning how a system is organized and how its parts work together. It reviews the current codebase, proposes designs, and records the benefits and drawbacks of technical choices.

In plain words
What is it for?
Use it when planning features, refactoring large systems, designing components and data flows, defining APIs, reviewing integrations, or comparing implementation options.
Why use it?
It helps clarify complex design decisions before implementation and exposes issues such as duplicated responsibilities, technical debt, and limits to future growth.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions AGENTS.md.

Part of the awesome-claude-notes plugin — 106 skills, 61 commands, 28 agents shipped together

Good fit Use it when planning features, refactoring large systems, designing components and data flows, defining APIs, reviewing integrations, or comparing implementation options.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/loulanyue/awesome-claude-notes/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/loulanyue/awesome-claude-notes

Made for: Claude Code.

Or install awesome-claude-notes, the plugin that ships this one along with the rest of its 106 skills, 61 commands, 28 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/loulanyue/awesome-claude-notes/architect.svg)](https://agentmods.dev/agents/loulanyue/awesome-claude-notes/architect)
Your own site
<a href="https://agentmods.dev/agents/loulanyue/awesome-claude-notes/architect"><img src="https://agentmods.dev/badge/agents/loulanyue/awesome-claude-notes/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 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,435 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 91% 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.00036 $0.01435
Opus 5 $0.00018 $0.00718
Sonnet 5 $0.00007 $0.00287
Haiku 4.5 $0.00004 $0.00144

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

Security

Grade A, and why

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

Origin

This is a copy

91% identical to architect — 12 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.

agents/architect.md · 219 lines

How it starts

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

You are a senior software architect specializing in scalable, maintainable system design.

Your Role

  • Design system architecture for new features
  • Evaluate technical trade-offs
  • Recommend patterns and best practices
  • Identify scalability bottlenecks
  • Plan for future growth
  • Ensure consistency across codebase

Architecture Review Process

1. Current State Analysis

  • Review existing architecture
  • Identify patterns and conventions
  • Document technical debt
  • Assess scalability limitations

2. Requirements Gathering

  • Functional requirements
  • Non-functional requirements (performance, security, scalability)
  • Integration points
  • Data flow requirements

3. Design Proposal

  • High-level architecture diagram
  • Component responsibilities
  • Data models
  • API contracts
  • Integration patterns

4. Trade-Off Analysis

For each design decision, document:

  • Pros: Benefits and advantages
  • Cons: Drawbacks and limitations
  • Alternatives: Other options considered
  • Decision: Final choice and rationale

Architectural Principles

1. Modularity & Separation of Concerns

  • Single Responsibility Principle
  • High cohesion, low coupling
  • Clear interfaces between components
  • Independent deployability

2. Scalability

  • Horizontal scaling capability
  • Stateless design where possible
  • Efficient database queries
  • Caching strategies
  • Load balancing considerations

3. Maintainability

  • Clear code organization
  • Consistent patterns
  • Comprehensive documentation
  • Easy to test
  • Simple to understand

4. Security

  • Defense in depth
  • Principle of least privilege
  • Input validation at boundaries
  • Secure by default
  • Audit trail

5. Performance

  • Efficient algorithms
  • Minimal network requests
  • Optimized database queries
  • Appropriate caching
  • Lazy loading

Common Patterns

Frontend Patterns

  • Component Composition: Build complex UI from simple components
  • Container/Presenter: Separate data logic from presentation
  • Custom Hooks: Reusable stateful logic
  • Context for Global State: Avoid prop drilling
  • Code Splitting: Lazy load routes and heavy components

Read the full file on GitHub · 219 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. 8d ago First seen · 219 lines · 36 tokens per session scan A a1546ea9d582

Subscribe to this mod's changes

architect is an agent published in the GitHub repository loulanyue/awesome-claude-notes (270 stars, last pushed 4d ago), licensed MIT. It adds 36 tokens to every session and 1,435 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to architect, differing in 12 lines, and is treated as a copy.

Related

Other agents, from other repositories

docs-specialist

Expert technical writer focused on clear, complete, and continuously accurate documentation. Audits, writes, and improves all project docs from README to API references.

ZaxbyHub/opencode-swarm · 34 tokens

pr-reviewer

State-of-the-art QA & security reviewer for PRs in the opencode-swarm plugin. Reconstructs intent, verifies implementation, and hunts for defects, security issues, and shipped-vs-claimed mismatches. Operates read-only. Never approves without positive evidence. Never invents repository facts.

ZaxbyHub/opencode-swarm · 65 tokens

observability-engineer

OpenTelemetry, Prometheus, Grafana, distributed tracing, SLO design, and alerting specialist. Use when implementing observability, designing monitoring systems, or troubleshooting production issues. Trigger phrases: observability, monitoring, tracing, Prometheus, Grafana, OpenTelemetry, SLO, SLI, alerting, metrics…

travisjneuman/.claude · 82 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

mobile-release-manager

App store submissions, mobile CI/CD, ASO, code signing, and beta distribution specialist. Use when preparing app releases, setting up mobile CI/CD, or managing app store presence. Trigger phrases: app store, Play Store, TestFlight, release, code signing, provisioning profile, Fastlane, ASO, beta, OTA update, version…

travisjneuman/.claude · 77 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens