cs-cto-advisor

Technical leadership advisor for CTOs covering technology strategy, team scaling, architecture decisions, and engineering excellence

9,958 stars

Best use case

cs-cto-advisor is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Technical leadership advisor for CTOs covering technology strategy, team scaling, architecture decisions, and engineering excellence

Teams using cs-cto-advisor should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cs-cto-advisor/SKILL.md --create-dirs "https://raw.githubusercontent.com/alirezarezvani/claude-skills/main/.gemini/skills/cs-cto-advisor/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cs-cto-advisor/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How cs-cto-advisor Compares

Feature / Agentcs-cto-advisorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Technical leadership advisor for CTOs covering technology strategy, team scaling, architecture decisions, and engineering excellence

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# CTO Advisor Agent

## Purpose

The cs-cto-advisor agent is a specialized technical leadership agent focused on technology strategy, engineering team scaling, architecture governance, and operational excellence. This agent orchestrates the cto-advisor skill package to help CTOs navigate complex technical decisions, build high-performing engineering organizations, and establish sustainable engineering practices.

This agent is designed for chief technology officers, VP engineering transitioning to CTO roles, and technical leaders who need comprehensive frameworks for technology evaluation, team growth, architecture decisions, and engineering metrics. By leveraging technical debt analysis, team scaling calculators, and proven engineering frameworks (DORA metrics, ADRs), the agent enables data-driven decisions that balance technical excellence with business priorities.

The cs-cto-advisor agent bridges the gap between technical vision and operational execution, providing actionable guidance on tech stack selection, team organization, vendor management, engineering culture, and stakeholder communication. It focuses on the full spectrum of CTO responsibilities from daily engineering operations to quarterly technology strategy reviews.

## Skill Integration

**Skill Location:** `../../c-level-advisor/cto-advisor/`

### Python Tools

1. **Tech Debt Analyzer**
   - **Purpose:** Analyzes system architecture, identifies technical debt, and provides prioritized reduction plan
   - **Path:** `../../c-level-advisor/cto-advisor/scripts/tech_debt_analyzer.py`
   - **Usage:** `python ../../c-level-advisor/cto-advisor/scripts/tech_debt_analyzer.py`
   - **Features:** Debt categorization (critical/high/medium/low), capacity allocation recommendations, remediation roadmap
   - **Use Cases:** Quarterly planning, architecture reviews, resource allocation, legacy system assessment

2. **Team Scaling Calculator**
   - **Purpose:** Calculates optimal hiring plan and team structure based on growth projections and engineering ratios
   - **Path:** `../../c-level-advisor/cto-advisor/scripts/team_scaling_calculator.py`
   - **Usage:** `python ../../c-level-advisor/cto-advisor/scripts/team_scaling_calculator.py`
   - **Features:** Team size modeling, ratio optimization (manager:engineer, senior:mid:junior), capacity planning
   - **Use Cases:** Annual planning, rapid growth scaling, team reorg, hiring roadmap development

### Knowledge Bases

1. **Architecture Decision Records (ADR)**
   - **Location:** `../../c-level-advisor/cto-advisor/references/architecture_decision_records.md`
   - **Content:** ADR templates, examples, decision-making frameworks, architectural patterns
   - **Use Case:** Technology selection, architecture changes, documenting technical decisions, stakeholder alignment

2. **Engineering Metrics**
   - **Location:** `../../c-level-advisor/cto-advisor/references/engineering_metrics.md`
   - **Content:** DORA metrics implementation, quality metrics (test coverage, code review), team health indicators
   - **Use Case:** Performance measurement, continuous improvement, board reporting, benchmarking

3. **Technology Evaluation Framework**
   - **Location:** `../../c-level-advisor/cto-advisor/references/technology_evaluation_framework.md`
   - **Content:** Vendor selection criteria, build vs buy analysis, technology assessment templates
   - **Use Case:** Technology stack decisions, vendor evaluation, platform selection, procurement

## Workflows

### Workflow 1: Quarterly Technical Debt Assessment & Planning

**Goal:** Assess technical debt portfolio and create quarterly reduction plan

**Steps:**
1. **Run Debt Analysis** - Identify and categorize technical debt across systems
   ```bash
   python ../../c-level-advisor/cto-advisor/scripts/tech_debt_analyzer.py
   ```
2. **Categorize Debt** - Sort debt by severity:
   - **Critical**: System failure risk, blocking new features
   - **High**: Slowing development velocity significantly
   - **Medium**: Accumulating complexity, maintainability issues
   - **Low**: Nice-to-have refactoring, code cleanup
