<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SecondShiftDev</title>
    <description>The latest articles on DEV Community by SecondShiftDev (@secondshiftdev).</description>
    <link>https://dev.to/secondshiftdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4231580%2F24db2ea1-b92d-4165-a385-5c6c7efbb993.png</url>
      <title>DEV Community: SecondShiftDev</title>
      <link>https://dev.to/secondshiftdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/secondshiftdev"/>
    <language>en</language>
    <item>
      <title>Stop Burning Tokens: Cheap-Model Delegation With Verification</title>
      <dc:creator>SecondShiftDev</dc:creator>
      <pubDate>Fri, 27 Nov 2026 17:24:43 +0000</pubDate>
      <link>https://dev.to/secondshiftdev/stop-burning-tokens-cheap-model-delegation-with-verification-35mh</link>
      <guid>https://dev.to/secondshiftdev/stop-burning-tokens-cheap-model-delegation-with-verification-35mh</guid>
      <description>&lt;h1&gt;
  
  
  Stop Burning Tokens: Cheap-Model Delegation With Verification
&lt;/h1&gt;

&lt;p&gt;The video version, "Stop Burning Tokens: Cheap-Model Delegation With Verification," goes public on YouTube on Friday, November 27, 2026. This article is the written version.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cheap tier is where money is saved or quietly lost
&lt;/h2&gt;

&lt;p&gt;Every subagent config in the previous article named a model tier. Those tiers are not decoration. Hand a cheap model the wrong task and it costs more than the premium model would have, because you pay for the work, the failure, and the redo. Hand it the right task, in the right shape, with a check at the end, and the same work lands for a fraction of the bill. The difference is a routing rule, a written packet, and verification that actually happens.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The default is the waste
&lt;/h2&gt;

&lt;p&gt;Nobody decides to waste money on tokens. They just never decide anything. The tool opens on the strongest model, so the strongest model gets every task: the design question, the tricky debugging session, and also the doc reformat.&lt;/p&gt;

&lt;p&gt;Be clear about what the premium model is actually better at. Judgment under ambiguity. Ranking one guess against another. Noticing the question itself is wrong. Pattern work uses none of that: when the spec is written and the output is checkable, the premium buys the identical outcome at a higher rate. One agent on the default is a rounding error. A team on it all day is a line item.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Route by judgment: the three checks
&lt;/h2&gt;

&lt;p&gt;The routing rule is one question: how much judgment does this task need? Three checks answer it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Is the spec fully written down,&lt;/strong&gt; so the worker executes instead of deciding?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is the work pattern work,&lt;/strong&gt; where the tenth example looks like the first?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is the output mechanically checkable,&lt;/strong&gt; so a command catches a wrong answer, not taste?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Three yeses, the task goes cheap. Any no, it stays up. What stays premium is the mirror image: design decisions, hard debugging where guesses have to be ranked, final review of a risky diff, and any task where the spec itself is the open question. If the worker has to decide what correct means, that decision is the expensive part.&lt;/p&gt;

&lt;p&gt;Watch it split one small feature: a slug function built from four test cases. Scaffolding extra cases goes cheap, the suite judges. The implementation goes cheap too, because its packet carries the cases as the spec. Two jobs do not go cheap: behavior the spec never mentions stays with the orchestrator, and the final read of the diff goes premium.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The packet carries the judgment
&lt;/h2&gt;

&lt;p&gt;Routing a task cheap does not make it safe. The packet does. Most delegation failures are not model failures. The worker got a two line prompt, guessed at the constraints nobody wrote down, and guessed wrong in a direction nobody checked. A cheap model with a tight packet beats a premium model with a vague one.&lt;/p&gt;

&lt;p&gt;Five parts, the same every time: a one sentence goal; the specific context that matters; steps in order; an exact output format; and the verification, named up front, so the worker knows the result gets tested, not trusted.&lt;/p&gt;

&lt;p&gt;Here is a real one. Goal: implement a slug function so the existing suite passes. Context: the spec is the test file, never edited; standard library only. Steps: read the tests, replace the stub, run the suite. Output: the edited file, plus a report of what ran and what was not verified. Notice what is missing: a single decision. Every choice was made before the cheap model saw the task.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Verification is part of the price
&lt;/h2&gt;

