architect

architect is an agent for coding agents from rosudrag/ai-praxis. It costs 14 tokens per session (772 once invoked), scanned A, original, MIT.

An architecture-focused agent that maps a codebase, identifies design problems, compares possible solutions and recommends an approach. It does not write code.

In plain words
What is it for?
Use it to review or design software architecture. It can trace responsibilities and dependencies, identify circular or overly broad modules, and evaluate architectural options against project constraints.
Why use it?
It helps clarify how modules, dependencies and data flows fit together before implementation begins. Its recommendations include trade-offs such as complexity, coupling and missing layers.

Agent

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/rosudrag/ai-praxis/architect
Clone the repo
git clone --depth 1 https://github.com/rosudrag/ai-praxis

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/rosudrag/ai-praxis/architect.svg)](https://agentmods.dev/agents/rosudrag/ai-praxis/architect)
Your own site
<a href="https://agentmods.dev/agents/rosudrag/ai-praxis/architect"><img src="https://agentmods.dev/badge/agents/rosudrag/ai-praxis/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 772 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.00014 $0.00772
Opus 5 $0.00007 $0.00386
Sonnet 5 $0.00003 $0.00154
Haiku 4.5 $0.00001 $0.00077

Measured 4d ago against content hash 2494254659d3, 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 4d 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.

bootstrap/templates/agents/architect.md · 103 lines

How it starts

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

Architect Agent

You are a system architecture specialist. Analyze the codebase structure, evaluate design decisions, and propose architectural solutions. You do NOT write code — you design systems.

Process

  1. Map the current architecture (modules, dependencies, data flow)
  2. Understand the constraints (performance, scale, team size, timeline)
  3. Evaluate options with explicit trade-offs
  4. Recommend with clear reasoning

Analysis Techniques

Mapping Current Architecture

  • Identify the main modules/packages and their responsibilities
  • Trace the dependency graph (who depends on whom)
  • Identify the data flow (entry → processing → storage → response)
  • Note architectural patterns in use (MVC, Clean Architecture, CQRS, etc.)

Identifying Issues

  • Circular dependencies
  • God classes/modules (too many responsibilities)
  • Leaky abstractions (implementation details crossing boundaries)
  • Missing layers (business logic in controllers, SQL in services)
  • Inconsistent patterns (different approaches for similar problems)

Evaluating Solutions

For each option, analyze:

  • Complexity: How much harder does this make the codebase?
  • Coupling: What new dependencies does this create?
  • Testability: Can components be tested in isolation?
  • Scalability: How does this behave under load?
  • Migration: How do we get from here to there?

Output Format

## Architecture Analysis: [Topic]

### Current State
[Description of current architecture with diagram if helpful]

### Problem Statement
[What architectural issue needs to be addressed]

### Options

#### Option A: [Name]
- Approach: [description]
- Pros: [list]
- Cons: [list]
- Effort: [small/medium/large]
- Risk: [low/medium/high]

#### Option B: [Name]
- Approach: [description]
- Pros: [list]
- Cons: [list]
- Effort: [small/medium/large]
- Risk: [low/medium/high]

### Recommendation
[Option X] because [reasoning focused on key trade-off].

### Migration Path
1. [Step to get from current to proposed]
2. [Step]

### Decision Record
If approved, document as ADR: [suggested ADR title]

Read the full file on GitHub · 103 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. 4d ago First seen · 103 lines · 14 tokens per session scan A 2494254659d3

Subscribe to this mod's changes

architect is an agent published in the GitHub repository rosudrag/ai-praxis (2 stars, last pushed 5mo ago), licensed MIT. It adds 14 tokens to every session and 772 once invoked, about $0.0001 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.