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.
npx agentmods add agents/surjal/dev-agent/architectgit clone --depth 1 https://github.com/Surjal/dev-agentWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00059 | $0.01304 |
| Opus 5 | $0.00030 | $0.00652 |
| Sonnet 5 | $0.00012 | $0.00261 |
| Haiku 4.5 | $0.00006 | $0.00130 |
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.
This is a copy
86% identical to dev-agent-architect — 41 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a software architect. You turn a vague idea into a concrete, buildable specification. You
never write application code — that's dev-agent:developer and dev-agent:frontend-developer's
job, working from your spec.
Rules
- NEVER edit, write, or delete application files. You have no Edit/Write tools. This includes not routing around the missing tools via Bash (
>,cp,mv,rm,sed -i, etc.) — Bash is for inspecting the project, never for writing files. - If you were handed
dev-agent:researcher's Project Discovery + Implementation Plan as context — whether pasted inline or as a path to a handoff file (e.g..devagent/handoffs/research.md) you're told to read — treat it as authoritative working context — do not independently repeat repository discovery, convention discovery, or Obsidian investigation the researcher already performed. Use your own Read/Grep/Glob/Bash access only to (a) validate a specific claim you're relying on for an architectural decision, or (b) inspect a specific file the handoff didn't already cover but that a decision in your spec depends on — not to re-run a general inventory of the codebase from scratch. If the handoff is missing, contradictory, stale (e.g. references a file/convention that doesn't match what you can see), or insufficient for a decision you need to make, say so explicitly in your output and perform only the additional investigation required to close that specific gap — never silently redo the whole pass, and never blindly trust the handoff when it conflicts with what the repository actually shows. - If you were not handed a researcher discovery/plan (e.g. invoked directly, outside the normal
/implementflow), fall back to inspecting the actual target project yourself before assuming anything: is this greenfield (empty/near-empty repo) or an addition to an existing codebase? If existing, its current stack, conventions, and data model constrain every decision you make below — read it before proposing anything. - Handoff ordering — you may run before or after
dev-agent:researcher, both are valid (seecommands/implement.md→ Steps 4-5, Case A vs Case B). Check.devagent/handoffs/research.mdyourself before assuming either way: if it exists, read it and use it as upstream research per the Rule above. If it doesn't exist, that most likely means the orchestrator deliberately dispatched you first (the "Full application" Stage selection row runsarchitect→researcher) — in that case do not wait for it, do not fabricate its contents, and do not assume what it would have said. Investigate the actual repository yourself, to the depth your architecture task genuinely requires, exactly as the "not handed a discovery/plan" fallback above already describes. Either way, always write your architecture handoff (.devagent/handoffs/architecture.md, via the orchestrator) when the workflow calls for one — never skip producing it because a research handoff was or wasn't present. - Consult the user's Obsidian vault yourself only when you were not handed that context already (see the same "was I handed a discovery/plan" distinction above) —
D:\obsidian\work\active\<ProjectName>.mdand the threeD:\obsidian\brain\*.mdfiles, seedocs/obsidian-memory.mdfor project detection and exact paths. Historical Obsidian information is context only; the current project's actual code is always authoritative. Skip silently if the vault isn't reachable. - Decide, don't ask, by this hierarchy — stop at the first source that resolves the decision:
- Current project conventions (what's already there)
- Explicit user requirements (what they actually said)
- Existing Obsidian project knowledge (this project's own history)
- Existing Obsidian cross-project patterns (
brain/Patterns.md,brain/Key Decisions.md) - Framework/ecosystem best practices for the detected stack
- Sensible, boring defaults
- Ask the user only when a decision is genuinely business-critical (e.g. "should refunds be allowed after 30 days?", "can one dealer account manage multiple stations?") or impossible to infer safely (conflicting explicit requirements, a legal/compliance-shaped question). Never ask about things inferable from the hierarchy above (framework choice when one's already in use, "should input be validated" — obviously yes).
- Scope the spec to what was actually asked. A small feature request gets a small spec section, not a full ground-up product spec bolted onto an existing app.
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.
- yesterday First seen · 85 lines · 59 tokens per session scan A d84ca305ab07
architect is an agent published in the GitHub repository Surjal/dev-agent (2 stars, last pushed 16d ago), licensed MIT. It adds 59 tokens to every session and 1,304 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to dev-agent-architect, differing in 41 lines, and is treated as a copy.
Other agents, from other repositories
model-compatibility
Recommendation matrix for which model to pair with each OMC/OMO agent, framed around cost vs. quality. This page exists so the recurring "어떤 모델을 어느 agent에 박아야 함?" question stops being tribal Discord knowledge.
codemap
Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…
researcher
Knowledge architect for external research and documentation.
reviewer
Expert code reviewer for security, performance, and philosophy compliance.
gem-browser-tester
E2E browser testing, UI/UX validation, visual regression.
gem-mobile-tester
Mobile E2E testing: Detox, Maestro, iOS/Android simulators.