&lt;p&gt;Cheap delegation has a price. Verification is not overhead added on top of delegation. It is part of the delegation cost: cheap worker, plus the suite run, plus a read of the diff, plus a reviewer pass on anything risky, against premium on every keystroke. The left side still wins on any task that passed the three checks.&lt;/p&gt;

&lt;p&gt;The checks run in a fixed order. First, the command the packet named. Second, the diff, read properly, not skimmed. Third, for risky changes, a reviewer on a different model than the one that wrote the code, because a model cannot grade its own blind spots.&lt;/p&gt;

&lt;p&gt;Skipping verification does not delete that cost. It defers it into rework, which bills later, at a worse moment. And hold onto one warning: a green suite proves only what the spec covers, and uncovered behavior still ships inside the diff. That is why the diff gets read even when every test passes.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Cheap work, named
&lt;/h2&gt;

&lt;p&gt;What routinely goes cheap is decided by the check, not the task name. Test scaffolding from a written spec, judged by the suite. Doc drafts, provided every example gets run for real before acceptance. Research briefs, provided the format forces named sources and an unconfirmed section. Boilerplate across many files, because the diff reads fast.&lt;/p&gt;

&lt;p&gt;None of these is cheap because the work is unimportant. Each is cheap because a wrong answer has nowhere to hide. A task that loses its mechanical check loses its cheap routing.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Track it or it drifts
&lt;/h2&gt;

&lt;p&gt;Routing rules decay. Models change, prices change, and your feel for what the cheap tier can handle is a memory, and memory is not data. So every delegated task gets one line in a log: the task, the tier, its cost in tokens or turns, and whether it passed verification.&lt;/p&gt;

&lt;p&gt;Once a week, read the log and move things. Task types that keep failing verification on the cheap tier move up, no sentimentality. Premium tasks that passed trivially three times running move down. Spend per task is a diagnostic, not just accounting: a mechanical task costing more turns than a feature build means the worker was looping, or the packet was bad, and the packet gets fixed before the model gets blamed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest failure: the decision nobody made on purpose
&lt;/h2&gt;

&lt;p&gt;The pattern to design against is a cheap model handed a task that was secretly a judgment call. The packet says implement the slug function. The four test cases look like a complete spec. They are not: none of them says what happens to accented characters.&lt;/p&gt;

&lt;p&gt;The worker reaches an input like Crème brûlée, and the spec runs out. It decides, confidently and silently: strip the accented letters entirely. Crème comes out as crme. The suite stays green, because no test covers the case. The report says done, accurate about everything except the thing that mattered. A design decision got made by the cheapest model in the building, recorded nowhere.&lt;/p&gt;

&lt;p&gt;Verification catches it, and notice which check does the catching. Not the suite. The diff read, where the orchestrator sees a behavior choice that exists in no spec and no packet. The cost, stated plainly: the behavior gets decided on purpose, the implementation gets redone, and the task gets paid for twice.&lt;/p&gt;

&lt;p&gt;The fix is one line, in every packet and every worker config: when the spec runs out, stop and ask. Cheap models are excellent at executing decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get the Starter Pack
&lt;/h2&gt;

&lt;p&gt;The free Multi Agent Starter Pack is the three CLAUDE.md templates plus the one page orchestration checklist from the first article in this series:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Download it on GitHub: &lt;a href="https://github.com/second-shift-dev/multi-agent-starter-pack" rel="noopener noreferrer"&gt;https://github.com/second-shift-dev/multi-agent-starter-pack&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Or get it by email and join the Second Shift Dev list for new videos and the December launch of the full Multi Agent Coding Ops Kit: &lt;a href="https://second-shift-dev.kit.com/f1a6475d0f" rel="noopener noreferrer"&gt;https://second-shift-dev.kit.com/f1a6475d0f&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The video version goes public on YouTube on Friday, November 27, 2026, if you want to see the routing worked live on a real feature.&lt;/p&gt;

&lt;p&gt;The day job ends. The agent team clocks in.&lt;/p&gt;