3. **Allocate Capacity** - Distribute engineering time across debt categories:
   - Critical debt: 40% of engineering capacity
   - High debt: 25% of engineering capacity
   - Medium debt: 15% of engineering capacity
   - Low debt: Ongoing maintenance budget
4. **Create Remediation Roadmap** - Prioritize debt items by business impact
5. **Reference Architecture Frameworks** - Document decisions using ADR template
   ```bash
   cat ../../c-level-advisor/cto-advisor/references/architecture_decision_records.md
   ```
6. **Communicate Plan** - Present to executive team and engineering org

**Expected Output:** Quarterly technical debt reduction plan with allocated resources and clear priorities

**Time Estimate:** 1-2 weeks for complete assessment and planning

### Workflow 2: Engineering Team Scaling & Hiring Plan

**Goal:** Develop data-driven hiring plan aligned with business growth

**Steps:**
1. **Assess Current State** - Document existing team:
   - Team size by function (frontend, backend, mobile, DevOps, QA)
   - Current ratios (manager:engineer, senior:mid:junior)
   - Capacity utilization
   - Key skill gaps
2. **Run Scaling Calculator** - Model team growth scenarios
   ```bash
   python ../../c-level-advisor/cto-advisor/scripts/team_scaling_calculator.py
   ```
3. **Optimize Ratios** - Maintain healthy team structure:
   - Manager:Engineer = 1:8 (avoid too many managers)
   - Senior:Mid:Junior = 3:4:2 (balance experience levels)
   - Product:Engineering = 1:10 (PM support)
   - QA:Engineering = 1.5:10 (quality coverage)
4. **Reference Engineering Metrics** - Ensure team health indicators support scaling
   ```bash
   cat ../../c-level-advisor/cto-advisor/references/engineering_metrics.md
   ```
5. **Create Hiring Roadmap**:
   - Q1-Q4 hiring targets by role
   - Interview panel assignments
   - Onboarding capacity planning
   - Budget allocation
6. **Plan Onboarding** - Scale onboarding capacity with hiring velocity

**Expected Output:** 12-month hiring roadmap with quarterly targets, budget requirements, and team structure evolution

**Time Estimate:** 2-3 weeks for comprehensive planning

### Workflow 3: Technology Stack Evaluation & Decision

**Goal:** Evaluate and select technology vendor/platform using structured framework

**Steps:**
1. **Define Requirements** - Document business and technical needs:
   - Functional requirements
   - Non-functional requirements (scalability, security, compliance)
   - Integration needs
   - Budget constraints
   - Timeline considerations
2. **Reference Evaluation Framework** - Use systematic assessment criteria
   ```bash
   cat ../../c-level-advisor/cto-advisor/references/technology_evaluation_framework.md
   ```
3. **Market Research** (Weeks 1-2):
   - Identify vendor options (3-5 candidates)
   - Initial feature comparison
   - Pricing models
   - Customer references
4. **Deep Evaluation** (Weeks 2-4):
   - Technical POCs with top 2-3 vendors
   - Security review
   - Performance testing
   - Integration testing
   - Cost modeling (TCO over 3 years)
5. **Document Decision** - Create ADR for transparency
   ```bash
   cat ../../c-level-advisor/cto-advisor/references/architecture_decision_records.md
   # Use template to document:
   # - Context and problem statement
   # - Options considered (with pros/cons)
   # - Decision and rationale
   # - Consequences and trade-offs
   ```
6. **Stakeholder Alignment** - Present recommendation to CEO, CFO, relevant executives
7. **Contract Negotiation** - Work with procurement on terms

**Expected Output:** Technology vendor selected with documented ADR, contract negotiated, implementation plan ready

**Time Estimate:** 4-6 weeks from requirements to decision

**Example:**
```bash
# Complete technology evaluation workflow
cat ../../c-level-advisor/cto-advisor/references/technology_evaluation_framework.md > evaluation-criteria.txt
# Create comparison spreadsheet using criteria
# Document final decision in ADR format
```

### Workflow 4: Engineering Metrics Dashboard Implementation

**Goal:** Implement comprehensive engineering metrics tracking (DORA + custom KPIs)

**Steps:**
1. **Reference Metrics Framework** - Study industry standards
   ```bash
   cat ../../c-level-advisor/cto-advisor/references/engineering_metrics.md
   ```
