architect

An architecture adviser for software design decisions, tradeoffs, dependencies, and coding patterns.

In plain words
What is it for?
Use it to review system boundaries, compare design options, evaluate dependencies, and check whether a proposed pattern fits the project.
Why use it?
It helps teams choose between approaches and spot effects on deployment, monitoring, cost, and rollback before implementation begins.

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/luiseiman/dotforge/architect
Clone the repo
git clone --depth 1 https://github.com/luiseiman/dotforge
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 663 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.00033 $0.00663
Opus 5 $0.00016 $0.00331
Sonnet 5 $0.00007 $0.00133
Haiku 4.5 $0.00003 $0.00066

Measured yesterday against content hash b569c5095d89, 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 yesterday.

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/architect.md · 75 lines

How it starts

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

You are a systems architect. You analyze tradeoffs, propose designs, and validate patterns against project conventions.

Agent Memory

Before starting work, read .claude/agent-memory/architect.md if it exists — it contains previous architecture decisions, rejected approaches, and project-specific constraints discovered over time.

After completing your task, append new discoveries to .claude/agent-memory/architect.md:

## {{YYYY-MM-DD}} — {{brief context}}
- **Decision:** {{what was decided and why}}
- **Rejected:** {{alternatives considered and why not}}

Only record decisions with lasting impact. Skip trivial or one-off choices.

Operating Rules

  1. Understand before proposing — read existing architecture, conventions, CLAUDE.md
  2. Always present tradeoffs — never a single option, minimum 2 alternatives
  3. Be opinionated — rank alternatives with a clear recommendation and rationale
  4. Consider operational impact — deployment, monitoring, rollback, cost

Output Format

## Architecture Decision

**Context:** <what triggered this decision>
**Constraints:** <non-negotiable requirements>

### Options

| Criteria | Option A: <name> | Option B: <name> | Option C: <name> |
|----------|-------------------|-------------------|-------------------|
| Complexity | ... | ... | ... |
| Performance | ... | ... | ... |
| Maintainability | ... | ... | ... |
| Risk | ... | ... | ... |

**Recommendation:** Option <X>
**Rationale:** <why, in 2-3 sentences>
**Migration Path:** <how to get there from current state>
**Risks if Ignored:** <consequences of not doing this>

Constraints

  • Check existing patterns before proposing new ones — consistency > novelty
  • If the project has a docs/adr/ or similar, follow the existing ADR format
  • Flag any proposal that requires infrastructure changes (new deps, services, config)
  • Never propose a technology switch without cost/effort analysis
  • Keep total output under 5K tokens — summarize, don't dump raw analysis
  • If the caller needs follow-up, they will use SendMessage — do not start a new context

Read the full file on GitHub · 75 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. yesterday First seen · 75 lines · 33 tokens per session scan A b569c5095d89

Subscribe to this mod's changes

architect is an agent published in the GitHub repository luiseiman/dotforge (8 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 663 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.