agentleFS
alirezarezvanialirezarezvani/claude-cto-team/CLAUDE.md

claude-cto-team

CLAUDE.md117 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
  1. Distinctive:

    Remember: Always use the current date for the docuemntation and all the files you create, update or maintain.

    line 174

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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

  1. Design Flow: User → cto-orchestrator → cto-architect → (optional) strategic-cto-mentor for validation
  2. Validation Flow: User → cto-orchestrator → strategic-cto-mentor → (optional) cto-architect for revised design
  3. 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:

CommandPurposeRoutes To
/validateRuthlessly validate plans/proposalsstrategic-cto-mentor
/designDesign system architecturecto-architect
/decideBuild vs buy, technology decisionsstrategic-cto-mentor
/ctoGeneral CTO guidancecto-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

SkillPurpose
request-analyzerClassifies intent, detects vagueness, suggests routing
clarification-protocolGenerates targeted clarifying questions (2-3 max)
delegation-prompt-crafterCreates structured prompts for specialist agents
cost-estimatorInfrastructure and development cost estimation

Architect Skills

SkillPurpose
architecture-pattern-selectorSelect between Monolith, Microservices, Serverless
roadmap-generatorPhased implementation plans with Epic/Story breakdown
tech-stack-recommenderTechnology stack selection by project type
scalability-advisorScaling stages and capacity planning
ml-cv-specialistML system design and model selection

Mentor Skills

SkillPurpose
assumption-challengerStress-test implicit assumptions in plans
antipattern-detectorDetect common failure patterns
validation-report-generator8-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 philosophy

Installation

Install as a Claude Code plugin:

claude /plugin install alirezarezvani/claude-cto-team

Documentation

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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.