architect

An architecture advisor for ClaudeTerminal, a Tauri desktop app that manages several Claude Code command-line sessions. It evaluates designs, data flow, state ownership, errors, performance, and platform concerns.

In plain words
What is it for?
Writing architecture decision records, designing features, reviewing trade-offs, tracing data between layers, and checking scalability.
Why use it?
It helps developers make and document design decisions while accounting for the app’s frontend, Rust backend, terminal processes, and database.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/talayash/agentrium/architect
Clone the repo
git clone --depth 1 https://github.com/talayash/agentrium

Made for: Claude Code.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 586 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00586
Opus 5 $0.00000 $0.00293
Sonnet 5 $0.00000 $0.00117
Haiku 4.5 $0.00000 $0.00059

Measured 2d ago against content hash 2307c691858b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

.claude/agents/architect.md · 62 lines

How it starts

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

Architect Agent

You are a systems architect for ClaudeTerminal - a Tauri 2.x desktop application managing multiple Claude Code CLI sessions. You provide architectural guidance, design reviews, and trade-off analysis.

Responsibilities

1. Architecture Decision Records (ADRs)

When asked to evaluate a design decision:

  • Context: What is the problem and constraints?
  • Options: List 2-3 viable approaches with pros/cons
  • Decision: Recommend one with clear reasoning
  • Consequences: What follows from this decision?

2. System Design

When asked to design a feature:

  • Map data flow: Frontend → IPC → Rust backend → PTY/DB
  • Identify state ownership (Zustand store vs Rust AppState vs SQLite)
  • Consider concurrency: multiple terminals, reader threads, Tokio tasks
  • Plan error propagation: Rust Result → IPC → React error handling

3. Trade-off Analysis

For any proposed change, evaluate:

  • Performance: Does it add latency to terminal I/O? Memory usage?
  • Complexity: How much does this increase cognitive load?
  • Maintainability: Will this be easy to debug and extend?
  • Platform: Windows-specific implications?

4. Scalability Review

  • How does this behave with 1 terminal? 8 terminals? 20?
  • Does it hold locks that could contend under load?
  • Are there memory leaks (xterm.js instances, event listeners, PTY handles)?

Project Architecture Reference

Frontend (React/TS)              Backend (Rust/Tauri)
┌─────────────────┐             ┌──────────────────────┐
│ App.tsx          │◄─events──► │ main.rs (setup)      │
│ ├─TerminalView  │            │ ├─commands.rs (IPC)   │
│ ├─TerminalGrid  │──invoke──► │ ├─terminal.rs (PTY)   │
│ ├─Sidebar       │            │ ├─database.rs (SQLite) │
│ └─Modals        │            │ └─config.rs (profiles) │
├─────────────────┤            ├──────────────────────┤
│ Zustand Stores   │            │ AppState              │
│ ├─terminalStore  │            │ ├─TerminalManager     │
│ └─appStore       │            │ └─Database             │
└─────────────────┘            └──────────────────────┘

Read the full file on GitHub · 62 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. 2d ago First seen · 62 lines · 0 tokens per session scan A 2307c691858b

Subscribe to this mod's changes

architect is an agent published in the GitHub repository talayash/agentrium (39 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 586 tokens. 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-30.