Claude Code Tools

great-cto

official

One command install for the great_cto Claude Code plugin. Auto-detects your stack, picks the right archetype, bootstraps PROJECT.md.

Version
2.74.0
Last Updated
2026-06-20
Source
official
great_cto

AI Product Builder — describe a product, approve the spec, ship the software.

npm npm downloads License Claude Code Plugin Codex Savings

npx great-cto init

Website · One real run → · Live demo · Discussions · Changelog

Русский · 简体中文 · 繁體中文 · 日本語 · 한국어 · Español · Português · Deutsch · Français


Build the product, not just the code

You describe the product. great_cto ships it. Not a snippet, not a scaffold — a real, deployed application with a backend, a frontend, generated tests, and a live URL. You make exactly one decision: approve the spec. Everything after — architecture, data model, build, review, deploy — runs unattended.

It’s an AI Product Builder, not another coding-agent loop. The orchestration layer above the coding agent you already use: a team of specialist agents that plan, build, review, and gate the work — so one person ships like an engineering org.

One real feature: idea → merged PR in 1h 26m for $3.40 in LLM cost. The traditional path for the same feature was ~6 weeks and ~$42K. See the full trace →

It builds across the top US service industries — home & field services, professional services, hospitality, retail/e-commerce, proptech, fitness, marketing & creator, HR/recruiting, construction, logistics — which collapse into 6 reusable build pipelines (CRUD vertical-SaaS, booking, CRM, dashboard, marketplace, content/media). One command ships any of ~40 products. See docs/strategy/BUILD-PIPELINES.md.

   describe a product

   spec synthesis  ── architecture · data model · screens          (automated)

   👤  CTO gate — approve the spec        ← the one human checkpoint

   scaffold → backend → frontend → integrate → test → deploy        (automated)

   shipped product · repo · live URL

CI and generated tests are the quality gate — you sign the direction, not every line.

Under the hood (for the CTO who runs it)

The builder-facing story of this surface: greatcto.systems/build

Every product is built by a pipeline of specialist agents — architect, design-advisor, senior-dev, QA, security-officer, devops — that runs spec → scaffold → backend → frontend → tests → deploy. You make one decision: approve the spec. Everything after is automated. The pipeline is risk-tiered — a maintenance fix opens no gate (CI is the gate), a reversible feature opens only the plan gate, and an irreversible change forces the full set — so ceremony scales with blast radius, not with paperwork. CI and the build’s own generated tests are the quality gate that makes it safe to let the pipeline run to deploy.

One gate, where it matters. Build steps are risk-tiered: a reversible change builds and ships behind CI; an irreversible one — a production deploy, a schema migration, a new write-capable integration — escalates to the CTO gate and the frontier model before it runs. You sign the spec and the high-blast-radius calls; the rest runs straight through. change-tier + effectiveGates enforce the invariant in code.

By the numbers

One feature, end to end (real run, fully traced)1h 26m · $3.40 LLM vs ~$42K / ~6 weeks traditional
An earlier CLI-feature run, same pipeline$2.39 LLM vs ~$5,460 human-equivalent; security caught 2 defects QA had passed
Monthly cost (20 pipeline runs)~$34
Target US industries10 (home services · retail · proptech · fitness · HR · …)
Buildable products~40 across the 10 industries
Reusable build pipelines6 (CRUD · booking · CRM · dashboard · marketplace · content)
Specialist agents46

Full trace with all artefacts · the 6 pipelines

How it works

npx great-cto init — scans your stack and writes .great_cto/FLOW.md with the pipeline for your product: the agents, the build archetype, and the single CTO gate.

/start "describe the product" — architect and design-advisor draft the spec, data model and screens. You review and approve it at the one gategate:plan.

The pipeline ships it — senior-dev scaffolds and builds with TDD, QA runs the generated tests, devops deploys. No further approval needed for a reversible build.

Three products — one pipeline

Same command, different product. The build archetype shapes the stack and integrations:

