Seven steps
Seven steps. Grey is the person, blue is the agent and everything written down for it, orange is risk: having to explain again. The orange bug on the Harness step is a mistake found in the finished report: the harness turns it into a check, shown by the arrow, so the same mistake does not come back.
The picture shows where the knowledge goes. In a chat it lives in the person's head and in the conversation. Then it moves one by one into the agent's session, a file with requirements, a file with a procedure, a script and finally the repository together with checks. The table below walks the same report through Mondays: what the person does by hand and what happens next Monday.
| Step | What the person does by hand | Where the knowledge lives | What happens next Monday |
|---|---|---|---|
| 1. Chat | pastes the sales table into a chat and explains which columns are needed | in the head and in the conversation | everything is explained again |
| 2. Agent | asks an agent with file access to build the report, corrects it and adds “amounts in roubles” to the rules file | in the session and in the rules file | the agent remembers the rules but not how it counted last time |
| 3. Spec | writes spec.md: which columns, where the data comes from, how to tell the report is done | in spec.md | any agent builds the same report from the same description |
| 4. Skill | turns the order of building the report into a skill | in SKILL.md with steps and examples | the agent finds the skill by itself when a report is requested |
| 5. Script | pulls the stable steps out of the skill into a script for the export and the pivot table: a skill on data is unprofitable, a script computes the same way every time | in report.py | the export runs in seconds with no model cost and gives the same result on the same data; the model only writes the conclusions |
| 6. Harness | reads the finished report; a mistake from the report becomes a new rule or check in the agent’s environment | in the repository: rules, checks, hooks | the same mistake does not come back: the rule and the check fire by themselves |
| 7. Agentic system | hands the agent only the complex parts such as sorting customer requests and leaves the rest to code and checks | in one service: code, a schedule, checks and an agent in the complex spots | the report arrives on schedule: deterministic steps run as code, the complex part is decided by an agent with recorded reasons, the person handles only a discrepancy alert |
The author’s position and what the market says
The seven steps above are the author’s position, assembled by one criterion: what exactly gets written down at the step. On the market, different authors describe the same movement, each on its own stretch: some on rules, some on specs, others on skills or the harness. All of them go in one direction, from a conversation into a file and from a file into code. The table shows how the steps line up with the sources.
Filled means the author describes the step explicitly, a ring means a close equivalent is described (for example, “deterministic tooling” at Rezvov and Clark is counted as close to a script). The bottom row is the seven steps of this article; only Malik describes the last one explicitly.
The matrix shows how the market is arranged: each author describes their own stretch of the path, and together the stretches cover all seven steps. Hashimoto has no specs or skills, Rezvov and Clark have no skills, Shapiro has no script. Details for each author are in the table below.
| Source | Steps in order | Where specs and skills are |
|---|---|---|
| Every, Compound Engineering (Kieran Klaassen) | manual development → chat → agent with line-by-line review → plan first and review the finished PR → idea to PR → parallel cloud agents | the plan at stage 3; skills and rules are added at the Compound step |
| Hashimoto, 05.02.2026 | drop the chatbot → reproduce your own work with an agent → end-of-day agents → outsource the easy tasks → engineer the harness → always have an agent running | AGENTS.md and programmed checks at step 5; no specs or skills |
| Eledath, 10.03.2026 | 8 levels: tab complete and IDE chat → context → compounding → MCP and skills → harness → background agents → agent teams | skills at level 5; no specs |
| Rezvov, 06.04.2026 | L0 reference → L1 agent babysitting → L2 rules → L3 deterministic tooling → L4 SDD → L5 autonomous agents | specs at L4; no skills |
| Clark, Hyperact, 05.01.2026 | 7 levels: manual prompting → IDE assistance → repository access → deterministic tooling → team context → specialised parallel workflows → spec-driven development | specs at level 7; no skills |
| Shapiro, 23.01.2026 | levels 0–5 by analogy with driving automation: from autocomplete to the “dark factory” | specs and skills at level 4; at level 5 specs turn into software |
| Red Hat, Naszcyniec, 30.03.2026 | four pillars as a stack: vibes → specs → skills → agents | all four in one scheme |
The rules file (CLAUDE.md, AGENTS.md) sits in different places. At Every, Rezvov and Eledath it appears right after the first agent; at Clark and Hashimoto only at the fifth level. In this article it belongs to the “agent” step: the very first entry “the agent made a mistake, a rule was added” turns a chat into an agent with memory.
The ladders of Eledath, Shapiro and Clark count steps by autonomy: how many agents work and how rarely a person looks at the code. The steps in this article are counted by where the knowledge lives. The two scales agree: once the knowledge is written down, the agent can be trusted with more.
Step 1. Chat: knowledge lives in a conversation
In a chat the person carries data back and forth and says by hand that an answer is wrong. For a one-off question that is enough.
Three Mondays in a row the person answers the same questions. The knowledge of what the report needs stays only in their head.
Rezvov calls this mode a reference: the agent as “Stack Overflow, but friendlier”, and he adds that it is not really a level. Hashimoto advises dropping the chatbot for meaningful work, because an agent reads files, runs programs and checks the result itself. Clark and Shapiro put the chat at the first level: copying fragments back and forth.Even at this step Every advises keeping notes of the prompts that worked: the very first record, before any rules file. A note answers the question “how did I explain this last time”, although the agent does not read it yet.
Step 2. Agent and a rules file
The agent gets access to files and commands and acts on its own. The first record made for it is a rules file: a list of what the agent must know about the project in every session.
An agent mistake turns into a line of the rules file, and the agent’s next session starts with it already there.
Hashimoto went through this step literally: he redid all his manual commits with an agent and drew three lessons: break work into clear tasks, separate planning from execution, and give the agent a way to verify its result. Every's guide suggests the first step towards writing things down: create a CLAUDE.md file and add a note to it after each agent mistake.- 1The agent made a mistakefor example, it counted sums in dollars instead of roubles.
- 2
- 3The next sessionthe agent reads the file at the start and does not repeat the mistake.
A rules file can be overloaded. Rezvov warns that badly written rules produce a result worse than having none. Eledath advises against putting everything into the rules file: it is better to keep an up-to-date docs folder in which the agent finds what it needs.
Hashimoto turns the step into a habit: in the last half hour of the working day he launches agents for research, for vague ideas and for triaging tasks, so that in the morning he gets a “warm start”. He does not leave agents running overnight: most of his tasks finish in under half an hour. Every warns that most developers get stuck at this step while approving every agent action by hand.
Step 3. Spec: the intent is written before the code
A spec describes one task: what must be produced and how to tell it is done. The agent and the person read the same text, and the review checks the result against it.
Red Hat splits specs into two kinds: “what” (goal, requirements, success criteria) and “how” (security, structure, tests, standards). The author recommends several small files such aswhat-vision.md, how-security.md and how-testing.md instead of one long document, so that only the relevant context is loaded. Rezvov adds end-to-end traceability: a requirement has an identifier such as FR-AUTH-PASSWORDRESET, and it is visible in the API description, the code and the tests.
A spec also has its own maturity ladder. The first three levels were described by Birgitta Böckeler (Thoughtworks); the fourth, Spec-in-the-loop, is added in the site author's talk “Spec-Driven Development” (in Russian): on the slide with the four levels the spec learns from the running system, and its metrics and incidents correct the spec.As on the talk slide: the spec on the left, the code on the right, the arrows show what comes from what and who sends changes back. A grey dashed arrow means a person returns the change, a blue one means the running system does it by itself. On the right: what the level solves and what blocks it.
| Spec level | What happens to the spec | Example program |
|---|---|---|
| Spec-first | the spec is written before the code and used for one task | GitHub Spec Kit |
| Spec-anchored | the spec lives on after the task: changes are merged into it | OpenSpec |
| Spec-as-source | a person edits only the spec, the code is generated from it | Tessl; only this one is claimed by Böckeler |
| Spec-in-the-loop | metrics and incidents from the running system correct the spec | no ready programs; similar behaviour at Red Hat and Every, see below |
Red Hat distinguishes two modes of working with a spec. In the “interacting” mode the person refines the spec together with the agent: for example, asks the agent to rate it from 0 to 10 and say what is missing for an autonomous implementation. When the rating is 9–10, the “instructing” mode starts: the agent reads the specs, finds the skills it needs, writes code, runs tests and fixes errors itself. At Shapiro this matches the fourth level, where the person writes a spec, argues with the agent about it and walks away.
Red Hat calls the fourth level “co-evolution” of the spec. The agent keeps a LessonsLearned.md file: at each mistake it records the cause and the fix and proposes an edit to the relevant “how” spec. Every does the same at the Compound step, described below.
Step 4. Skill: the procedure is written for the agent
If a spec says what must be produced, a skill says how it is done. It is a folder with a SKILL.md file: a name, a description and step-by-step instructions, sometimes with templates and scripts.
A spec sits in the task context. A skill takes two lines of the context until it is needed and is loaded in full only on call.
Red Hat describes skills as modular repeatable procedures: the agent finds a skill by its name and description and loads it in full when the task fits. Anthropic compares a skill to an onboarding guide for a new hire. For Shapiro, creating skills is a mark of the fourth level, where the person no longer sits next to the agent but writes specs and skills and walks away. Andrew Shu described how to get a skill out of a chat: if the agent repeats the same task, ask it to reread the conversation and turn it into a skill.An example skill from Red Hat’s article is deploying an application to OpenShift. It is an ordinary folder with three files: an instruction with a name and description at the start, a template and a check script.
SKILL.mdname, description, steps: check login, choose the project, apply the template, check the result; constraintsdeploy-template.yamlthe deployment template the instruction usesvalidate-route.sha script that checks the application opensThe skill already contains a script: there is no sharp border between the “skill” and “script” steps, they are two parts of one folder.
Step 5. Script: code runs the steps
A skill stays text, and the model executes it anew each time. A script is ordinary code: faster, cheaper and the same on every run.
Shu compares them: a skill is non-deterministic, since ten runs of one skill can show noticeably different behaviour. Scripts are faster, more stable and do not spend tokens, but they take time to write, are more rigid to unexpected conditions and can break. Rezvov puts the rule more simply: hand as much as possible to deterministic logic and leave the model only the creative part. Hashimoto applies the same idea to agent mistakes: next to the rule in the file he writes programmed tools such as scripts for screenshots and for running filtered tests.The same run ten times: a skill shows scatter and spends tokens, a script repeats the result and spends nothing.
| Skill | Script | |
|---|---|---|
| What it is | instructions in natural language in SKILL.md | code in Bash, Python and similar languages |
| Who runs it | the model, anew each time | the computer, with no model |
| Is the result the same | no: noticeable differences between runs are possible | yes, for the same input |
| Cost per run | tokens on every execution | seconds and zero tokens |
| When it fits | the procedure changes, flexibility is needed, it runs rarely | the procedure repeats, is expensive or must be predictable |
| Price | less time to create | time to write, rigidity to the unexpected, maintenance |
After Andrew Shu's text “Turn chats into Skills, Skills into scripts” (19.09.2026). The author stresses that not everything should be automated: both a skill and a script have a cost of creation and maintenance.
A script is pulled out of a skill once the skill starts to repeat. Making a skill for such work becomes unprofitable: on the same data a script behaves the same on every run, while a skill carries scatter inside the model itself. That scatter is what produces flaky tests: the same step on the same data sometimes passes and sometimes fails, because the agent behaves a little differently each time. A script has no such cause, so for repeating work determinism pays better.A lot of uncertainty remains: the format of the input data, gaps, unexpected values. Scripts usually start working with data, so what matters for them is the deterministic part: the same input gives the same output and a mistake can be reproduced. Uncertainty moves from the step into the check of the input data.
The cost of a step: what Malik measured
The move from a skill to a script is usually described in words. Arun Malik of the Azure Networking team (Microsoft) measured it on a working system and called it “progressive crystallization”: behaviour that an agent found and verified gradually turns into deterministic code.
Malik's system handles incidents in a cloud network. A new incident is first solved by an agent, and its path is recorded. If the path is confirmed by repeated successes, it becomes a template, then a hybrid scenario and finally code without a model. The three modes are stages in the life of the same discovered behaviour. This is pulling out on the last steps: the path the agent walked alone is pulled out into a template, then a hybrid, then code.Up the ladder behaviour is promoted by the number of successful runs and returned down on a failure: crystallization is reversible.
| Mode | How it runs | Is the result the same | Tokens per run |
|---|---|---|---|
| Agent (Type 3) | subagents reason in a limited scope, write steps wait for human approval | about 50% | 10–50 thousand |
| Hybrid (Type 2) | steps are fixed, the model joins at separate stages: parsing, classification, summary; every action is checked against a schema | about 90% | 1–5 thousand |
| Code (Type 1) | logic written in advance, no model at run time | 100% | 0 |
- 1Agent → hybridat least 10 successful runs, zero safety violations, at least 90% of runs give the same sequence of actions, automatically created acceptance tests pass.
- 2Hybrid → codeat least 50 successful hybrid runs, model answer consistency of at least 99%, the rule covers all observed input variations, the full regression suite passes without the model, a person has reviewed the final logic.
- 3
Share of executions by mode at the end of the eighth month (section VIII of Malik's paper). At the start almost all executions ran in the “agent” mode.
The cost of the agent per incident fell by more than 70% while the number of incidents roughly doubled. More than 90% of typical incident categories are resolved autonomously, and the share of false-positive fixes stays below 5%. The author puts the conclusion this way: the platform got cheaper as it did more, because it stopped paying for inference on work it had already learned.The author's caveats. The results come from one organisation and one domain, so the thresholds must be recomputed. These are observations of the platform over eight months; there is no controlled comparison. The 45% figure means the share of executions served by code; it cannot be read as a share of incidents solved “without AI”. The gain is smaller where genuinely new one-off tasks dominate.
The word “crystallization” appears in another paper too: Linghao Zhang (arXiv 2603.10808, 11.03.2026) describes how fragmented knowledge from working dialogues is periodically consolidated into structured reusable assets. In Zhang's paper a dialogue turns into knowledge, in Malik's an execution trace turns into code. Both describe the same movement down the ladder: from conversation to what is written down.
Step 6. Harness: mistakes become rules of the environment
When specs, skills and scripts exist, the next step is to build an environment around the agent: a harness. It is everything except the model itself, and it grows from mistakes: each task leaves a record behind and the next one goes better.
Every builds its whole guide around a loop of four steps: Plan → Work → Review → Compound. The first three steps produce a feature, the fourth produces a system that builds features better each time. According to Every, about 80% of an engineer's time should go to planning and review, and the remaining 20% to work and the Compound step.The first three steps produce a feature. The fourth writes the lesson into files and skills, so each next round starts better than the last.
- 1Planan idea turns into a plan: study the requirement and the code, design the solution and validate the plan.
- 2Workthe agent executes the plan in a separate branch; tests and the linter run after each change.
- 3Reviewseveral agents check the result, findings get priority P1, P2 or P3 and are recorded.
- 4Compoundwhat worked and what did not is written into the right files: notes in CLAUDE.md, a solution document in docs/solutions/, new agents and skills. The check question: will the system catch this mistake by itself next time?
After Every's guide. Solutions are stored in docs/solutions/ with metadata for search, plans in docs/plans/, review findings in todos/.
Birgitta Böckeler splits a harness into two kinds of controls: “guides” set the agent’s course in advance, while “sensors” watch the result and help it correct itself. Her rule: when a problem repeats, the guides and sensors should be improved. The discipline of tuning a harness is called harness engineering, and HDD (Harness-Driven Development) is one method inside it: every agent mistake becomes a rule of the environment, that is, an instruction, a check or a limit. Eledath puts a harness at level 6: tests, linters and checks so the agent sees the result of its own work. He has one condition: feedback is needed, otherwise the result is a slop machine.Step 7. Agentic system: code at the base, agents in the complex spots
The ladder ends with an agentic system: a system built on classic principles in which complex blocks are replaced by agents, and everything works together in one service. The article shows how to get there: step by step, pulling what repeats out into code and checks.
The road starts with agents: in a chat and in a session an agent does everything. By the end of the road the share of agents stays small, and the base of the system is classic code: scripts, checks, a schedule, data. An agent takes only the complex spots that, before large language models, were solved by teams of ML specialists: parsing the text of requests, classification, measuring similarity, summarising. Now this is a ready-made solution: a model is called as a part of the service, gives higher quality and explains its decisions in words, so the reasoning can be read and checked. The system as a whole stays predictable because the complex part is surrounded by deterministic checks. Malik’s numbers point the same way: in eight months the share of executions by code without a model grew to 45%, while the agent stayed at 25% of executions. The ladders of Eledath (levels 7–8: background agents and agent teams), Shapiro (the “dark factory”, a black box that turns specs into software) and Rezvov (a person only creates tickets in a tracker while agents pick them up themselves, and security is the main barrier) continue toward growing autonomy. For such autonomy not to break, it needs a harness, the step below.Traps at every step
Each step has a typical mistake that stops the climb or makes it too expensive. The table is assembled from the authors’ own caveats.
| Step | Typical trap | Who writes about it | How to get out |
|---|---|---|---|
| 1. Chat | moving text back and forth instead of the agent working with files | Hashimoto: meaningful work needs an agent | give the agent access to the project and a way to verify the result |
| 2. Agent | the person approves every action while the rules file grows without sorting | Every: most get stuck here; Rezvov: bad rules are worse than none | plan ahead, keep the rules short and review every line |
| 3. Spec | a spec for every trifle: Kiro turned a small bug into 4 user stories and 16 acceptance criteria | Böckeler (Thoughtworks) | write a spec for tasks longer than a day and leave small fixes without one |
| 4. Skill | a skill for everything: it has a cost of creation and maintenance | Shu | make a skill after two successful repeats, not in advance |
| 5. Script | premature promotion: a template seen only a few times turns out unreliable | Malik: quality depends on tests built from runs | a threshold on the number of runs and a return one step up on a failure |
| 6. Harness | human review becomes the bottleneck; checks written by the same agent confirm anything | Eledath: human review becomes the bottleneck; Stanford CodeX: agents wrote a stub that always returns “success” | checks must be independent of the agent and review partly automated |
| 7. Agentic system | agents get what code could solve: the price and the scatter of results grow | Malik: behaviour found by an agent moves into code by the number of successful runs | put an agent only on the complex spot and pull what repeats out into code |
The StrongDM stub case is discussed in the Stanford CodeX article.
When to stop
The upper steps cost more than the lower ones, and not every team needs them.
| What the source says | What it means in practice |
|---|---|
| Clark: most teams should aim for level 5; above it throughput grows but the ability to understand and verify the result does not | written rules, deterministic tooling and shared context often matter more than maximum automation |
| Eledath: for day-to-day work the leverage is at level 7; the author treats level 8 as the frontier that nobody has mastered yet | background agents with checks are a reasonable upper limit today |
| Shapiro: at level 3 many people feel things got worse because the work comes down to reading diffs | after the first speed-up a dip is possible; it is passed by moving to specs and skills, with no need to return to the chat |
| Shu: both a skill and a script have a cost of creation and maintenance | automate what really repeats |
| Malik: the gain is smaller where new one-off tasks dominate | for exploratory work stay on an agent with a spec |
Where to start: ready prompts for the agent
Four prompts that move knowledge up one step, that is, pull it out of the step below. Put your own task in place of the square brackets.
Reread this dialogue. Find the places where I corrected you or repeated the same thing. For each one write one short rule line for the CLAUDE.md file. Do not add general advice, only what was in the dialogue.
Task: [description]. Before writing code, draw up spec.md: what must be produced, where the data comes from, what the constraints are and how to tell the task is done. Ask me questions if something is missing.
Reread this dialogue and turn the procedure you carried out in it into a skill: a folder with SKILL.md, a name and description at the start, then step-by-step instructions, constraints and a sample result.
Look at the skill [name]. Pick out the steps that run the same way every time and write a Python script for them. Leave in the skill only the script launch and the check of the result.