Teaching Claude When to Delegate
The first instinct, when you get an AI assistant that can actually run commands and chain steps together, is to point it at everything. Got a deployment to run? Tell Claude to run it. Every step, start to finish, one model doing all the thinking. It works, and for a while that feels like the whole point.
Then you watch what a routine deployment is made of, and the instinct stops making sense. Most of the steps in a typical AWS deploy are small, structured decisions: which of a few paths does this take, does this match a known pattern, is this the kind of change that needs a closer look. A handful of the steps are genuinely hard calls: does this expose something it shouldn’t, does this violate a compliance rule, is this change safe to ship. Those two kinds of decisions don’t deserve the same amount of thinking, and treating them the same way wastes something either way. Send the easy ones through the expensive model and you’re paying premium prices for a coin flip. Send the hard ones through something cheap and fast and you’re gambling with the one part of the job where being wrong actually costs you.
So the useful question is whether this decision needs Claude at all. A lot of what looks like one task is actually several decisions stacked together, and most of them are the boring kind: pick one of a known set of options, score something on a scale, flag yes or no. That’s a classification problem, not a reasoning problem, and classification problems can run on something small and free sitting on your own machine instead of an expensive model charging by the token. The trick is building something that can tell the two kinds of decision apart and send each one where it belongs, automatically, without a person manually deciding every time which model should handle which step.
That’s the actual shape of the system I ended up with. Claude sits at the front, the part a person talks to and the part making any call where being wrong is expensive. Behind it sits a small router, something whose only job is deciding which of several local models should take a given piece of work. And behind that router sits an even smaller classifier, something that does nothing but sort a request into a bucket, fast, for free, with no real reasoning involved. The structured, low-stakes decisions never reach Claude at all. They get caught by the classifier and handed to whichever small local model fits, and Claude only sees the pieces that need its judgment.
Walk an AWS deployment through that split and it gets concrete fast. A good chunk of a deploy is mechanical: formatting a changelog entry, writing a routine commit message, checking that a config file matches a known shape, picking which of a few standard deploy paths this change falls into. None of that needs the expensive model’s judgment, and routing it there is pure overhead. The genuinely risky questions are a different animal: does this change weaken a security control, does it touch something a compliance rule governs, does a proposed data model change quietly blow up your costs or your performance under load. Those are exactly the kind of questions AWS’s own Well-Architected Framework exists to force you to ask, across its familiar pillars like security, cost, and performance. I handle that half by keeping a small set of specialized reviewers, each one scoped to a single pillar, that only get invoked for the deployment steps that touch that kind of risk. They only run on the steps where a wrong call is expensive, which is the entire point.
None of this is about AWS, or about any one deployment pipeline. The deployment is just a clean example because it naturally mixes both kinds of decision in one workflow, which makes the split obvious once you’re looking for it. The actual lesson is more general and it transfers to pretty much any workflow you’d hand to an AI assistant: find the decisions that are structured and cheap to get wrong, and build something small and local to catch them before they ever reach the expensive model. Save the expensive model for the decisions that are expensive to get wrong. That’s a design choice you make once, in how the system is wired, rather than a judgment call you have to keep making by hand every time a new task shows up.