Knowledges 9 min

Models, loops, harness: vibe coding is an opportunity

The model is what you rent. The harness is what you build. Eight practical perspectives on codebases, skills, queues, human oversight and helping vibe coders ship dependable software.

Also in: Tiếng Việt · 中文 · 한국어 · 日本語

My original sketch: the opportunity lies in the difficult transition to dependable operation. Percentages are a metaphor, not experimental measurements.
My original sketch: the opportunity lies in the difficult transition to dependable operation. Percentages are a metaphor, not experimental measurements.

You see me posting model benchmarks all the time, but honestly, models are the part I worry about least. Let me explain why, and where I see the opportunity 😁

1/ What is a harness?

Picture a Formula 1 car. Everyone loves the shiny, roaring engine, the model. But races are won by the chassis, aerodynamics, steering and the rest of the system too. Together, that is the harness.

For AI coding, a harness is the environment the model operates in: skills, prompts, codebase structure, guardrails, hooks and surrounding tools. The model is one component.

We can all rent broadly similar engines. We have little control over their internals. The harness is where we have much more control.

Your ability to frame work and judge the result limits what you can reliably ship with AI. Put bluntly: if you cannot recognize a healthy codebase, review changes or scope a task, a fancy model does not magically give you production engineering judgment.

I sometimes write “AII”: AI with two i's, amplifying the “I”. In my experience, engineers who already have a technical thinking framework tend to use AI more effectively. That is a practical observation, not proof that every senior becomes ten times faster or every junior gains little. The engineering foundation still matters.

2/ How do you save tokens?

I get this question so often I am tired of it :))

People expect “find a cheaper model”, “shorten the prompt”, “make the response shorter”, or increasingly elaborate code graphs and context manipulation.

My answer: make your codebase easier to change.

A clear architecture, tidy modules and good guardrails let a cheaper, less capable model do useful work. It does not have to burn tokens hunting down files, reconstructing relationships or repeatedly crashing into the same wall.

Start with a chaotic codebase and you may end up depending on the most expensive model just to navigate your own mess. Token optimization starts with the system the model works in.

3/ DX and AX: Agent Experience

DX, Developer Experience, describes what it feels like for developers to work in a codebase. In this article, I use AX, Agent Experience, for the agent's experience.

We obsess over skills, prompts and model upgrades while forgetting to improve the codebase itself.

Good DX and good AX overlap substantially: clear modules, clean interfaces and just enough documentation to point to the right place. These reduce guesswork for humans and agents alike.

That is one reason senior engineering expertise still matters. Building a codebase with good DX often improves AX at the same time.

Think of this as designing an environment, including the code, where the agent has fewer things to guess.

4/ What separates a good skill from a bad one?

Skill typeWho starts it?When to use it
ProcedureExplicit human invocationClarify the problem, plan and define acceptance criteria before coding
AbilityThe model choosesLoad technical conventions while executing

While building AgentKit/ClaudeKit and refining skills, I tend to split them into two groups.

  • Procedure: a workflow you explicitly invoke to make the model follow a particular process. Examples: /ak:advise, /ak:brainstorm, /ak:plan. The agent interviews you, probes the problem and clarifies decision branches before writing code. Framing the problem early saves the tokens you would otherwise burn generating the wrong result and repairing it over and over.
  • Ability: guidance the model invokes when it decides it is relevant. For example, React coding standards it loads while implementing React code.

I lean toward procedures. I like choosing when a process runs and keeping ownership of the thinking.

A technical detail matters: Claude Code can load the names and descriptions of available skills into context, while loading their full bodies only when used. Progressive disclosure reduces upfront loading, but a large skill catalog still carries context cost.

Locked section: 5/ Loop or queue?

Locked section: 6/ Inner loop and outer loop

Locked section: 7/ The opportunity

Locked section: 8/ My advice for optimizing the harness

Locked section: That's it, my hands are done :)))

Locked section: Before an agent works AFK

The rest is for Knowledges members

Plus 6 more sections (about 6 min) for members

You are reading roughly the first third. Knowledges, Combo and Community plans unlock paid articles in full; the Zuey AI plan reads previews only.