&lt;p&gt;Second Shift Dev&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>Subagents, Built Live: Reviewer, Tester, Researcher, Doc Writer</title>
      <dc:creator>SecondShiftDev</dc:creator>
      <pubDate>Fri, 20 Nov 2026 17:25:13 +0000</pubDate>
      <link>https://dev.to/secondshiftdev/subagents-built-live-reviewer-tester-researcher-doc-writer-4lp1</link>
      <guid>https://dev.to/secondshiftdev/subagents-built-live-reviewer-tester-researcher-doc-writer-4lp1</guid>
      <description>&lt;h1&gt;
  
  
  Subagents, Built Live: Reviewer, Tester, Researcher, Doc Writer
&lt;/h1&gt;

&lt;p&gt;The video version of this article, "Subagents, Built Live: Reviewer, Tester, Researcher, Doc Writer," goes public on YouTube on Friday, November 20, 2026, and shows all four configs written live in a real repo. This article is the written version, laid out so you can copy the structure.&lt;/p&gt;

&lt;h2&gt;
  
  
  A subagent is a job description, not a personality
&lt;/h2&gt;

&lt;p&gt;Most people create a subagent by writing a personality. Friendly. Helpful. Expert at everything. Then they give it every tool in the box and wonder why it drifts, edits files it should only have read, and reports success nobody can check. That is a coworker with no job description and a master key.&lt;/p&gt;

&lt;p&gt;A subagent is not a second generalist. It is a narrow brief with permissions attached: one job, a defined set of files it may read or write, a fixed report shape, and a list of things it must never do. The personality is irrelevant. The boundaries are the product.&lt;/p&gt;

&lt;p&gt;This article builds four of them on the demo project from the earlier videos: a reviewer, a test writer, a researcher, and a doc writer.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The anatomy: five parts, same every time
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Role.&lt;/strong&gt; One job in one sentence, plus when to use it and when not to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inputs.&lt;/strong&gt; The packet: goal, files to read, the diff or the spec, the exact verification command.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tools and permissions.&lt;/strong&gt; What it may read, write, and run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Output format.&lt;/strong&gt; A fixed report shape, checkable in under a minute.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The never do list.&lt;/strong&gt; Blunt prohibitions, specific to that role.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Permissions are what separate roles, not tone of voice. If two subagents can both edit everything, you do not have roles. You have copies.&lt;/p&gt;

&lt;p&gt;Two rules sit underneath all four configs. The reviewer is read only. And the one writer rule: exactly one agent has write access to a given file at a time, so subagents that need the same file run in sequence, never in parallel.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The reviewer: read only on purpose
&lt;/h2&gt;

&lt;p&gt;The reviewer's job, in one sentence: check a finished diff against the original packet and the repo rules, and report what is wrong.&lt;/p&gt;

&lt;p&gt;Its packet has four fields: the original packet, the diff, the files changed, and the test command, from the repo rules file, not invented on the spot.&lt;/p&gt;

&lt;p&gt;Its permissions are the whole design. Read any file. Run the test suite and read the output. Write nothing. No edits, no formatting fixes, no helpful little commits. Its report: findings first, by severity, each naming the file, what is wrong, and the evidence. Then what it checked, what it did not check, and a verdict: accept, or send back. Never do: never fix a finding yourself, never soften one to be polite, never approve work you did not read, never edit tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The test writer: writes only in tests
&lt;/h2&gt;

&lt;p&gt;The test writer's job: write tests for a stated behavior, from the spec in its packet. Tests only. Never the implementation.&lt;/p&gt;

&lt;p&gt;Its packet: the behavior spec with examples, the function signature, and the existing test file to copy style from. Permissions: write only in tests, only the file named in the packet. Read the app code, run the suite, touch no implementation.&lt;/p&gt;

&lt;p&gt;In the demo, its new tests fail, because the function under test is still a stub. That failure is the correct result, and its report says so plainly: tests written, command run, real result, cases left out. Never do: never edit a test to match wrong output, never write the implementation to make its own tests pass, never delete or weaken an existing test, never report a skipped test as passing. Tests are the spec.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The researcher: writes nothing
&lt;/h2&gt;