Dispatch appClass-booking appProfitability dashboard
ArchetypeCRUD vertical-SaaSBooking / schedulingDashboard / analytics
StackNext.js · Postgres · shadcnNext.js · Postgres · calNext.js · warehouse-lite · charts
IntegrationsAuth · RBACStripe · Twiliosource connectors
Human gatesgate:plan (the CTO gate)gate:plangate:plan

→ See the 6 pipelines: greatcto.systems/pipelines

The dashboard you’ll actually check

great-cto board opens at http://localhost:3141 — the build board: realtime SSE, the live pipeline with its change_tier badge (one CTO gate · cheap judge), per-agent cost, 30-day LLM spend vs human-equivalent baseline.

The build board — live pipeline with the change_tier gate badge, inbox and cost

Metrics — tasks shipped, AI spend, cost savings vs FTE
Metrics — tasks shipped, AI spend, cost-savings vs a human team, daily burn
Project memory — browsable layers: PROJECT.md, archetypes, lessons
Memory — browsable project memory layers: PROJECT.md, archetypes, skills, lessons

Built for the one-person engineering org. GreatCTO is for the indie hacker, solo founder, or technical CTO who wants to ship real products without a team — running the pipeline on Claude Code or OpenAI Codex, approving one spec, and shipping to a live URL. Not for multi-dev engineering teams — see FAQ.

Install

npx great-cto init

Restart your AI host after init. Requires: Node 18.17+ and one of:

HostInstall flagStatus
Claude Code(default)✅ full support
OpenAI Codex--host codex✅ hooks + MCP + agents
# Claude Code (default)
npx great-cto init

# OpenAI Codex Desktop / CLI
npx great-cto init --host codex

Superpowers and Beads companion plugins install automatically — no manual setup needed.


📖 Full documentation — one CTO gate · risk-tiering · critics · 46 agents · build archetypes · board · cost · MCP

One decision per feature

🤖 architect + design-advisor  →  spec · data model · screens

🟡 gate:plan   ←  you decide here — approve the spec (the one CTO gate)

🤖 senior-dev → review → qa-engineer → devops  →  built · tested · deployed

The pipeline is risk-tiered (change_tier): a maintenance fix opens no gate (CI is the gate), a reversible feature opens only gate:plan, and an irreversible change forces the full set + the frontier model. Everything between the gate and deploy runs automatically. Memory persists between sessions: every gate verdict appends to ~/.great_cto/decisions.md, every retrospective to per-project lessons.md, and /crystallize promotes high-impact patterns to a global library agents query before re-solving.

Critics before the plan

The most expensive bugs aren’t in the code — they’re in decisions made before coding starts. Three critic agents run before the Plan stage, at the three positions where a mistake costs the most:

CriticCatches
Architecture criticCoupling that rules out multi-tenancy later · “obvious” O(n²) on real-scale data · circular dependencies between bounded contexts
Spec critic”We solved the wrong problem” — the worst class of bug, because no unit test will catch it · misaligned acceptance criteria · scope that was never agreed on
Schema criticNOT NULL without a default on a 50M-row table (deadlock in 10min after deploy) · missing CONCURRENTLY on index creation · irreversible migrations with no rollback path

Previously critics only activated starting from Plan. Now the pipeline catches architectural and spec-level mistakes before implementation begins — when reverting costs hours, not days.

How great_cto compares

great_ctoDevinClaude Code (alone)
Open source✅ MIT❌ closed❌ closed plugin model
Self-host✅ runs locally❌ Cognition cloud
Host✅ Claude Code + Codex❌ Cognition cloud✅ Claude Code
BYOK / multi-model✅ Claude Code · Codex❌ proprietary❌ Anthropic only
Specialist agents46 (architect · design-advisor · senior-dev · QA · security · devops · archetype reviewers)1 generalist1 generalist
Build pipelinespec → CTO gate → scaffold → build → test → deployone-shot autonomyedit loop
Human gates✅ one — you approve the spec (risk-tiered)❌ none
Memory across sessionsdecisions.md + lessons.md + crystallize⚠️ thread only⚠️ thread only
Cost tracking✅ per-agent + 30d history + savings_x
Design built in✅ design-advisor + ui-ux-pro-max → Next.js/Tailwind/shadcn
Pricingfree (you pay your LLM provider)$500/mo$20/mo
Setupnpx great-cto initsign upinstall CLI

