Most teams set up their coding agent from a blank file. A CLAUDE.md or an AGENTS.md, a few lines about the test command, maybe a permission rule after the agent ran the wrong package manager for the third time. Months later the setup is good, and it lives in one repository, where nobody else can start from it.
There is a better starting point: the setup a real project already grew for its agents.
What a harness is
A harness is everything around a coding agent that is not the model:
- instructions the agent reads at the start of a session,
- skills: one folder per job, such as running the tests or writing a changeset,
- hooks that run before and after the agent's actions, and can refuse one,
- permission rules that allow, ask for or deny commands and edits,
- subagents for focused work like reviews, and the MCP servers the agent may call.
The model writes the code. The harness decides what it knows, what it is allowed to do and what gets stopped. Two teams with the same model and different harnesses get very different results.
Why starting from zero is the expensive way
Every rule in a mature harness exists because an agent got something wrong once. React's harness denies npm, pnpm, bun and npx because the repository runs on yarn. Bun's harness has a shell guard that refuses running rustfmt directly and wrapping its debug build in timeout. Supabase's refuses edits to generated files. None of that is obvious on day one, and each lesson costs a broken session to learn.
Open-source projects have already paid for those lessons, in public. Their harnesses sit in their repositories, under their licences. The work is to lift one out, check that its guards still hold in your agent, and fit it to your project.
One loop
Baudrier is built around one loop.
1. Start from one. The Harness Hub lists harnesses lifted from projects such as React, Bun, Supabase, Next.js and Playwright, each with its licence and its source commit. Installing one merges it into your setup: your own hooks, rules and skills stay.
uv tool install baudrier
baudrier install react --dry # look first: nothing is written
baudrier install react
Without --to, install looks at your repository and installs for the agents it finds: Claude Code, Codex, GitHub Copilot, or a generic AGENTS.md setup when it finds none.
2. It grows with your project. A harness lifted from React still names React's paths. The install leaves a short prompt for your coding agent, which adapts those pieces to your repository. From then on, each lesson becomes a new guard or a new skill, the same way the original grew.
3. Extract yours. When your version is better, lift it out. What describes your project stays with it; the mechanics come out, and the new harness records the one it grew from.
baudrier absorb --name my-harness --out ./my-harness
4. Share it back. Publish it for everyone, or keep it private for yourself or your team. The next person starts from yours.
baudrier login
baudrier publish ./my-harness
That is the whole idea: start from a great harness, let it grow with your project, extract yours, share it back.
When you have many repositories
install copies a harness into one repository, once. If you run the same harness in many repositories, the hosted service keeps it current: baudrier use <you>/my-harness wires a repository to a harness that lives in a GitHub repository of yours. When your agents change a skill, an instruction or a subagent there, baudrier sync proposes the change back to that harness as a pull request. A person always merges it. The hosted service wires Claude Code and Codex today.
What Baudrier does not claim
A harness belongs to its owner. Baudrier never runs a harness on its servers and never vouches for one. Each page shows the publisher's own run of its guard cases, labelled as the publisher's, and baudrier selftest runs them again in your repository. When a piece has no equivalent in an agent, the page says it is lost instead of hiding it.
Try it
Pick a harness close to your stack on the Harness Hub and run it with --dry first. No account is needed to install. When yours has grown into something worth sharing, publish it: that is how the next team skips the blank file.