&lt;p&gt;The researcher's job: answer one specific question from named sources, and return a short brief the orchestrator can act on.&lt;/p&gt;

&lt;p&gt;Its packet is one question in one sentence, the decision that answer will feed, and the sources it may use, official docs first. If the question takes two sentences, it is two packets. Permissions: read only on the repo, plus the named sources. It writes nothing in the repo. Its only product is the brief.&lt;/p&gt;

&lt;p&gt;The brief has a fixed shape: the answer in the first two lines, then evidence with each source named, then what it could not confirm, labelled unconfirmed and never guessed at. Never do: never turn a brief into a code change, never present an unconfirmed claim as a fact, never widen the question, never bury the answer. Bulk reading is a cheaper model job, safe only because the format does the disciplining.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The doc writer: runs last
&lt;/h2&gt;

&lt;p&gt;The doc writer's job: turn finished, verified work into documentation that matches what the code actually does: a README section, a usage example, a changelog entry.&lt;/p&gt;

&lt;p&gt;It runs last, and its packet proves it: the accepted diff, the reviewer verdict, and a usage example that has actually been run. No accepted diff, no docs. Permissions: write only in the documentation files named in its packet, read code and tests freely, run examples, change no code, ever. If code and intended docs disagree, the disagreement goes in its report, not papered over. Its report is the doc change, the example with its real run output, the disagreements list, and what it left out.&lt;/p&gt;

&lt;p&gt;Never do: never document a feature that is not in the accepted code, never invent example output, never describe planned behavior in the present tense. The example run is not optional.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Four roles, one task
&lt;/h2&gt;

&lt;p&gt;Now the four on one task, in order, with who writes what.&lt;/p&gt;

&lt;p&gt;The test writer goes first, writes only the test file, and its tests fail honestly against the stub. Then one worker implements the change in one file. The reviewer goes next and writes nothing: it reads the diff, runs the full suite, and returns findings or a verdict. If a factual question came up, the researcher answers it in a brief; it never enters the code path itself. The doc writer goes last, after acceptance, with an example it ran itself.&lt;/p&gt;

&lt;p&gt;At every step you can point at exactly who was allowed to write the file that changed. Fail that pointing test and you do not have subagents. You have a crowd.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest failure: the reviewer who fixed it quietly
&lt;/h2&gt;

&lt;p&gt;The pattern to design against is a reviewer with write access. It finds a real problem in a diff. Instead of reporting it, it quietly fixes the code itself, because fixing feels more helpful than reporting.&lt;/p&gt;

&lt;p&gt;Three things are lost at once. Nobody learns the worker made the mistake. The fix was never reviewed, because the reviewer checked its own work. And the report says clean, so the record shows a diff that never had a problem. A lie by omission.&lt;/p&gt;

&lt;p&gt;You do not fix this with a sterner prompt. You fix it structurally, by taking away the write permission. Read only is the first permission decision in every config here.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get the Starter Pack
&lt;/h2&gt;

&lt;p&gt;The project templates and orchestration checklist from this series are free in the Multi Agent Starter Pack. The four full subagent configs built in the video are the core of the Multi Agent Coding Ops Kit that launches in December:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Download it on GitHub: &lt;a href="https://github.com/second-shift-dev/multi-agent-starter-pack" rel="noopener noreferrer"&gt;https://github.com/second-shift-dev/multi-agent-starter-pack&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Or get it by email and join the Second Shift Dev list for new videos and the December launch of the full Multi Agent Coding Ops Kit: &lt;a href="https://second-shift-dev.kit.com/f1a6475d0f" rel="noopener noreferrer"&gt;https://second-shift-dev.kit.com/f1a6475d0f&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The video version of this article, "Subagents, Built Live: Reviewer, Tester, Researcher, Doc Writer," goes public Friday, November 20, 2026 on the Second Shift Dev YouTube channel, to watch the four configs built and run live.&lt;/p&gt;

&lt;p&gt;The day job ends. The agent team clocks in.&lt;/p&gt;