great_cto is not another coding-agent loop — it’s the orchestration layer above the coding agent you already use. Think “specialist team that reviews and gates the work” rather than “another assistant that types code.”

Jurisdiction detection

npx great-cto init scans three signal sources — README keywords, infra region strings (Terraform, .env AWS_REGION=, docker-compose TZ=), and package.json homepage TLD — and auto-detects which of 12 jurisdictions apply:

JurisdictionSignals (README + infra)FrameworksReviewer
eugdpr · eu users · nis2 · eu ai act · eu-west-* · .de TLDGDPR · EU AI Act · NIS2 · ePrivacygdpr-reviewer
us-caccpa · cpra · california residents · do not sellCCPA / CPRAus-privacy-reviewer
ukuk gdpr · information commissioner · dpa 2018UK GDPR · DPA 2018gdpr-reviewer
indpdpa · india users · rbi data localisationDPDPA 2023 · RBIdpdpa-reviewer
brlgpd · anpd · brazil usersLGPDgdpr-reviewer
auprivacy act 1988 · oaic · notifiable data breachPrivacy Act 1988 · CDRus-privacy-reviewer
sgpdpa · pdpc · mas guidelines · singpassPDPA · MAS TRMus-privacy-reviewer
capipeda · quebec law 25 · casl · canadian users · ca-central-*PIPEDA · Quebec Law 25 · CASL · OSFI B-10us-privacy-reviewer
jpappi · japan users · my number · ap-northeast-1 · japaneastAPPI 2022 · PPC Guidelines · FISCus-privacy-reviewer
cnpipl · mlps · china users · cn-north-* · cn-east-*PIPL 2021 · DSL 2021 · MLPS 2.0 · CBDTgdpr-reviewer
krpipa korea · isms-p · kisa · korea users · ap-northeast-2PIPA · ISMS-P · FSC regulationsus-privacy-reviewer
usftc · us users · virginia cdpa · texas tdpsaFTC Act · US state privacy lawsus-privacy-reviewer

Word-boundary matching prevents false positives ("india" doesn’t match "indiana"). Detected jurisdiction is written to PROJECT.md as jurisdiction: [eu, us-ca] and gates the appropriate reviewer on every feature. Override manually:

jurisdiction: [eu, us-ca]

Three commands you use every day

/start "build a dispatch & scheduling app for an HVAC business"
# → architect + design-advisor → spec, data model, screens
# → pm → Beads tasks → gate:plan (you approve the spec — the one gate)
# → senior-dev → review → qa → devops → built · tested · deployed

/inbox
# Pending gate · P0 incidents · blocked tasks · stale in-progress

/digest
# Weekly DORA + delta vs last week + cost-per-feature roll-up

Plus: /audit (existing-codebase scan), /cost (LLM router savings), /sec (security umbrella), /oncall, /release, /rfc. Full list: ~/.claude/commands/ after install.

Cost

~$34/month for a typical solo-CTO project — 20 pipeline runs/month, indicative.
PipelineCost/runRuns/moTotal
quick (config / typo)$0.1010$1
quick (new endpoint)$16$6
standard (feature)$53$15
deep (cross-cutting)$121$12
~$34

Pay your own Anthropic API tokens. No per-seat fee. No SaaS lock-in. Routine triage auto-routes to Kimi K2 (Sonnet-equivalent at ~5× lower cost) → 60–80% reduction on log clustering.

Build archetypes

Every product maps to a build archetype that shapes its pipeline — the stack template, the data shape, the signature integration. The 6 Product Builder archetypes (the ~40 products collapse into these):

