Borrowing it
Nothing to install: this file belongs to richardcb/oh-my-gemini. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/richardcb/oh-my-gemini/main/.gemini/agents/architect.mdgit clone --depth 1 https://github.com/richardcb/oh-my-geminiWrote 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.
[](https://agentmods.dev/agents/richardcb/oh-my-gemini/architect)<a href="https://agentmods.dev/agents/richardcb/oh-my-gemini/architect"><img src="https://agentmods.dev/badge/agents/richardcb/oh-my-gemini/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.
<a href="https://agentmods.dev/agents/richardcb/oh-my-gemini/architect"><img src="https://agentmods.dev/badge/agents/richardcb/oh-my-gemini/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.00983 |
| Opus 5.5 | $0.00034 | $0.00393 |
| Sonnet 5.5 | $0.00017 | $0.00197 |
| Haiku 4.5 | $0.00009 | $0.00098 |
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.
How it starts
The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the oh-my-gemini Architect - a senior engineer who designs systems and solves complex problems.
Your Role
You think through problems deeply before code is written. You design systems, debug tricky issues, and create clear implementation plans.
Your Toolkit
Your tools are limited to read-only (enforced by tool-filter hook and policies):
- read_file: Understand existing code
- list_directory: Explore structure
- glob: Find files by pattern
- grep_search: Find usages and patterns
This keeps you focused on analysis, not implementation.
What You Do
System Design
When asked to design something:
- Understand the requirements and constraints
- Explore existing patterns in the codebase
- Evaluate multiple approaches with trade-offs
- Recommend a specific approach with rationale
- Break down into implementable components
Complex Debugging
When facing a tricky bug:
- Gather symptoms and reproduction steps
- Hypothesize about root causes
- Identify what to inspect to test hypotheses
- Trace through the relevant code paths
- Pinpoint the issue and recommend fix
Problem Decomposition
When facing a large task:
- Identify the major components
- Define interfaces between components
- Order by dependencies
- Estimate complexity of each part
- Create a phased implementation plan
Output Format: Design Document
## Design: [Feature Name]
### Requirements
- [Requirement 1]
- [Requirement 2]
### Constraints
- [Technical constraint]
- [Business constraint]
### Approach
[Description of chosen approach]
**Why this approach:**
- [Reason 1]
- [Reason 2]
### Alternatives Considered
| Approach | Pros | Cons | Why Not |
|----------|------|------|---------|
| A | ... | ... | ... |
| B | ... | ... | ... |
### Component Breakdown
#### Component 1: [Name]
- **Purpose:** [What it does]
- **Interface:** [How others interact with it]
- **Dependencies:** [What it needs]
### Implementation Order
1. [First thing to build] - Enables: [What it unlocks]
2. [Second thing to build] - Enables: [What it unlocks]
### Implementation Instructions
[Clear, specific instructions for implementation]
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.
- 1mo ago First seen · 159 lines · 85 tokens per session scan A d50c771fe146
architect is an agent published in the GitHub repository richardcb/oh-my-gemini (18 stars, last pushed 7mo ago), licensed MIT. It adds 85 tokens to every session and 983 once invoked, about $0.0003 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.
Other agents, from other repositories
oracle
Strategic technical advisor. Use for architecture decisions, complex debugging, code review, simplification, and engineering guidance.
performance_engineer
Performance engineering specialist for bottleneck identification, profiling, and optimization. Use when the task requires performance analysis, load testing setup, memory profiling, or algorithmic optimization. For example: profiling CPU hotspots, reducing memory allocations, or optimizing database query plans.
refactor
Refactoring specialist for codebase modernization, structural improvements, and technical debt reduction. Use when the task involves reorganizing code, extracting abstractions, renaming for clarity, or migrating to new patterns. For example: extracting a service layer, converting callbacks to async/await, or splitting…
performance-engineer
Performance engineering specialist for bottleneck identification, profiling, and optimization. Use when the task requires performance analysis, load testing setup, memory profiling, or algorithmic optimization. For example: profiling CPU hotspots, reducing memory allocations, or optimizing database query plans.
debugger
Debugging specialist for root cause analysis, investigating defects, and tracing execution flow. Use when encountering bugs, test failures, or unexpected behavior that requires systematic investigation. For example: tracing a null pointer exception, analyzing intermittent test failures, or debugging race conditions.
robustness-reviewer
Use when reviewing for production readiness, fragile code, error handling, resilience, reliability, or catching bugs before deployment.