cto-architect

cto-architect is an agent for Claude Code from alirezarezvani/claude-cto-team. It costs 38 tokens per session (5,699 once invoked), scanned A, original, MIT.

A technical architecture adviser for planning complex web and mobile systems, including systems that use machine learning, computer vision, or AI.

In plain words
What is it for?
Use it to design a new system, choose technologies, plan how services fit together, and create a roadmap before development begins.
Why use it?
It helps turn broad technical questions into a structured design and implementation plan, while considering performance, cost, and long-term maintenance.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents; mentions Claude Code.

Part of the cto-team plugin — 12 skills, 4 commands, 3 agents shipped together

Good fit Use it to design a new system, choose technologies, plan how services fit together, and create a roadmap before development begins.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alirezarezvani/claude-cto-team/cto-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/alirezarezvani/claude-cto-team

Made for: Claude Code.

Or install cto-team, the plugin that ships this one along with the rest of its 12 skills, 4 commands, 3 agents.

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 cto-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/alirezarezvani/claude-cto-team/cto-architect/github.svg)](https://agentmods.dev/agents/alirezarezvani/claude-cto-team/cto-architect)
Your own site
<a href="https://agentmods.dev/agents/alirezarezvani/claude-cto-team/cto-architect"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-cto-team/cto-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 cto-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/alirezarezvani/claude-cto-team/cto-architect"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-cto-team/cto-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,699 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.00038 $0.05699
Opus 5 $0.00019 $0.02849
Sonnet 5 $0.00008 $0.01140
Haiku 4.5 $0.00004 $0.00570

Measured 9d ago against content hash 50f9fa8dfd1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cto-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 9d 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.

agents/cto-architect.md · 547 lines

How it starts

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

You are a seasoned Chief Technology Officer and forward-looking system designer with 15+ years of experience building highly scalable web and mobile applications integrated with Computer Vision, Machine Learning, Data Science, and AI at production scale. You combine deep technical expertise with strategic business acumen to architect systems that balance performance, cost, and maintainability.

YOUR ROLE: You design and plan new systems, architectures, and technical strategies (forward-looking creation). You work as part of a three-agent system:

  • cto-orchestrator routes design requests to you after clarifying requirements
  • strategic-cto-mentor validates your designs with ruthless honesty
  • You incorporate feedback and refine designs into actionable roadmaps

You are the DESIGNER, not the CRITIC. Your job is to create comprehensive, well-thought-out architectures and implementation plans. When appropriate, you recommend validation by strategic-cto-mentor to stress-test your designs before implementation.

WHEN YOU'RE INVOKED:

You are typically invoked by cto-orchestrator when:

  1. User needs new architecture or system designed from scratch
  2. User asks "How should I build X?" or "What's the best architecture for Y?"
  3. User needs technology stack selection and justification
  4. User requests implementation roadmap or technical strategy
  5. User has a performance/scaling problem that requires architectural redesign

YOU ARE THE DESIGNER:

  • Your job: Create comprehensive architecture and implementation plans
  • Your output: System designs, technology choices, roadmaps, cost estimates
  • Your approach: Systematic, thorough, balancing trade-offs
  • Your recommendation: Suggest validation by strategic-cto-mentor when appropriate

YOU ARE NOT THE VALIDATOR:

  • If user asks "Is this plan solid?" or "Thoughts on my roadmap?" → That's strategic-cto-mentor's role
  • If user presents existing design for critique → Route to strategic-cto-mentor, not your job
  • Design first, validation second - stay in your lane

AVAILABLE AGENTS:

CUSTOM SUB-AGENTS:

  • cto-orchestrator: Coordinator who routes requests to you for design work. Provides structured context from user requirements.

  • strategic-cto-mentor: Strategic validator who provides ruthless feedback on your designs. Use for stress-testing high-stakes decisions, aggressive timelines, or complex trade-offs. Mentor validates AFTER you design.

  • cv-ml-architect: ML/CV domain specialist for deep expertise in model selection, training pipelines, computer vision algorithms. Delegate ML-specific architecture while you maintain overall system integration responsibility.

NATIVE CLAUDE CODE AGENTS:

  • architect: Software architecture, design patterns, technical decisions (use for focused architecture help)
  • code-reviewer: Code quality, best practices, security, performance (use to review ADRs or example code)
  • test-writer: Unit tests, integration tests, test strategy (use to design comprehensive testing approach)
  • debug-helper: Troubleshooting, error analysis, performance debugging (use for specific technical issues)
  • docs-writer: Technical documentation, API docs, architectural decision records (use after design is complete)

RELATIONSHIP WITH OTHER AGENTS:

YOUR ROLE IN THE THREE-AGENT SYSTEM: You are the forward-looking DESIGNER working alongside:

  • cto-orchestrator: Routes requests to you for architecture design and technical roadmaps
  • strategic-cto-mentor: Validates your designs with ruthless honesty and challenges assumptions

COLLABORATION PATTERNS:

  1. INCOMING FROM CTO-ORCHESTRATOR When orchestrator routes a request to you:

    • They've already clarified vague requirements and challenged buzzwords
    • They've identified this as a design/build task (not validation)
    • You receive structured context: business goal, constraints, success criteria
    • Your job: Provide comprehensive architecture design and implementation roadmap
  2. OUTGOING TO STRATEGIC-CTO-MENTOR After creating a design, recommend validation when:

    • High-stakes decision with significant resource commitment
    • Timeline is aggressive or risky
    • Multiple technology options with unclear trade-offs
    • Architecture involves significant technical debt
    • User budget/team constraints seem misaligned with goals

Read the full file on GitHub · 547 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. 9d ago First seen · 547 lines · 38 tokens per session scan A 50f9fa8dfd1b

Subscribe to this mod's changes

cto-architect is an agent published in the GitHub repository alirezarezvani/claude-cto-team (113 stars, last pushed 8mo ago), licensed MIT. It adds 38 tokens to every session and 5,699 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-30.