&lt;p&gt;Second Shift Dev&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>CLAUDE.md That Actually Works: Templates for Real Projects, Not Toys</title>
      <dc:creator>SecondShiftDev</dc:creator>
      <pubDate>Fri, 13 Nov 2026 22:56:50 +0000</pubDate>
      <link>https://dev.to/secondshiftdev/claudemd-that-actually-works-templates-for-real-projects-not-toys-4h4p</link>
      <guid>https://dev.to/secondshiftdev/claudemd-that-actually-works-templates-for-real-projects-not-toys-4h4p</guid>
      <description>&lt;h1&gt;
  
  
  CLAUDE.md That Actually Works: Templates for Real Projects, Not Toys
&lt;/h1&gt;

&lt;p&gt;Watch the video version here: &lt;a href="https://www.youtube.com/watch?v=KZxDAnxXJCQ" rel="noopener noreferrer"&gt;CLAUDE.md That Actually Works: Templates for Real Projects, Not Toys&lt;/a&gt; (9 minutes, 3 seconds). This article is the written version, laid out so you can copy the sections that fit your repo.&lt;/p&gt;

&lt;h2&gt;
  
  
  The file is the only memory your agent has
&lt;/h2&gt;

&lt;p&gt;CLAUDE.md is a plain markdown file that Claude Code loads into every session automatically, before you type anything. Other agent tools have their own version of the same idea, and the principle holds either way: this file is the only memory your agent reliably has.&lt;/p&gt;

&lt;p&gt;Sessions end and context windows get compacted. A fresh session tomorrow knows nothing about what today's session figured out, except what is written down. So the rules live in a file, not in your head and not in chat history.&lt;/p&gt;

&lt;p&gt;One catch shapes everything else. The file is rented context: it loads every time, so every line costs tokens and attention, and agents skim long files the same way people do. A 600 line CLAUDE.md is not thorough. It is ignored in the middle. So the templates carry a hard rule: keep the file under about 120 lines. If a line does not change agent behavior, it does not belong.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Commands, not guesses
&lt;/h2&gt;

&lt;p&gt;The first section is commands, labeled "run these, not guesses." Install. Build. Test. Lint. Run. Each one is the exact string the agent can paste, not a description to interpret.&lt;/p&gt;

&lt;p&gt;Two details matter. First, give both the full suite command and the single file command. An agent that can only run a ten minute suite to check a one line fix will start skipping the check, and it will not announce that decision. Second, exact commands end the package manager guessing game. Nobody has time to watch an agent try npm in a pnpm repo, then yarn, then bun, burning turns on archaeology you could have prevented with one line. The command is decided before the work starts, not improvised after it.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Conventions and boundaries
&lt;/h2&gt;

&lt;p&gt;Conventions are the handful of patterns that actually matter in the repo. How files are named. How errors are handled, with a real file named as the example. What gets logged, and the one rule with no exceptions: secrets, tokens, and personal data never get logged, printed, or committed.&lt;/p&gt;

&lt;p&gt;Then boundaries, and boundaries are the point of the whole file. Never edit generated files, lockfiles, or migrations, and if a task seems to require it, say so instead of doing it. Never commit straight to the main branch. No new dependencies without naming the package and why. These lines read like distrust because they are. An agent optimizes for finishing the task in front of it. The boundary lines are how you tell it which finishes do not count.&lt;/p&gt;

&lt;p&gt;The working agreement sits in the same file: read before writing, meaning open the files you will touch and a test that covers them, and keep diffs small and reviewable. A definition of done, covered below, closes the file.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. One skeleton, three projects
&lt;/h2&gt;

&lt;p&gt;The skeleton never changes. Project, commands, conventions, boundaries, how to work, definition of done. What changes is the layer you add for the kind of project it is.&lt;/p&gt;

&lt;p&gt;The general repo template is the base.&lt;/p&gt;

&lt;p&gt;The Python microservice template adds architecture rules. Handlers stay thin: parse the request, call a service function, format the response. Business logic lives in the services layer, never in route handlers. Every external call goes through a clients layer, so tests can fake the outside world at one seam. Config comes from environment variables, read once, in one config file. Its testing rules are blunt: every behavior change ships with a test, a bug fix starts as a failing test, and tests never touch the network, a real database, or the clock.&lt;/p&gt;

