# "Use Claude Code Like a CTO"
<!--
ref: @content/youtube/patrick-ellis/use-claude-code-like-a-cto
tags: [Claude Code, Codex, orchestration layer, gstack, adversarial review, verification, Terraform, gcloud, Beads, agent teams, long-horizon tasks]
version: 2
updated_at: 2026-11-22T12:55:11.985Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=6lfC9W5J-0Y)**

# Use Claude Code Like a CTO

*Synthesized from Patrick, 2026-10-09.*

Patrick introduces himself by first name only as the CTO and co-founder of an AI-native startup that works with brands such as Disney, Google, Coca-Cola and FIFA; he presents alone.

## Core Thesis
Patrick argues that the 10x to 100x gains from Claude Code and Codex do not come from smarter models but from the orchestration layer around them: context, tools, workflows (standard operating procedures) and verification. Because the labs are all heading toward long-horizon autonomous work, investing now in that layer lets every new model release make a team faster.

## Key Insights
- **Direction of the labs.** He recounts Greg Brockman describing Codex as shifting from a CLI to long-running cloud tasks, and sees Claude models as scrappy (many bash searches, grep around a codebase) while Codex is systematic but needs a full plan up front. He sees the two converging, with Opus moving toward needing the orchestration layer upfront.
- **Onboarding analogy.** Treat the model as a very capable new college hire who knows nothing about your team, company or project, and spell out resources, code quality expectations and tools.
- **Four pillars.** Context (company, goals, design language, performance requirements, adjacent repos, APIs, docs, Slack history); tools (grep, web search, Playwright MCP, GCP, Terraform, the Supabase CLI); workflows and SOPs (engineering and design reviews, PR review, security review); verification.
- **gstack.** He uses the open skill set packaged from Y Combinator office-hours practice (about 109,000 stars at the time) with commands such as /office-hours, plan CEO review, engineering review (his most used), plan design review, DevEx review and /ship. He accepts the recommended answer about half the time, and steps in around 80% done.
- **Adversarial review.** From Claude Code he invokes a Codex CLI review (and the reverse) to exploit different training data. He built a custom review-and-push skill: preflight checks, /ship, full gstack review, Codex challenge, CodeRabbit and linters, triage of GitHub comments, fixes, push, watching CI/CD, then a final change report.
- **Verification.** Playwright screenshots compared against UI mocks; deterministic linters (ESLint), formatters, unit tests (near test-driven development) and dead-code tools, because models will not reliably audit dead code on their own.
- **Favorite tools.** The gh CLI, Sentry (a custom sentry-fixes command that triages, fixes, gets a second opinion and watches CI), and above all Terraform and gcloud, with gcloud mostly read-only for logs, configuration and failed deploys.
- **Fewer questions.** The aim is cutting the questions he must answer from 100 to 5, since juggling eight to ten agents wrecks short-term memory and click-through approvals risk something like an accidental rm -rf.
- **Teams and managers.** Spawn teams of Claude Code agents or nested sub-agents, or ask one agent to manage 5 to 20 PRs. His Codex run overnight went six hours; he then brought the PRs back for design and engineering review with Codex as adversarial reviewer.
- **Proof.** In one week the team shipped an analytics platform (Pub/Sub, Cloud Run, BigQuery) from meeting transcripts, mocks and notes, handling spiky live sports traffic; he cites 50x-plus gains. Claude Design and GPT Image 2 supply mocks.
- **Beads.** Steve Yegge's open-source task tracker (viewer: bv) gives dependency graphs so long agent runs do not skip tasks or tick boxes they have not done; he says Claude Code's Tasks feature was modeled on it.
- **Permissions.** Give agents free rein to read infrastructure but require human review before changing core infrastructure.
- **Strategy.** Being a week or month ahead compounds; documenting company context is the investment that will not be made obsolete.

## Actionable Takeaways
1. Give a new model the most ambitious project you can think of, such as turning a meeting transcript and mocks into PRDs.
2. Write down context, tools, SOPs and verification before kickoff, and spend the first 10% of a project on planning.
3. Run a cross-model adversarial review (Claude Code calling Codex or vice versa) before merging.
4. Expose gh, Sentry, gcloud (read-only) and Terraform to the agent.
5. Add Playwright screenshot comparison, linters, unit tests and dead-code checks as the definition of finished.
6. Track multi-step SOPs with a task graph such as Beads.
7. Keep human approval on production infrastructure changes.

## Notable Quotes
> "The bottleneck is no longer with the model, it's with the orchestration layer." — Patrick

> "The goal is to get the number of questions we have to answer down from 100 to 5, for example." — Patrick

> "build expecting the models to get fantastic and the harnesses to get much better" — Patrick

---

*Related: `@content/youtube/zazencodes/build-your-own-ai-software-factory-with-claude-code` · `@content/web/huggingface/2026-11-23-cua-see-self-evolving-evals` · `@content/youtube/sean-kochel/opus-4-7-is-insanely-powerful-and-insanely-expensive` · `@content/youtube/yifan-bth/i-reverse-engineered-claude-code-learn-these-agent-tricks` · `@content/youtube/yifan-bth/the-complete-claude-code-workflow-90-skip-this`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*