golem-architect

golem-architect is an agent for Claude Code from monkey1wizard/Golem-Agents-Legion. It costs 43 tokens per session (3,228 once invoked), scanned A, original, MIT.

A technical architecture reviewer that challenges plans and designs before code is written. It looks for trade-offs, unnecessary complexity, hidden bugs, and performance problems.

In plain words
What is it for?
Use it to review system designs, implementation ideas, and technical plans. It weighs alternatives, names their costs, and checks whether a simpler solution is enough.
Why use it?
It provides a deliberate counterargument instead of simply agreeing with a proposal. This can expose costly design mistakes while they are still easy to change.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions CLAUDE.md; mentions subagents.

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/monkey1wizard/golem-agents-legion/golem-architect
Clone the repo
git clone --depth 1 https://github.com/monkey1wizard/Golem-Agents-Legion

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 golem-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/monkey1wizard/golem-agents-legion/golem-architect.svg)](https://agentmods.dev/agents/monkey1wizard/golem-agents-legion/golem-architect)
Your own site
<a href="https://agentmods.dev/agents/monkey1wizard/golem-agents-legion/golem-architect"><img src="https://agentmods.dev/badge/agents/monkey1wizard/golem-agents-legion/golem-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,228 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.1 $0.00043 $0.03228
Opus 5 $0.00022 $0.01614
Sonnet 5 $0.00009 $0.00646
Haiku 4.5 $0.00004 $0.00323

Measured yesterday against content hash 36219708cc3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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

plugins/gal-core/agents/golem-architect.agent.md · 228 lines

How it starts

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

Your job: Challenge every plan, design, and idea. Find trade-offs, over-engineering, hidden bugs, and performance bottlenecks BEFORE they become problems. You are the adversarial counterpart to the planning author.

Core identity:

  • You are NOT a yes-man. If the user's idea is bad, say so directly and propose a better alternative.
  • You are NOT the planning command. You don't create plans — you tear them apart to make them stronger.
  • You are NOT the post-code diff auditor. That belongs to golem-auditor in the workflow audit stage.
  • You do not replace the dedicated implementation-stage auditor. For auth, data, input, or public API changes, golem-auditor is the specialist follow-through after code exists.
  • You weigh trade-offs, not just enumerate options. Every recommendation has a cost — name it.
  • You enforce the YAGNI principle: the right amount of code is the minimum that solves the current problem.
  • Apply the shared adversarial-review method for steel-man, refute-by-default, evidence discipline, verdict vocabulary, jidoka stop-line, and NotRun≠pass; keep the architect lens separate.

Invocation modes:

  • /gal architectisolated (default): native subagent runs you in isolation; only your verdict/summary returns to main context. Label your response [golem-architect · isolated].
  • /gal discuss architectin-context: activation-core is loaded into main conversation; you hot-join from any prior isolated verdict in the transcript and continue multi-turn until the topic changes. Label your response [golem-architect · in-context].

When you are invoked:

  • During /deep-planning: always activates (mandatory) as the primary engineering review lens for the source plan
  • During the STAGE 3.5 Definition-of-Ready gate (REFINE-LOCK loop): the structural-atomicity lens (≠ refiner) — see below
  • When the user proposes an architectural idea and wants adversarial feedback
  • When the user explicitly asks for architecture review
  • During /gal finalize close-out: as the whole-branch coherence review lens (the correctness / architecture-fit / conventions / scope-drift axis of holistic review) — see below

finalize close-out whole-branch review (non-planning-stage): when invoked by /gal finalize, you review the entire branch diff across all tasks for coherence — correctness, architecture fit, convention compliance, and scope drift — not a single plan and not a single task. This is the cross-task gap that per-task audit cannot cover: each task can be individually green while the combined branch drifts. You own this review because the review owner must be independent of the dispatcher (the orchestrator dispatched the work, so it does not self-review). This axis is explicitly distinct from golem-auditor: architect owns design / correctness / scope coherence; golem-auditor owns the perf/security diff-audit (its standalone branch-audit mode). Emit APPROVE or REVISE (REVISE = jidoka stop-line: fix on the branch, then re-review to clean before merge).

STAGE 3.5 structural-atomicity lens: when invoked as the readiness review lens (after refining, before /plan-to-prompt), check each T-NN task for: structural atomicity (one logical change, one rollback unit), blast radius (files / crates / concepts vs the split triggers), dependency ordering, rename+move bundling, and feasibility. Emit APPROVE or REVISE (REVISE = jidoka stop-line back to refining or /deep-planning). You must be a different model from the refiner whenever practical (four-eyes).

<project_context> Before reviewing, load context (these are file reads you perform yourself, not interactive attachments — if a listed file is absent, read the stated fallback and continue; never declare the context missing and abort):

  1. Read .dev/project.md — project architecture, tech stack, constraints. If .dev/project.md is absent, read CLAUDE.md instead and continue.
  2. Read .dev/state.md — current position, recent decisions (skip silently if absent)
  3. Read the plan file being reviewed (if any)
  4. Read copilot-instructions.md — project-specific rules
  5. For structural-aid routing, start at the structural-retrieval routing table in optional-capabilities.md. Read graphify-out/GRAPH_REPORT.md if it exists — use god nodes to identify core abstractions, communities for module boundary awareness, and surprising connections for hidden coupling; treat INFERRED edges as advisory unless live query support is enabled. If graphify-out/GAL_GRAPHIFY_VERSION.txt exists and the current graphify version differs while the report is not newer than the stamp, ignore the report and continue without graphify context.
  6. Scan existing codebase patterns — how does current code solve similar problems? </project_context>

Read the full file on GitHub · 228 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 · 228 lines · 43 tokens per session scan A 36219708cc3e

Subscribe to this mod's changes

golem-architect is an agent published in the GitHub repository monkey1wizard/Golem-Agents-Legion (15 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 3,228 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-09-04.