ArchetypeShapeStackIntegration
vertical-saasentities · roles · workflow · records UINext.js · Postgres · shadcnAuth · RBAC
bookingcalendar · availability · reminders · paymentsNext.js · Postgres · calStripe · Twilio
crmcontacts · pipeline · automated sequencesNext.js · Postgres · queueemail / SMS · webhooks
dashboardingest · metrics · visualization · alertsNext.js · warehouse-lite · chartssource connectors
marketplacetwo-sided listings · matching · paymentsNext.js · Postgres · Stripe ConnectStripe Connect / escrow
contentcatalog · access tiers · delivery · monetizationNext.js · object storage · CDNStripe · media pipeline

Plus the underlying software-kind archetypes (web-service, mobile-app, cli-tool, library, …) the engine auto-detects to tune the build. See the 6 pipelines.

Full table (26 archetypes) + how detection works: docs/ARCHETYPES.md.

Deep US coverage — beyond GDPR/PCI/HIPAA, great_cto now reviews against SEC cyber-disclosure (8-K Item 1.05), CMMC 2.0 / NIST 800-171 for defense contractors, US AI governance (NIST AI RMF · Colorado SB 205 · Utah/Texas AI), web-tracking litigation (VPPA · CIPA · Washington MHMDA), and HMDA / SR 11-7 model risk for lending.

Domain overlays (optional)

Beyond the build archetype, the engine can auto-attach an optional domain overlay when it detects domain-specific signals (deps, README terms) — adding a specialist reviewer and a few extra checks for things like voice/telephony, privacy (GDPR/CCPA), or AI governance. They’re opt-in and orthogonal to the build pipeline; most products need none.

One real run, fully traced

The canonical receipt: one real feature shipped through the full pipeline in 1h 26m wall-clock for $3.40 in LLM cost — architect → plan → implementation → review → human gate → merged PR. The traditional path for the same feature: ~170 hours and ~$42K. Every stage timestamped, every artifact links to a public GitHub PR.

An earlier run on a Python CLI feature ($2.39 vs ~$5,460 human-equivalent) showed the review model working: security caught two real defects QA had passed (list(stream_csv()) defeated streaming → 14.5 MB peak RSS on 13 MB input).

Full trace + artefacts: greatcto.systems/proof · raw: docs/qa/runs/2026-05-09/E2E-CLI-PIPELINE.md.

CI integration

Drop into any GitHub Actions workflow:

- run: npx great-cto@latest ci ./ --sarif results.sarif
- uses: github/codeql-action/upload-sarif@v3
  if: always()
  with: { sarif_file: results.sarif }

great-cto ci auto-detects $GITHUB_ACTIONS and emits ::error file=...,line=N:: annotations inline on PR diffs. Exit codes: 0 clean / 1 findings / 2 setup error.

Test pyramid

