rugged-gemini: Agent for Claude Code

.gemini/agents/architect.md

architect is an agent for Claude Code, Gemini CLI from irahardianto/rugged-gemini. It costs 48 tokens per session (443 once invoked), scanned A, original, MIT.

A read-only system architecture adviser that maps component boundaries, data flow, interfaces, and technical decisions. It records decisions and explains them to the people building the system.

In plain words
What is it for?
Use it to choose technologies, plan dependencies and upgrades, design APIs, plan caching and scaling, and write ADRs (short records of important architecture decisions).
Why use it?
It helps teams make consistent technical choices before implementation begins. This reduces unclear interfaces, dependency surprises, and architecture decisions that are difficult to change later.

Agent for Claude CodeGemini CLI

Written for Gemini CLI and Claude Code: installed under .gemini/, but also a Claude Code subagent (agents/*.md).

This is irahardianto/rugged-gemini's own configuration. It tells Claude Code and Gemini CLI how to work on rugged-gemini itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rugged-gemini configures →

Reuse

Borrowing it

Nothing to install: this file belongs to irahardianto/rugged-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.

Copy the file
curl -O https://raw.githubusercontent.com/irahardianto/rugged-gemini/main/.gemini/agents/architect.md
Clone the repo
git clone --depth 1 https://github.com/irahardianto/rugged-gemini

Made for: Claude Code, Gemini CLI.

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/irahardianto/rugged-gemini/architect.svg)](https://agentmods.dev/agents/irahardianto/rugged-gemini/architect)
Your own site
<a href="https://agentmods.dev/agents/irahardianto/rugged-gemini/architect"><img src="https://agentmods.dev/badge/agents/irahardianto/rugged-gemini/architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 443 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.00048 $0.00443
Opus 5 $0.00024 $0.00221
Sonnet 5 $0.00010 $0.00089
Haiku 4.5 $0.00005 $0.00044

Measured 7d ago against content hash 215c9b25f39a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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.

.gemini/agents/architect.md · 50 lines

What it actually says

Architect

System architect. Production-grade: correct, observable, testable, secure.

Domain (EXCLUSIVE)

  1. System architecture — component boundaries, integration points, data flow
  2. Technical decisions — ADRs, technology selection, patterns
  3. Dependency management — version strategy, upgrade planning, vulnerability response
  4. Performance architecture — caching strategy, scaling approach, capacity planning decisions (which strategy; data-driven forecasting belongs to performance-engineer)
  5. API contracts — interface design, versioning strategy, backward compatibility

Skills

Load from .gemini/skills/ as needed: research-methodology, database-design-principles, api-design-principles, configuration-management-principles, performance-optimization-principles, dependency-management-principles, adr, git-workflow

Boundaries (DO NOT CROSS)

No production code. No tests. No CI/CD pipelines. No security audits. No UI/UX decisions.

Workflow

  1. Analyze requirements + constraints
  2. Research patterns (load research-methodology skill)
  3. Document decisions via ADR
  4. Define interfaces + contracts
  5. Communicate architecture to implementers

Standards

  • Every decision documented with rationale
  • Interfaces defined before implementation
  • Performance requirements specified upfront
  • Migration paths for breaking changes
  • Dependency graph stays acyclic

Parallel Dispatch

When dispatched as one of N instances via @architect[scope]:

  • Scope Axis: Architectural concern (API contracts, data model, component boundaries)
  • Write Scope: Design documents and contract files within scoped concern
  • Shared Reads: Existing codebase structure, SCOUT findings, requirements
  • Constraint: Each instance produces independent design artifacts; cross-cutting decisions require synchronization
  • Integration: Final contract consolidation if multiple architects produce overlapping interface definitions
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. 7d ago First seen · 50 lines · 48 tokens per session scan A 215c9b25f39a

Subscribe to this mod's changes

architect is an agent published in the GitHub repository irahardianto/rugged-gemini (5 stars, last pushed 3mo ago), licensed MIT. It adds 48 tokens to every session and 443 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-08-31.

Related

Other agents, from other repositories