&lt;p&gt;The multi agent template adds governance, because parallel agents fail in social ways. Named roles: an orchestrator that owns the plan and reviews everything, workers that execute one packet each, a reviewer that is read only. File ownership: one writer per file at a time, and shared contract files belong to the orchestrator alone. The packet rule, in four words: no packet, no work. Cost discipline: bulk work goes to the cheapest model that can do it, premium models are for design, hard debugging, and final review.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Rules, not state
&lt;/h2&gt;

&lt;p&gt;The fastest way to ruin a good CLAUDE.md is to start using it as a notebook. Current tasks. Progress notes. Decisions from last Tuesday. It feels helpful for about a day.&lt;/p&gt;

&lt;p&gt;Then the state moves on and the file does not, and now your rules file is lying to every new session. The agent reads that a migration is still pending three weeks after it shipped, and plans around a world that no longer exists.&lt;/p&gt;

&lt;p&gt;Rules of the game go in the file. State of the game goes in the code, the tests, and the task list, the places that stay current on their own. If you keep one split from this article, make it that one.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. A definition of done
&lt;/h2&gt;

&lt;p&gt;Every template ends with a definition of done. Done means three things: the change itself, tests that cover it, and a verification summary that says what ran, what passed, and what was not checked.&lt;/p&gt;

&lt;p&gt;That third item does most of the work. "Tests pass" is a claim. A summary that names the command, the result, and the gaps is something you can check in a minute. It also ends the oldest argument in agent work: the agent says done and means "I wrote some code," you say done and mean "it works and I can prove it." Write the definition down once and the argument stops.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest failure: the green suite that proved nothing
&lt;/h2&gt;

&lt;p&gt;The strictest line in my templates says tests are the spec, and tests never get edited to make failing code pass. That line exists because the failure it prevents is quiet and total.&lt;/p&gt;

&lt;p&gt;It goes like this. An agent implements something slightly wrong. The test catches it. The agent, optimizing for a green suite, edits the test to match its own output. Suite green. Report says done. And the spec is now whatever the agent happened to write, chosen by nobody, and every later change builds on it. A green suite that was edited to be green proves nothing at all.&lt;/p&gt;

&lt;p&gt;So the rule is structural, not moral. Agents do not get write access to the spec they are graded against. And that gives you the maintenance rule for the whole file: when an agent makes the same mistake twice, that is not bad luck. It is a missing line. Add the line. Half the lines in these templates started exactly that way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get the Starter Pack
&lt;/h2&gt;

&lt;p&gt;The free Multi Agent Starter Pack is the three CLAUDE.md templates from this article, general repo, Python microservice, and multi agent project, plus the one page orchestration checklist from the first video in this series:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Download it on GitHub: &lt;a href="https://github.com/second-shift-dev/multi-agent-starter-pack" rel="noopener noreferrer"&gt;https://github.com/second-shift-dev/multi-agent-starter-pack&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Or get it by email and join the Second Shift Dev list for new videos and the December launch of the full Multi Agent Coding Ops Kit: &lt;a href="https://second-shift-dev.kit.com/f1a6475d0f" rel="noopener noreferrer"&gt;https://second-shift-dev.kit.com/f1a6475d0f&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The video version of this article is here if you want to see the templates walked through section by section: &lt;a href="https://www.youtube.com/watch?v=KZxDAnxXJCQ" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=KZxDAnxXJCQ&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The day job ends. The agent team clocks in.&lt;/p&gt;

&lt;p&gt;Second Shift Dev&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>claudecode</category>
    </item>
    <item>
      <title>I Run 4 Coding Agents at Once: My Full Orchestration Setup</title>
      <dc:creator>SecondShiftDev</dc:creator>
      <pubDate>Sat, 07 Nov 2026 06:31:41 +0000</pubDate>
      <link>https://dev.to/secondshiftdev/i-run-4-coding-agents-at-once-my-full-orchestration-setup-3j0f</link>
      <guid>https://dev.to/secondshiftdev/i-run-4-coding-agents-at-once-my-full-orchestration-setup-3j0f</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpyv0okh6of33mwdwlzxm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpyv0okh6of33mwdwlzxm.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  I Run 4 Coding Agents at Once: My Full Orchestration Setup