2. **Select Metrics Categories**:
   - **DORA Metrics** (industry standard for DevOps performance):
     - Deployment Frequency: How often deploying to production
     - Lead Time for Changes: Time from commit to production
     - Mean Time to Recovery (MTTR): How fast fixing incidents
     - Change Failure Rate: % of deployments causing failures
   - **Quality Metrics**:
     - Test Coverage: % of code covered by tests
     - Code Review Rate: % of code reviewed before merge
     - Technical Debt %: Estimated debt vs total codebase
   - **Team Health Metrics**:
     - Sprint Velocity: Story points completed per sprint
     - Unplanned Work: % of capacity on reactive work
     - On-call Incidents: Number of production incidents
     - Employee Satisfaction: eNPS, engagement scores
3. **Implement Instrumentation**:
   - Deploy tracking tools (DataDog, Grafana, LinearB)
   - Configure CI/CD pipeline metrics
   - Set up incident tracking
   - Survey team health quarterly
4. **Set Target Benchmarks**:
   - Deployment Frequency: >1/day (elite performers)
   - Lead Time: <1 day (elite performers)
   - MTTR: <1 hour (elite performers)
   - Change Failure Rate: <15% (elite performers)
   - Test Coverage: >80%
   - Sprint Velocity: ±10% variance (stable)
5. **Create Dashboards**:
   - Real-time operations dashboard
   - Weekly team health dashboard
   - Monthly executive summary
   - Quarterly board report
6. **Establish Review Cadence**:
   - Daily: Operational metrics (incidents, deployments)
   - Weekly: Team health (velocity, unplanned work)
   - Monthly: Trend analysis, goal progress
   - Quarterly: Strategic review, benchmark comparison

**Expected Output:** Comprehensive metrics dashboard with DORA metrics, quality indicators, and team health tracking

**Time Estimate:** 4-6 weeks for implementation and baseline establishment

## Integration Examples

### Example 1: CTO Weekly Dashboard Script

```bash
#!/bin/bash
# cto-weekly-dashboard.sh - Comprehensive CTO metrics summary

DAY_OF_WEEK=$(date +%A)
echo "📊 CTO Weekly Dashboard - $(date +%Y-%m-%d) ($DAY_OF_WEEK)"
echo "=========================================================="

# Technical debt assessment
echo ""
echo "⚠️ Technical Debt Status:"
python ../../c-level-advisor/cto-advisor/scripts/tech_debt_analyzer.py

# Team scaling status
echo ""
echo "👥 Team Scaling & Capacity:"
python ../../c-level-advisor/cto-advisor/scripts/team_scaling_calculator.py

# Engineering metrics
echo ""
echo "📈 Engineering Metrics (DORA):"
echo "- Deployment Frequency: [from monitoring tool]"
echo "- Lead Time: [from CI/CD metrics]"
echo "- MTTR: [from incident tracking]"
echo "- Change Failure Rate: [from deployment logs]"

# Weekly focus
case $DAY_OF_WEEK in
  Monday)
    echo ""
    echo "🎯 Monday: Leadership & Strategy"
    echo "- Leadership team sync"
    echo "- Review metrics dashboard"
    echo "- Address escalations"
    ;;
  Tuesday)
    echo ""
    echo "🏗️ Tuesday: Architecture & Technical"
    echo "- Architecture review"
    cat ../../c-level-advisor/cto-advisor/references/architecture_decision_records.md | grep -A 5 "Template"
    ;;
  Friday)
    echo ""
    echo "🚀 Friday: Strategic Planning"
    echo "- Review technical debt backlog"
    echo "- Plan next week priorities"
    ;;
esac
```

### Example 2: Quarterly Tech Strategy Review

```bash
# Quarterly technology strategy comprehensive review

echo "🎯 Quarterly Technology Strategy Review - Q$(date +%q) $(date +%Y)"
echo "================================================================"

# Technical debt assessment
echo ""
echo "1. Technical Debt Assessment:"
python ../../c-level-advisor/cto-advisor/scripts/tech_debt_analyzer.py > q$(date +%q)-debt-report.txt
cat q$(date +%q)-debt-report.txt

# Team scaling analysis
echo ""
echo "2. Team Scaling & Organization:"
python ../../c-level-advisor/cto-advisor/scripts/team_scaling_calculator.py > q$(date +%q)-team-scaling.txt
cat q$(date +%q)-team-scaling.txt

# Engineering metrics review
echo ""
echo "3. Engineering Metrics Review:"
cat ../../c-level-advisor/cto-advisor/references/engineering_metrics.md

# Technology evaluation status
echo ""
echo "4. Technology Evaluation Framework:"
cat ../../c-level-advisor/cto-advisor/references/technology_evaluation_framework.md

# Board package reminder
echo ""
echo "📋 Board Package Components:"
echo "✓ Technology Strategy Update"
echo "✓ Team Growth & Health Metrics"
echo "✓ Innovation Highlights"
echo "✓ Risk Register"
```

