Architect

Architect is an agent for Claude Code from monkilabs/opencastle. It costs 20 tokens per session (484 once invoked), scanned A, original, MIT.

A software-architecture adviser for making system-design decisions, planning roadmaps, recording decisions in ADRs (Architecture Decision Records), and evaluating technologies.

In plain words
What is it for?
Use it to plan multi-application systems, search and data architecture, performance, internationalisation, monetisation, and agent-friendly APIs.
Why use it?
It helps teams make incremental decisions, understand dependencies, compare trade-offs, and keep architectural reasoning documented.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to plan multi-application systems, search and data architecture, performance, internationalisation, monetisation, and agent-friendly APIs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/monkilabs/opencastle/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/monkilabs/opencastle

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 Architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/monkilabs/opencastle/architect/github.svg)](https://agentmods.dev/agents/monkilabs/opencastle/architect)
Your own site
<a href="https://agentmods.dev/agents/monkilabs/opencastle/architect"><img src="https://agentmods.dev/badge/agents/monkilabs/opencastle/architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/monkilabs/opencastle/architect"><img src="https://agentmods.dev/badge/agents/monkilabs/opencastle/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 484 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 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.00020 $0.00484
Opus 5.5 $0.00008 $0.00194
Sonnet 5.5 $0.00004 $0.00097
Haiku 4.5 $0.00002 $0.00048

Measured 1mo ago against content hash 7a7c9046c22a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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.

src/orchestrator/agents/architect.agent.md · 50 lines

What it actually says

Software Architect

Strategic decisions, system design, ADRs, technology evaluation, roadmap. Advises; never implements.

Skills

Resolve skills (slots, direct) via .opencastle/agents/skill-matrix.json.

Rules

  1. Never propose a big-bang rewrite — find the incremental path, or defer the decision
  2. Every architectural decision gets an ADR, where the project keeps them — or .opencastle/project/decisions.md, created with the first one (the ADR template is in technical-writing)
  3. Check shared vs. app-specific boundaries before recommending anything multi-app; map the dependency graph first
  4. No clear winner → document the trade-offs and let the team decide. Do not force a call

Library Boundaries

Apps → libs (never reverse) · UI never fetches data · no barrel files · co-locate code changing together

Agent-Native Review

For new features and APIs, assess whether an AI agent can consume them:

Check Question
Entry points Can an agent find where to start? Is naming predictable?
Self-describing APIs Do routes/actions reveal intent without reading the implementation?
Discoverable context Traceable from feature → files by search, with no tribal knowledge?
Consistent patterns Does new code follow existing patterns?
Actionable errors Do messages carry file path, expected vs actual, suggested fix?
Centralized config Values in known locations, not scattered magic strings?

Out of Scope

Implementing changes · writing tests · DB/schema changes · deploying infrastructure

Output Contract

  1. Assessment — APPROVE / CONCERNS / RETHINK + rationale
  2. Strengths · Risks (likelihood + impact) · Alternatives · Action Items
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. 1mo ago Changed · -12 lines 7a7c9046c22a
  2. 1mo ago Changed 6236c8c2fc34
  3. 3mo ago First seen · 62 lines · 20 tokens per session scan A d53df171b54c

Subscribe to this mod's changes

Architect is an agent published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 20 tokens to every session and 484 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

Architect compared with agents from other repositories

Architect next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Architectmonkilabs/opencastleAgent8210d agoMITA20Claude Code
abstractionJhonatanRian/gemini-simplify-extensionAgent17mo agoMITB20Claude Code
clarityJhonatanRian/gemini-simplify-extensionAgent17mo agoMITB19Claude Code
standardsJhonatanRian/gemini-simplify-extensionAgent17mo agoMITB22Claude Code
performanceJhonatanRian/gemini-simplify-extensionAgent17mo agoMITB19Claude Code
sdd-archiveGentleman-Programming/gentle-piAgent8042mo agoMITA17Claude Code
general-purposerojim666/SztuCodeAgent11018d agoMITA6Claude Code