&lt;/h2&gt;

&lt;p&gt;Watch the video version here: &lt;a href="https://www.youtube.com/watch?v=hUVGVdimCRw" rel="noopener noreferrer"&gt;I Run 4 Coding Agents at Once: My Full Orchestration Setup&lt;/a&gt; (8 minutes, 9 seconds). This article is the written version of the same system, with the pieces laid out so you can copy the parts that fit your setup.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem is management, not models
&lt;/h2&gt;

&lt;p&gt;Leave one AI coding agent alone for an hour and you get a chaotic intern. Fast, eager, weirdly confident, and every so often completely wrong. Leave four alone together and they overwrite each other's work, duplicate each other, and burn your token budget arguing about who is right.&lt;/p&gt;

&lt;p&gt;I run four coding agents at once: Claude Code, Codex, Antigravity, and Hermes. None of them runs unmanaged. This is the full setup: how the team is cast, how work gets briefed, where the money goes, and why nothing ships until it has been checked. It is about managing agents like a team, not about which model is best.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The cast: one orchestrator, the rest are workers
&lt;/h2&gt;

&lt;p&gt;Rule one: not every agent gets to be a general purpose coder. I run one orchestrator and a handful of workers, and they are not interchangeable.&lt;/p&gt;

&lt;p&gt;The orchestrator is the only agent I actually talk to. Its job is not to write the most code. Its job is to break a goal into tasks, pick which worker gets each one, and review whatever comes back. Tech lead, not typist.&lt;/p&gt;

&lt;p&gt;Workers get exactly one assigned task each. One tool takes an architectural change, another takes the boilerplate, a third knocks out a quick prototype. A worker does not need the ten thousand foot view. It needs a brief it cannot misread.&lt;/p&gt;

&lt;p&gt;Splitting the thinking from the doing is the whole trick. It is what keeps agents from wandering off into a big codebase and getting lost.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Roles before tools
&lt;/h2&gt;

&lt;p&gt;The mistake I see everywhere in this space is model chasing. A new tool drops, everyone switches, and the same process problems follow them to the new tool.&lt;/p&gt;

&lt;p&gt;In a multi agent setup, the role matters more than the model. Every time.&lt;/p&gt;

&lt;p&gt;Roles are defined by the work. A refactorer reduces complexity without changing behavior, and that is all it does. A test writer writes tests, and it is flatly not allowed to fix the code it is testing. A feature implementer builds to a spec. Hand a refactoring job to an implementer and it will helpfully add a feature while it cleans up. Now your cleanup has a bug in it.&lt;/p&gt;

&lt;p&gt;The useful part is that tools can swap in and out of a role whenever pricing or performance changes. The role and its boundaries stay put. That is what makes this a system instead of a pile of prompts glued to one model.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The packet: briefs an agent cannot misread
&lt;/h2&gt;

&lt;p&gt;Open ended prompts are where agents drift. So I do not send prompts anymore. I send packets.&lt;/p&gt;

&lt;p&gt;Every task that goes from the orchestrator to a worker is a self contained brief, and it always has the same five parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Goal.&lt;/strong&gt; One sentence. What done looks like.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Context.&lt;/strong&gt; The specific files, signatures, and constraints that matter. Not the entire codebase dumped in for luck.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Steps.&lt;/strong&gt; The sequence I expect the worker to follow.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Output format.&lt;/strong&gt; Exactly what comes back: a diff, tests, a summary, in a stated shape.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verification.&lt;/strong&gt; Stated up front, so the worker knows from the start that its work will be tested, not trusted.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A good packet has a simple test: a worker with zero memory of the conversation could run it cold. When a worker fails, I do not type "try again" and cross my fingers. I fix the packet. Nine times out of ten, the failure was in the brief, not in the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Cost routing: pay for judgment, not for typing
&lt;/h2&gt;

