Most people who'd benefit from a shared agent setup already have one. It's just scattered: a good CLAUDE.md in the repo you work in most, a few skills in .claude/skills/, a reviewer subagent you wrote last month, and some personal rules in ~/.claude/CLAUDE.md.
Starting from a blank template would throw that away. So the first step should be to collect what you have.
What gets imported
Baudrier's import command reads an existing setup and writes it into a new harness repo:
- Instructions: CLAUDE.md, AGENTS.md and
.cursor/rules. - Skills from
.claude/skills/. - Claude Code subagents from
.claude/agents/.
With --user, it reads your personal setup instead: ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.claude/skills/ and ~/.claude/agents/.
The output is a plain folder with a harness.yaml in the open Harness Protocol format, plus instructions/, skills/ and agents/, a README, and a GitHub Action that validates pull requests.
Dry run first
By default, import changes nothing. It lists what it would import and why any file is skipped:
uv tool install baudrier
cd ~/code/my-best-repo
baudrier import --name my-harness --out ~/my-harness
Read the list. If something is missing, or something is there that shouldn't be shared, fix it before writing anything.
Then write it
When the list looks right, add --write:
baudrier import --name my-harness --out ~/my-harness --write
~/my-harness is now a Git repo. Push it to GitHub as a private repo, and install the Baudrier GitHub App on it so Baudrier can read it and open pull requests.
Your original files are never changed. The repo you imported from keeps its CLAUDE.md, AGENTS.md and skills exactly as they were.
It stops on secrets
Instruction files sometimes contain things they shouldn't: a token pasted into an example, a password in a setup step. Before writing, import scans everything for likely secrets, such as private keys, cloud access keys, and GitHub or Slack tokens. If it finds one, it stops and tells you the file and line, without printing the value.
Remove it, rerun, and only then share the harness.
Use it everywhere
Now connect any other repo:
baudrier use <you>/my-harness
That signs you in if needed, connects the repo, and sets up Claude Code and Codex. The agent in that repo starts its next session with the setup from your best repo.
Optional: rely on the harness fully
Once you trust the harness, you can stop keeping a second copy in the original repo. --strip removes the imported content from the project after importing, and keeps a backup in .baudrier-backup/:
baudrier import --name my-harness --out ~/my-harness --write --strip --yes
I'd only do this after a few days of using the harness, when you're sure it has everything.
Try it
Baudrier is in closed Alpha, for Claude Code and Codex. Request an invite and tell me which repo has your best setup today.