# Build & Sell with Codex (5+ Hour Course)
<!--
ref: @content/youtube/nate-herk/build-sell-with-codex-5-hour-course
tags: [OpenAI Codex, AI operating system, agent skills, scheduled automation, browser use, video editing, value-based pricing, model selection]
version: 2
updated_at: 2026-11-24T07:03:30.429Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=X-pbJWKmwi0)**

# Build & Sell with Codex (5+ Hour Course)

*Synthesized from Nate Herk on Nate Herk | AI Automation, 2026-09-21.*

Nate Herk presents this five-hour course alone and has no guests. He covers the Codex desktop app, a local "AI operating system" built from folders and files, and how to sell similar builds to clients.

## Core Thesis
Nate argues that Codex should be used as a personal operating system rather than a chat tab. The durable asset is a folder-based knowledge base with routing rules, skills and an audit cycle, and it can move between agent tools. Skills should be refined through repeated feedback, and automations should be pushed to code or a host when they are deterministic and do not need the subscription.

## Key Insights
- **Eighteen core concepts.** The course walks through projects (a folder plus agents.md), agents.md as a routing map, the agent loop, /goal prompts, local versus cloud, worktrees, the Codex config folder, model and effort choice, permissions, skills, the agents folder, plugins, the in-app browser, sites, subagents, scheduled tasks and voice mode.
- **Pricing and usage.** A $20 plan is the entry point. He describes a $200 plan as worth about $14,000 of inference, and says the API bills per 1M tokens (his example: $10 input and $50 output for the top model). Fast mode runs about 1.5 times faster and uses the weekly limit faster.
- **Four Cs of the AIOS.** Context (slow-changing facts), connections (live tools like email and project management), capabilities (skills) and cadence (automations). He suggests three checks: a teammate could get the same answer from the AIOS, work stays in one interface, and knowledge leaves the user's head.
- **Audit and level-up loop.** An audit skill scores the system across the four Cs (his new example scored 30 out of 100), stores each run for trend tracking, and a level-up skill proposes next steps. A "grill me" skill interviews the user and saves the answers.
- **Six-step skill method.** Reverse engineer from a finished output, give each skill one job and one trigger, decide the freedom level (deterministic steps versus judgment), build verification loops (objective checks versus LLM-as-judge), walk the model down the list (Astra, Soul, Terra, Luna) while output quality holds, and iterate every run with feedback.
- **Model test.** On an X-article skill, Luna took 28m33s, Terra 26m and Soul 38m. He still usually runs that workflow on Astra at low effort, and says results vary by video.
- **Brand system.** He builds a brand-assets folder with logos, hex colors and fonts, plus a markdown source-of-truth and an image guide, and reuses it in docs, sheets, slides and HTML explainers.
- **Images and video.** Higsfield API is pay-per-use. He estimates the break-even against subscription plans at roughly 16 to 19 clips on Plus and 39 to 50 on Ultra. A benchmark batch cost $7.40 in total.
- **Browser and computer use.** Codex saves logged-in browser sessions. He warns that banking sessions need strict scripts and close watching, and that an API should come first, then a deterministic macro, then browser use.
- **Automations outside Codex.** Scheduled tasks inside Codex consume the subscription. He moves deterministic automations to trigger.dev with GitHub (a morning ClickUp brief costs about 1.33 cents per run against a 25-cent cap). For an agentic trading check, he uses the Codex SDK in trigger.dev.
- **Model comparison.** In 15 side-by-side use cases, Astra won 10 and Fable 5.1 won 5. Fable cost $513.36 and ran 9h35m45s in total; Astra cost $326.98 and ran 11h19m24s.
- **Value-based pricing (closing segment).** He says cost does not justify price. Price should be about 10 to 20 percent of first-year value, with a 10x return as the test, and the client should pay API costs. He recommends milestones about 30 days apart, objective acceptance criteria, and a fixed maintenance fee (his example is $400 a month).

## Actionable Takeaways
1. Keep a routing map in agents.md and have every new chat read it first.
2. Write each skill for one job and one trigger, then iterate it after each run with explicit good and bad feedback.
3. Test a skill on cheaper models in turn and keep the cheapest model that still meets the bar.
4. Build a verification step (checks, a QA report, or a second agent) before accepting any output.
5. Move a deterministic automation to a host such as trigger.dev, keep the API keys in a .env file, and run one real test before enabling the schedule.
6. Price on the client's measured cost of the manual process, not on hours.

## Notable Quotes
> "Think of it as your new operating system." — Nate Herk

> "So stop trying to remember everything." — Nate Herk

> "boring is beautiful. Deterministic automations." — Nate Herk

> "cost doesn't justify price. value justifies price." — Nate Herk

---

*Related: `@content/youtube/yifan-bth/openai-codex-revolutionary-workflow-or-200-mistake` · `@content/youtube/langchain/how-toyota-uses-deep-agents-to-speed-up-r-d-and-manufacturing-research` · `@content/youtube/every-inc/we-tested-claude-opus-5-its-frustrating-with-flashes-of-brilliance` · `@content/youtube/nate-herk/fable-5-karpathy-s-llm-wiki-is-basically-cheating` · `@content/youtube/nate-herk/i-deleted-all-my-claude-skills-and-claude-got-smarter`*

---

*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).*