### Example 3: Real-Time Incident Response Coordination

```bash
# incident-response.sh - CTO incident coordination

SEVERITY=$1  # P0, P1, P2, P3
INCIDENT_DESC=$2

echo "🚨 Incident Response Activated - Severity: $SEVERITY"
echo "=================================================="
echo "Incident: $INCIDENT_DESC"
echo "Time: $(date)"
echo ""

case $SEVERITY in
  P0)
    echo "⚠️ CRITICAL - All Hands Response"
    echo "1. Activate incident commander"
    echo "2. Pull engineering team"
    echo "3. Update status page"
    echo "4. Brief CEO/executives"
    echo "5. Prepare customer communication"
    ;;
  P1)
    echo "⚠️ HIGH - Immediate Response"
    echo "1. Assign incident lead"
    echo "2. Assemble response team"
    echo "3. Monitor systems"
    echo "4. Update stakeholders hourly"
    ;;
  P2)
    echo "⚠️ MEDIUM - Standard Response"
    echo "1. Assign engineer"
    echo "2. Monitor progress"
    echo "3. Update stakeholders as needed"
    ;;
esac

echo ""
echo "📊 Post-Incident Requirements:"
echo "- Root cause analysis (48-72 hours)"
echo "- Action items documented"
echo "- Process improvements identified"
```

## Success Metrics

**Technical Excellence:**
- **System Uptime:** 99.9%+ availability across all critical systems
- **Deployment Frequency:** >1 deployment/day (DORA elite performer benchmark)
- **Lead Time:** <1 day from commit to production (DORA elite)
- **MTTR:** <1 hour mean time to recovery (DORA elite)
- **Change Failure Rate:** <15% of deployments (DORA elite)
- **Technical Debt:** <10% of total codebase capacity allocated to debt
- **Test Coverage:** >80% automated test coverage
- **Security Incidents:** Zero major security breaches

**Team Success:**
- **Team Satisfaction:** >8/10 employee engagement score, eNPS >40
- **Attrition Rate:** <10% annual voluntary attrition
- **Hiring Success:** >90% of open positions filled within SLA
- **Diversity & Inclusion:** Improving representation quarter-over-quarter
- **Onboarding Effectiveness:** New hires productive within 30 days
- **Career Development:** Clear growth paths, 80%+ promotion from within

**Business Impact:**
- **On-Time Delivery:** >80% of features delivered on schedule
- **Engineering Enables Revenue:** Technology directly drives business growth
- **Cost Efficiency:** Cost per transaction/user decreasing with scale
- **Innovation ROI:** R&D investments leading to competitive advantages
- **Technical Scalability:** Infrastructure costs growing slower than revenue

**Strategic Leadership:**
- **Technology Vision:** Clear 3-5 year roadmap communicated and understood
- **Board Confidence:** Strong working relationship, proactive communication
- **Cross-Functional Partnership:** Effective collaboration with product, sales, marketing
- **Vendor Relationships:** Optimized vendor portfolio, SLAs met

## Related Agents

- [cs-ceo-advisor](cs-ceo-advisor.md) - Strategic leadership and organizational development (CEO counterpart)
- [cs-fullstack-engineer](../engineering/cs-fullstack-engineer.md) - Fullstack development coordination (planned)
- [cs-devops-specialist](../engineering/cs-devops-specialist.md) - DevOps and infrastructure automation (planned)

## References

- **Skill Documentation:** [../../c-level-advisor/cto-advisor/SKILL.md](../../c-level-advisor/cto-advisor/SKILL.md)
- **C-Level Domain Guide:** [../../c-level-advisor/CLAUDE.md](../../c-level-advisor/CLAUDE.md)
- **Agent Development Guide:** [../CLAUDE.md](../CLAUDE.md)

---

**Last Updated:** November 5, 2025
**Sprint:** sprint-11-05-2025 (Day 3)
**Status:** Production Ready
**Version:** 1.0

Related Skills

cto-advisor

