Skills & Subagents
About 15 min read
C5 - Skills, Sub-Agents, and Skill Hygiene
(weight: 7%)
A skill is how the work you do well today becomes work the system does the same way forever. That is exactly why a founder watches this domain closely.
A clean, versioned skill turns one good output into fifty good outputs you never have to babysit. A sloppy or copied one does the reverse: one bad instruction quietly poisons every future run, and nobody notices until a founder is reading something wrong with their name on it.
The keys to a business include the right to leave instructions behind for the machine. This domain is where you prove you can be trusted to do that without making a mess that compounds.
Watch
Main course, one continuous block from the skills deep dive through agent-teams. Watch from 6:08:01 to 7:27:32 of Build & Sell with Claude Code (10+ Hour Course) (jump straight in here: Build & Sell with Claude Code (10+ Hour Course) ). Inside that range:
▸ Skills (what they are, building, reusing, refining): 6:08:01 to about 6:52 ( Build & Sell with Claude Code (10+ Hour Course) )
▸ Sub-agents (stateless, parallel, one-way workers): about 6:52 to 7:11 ( Build & Sell with Claude Code (10+ Hour Course) )
▸ Agent-teams (a lead plus teammates that share a task list and talk to each other): 7:11 to 7:27 ( Build & Sell with Claude Code (10+ Hour Course) )
Supplement (optional, sharpens the mental model of building skills and sub-agents inside a real professional setup): Tim Tech, The Ultimate Claude Code Guide | MCP, Skills & More. Caveat: skip the ~5-min sponsor section (around 20:56-25:44).
For GitHub auth, our daily-driver is gh auth login, not the fine-grained PAT he defaults to.
Curated supplements that sharpen the two halves of this domain. The main course shows the building; these two go deeper on the mental model. Watch them against the C5 Read, not the other way around.
▸ PRIMARY, sub-agents: How to Build Claude Subagents Better Than 99% of People (26:42): How to Build Claude Subagents Better Than 99% of People. The strongest sub-agent supplement: an orchestrator plus cheap specialists, why each sub-agent gets a fresh context window, the YAML front matter, restricting a sub-agent to read-only tools and scoping its MCP access, and the Haiku-workers-under-an-Opus-boss cost model that matches our doctrine.
Caveat: the "ultra code" / dynamic-workflows tangent is fast-moving and unverified, treat it as a "mind your session limits" aside, not a feature to rely on.
▸ PRIMARY, skills: Master 95% of Claude Code Skills in 28 Minutes (27:19): Master 95% of Claude Code Skills in 28 Minutes. The strongest skills supplement: skill anatomy (the YAML, the name and description, the steps), the three-level progressive context model, slash-command versus natural-language triggering, keeping SKILL.md under 500 lines, the build framework, and a caution about malicious skills that pairs with our never-run-untrusted-skill rule.
Caveat: his malicious-skill caution is one thin sentence, the real external-skill vetting discipline is in C6.
▸ OPTIONAL, the orienting overview: From CLI to Platform, Claude Code's Extension System (The Gray Cat, 18:07): From CLI to Platform: Claude Code's Extension System. On-method tour that ties skills and sub-agents together into one picture; a good one-watch orientation if you want the whole extension system in view before the two primaries above.
Caveat: the specific dates, version numbers, and "up to 10 concurrent sub-agents" are point-in-time, verify against current docs.
Honest note on what the video does NOT teach: the building of skills is covered well. Skill hygiene is not. Versioning, retiring instead of deleting, the two hard rules before you trust a skill, and the blast-radius discipline that follows are FF doctrine, not in any public video.
You learn those in the Read section below, and you prove them in the Build and Prove. Do not go looking for a video on them; there isn't one worth your time.
Read (the principles)
A skill is a captured, versioned repeat. It is the same instruction set, run the same way, every time, so a good result stops depending on you remembering how you got it. Physical analogy: it is a jig in a workshop.
You set the jig up carefully once, and then every cut is identical without you measuring again. Business cost of getting it wrong: without skills, your quality lives only in your head, which means the founder is still buying your attention by the hour instead of buying a system that runs.
The build trigger is doing the same task three times by hand. Not once (that is a one-off), not twice (that might be coincidence), but three. The third time is the signal to stop repeating yourself and capture it.
Physical analogy: you do not pave a path the first time someone walks across the grass, but after the third group wears the same line, you pave where people already go. Cost of getting it wrong: build too early and you automate something that was never stable, build too late and you have burned hours doing by hand what the machine should have owned.
A skill is a SKILL.md whose name matches its folder, with a description that says what it does, when to use it, and when NOT to. The "when not to" line is the load-bearing half most people skip. Physical analogy: it is the label on a power tool that says both what it cuts and what it will ruin if you point it at the wrong material.
Cost of getting it wrong: a vague description means the wrong skill fires on the wrong task, and you ship a confident output built by the wrong tool.
Skills are repo-scoped, which is protection, not a limitation. A skill only loads in the repo it lives in, so a "missing" skill almost always means you are in the wrong repo, not that the skill is broken. Physical analogy: the key to your house does not work on your neighbor's door, and you would be alarmed if it did.
Cost of getting it wrong: you waste a session rebuilding a skill that already exists one folder over, or worse, you start expecting a skill's reach to follow you everywhere, which is exactly the boundary that keeps one client's tools out of another client's work.
Never run a skill from an untrusted source. An unvetted skill is a stranger writing orders for your AI, running with all the access you have. Treat it like a script you downloaded off a forum and were about to run with your password already typed in.
Physical analogy: you would not let a stranger leave sticky notes on your tools telling them how to behave when you are not in the room. Cost of getting it wrong: a single hostile or careless instruction can quietly redirect your AI's behavior across every future run, and you handed it the keys yourself.
The improvement loop is how the whole system gets better forever: run it on a second input, log the edge case, bump the version. Run a skill on a genuinely different input, notice where it broke or surprised you, write that learning into the skill, and move the version from 1.0 to 1.1. Physical analogy: a good recipe card gets a margin note every time you cook it ("less salt next time"), so the dish improves across cooks, not just for the one who happened to learn the hard way.
Cost of getting it wrong: a skill that never improves rots quietly, and a fleet of un-versioned skills means nobody can tell which version produced a given output or roll back when one goes bad.
Deprecate, do not delete. When a skill is past its use, retire it and leave a note about why, rather than yanking it out. Physical analogy: you do not rip a sign off a road, you cross it out and post the new direction, so nobody who memorized the old route drives off a cliff.
Cost of getting it wrong: a hard delete breaks every workflow that quietly depended on the skill, and you spend the next week finding out which ones the hard way.
A skill carries blast-radius, so you review it monthly and at every PR. A bad instruction buried in a skill does not damage one output, it silently damages every output that skill touches from then on. Physical analogy: a miscalibrated jig does not ruin one part, it stamps the same flaw into the whole production run.
Cost of getting it wrong: by the time you notice the pattern, fifty deliverables already shipped with the same defect, all with your name on the work.
Skill versus sub-agent versus agent-team: reach for the right one. A skill is a reusable instruction set you call. A sub-agent is a stateless, one-way worker the main agent spins up to do a contained job in parallel and hand the result back (the workers cannot talk to each other).
An agent-team is a lead plus teammates that share a task list and talk to each other to coordinate. Physical analogy: a skill is a labeled jig on the bench; a sub-agent is a runner you send on one errand who reports back and forgets the rest; an agent-team is a small crew with a foreman and a shared job board.
Cost of getting it wrong: over-engineering. Spinning up a multi-agent team for a job a single skill handles burns cost and time and adds failure points, while trying to cram a genuinely parallel, coordinated job into one skill grinds and breaks. Pick the smallest structure that does the job.
For big jobs, one model decides and cheaper workers dig. The pattern that holds up at scale: the founder sets the goal; one primary orchestrator holds the context and makes the calls; scoped execution agents each do one bounded job and report back; an independent review model, ideally from a different model family, tries to break the result; deterministic checks (tests, counts, readbacks) settle what is actually true; and the outcome lands durably in Git. The expensive, high-context model should decide from evidence the workers gathered, not do all the digging itself.
Which model plays which role is configuration, not doctrine: the shape stays, the names change. Physical analogy: a site foreman who reads the inspectors' reports instead of pouring every slab himself.
Cost of getting it wrong: either the expensive model burns its context on grunt work, or nobody independent checks the work, and a green test suite hides real defects. Independent review of this certification's own grading engine found nine defects that every passing test had missed.
When several sessions work at once, know which channel actually delivers. There are three tiers, and they are not equally reliable. (1) Messaging between live sessions on one machine works when the receiving session accepts it, but delivery is conditional: a session in a different permission mode holds each message for its user to approve, and the message expires if nobody does.
A "sent" result means queued, not delivered. (2) Git plus plain state files (a project file, a state file, a receipt) is the durable channel: each session pulls, nobody has to approve anything, and the history is the proof.
(3) A written dispatch prompt that a human opens in a new chat is the fallback that always works. Treat one observed capability as what it is, one observation: never promise that every runtime can start, message, or control other chats.
Physical analogy: a walkie-talkie is fast when someone is listening; the logbook on the desk is what the next shift actually reads. Cost of getting it wrong: work that was "sent" is never received, and nobody notices until the handoff is missing. In one measured run, 11 of 11 cross-session sends expired unread.
You produce training, you do not only consume it (the L5 trainer rung). A real operator can hand a task to a brand-new operator by recording the WHAT and, more importantly, the WHY behind each decision. There is a choice rule: for a quick, low-stakes, one-shot task, record an Agile Loom (narrate it live as you do it once).
For an extensive, multi-step, high-stakes, or multi-operator process, write a 3-Draft Clarity Doc instead (draft the theory, screen-record a real attempt that documents the dead-ends, then let AI polish it while YOU verify every line). Physical analogy: showing a new hire how to flip the sign is a thirty-second over-the-shoulder demo; teaching them to run the register at close needs a written, checked procedure, not a casual demo they will half-remember.
Cost of getting it wrong: use a casual Loom for a high-stakes process and the new operator confidently does it wrong at the worst moment; that backward choice is the tell that someone has not internalized the rule.
Build (your sandbox artifact)
You build one real skill from a category of task you genuinely repeat, named to convention: a folder and SKILL.md at AIOS_CERT_C5_[FirstName]_[SkillName], with the output asset it produces named AIOS_CERT_C5_[FirstName]_[Asset]. To establish the skill is real, name three real times you performed THIS CATEGORY of task, described generically, then recreate the proof with SYNTHETIC inputs only.
Do not name the real client, account, data, or artifact. The SKILL.md must have a name matching its folder, a description stating what it does plus when to use it plus when NOT to, and a metadata block with a version, its triggers (including a /command), an input format, an output format, and a one-line quality_gate that is an actual pass/fail definition of done.
Then you run the improvement loop on it: fire it a second time on a different input, surface and log an edge case, and bump the version from 1.0 to 1.1.
It must come from a category of task you genuinely repeat, not a copy of any reference skill and not anything pulled from an outside source. The "nothing real, ever" rule applies in full: this lives on a feature branch in your C5 sandbox repo, never in prod, with synthetic inputs only, no real client data, no real names, no real account or artifact named, and no live key hard-coded anywhere in the SKILL.md or the output.
Before You Record: Field Notes
▸ The /command often does nothing, because slash-command support changes weekly and a fresh skill may not register. This is expected.
Fire the skill with the PLAIN-ENGLISH trigger instead, for example: "Use the email QC skill to review this draft: ...". The doc allows /command OR plain-English trigger, so plain English is a fully valid demo.
▸ If even plain English does nothing, ask Claude Code: "Is there a skill registered at [path]? List the skills you see and the exact way to invoke it." Common causes: wrong repo open, skill not in the folder Claude Code scans, or the panel needs reloading.
▸ The task category must be REAL (something you truly repeat). Only the demo inputs are synthetic. Loom 1 makes you name three real times you did it.
▸ The 1.0 to 1.1 version diff with a logged learning must appear ON camera. It is the un-fakeable proof you ran the loop.
Prove (record it + how it is judged)
Record two narrated, face-on-camera Looms in your C5 sandbox branch.
Loom 1 (3 to 6 minutes), the skill build and improvement loop, in this order:
- Open your SKILL.md and read the description and the one-line quality_gate aloud, then say in your own words what the skill does and when NOT to use it.
- State the 3x trigger: name three real times you performed this CATEGORY of task by hand (described generically, no real client, account, data, or artifact named) that made you build this.
- Fire the skill live by its /command or plain-English trigger, and show the real named output asset appearing on screen.
- Run the improvement loop on camera: run it a second time on a different input, show the edge case it surfaced, show the logged "Edge cases/learnings" line, and show the version diff from 1.0 to 1.1.
- Say one sentence on why skills are repo-scoped (a missing skill means wrong repo) and one sentence on why you never run an untrusted skill. Close by stating this was built on a branch, not prod.
Must show, in this order:
▸ SKILL.md open with the description plus quality_gate read aloud, then explained in your own words
▸ Three real times you performed this category of task, described generically with no real client/account/data/artifact named (the 3x trigger)
▸ The skill firing live by /command or trigger AND the real output asset appearing on screen
▸ The second run on a different input surfacing an edge case
▸ The logged Edge cases/learnings line AND the version diff showing 1.0 to 1.1
▸ The repo-scoped explanation plus never-run-untrusted-skill, stated in your own words
▸ Stated and visible that the work is on a branch, not in prod
Loom 2 (2 to 4 minutes), produce a teaching hand-off (the trainer rung):
Pick the quick, low-stakes side of your skill (for example, how to fire it and read its output).
- State which production format you chose and WHY, using the choice rule out loud: "this is a quick low-stakes task so I am doing an Agile Loom, not a 3-Draft Clarity Doc."
- Do the task once while narrating what you are doing AND why at each decision, as if handing it to a brand-new operator.
- Name one case where you would instead reach for the 3-Draft Clarity Doc (a high-stakes, multi-step, or multi-operator process).
Must show:
▸ The format choice stated with the choice-rule reason
▸ The task narrated live with the WHY behind each step, aimed at a new operator
▸ One named example of when a 3-Draft Clarity Doc would be the right format instead
▸ A clean continuous take a new hire could actually follow
What good looks like: a skill that is unmistakably yours, traceable to three real repeats; a metadata block that is complete with a quality_gate that actually defines done; a live run that really fires and produces the named asset on screen; and a real 1.0 to 1.1 diff with a logged learning, which is the un-fakeable proof that you ran the improvement loop and did not just talk about it. Narrate decisions, not clicks: say WHY you built it and WHY the second run mattered, in your own words, not by reading the file aloud.
Face on camera, voice on, one continuous take. For Loom 2, the take is itself the artifact, so it has to be clean enough that a new operator could actually follow it, and the choice rule has to be applied the right way around.
Rest stop
That is C5. You captured a repeat, gave it a version and a quality gate, improved it on a real second input, and proved you can hand it to someone else cleanly. Your progress is saved. This is a natural place to stop. Stand up, let it settle, and go on to C11 when you are ready.