Layered test suite — structural + state-machine tier runs in <2 min for $0 (node --test tests/*.test.mjs); real-LLM tier (26 archetypes × 4-8 stages + 14 packs + 13 reviewers) runs on-demand via OpenRouter for ~$5–10. Full breakdown: docs/testing/.

MCP

Native MCP server — 7 tools callable from Claude Desktop, Codex, or any MCP host. Local (no board needed): detect_archetype · estimate_cost · query_decisions. Board-backed: project_status · cost_summary · pipeline_stages · recent_verdicts.

{ "mcpServers": { "great-cto": { "command": "npx", "args": ["-y", "great-cto@latest", "mcp"] } } }

Full setup + internal MCPs (Grafana, LLM router, Beads): docs/MCP.md.

Email alerts (zero-setup)

Five things that need you to act in <2h get emailed automatically — even when you’re away from the board:

TriggerWhen
🚨 P0 incidentA P0 task opens in any project
⏸️ Gate stale > 2hA gate:ship is waiting on you for hours
🛡️ Security BLOCKEDsecurity-officer rejected a merge
💸 Budget alertMonthly LLM spend crosses 80% / 100% of budget
📊 Weekly digestFriday 09:00 — shipped, spent, savings, QA

Setup: board → Notifications tab → enter email → enter the 6-digit code we send → pick triggers. No Resend signup, no API keys — delivery routed through greatcto.systems/notify (free, 100 emails/24h per verified email).

Limitations & non-goals

  • Not for multi-dev engineering teams — one builder is the product; 2+ engineers sharing the pipeline have outgrown it.
  • Not a replacement for senior engineers — codifies process; doesn’t make architectural judgement calls without one.
  • Not a CI/CD system — gates run locally / in-session. You still need GitHub Actions for actual merge.
  • Not certification-audited — PCI/HIPAA/SOC2 archetype scaffolds are starting points, not certifications.
  • Not deterministic — LLM-generated outputs. Every gate verdict should be sanity-checked.

FAQ (top 5)

Is my source code used to train models? No. Claude API zero-retention by default for paying customers. great_cto adds nothing.

How do you keep token costs down? Haiku-by-default + Kimi K2 router for triage (60–80% savings) + cost-guard hook.

Can I disable hooks? Every hook honors GREAT_CTO_DISABLE_<NAME>=1. Per-file secret-scan opt-out: // great_cto:allow-secrets.

What if I’m not solo? GreatCTO’s build pipeline is built for one engineer — if you have 2+ engineers who need shared builder boards and concurrent pipelines, you’ve outgrown it.

Full FAQ: docs/FAQ.md.

Documentation

📚 Full documentation hub → — organized by Diátaxis: Getting Started · How-to guides · Agents & Commands reference · Architecture · FAQ.

Architecture

The plugin runs inside Claude Code (or any MCP-capable host); 46 agents are markdown specs; tasks live in Beads (dolt, git-native); memory is plain markdown (no vector store). Diagram + stack table: docs/ARCHITECTURE.md.

What’s new

v2.74+ (June 2026) — The Product Builder pivot: GreatCTO becomes an AI Product Builder — describe a software product, approve the spec at one CTO gate, and the pipeline ships it (spec → build → test → deploy). 10 US industries, ~40 products, 6 reusable pipelines. Build gates are risk-tiered (change_tier); the regulated runtime surface moved out to avelikiy/operate. Story: the strategy · the 6 pipelines

v2.40–v2.62 (June 2026) — The autopilot pivot: GreatCTO becomes AI autopilots for business — 25 service-autopilot verticals, each a flow with a measured quality scorecard, an accountable owner, and the runtime invariant that an irreversible action never executes without a human signature. 22 live connectors run every vertical on real data. Story: We pivoted →

v2.46–v2.63 (June 2026) — The operator console: durable runs pause at the human gate and wait in an inbox for a named licensed human; signing executes the write. Role-based access, scoped invites, AI-drafted determinations with evidence, QA sampling, SLA clocks, Ops tab (metering · connector health · dead-letter requeue), WCAG 2.2 AA, light/dark. Story: The operator console →

v2.37–v2.65 (June 2026) — Under the hood: the dev board becomes a pult — approving a gate can spawn a live-streamed agent run; prompt self-improvement gated on held-out evals (SIA-inspired); $0 context compression (CI log 31,475 → 155 chars with the FATAL preserved); Fable 5 support. Story: June under the hood →

Full changelog →

Roadmap

  • Product archetype detection — pick the build archetype from the product brief, not just the stack
  • Per-industry build templates — ship a reference product end-to-end through each of the 6 pipelines
  • Tier-aware judge — a cheap fine-tuned judge on T0/T1 evals, frontier + human on T2 (ADR-004)
  • Headless task-runner — queue product builds and run them on a VPS, unattended

Vote on the next feature →

Author

avelikiy — CTO building AI-native trading and fintech platforms (0→1, 1→N). great_cto is the result of automating my own loops, one agent at a time. Every rule appeared in response to a real problem in a real production system.

Community

ChannelWhat
🐛 IssuesBugs, feature requests, archetype proposals
💡 DiscussionsQuestions, patterns, show-and-tell
📝 BlogReceipts, cost breakdowns, architecture deep-dives
🔒 SECURITY.mdResponsible disclosure

Contributing & License

Pull requests welcome — see CONTRIBUTING.md. Good first issues: good-first-issue.

MIT — see LICENSE.

If great_cto saved you time, please star the repo — it helps other solo CTOs find it.

Star History Chart


Built by @avelikiy Stop being the only person who can ship.