Skip to content

Why I built shadowclone

I want to trust coding agents with large changes in large repositories, and I want the result to follow my engineering standards. These standards cover how much to change at once, how to organize code, and when to plan, test, or stop. Fast code helps only if I control those decisions.

I also use several coding agents every day. Claude Code is better at some work, Codex at other work, and a new agent comes out every few months. I want to use the best agent for each task without starting over each time I switch.

Each agent keeps its own instructions, skills, memory, and threads. I was the only link between them.

  • A correction that I gave Codex never reached Claude Code. I gave the same correction again the next day, in the other agent.
  • My skills drifted. One copy had a rule that I had changed, and another copy missed a rule that came up only when I corrected an agent.
  • A plan lived in the thread of the agent that wrote it. When I moved the work to another agent, I explained the work again.
  • Work in the background needed its own setup, with its own copy of my rules.

The agents got better every month. The layer above them did not exist: the part that says how I work, what we work on, and where the work runs.

Networks and clusters solved this problem long ago. Routers and servers do the work, and a control plane tells them what to do. Coding agents need the same layer. shadowclone is that layer: a control plane for coding agents.

shadowclone did not start as a control plane. It grew one part at a time, and each part answered the same need.

  1. Skills and learning. First I wanted one set of skills in every agent, kept current from my corrections. That became shadowclone skills, agent builds, and learning.
  2. Runs away from my desk. Then I wanted the same rules in work that I did not watch. That became the Actions bot on GitHub, clones in Docker on my own machine, and the hub on my phone.
  3. Shared work. Then I wanted several agents on one problem, in different tools, with one set of plans and decisions. That became projects.

For a while, I explained each part on its own, and nobody saw what joined them. The name for the whole is a control plane. It controls what my agents know, what they work on, and where they run. What is shadowclone explains the three parts.

I built shadowclone without writing code by hand. Agents write code faster than I do. I set the requirements and guardrails and direct the agents to those standards.

I do not call that vibe coding. I care about the architecture, types, module boundaries, and tests, even when an agent writes every line. My responsibility for the result stays the same. The repository has more than 800 source and test files. Inspect it, or ask your coding agent to review it. Ask whether the design is coherent, whether the tests catch real failures, and whether the code follows its own engineering rules. If it looks vibe coded to you, point to the code that says so.

A correction should improve the next session without turning every interaction into a rule. A temporary exception should stay temporary. A preference from one project should stay in that project unless I make it global on purpose. I want to see why guidance exists and undo a change that I disagree with.

The control plane must not take control away from me. It changes no model and writes no code. Every rule is a file that I can read and edit. A worker or a clone starts only when I ask for it, or when a lead that I started asks for a worker. The Actions bot and each clone stop at a pull request, and I decide when to merge.

Learning needs evidence. The evaluations show that setups differ in how well an agent follows preferences. They use 24 fixed synthetic tasks, so they do not show that maintained skills improve every task or save a set amount of time. A first run also exposed product defects that later runs fixed. Guardrails cannot promise perfect adherence. An honest measurement reports when extra guidance makes no difference or makes an agent worse.

Coding sessions can hold sensitive material. Source access is opt-in, and changes are reversible. Model work uses the agent provider that you select, so local storage does not mean that the analysis stays offline. Data handling explains that boundary.

Instruction files, skills, and memory stay part of the setup that shadowclone maintains:

  • Repository instructions hold explicit project conventions. Keep them current and readable by the chosen agents.
  • Personal skills hold reusable task workflows. Watch routing, ownership, supporting resources, and conflicting copies.
  • Native memory carries context between sessions. Watch scope, accuracy, retention, and correction.
  • Agent workspaces run several agents side by side. They do not maintain guidance, and they can run an agent that has shadowclone skills.

The comparison guide compares shadowclone with specific tools.