claude-cto-team
CLAUDE.md112 starsChanged 12 months agoMITView on GitHub
This repository implements a "CTO Team" system for Claude Code - a set of three specialized subagents that work together to provide strategic technical leadership, architecture design, and ruthless validation of plans and decisions. The CTO Team operates as a three-agent system with clear role separation: The orchestrator is the entry point for complex technical requests. It: - Challenges vague requirements ("AI-powered" → what problem exactly?) - Clarifies business goals and constraints before delegating - Routes to design (cto-architect) or…
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 174
Remember: Always use the current date for the docuemntation and all the files you create, update or maintain.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This repository implements a "CTO Team" system for Claude Code - a set of three specialized subagents that work together to provide strategic technical leadership, architecture design, and ruthless validation of plans and decisions.
Agent System Architecture
The CTO Team operates as a three-agent system with clear role separation:
┌─────────────────────────────────────────────────────────────────┐
│ cto-orchestrator │
│ (Coordinator & Task Router) │
│ Clarifies requirements, challenges vagueness, routes work │
└─────────────────────┬───────────────────────┬───────────────────┘
│ │
▼ ▼
┌─────────────────────────────────┐ ┌─────────────────────────────┐
│ cto-architect │ │ strategic-cto-mentor │
│ (Forward-Looking Designer) │ │ (Ruthless Validator) │
│ Designs systems & roadmaps │ │ Challenges & stress-tests │
└─────────────────────────────────┘ └─────────────────────────────┘Agents
cto-orchestrator
Role: Coordinator and intelligent task router Model: Sonnet (fast, efficient)
The orchestrator is the entry point for complex technical requests. It:
- Challenges vague requirements ("AI-powered" → what problem exactly?)
- Clarifies business goals and constraints before delegating
- Routes to design (cto-architect) or validation (strategic-cto-mentor)
- Coordinates multi-agent workflows for complex projects
- Synthesizes outputs from multiple agents
When to use: Vague requirements, multi-domain projects, unclear where to start
cto-architect
Role: Forward-looking system designer Model: Opus (comprehensive, thorough)
The architect designs new systems from scratch. Expertise includes:
- Full-stack architecture (React, Node.js, mobile, microservices)
- ML/AI integration (CV pipelines, model serving, RAG systems)
- Cloud infrastructure (Kubernetes, AWS/GCP, auto-scaling)
- Technology stack selection with explicit trade-off analysis
- Phased implementation roadmaps with validation checkpoints
When to use: "How should I build X?", new architecture, technology decisions, roadmaps
strategic-cto-mentor
Role: Ruthless strategic validator Model: Opus (deep analysis)
The mentor provides brutally honest feedback on plans and decisions. It:
- Challenges every assumption aggressively
- Evaluates against 7 dimensions (business, technical, operational, financial, timeline, team, market)
- Identifies blindspots and hidden risks
- Calls out common anti-patterns (premature optimization, shiny object syndrome, timeline fantasy)
- Provides verdict: GOOD / BAD / NEEDS MAJOR WORK
When to use: Validating roadmaps, build vs buy decisions, prioritization dilemmas, honest feedback needed
Agent Collaboration Patterns
- Design Flow: User → cto-orchestrator → cto-architect → (optional) strategic-cto-mentor for validation
- Validation Flow: User → cto-orchestrator → strategic-cto-mentor → (optional) cto-architect for revised design
- Direct Access: Users can invoke agents directly when they know what they need
Slash Commands
The CTO Team provides 4 slash commands for quick access to CTO workflows:
| Command | Purpose | Routes To |
/validate | Ruthlessly validate plans/proposals | strategic-cto-mentor |
/design | Design system architecture | cto-architect |
/decide | Build vs buy, technology decisions | strategic-cto-mentor |
/cto | General CTO guidance | cto-orchestrator |
Usage: Type the command followed by your request (e.g., /validate my Q2 roadmap)
Skills
The agents are enhanced with 12 specialized skills:
Orchestrator Skills
| Skill | Purpose |
| request-analyzer | Classifies intent, detects vagueness, suggests routing |
| clarification-protocol | Generates targeted clarifying questions (2-3 max) |
| delegation-prompt-crafter | Creates structured prompts for specialist agents |
| cost-estimator | Infrastructure and development cost estimation |
Architect Skills
| Skill | Purpose |
| architecture-pattern-selector | Select between Monolith, Microservices, Serverless |
| roadmap-generator | Phased implementation plans with Epic/Story breakdown |
| tech-stack-recommender | Technology stack selection by project type |
| scalability-advisor | Scaling stages and capacity planning |
| ml-cv-specialist | ML system design and model selection |
Mentor Skills
| Skill | Purpose |
| assumption-challenger | Stress-test implicit assumptions in plans |
| antipattern-detector | Detect common failure patterns |
| validation-report-generator | 8-section validation reports with verdicts |
Skills are automatically discovered and used by agents based on context.
Project Structure (Plugin Format)
.claude-plugin/
└── plugin.json # Plugin manifest
agents/ # AI subagents
├── cto-architect.md
├── cto-orchestrator.md
└── strategic-cto-mentor.md
commands/ # Slash commands
├── cto.md # /cto - General guidance
├── decide.md # /decide - Strategic decisions
├── design.md # /design - Architecture design
└── validate.md # /validate - Plan validation
skills/ # Agent skills (12 total)
├── architecture-pattern-selector/
├── assumption-challenger/
├── antipattern-detector/
├── clarification-protocol/
├── cost-estimator/
├── delegation-prompt-crafter/
├── ml-cv-specialist/
├── request-analyzer/
├── roadmap-generator/
├── scalability-advisor/
├── tech-stack-recommender/
└── validation-report-generator/
documentation/
└── cto-office/
├── README.md # Documentation overview
├── 01-agent-specifications/ # Detailed agent specs
├── 02-collaboration-patterns/ # Capability matrix & workflows
└── 04-context-preservation/ # System philosophyInstallation
Install as a Claude Code plugin:
claude /plugin install alirezarezvani/claude-cto-teamDocumentation
For detailed documentation on the three-agent system, see documentation/cto-office/README.md.
Repository Information
- License: MIT
- Owner: Alireza Rezvani
- Main Branch: main Remember Always use the current date for the docuemntation and all the files you create, update or maintain.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

