MY-AGENTS COURSE GUIDE

AGENTS.md & Skills.md Breakdown

A chapter-by-chapter readback of the free course by Theo (t3.gg) on Theo - t3․gg.

Length51:15
Chapters15
Modules5
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

Theo argues the value of an AGENTS.md is the reasoning process behind it, not the file itself — so he refuses to publish it and instead teaches viewers how to author their own from their agents' failure logs.

Who it's for
Read this guide if
  • You use coding agents (Codex, Claude Code, Cursor) daily and want tighter instruction files
  • You maintain a repo-level AGENTS.md or CLAUDE.md for contributors
  • You want to design agent skills with keyword-based triggering
  • You run agents across multiple machines and want a sync strategy
Skip ahead if
  • You want a copy-paste AGENTS.md template — Theo explicitly withholds his file
  • You don't work with AI coding agents at all
  • You're a beginner looking for a general coding tutorial rather than agent workflow tuning
  • You expect vendor-neutral advice — much of it centers on Theo's T3 Code stack
In brief
  • About 51 minutes long (3075 seconds) with 14 chapters in 5 modules
  • Tools covered: T3 Code, Codex, Claude, Cursor, OpenCode, Bun, Vite, Convex, Cloudflare R2, PostPlan, Tailscale
  • Level: intermediate to advanced — assumes hands-on experience with AI coding agents
  • Core artifacts: a global AGENTS.md rewrite, repo-level agents.md/CLAUDE.md, and a fleet repo of synced skills
  • Includes a data-driven audit of model failure patterns (process kills, draft PRs, overbuild)

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

The New Global AGENTS.md

0:00

Introduction

Theo credits his recent productivity surge to T3 Code, landing dozens of PRs in three days. He spent roughly six hours writing markdown instruction files and six to ten more testing them.

3:37

Syncing Skills Across Machines

He ditched a buggy custom sync system for a fleet repo of markdown files plus a modified CLI proxy, organizing skills into cloud-only, command-center, and universal folders with metadata for machine placement.

4:48

The Old vs. New Global File

The untouched two-year-old file held precedence rules, a no-'any' TypeScript rule, bun preference, and YAGNI. The rewrite opens with a self-introduction; a two-sentence complexity-reduction note stopped over-proactive models from writing excessive code.

7:01

Key Rules and Why He Won't Publish the File

The new file covers type safety, focused tests, concise comments, preferred stack picks, read-only questions, sub-agent file ownership, and 'blast radius' protection. He deliberately withholds the file because the value lies in the reasoning process, urging viewers to author their own.

PR Skills: Babysit, File, and Trigger Design

10:05

The Babysit PR Skill

The skill has agents monitor PRs: rebase main, address review comments, and loop until CI is green. Rules include acting only on comments newer than the latest push, verifying bot findings, and labeling agent comments with a model slug.

12:28

Skill Descriptions as Trigger Keywords

Because a skill's description sits in context even when unused, it should contain trigger keywords for when to pull the skill, not an elaborate功能 description. He split file-PR from babysit-PR since keyword triggering made combining unnecessary.

14:16

PR Writing Standards

Skills include good/bad examples — concise, human-readable titles like 'cut frame size by 70%' beat implementation inventories, and descriptions should open with the problem. Draft PRs are explicitly forbidden since review bots skip them.

18:23

Tuning the T3 Code Repo Files

He prompted an agent to rethink the repo's agents.md/CLAUDE.md to match his global tone and draft alternatives. The drafts fell short, but asking the agent to review his history with models like Fable and Opus proved far more helpful.

Auditing Agent Behavior from History

20:22

Model Failure Patterns

The audit showed Opus 5 killing wrong processes at an alarming rate, Sol filing draft PRs 40% of the time, and models running unneeded checks. Corrections-per-100-messages were tracked per model, with caveats about misleading scores.

23:20

Turning Logs into Rules

He advises reviewing your agent history and asking why decisions were made — failures often stem from outdated instruction files. If a 'simple' change takes 30+ minutes, have the agent categorize its tool calls by usefulness.

The T3 Code Repo agents.md

24:04

Glossary and Non-Negotiables

agents.md must differ from readme.md: it tells agents how to change the codebase. A glossary pins definitions ('you', 'we', 'provider', 'environment') so the agent describes things as the maintainer intends, and three non-negotiables — open core, uncompromising performance, remote-ready — are listed explicitly.

30:12

Multi-Surface Rules and Dev Safety

The config warns agents about killing dev servers and accessing data on a repo mostly contributed to by T3 Code itself. Rules cover checking all entry points across web, desktop, and mobile, adapter-boundary complexity, reverse states, correct package manager usage, and PID tracking for dev instances.

38:13

Results in Practice

Real examples show the payoff: a marketing-site mock built from the prompt 'C plus D plus A, file and babysit,' and a snooze-button bug fixed with a merge-ready PR in about 15 minutes.

Command Center Skills and Takeaways

40:03

Provisioning, File Upload, and HTML Communication

Skills include SSH-runnable machine provisioning, file uploads to a public host with 'requires' metadata, and an HTML communication skill that posts specs and mocks to PostPlan.dev. He stresses these skills improve agent-to-human communication, not code quality.

50:17

Final Advice: Build Your Own

He closes by arguing you should not install someone else's skills, just as you wouldn't blindly install their npm packages. Good skills come from understanding how your own agents work and where they fail — an opportunity to level up your own understanding.

Moment by moment

TimeWhy it matters
8:50The two-sentence self-introduction that curbed over-proactive models — the video's clearest demonstration that small wording changes matter
12:38The key skill-design insight: descriptions exist for keyword triggering, not documentation
20:22Start of the model behavior audit showing Opus 5's dangerous process-killing habit
24:04Why a glossary is one of the most important elements of an agents.md
50:17Theo's closing stance: never copy someone else's agent skills — build from your own failure patterns

Do this next

  1. Audit your own agent history and list the three most common failure modes, then write explicit rules against each
  2. Rewrite your skill descriptions as trigger-keyword lists instead of feature descriptions
  3. Add good/bad examples to one of your instruction files — start with PR titles or commit messages

Common questions

Can I copy Theo's AGENTS.md?

No — he deliberately doesn't publish it. His argument is that the value is in the reasoning process behind the rules, and copying instructions written for his setup would be like using someone else's generic code template.

What makes a good skill description?

It should contain trigger keywords indicating when the skill should be pulled into context, since the description is always present even when the skill isn't used. Elaborate 'what it does' descriptions waste context.

How is agents.md different from readme.md?

A readme gives context for humans and agents evaluating the code; agents.md tells the agent how to change the codebase and what to know beforehand — it's written for agents, not developers.

What failure patterns motivated his rules?

Log audits surfaced Opus killing processes and running jobs, Sol filing draft PRs 40% of the time, review feedback inflating PR scope 3x, agents commenting through the user's account, and changes applied to one client surface but missed on others.

Spot a mistake?

Something look off? Every chapter summary on this page is hand-checked against the video, but we're only human. If you spot an error in a timestamp, summary, or fact, let us know and we'll fix it.

More course guides