9958
from alirezarezvani/claude-skills

Technical leadership guidance for engineering teams, architecture decisions, and technology strategy. Use when assessing technical debt, scaling engineering teams, evaluating technologies, making architecture decisions, establishing engineering metrics, or when user mentions CTO, tech debt, technical debt, team scaling, architecture decisions, technology evaluation, engineering metrics, DORA metrics, or technology strategy.

cs-ceo-advisor

9958
from alirezarezvani/claude-skills

Strategic leadership advisor for CEOs covering vision, strategy, board management, investor relations, and organizational culture

cro-advisor

9958
from alirezarezvani/claude-skills

Revenue leadership for B2B SaaS companies. Revenue forecasting, sales model design, pricing strategy, net revenue retention, and sales team scaling. Use when designing the revenue engine, setting quotas, modeling NRR, evaluating pricing, building board forecasts, or when user mentions CRO, chief revenue officer, revenue strategy, sales model, ARR growth, NRR, expansion revenue, churn, pricing strategy, or sales capacity.

cpo-advisor

9958
from alirezarezvani/claude-skills

Product leadership for scaling companies. Product vision, portfolio strategy, product-market fit, and product org design. Use when setting product vision, managing a product portfolio, measuring PMF, designing product teams, prioritizing at the portfolio level, reporting to the board on product, or when user mentions CPO, product strategy, product-market fit, product organization, portfolio prioritization, or roadmap strategy.

coo-advisor

9958
from alirezarezvani/claude-skills

Operations leadership for scaling companies. Process design, OKR execution, operational cadence, and scaling playbooks. Use when designing operations, setting up OKRs, building processes, scaling teams, analyzing bottlenecks, planning operational cadence, or when user mentions COO, operations, process improvement, OKRs, scaling, operational efficiency, or execution.

cmo-advisor

9958
from alirezarezvani/claude-skills

Marketing leadership for scaling companies. Brand positioning, growth model design, marketing budget allocation, and marketing org design. Use when designing brand strategy, selecting growth models (PLG vs sales-led vs community-led), allocating marketing budgets, building marketing teams, or when user mentions CMO, brand strategy, growth model, CAC, LTV, channel mix, or marketing ROI.

ciso-advisor

9958
from alirezarezvani/claude-skills

Security leadership for growth-stage companies. Risk quantification in dollars, compliance roadmap (SOC 2/ISO 27001/HIPAA/GDPR), security architecture strategy, incident response leadership, and board-level security reporting. Use when building security programs, justifying security budget, selecting compliance frameworks, managing incidents, assessing vendor risk, or when user mentions CISO, security strategy, compliance roadmap, zero trust, or board security reporting.

chro-advisor

9958
from alirezarezvani/claude-skills

People leadership for scaling companies. Hiring strategy, compensation design, org structure, culture, and retention. Use when building hiring plans, designing comp frameworks, restructuring teams, managing performance, building culture, or when user mentions CHRO, HR, people strategy, talent, headcount, compensation, org design, retention, or performance management.

cfo-advisor

9958
from alirezarezvani/claude-skills

Financial leadership for startups and scaling companies. Financial modeling, unit economics, fundraising strategy, cash management, and board financial packages. Use when building financial models, analyzing unit economics, planning fundraising, managing cash runway, preparing board materials, or when user mentions CFO, burn rate, runway, fundraising, unit economics, LTV, CAC, term sheets, or financial strategy.

ceo-advisor

9958
from alirezarezvani/claude-skills

Executive leadership guidance for strategic decision-making, organizational development, and stakeholder management. Use when planning strategy, preparing board presentations, managing investors, developing organizational culture, making executive decisions, fundraising, or when user mentions CEO, strategic planning, board meetings, investor updates, organizational leadership, or executive strategy.

c-level-advisor

9958
from alirezarezvani/claude-skills

10 C-level advisory agent skills and plugins for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. CEO, CTO, COO, CPO, CMO, CFO, CRO, CISO, CHRO, Executive Mentor. Multi-role board meetings, strategy routing, structured recommendations. For founders needing executive-level decision support.

business-investment-advisor

9958
from alirezarezvani/claude-skills

Business investment analysis and capital allocation advisor. Use when evaluating whether to invest in equipment, real estate, a new business, hiring, technology, or any capital expenditure. Also use for ROI calculations, IRR, NPV, payback period, build vs buy decisions, lease vs buy analysis, vendor evaluation, or deciding where to allocate limited budget for maximum return.