&lt;p&gt;Run four agents on top tier models for everything and you will set money on fire. Work gets routed by how much judgment it actually needs, not by habit.&lt;/p&gt;

&lt;p&gt;The bulk work goes to fast, cheap models: docs, type updates, boilerplate, first drafts, summaries. That work is pattern matching. A premium model does not do it better, it just does it at three times the price. Premium models are saved for the orchestrator, for design decisions, and for hard debugging.&lt;/p&gt;

&lt;p&gt;I track spend per task too. When a simple refactor costs more than a feature build, the agent is stuck in a loop or the packet was bad. Cost is a diagnostic. Treat it like one.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Verification before trust
&lt;/h2&gt;

&lt;p&gt;This is the load bearing wall of the whole setup. Nothing merges because a worker says it is done. Agent output is guilty until proven innocent.&lt;/p&gt;

&lt;p&gt;Verification happens in three stages:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Tests.&lt;/strong&gt; The worker ships tests with its code, runs them, and reports the real output. Failures included. Especially failures.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The diff.&lt;/strong&gt; No agent commits straight to the main branch, ever. Every change shows up as a readable diff that a person can actually inspect.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A reviewer agent.&lt;/strong&gt; A different model from the one that wrote the code, read only access, one job: find what is wrong. The reviewer does not share the author's blind spots, which is exactly the point.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That last stage catches the failure mode these tools specialize in: confident, polished, completely wrong output. A worker's report is a claim. Tests and diffs are evidence. Run on evidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Rules in CLAUDE.md, not in chat history
&lt;/h2&gt;

&lt;p&gt;Agents forget. Context windows end, sessions restart, and a fresh session on one machine knows nothing about what another machine figured out yesterday. The fix is boring and it works: a written project brief that every agent reads at the start of every session. In Claude Code that file is CLAUDE.md.&lt;/p&gt;

&lt;p&gt;Mine has four kinds of content:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The exact commands to build and test, written as "run these, not guesses."&lt;/li&gt;
&lt;li&gt;The conventions that actually matter for that project.&lt;/li&gt;
&lt;li&gt;The boundaries: what never gets edited, what never gets logged, where the secrets live.&lt;/li&gt;
&lt;li&gt;A definition of done, so "done" stops being a matter of opinion.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I am picky about what goes in. Rules of the game, yes. State of the game, no. Current state lives in the code and the task list, where it stays current on its own. And the file stays short enough that an agent will actually read all of it. Do that, and the same rules greet every agent, on every machine, every session.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this exists: the honest failure
&lt;/h2&gt;

&lt;p&gt;Early on I pointed two agents at one bug, with no roles, no packets, and no reviewer, and told them to collaborate. One changed the code. The other reverted it and applied its own fix. Then the first one reapplied its version. Back and forth they went, both confident, both documenting their reasoning, and the code ended up worse than where it started. Plus a token bill for the privilege.&lt;/p&gt;

&lt;p&gt;More agents had just made more noise. Every piece of this system exists because that afternoon showed it had to.&lt;/p&gt;

&lt;h2&gt;
  
  
  Get the Starter Pack
&lt;/h2&gt;

&lt;p&gt;The free Multi Agent Starter Pack is the three CLAUDE.md templates from this system plus the one page orchestration checklist I run before any multi agent session:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Download it on GitHub: &lt;a href="https://github.com/second-shift-dev/multi-agent-starter-pack" rel="noopener noreferrer"&gt;https://github.com/second-shift-dev/multi-agent-starter-pack&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Or get it by email and join the Second Shift Dev list for new videos and the December launch of the full Multi Agent Coding Ops Kit: &lt;a href="https://second-shift-dev.kit.com/f1a6475d0f" rel="noopener noreferrer"&gt;https://second-shift-dev.kit.com/f1a6475d0f&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The video version of this article is here if you want to see the setup walked through: &lt;a href="https://www.youtube.com/watch?v=hUVGVdimCRw" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=hUVGVdimCRw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The day job ends. The agent team clocks in.&lt;/p&gt;

&lt;p&gt;Second Shift Dev&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>productivity</category>
      <category>claudecode</category>
    </item>
  </channel>
</rss>
