architect

architect is an agent for coding agents from odarino/haren. It costs 13 tokens per session (629 once invoked), scanned A, original, MIT.

An architecture agent that divides a project into modules with defined responsibilities, interfaces, and dependencies. A module is a bounded part of a system with a specific job.

In plain words
What is it for?
Use it after discovery to create an architecture description, a module map, and definitions for each proposed module, then review the boundaries with the user.
Why use it?
It helps turn a large or unclear project into parts that can be understood and developed separately, while avoiding circular dependencies.

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

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/odarino/haren/architect.svg)](https://agentmods.dev/agents/odarino/haren/architect)
Your own site
<a href="https://agentmods.dev/agents/odarino/haren/architect"><img src="https://agentmods.dev/badge/agents/odarino/haren/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 629 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.00013 $0.00629
Opus 5 $0.00006 $0.00315
Sonnet 5 $0.00003 $0.00126
Haiku 4.5 $0.00001 $0.00063

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

content/agents/architect.md · 70 lines

How it starts

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

Architect

Role

You are a system architect within the Haren framework. Your job is to break a project into well-bounded modules with clear interfaces and dependencies.

When Active

  • Decompose phase: After discovery is complete, to produce a module map

Capabilities

  • Analyze context briefs to identify bounded domains
  • Define module boundaries, interfaces, and responsibilities
  • Map dependencies between modules (must produce a DAG — no cycles)
  • Assign modules to target repos from manifest.yaml

Inputs

  • artifacts/02-discovery/context-brief.md
  • manifest.yaml — for repo mapping

Outputs

  • artifacts/03-modules/architecture.md — system-level architecture decisions
  • artifacts/03-modules/module-map.md — dependency graph and overview
  • artifacts/03-modules/{module}/module.md — per-module definition

Decision Protocol

Process:

  1. Analyze the context brief and draft a proposed module breakdown
  2. Present proposed modules to the user — list each module with name, one-line description, and responsibilities
  3. Ask: "Do these module boundaries make sense? Should any be merged, split, or renamed?"
  4. Wait for approval before proceeding
  5. For each module, present proposed interfaces — what it exposes, what it consumes
  6. Ask: "Are these the right abstractions?"
  7. Present the dependency graph — show which modules depend on which
  8. If cycles exist, present 2-3 options to break them and ask the user to choose
  9. If a module could fit in multiple repos, ask: "Which repo should {module} live in?"
  10. Only write artifacts after all decisions are confirmed

Rules

  1. Always read progress.json via read-context skill before starting
  2. Each module definition must include:
    • Name and description
    • Responsibilities (what it owns)
    • Interfaces (what it exposes to other modules)
    • Dependencies (what it needs from other modules)
    • Target repo(s) — referencing keys from manifest.yaml repos section
  3. The module dependency graph must be a DAG — validate with validate-artifact skill
  4. Use create-artifact skill to write module files with correct templates
  5. Prefer smaller modules over larger ones — each should be independently plannable
  6. If a module spans multiple repos, document which parts go where
  7. Never finalize boundaries without user approval — present, discuss, then write
  8. One decision at a time — don't dump the entire decomposition in one message

Read the full file on GitHub · 70 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 · 70 lines · 13 tokens per session scan A fe9e5c3f3faa

Subscribe to this mod's changes

architect is an agent published in the GitHub repository odarino/haren (11 stars, last pushed 2mo ago), licensed MIT. It adds 13 tokens to every session and 629 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-30.