Sharing a skill is easy: it is a folder with a SKILL.md, and there are good places to post one. But the setup that makes your agent reliable on a project is rarely one skill. It is the hooks that stop a bad edit, the permission rules, the subagents, the instructions. A skill on its own carries the knowledge and leaves the guards behind.
Here is how to share the whole thing.
1. Lift it out of your repository
Your harness is spread across your project: .claude/settings.json, .claude/skills/, .claude/agents/, hook scripts, CLAUDE.md, maybe a .codex/ folder too. baudrier absorb collects it into one harness folder:
uv tool install baudrier
baudrier absorb --own --name my-harness --out ./my-harness
--own says it is your own work. The mechanics come out: hooks, rules, skills, subagents, MCP servers. Lines that only describe your project stay with it. If the harness started from one on the hub, it records that parent, with its licence and credit.
2. Give it guard cases
A hook that can refuse something deserves proof that it does. baudrier selftest --init ./my-harness drafts a case for each deny rule and one call that must pass. For hook scripts it leaves a short prompt for your coding agent to write the cases, since only a reader of the script knows what it means to block.
Publishing without cases is allowed. The harness page then says "no guards provided by the publisher", so readers know what they get.
3. Publish it
baudrier login
baudrier publish ./my-harness --verify
login signs you in with GitHub. --verify runs the guard cases on your computer first and publishes the result with the harness, labelled as your run. The harness is listed as <your-login>/my-harness, and publish ends with its link, ready to share. Anyone can then install it:
baudrier install <your-login>/my-harness
What the hub checks before it accepts a version:
- Secrets. Every file is scanned for credentials, and a harness that holds one is refused.
- Licence. Your own work can be published without a licence: it is listed as "Licence not mentioned", and you can pick an open-source licence later on its page. Work lifted from someone else's project keeps that project's licence and credit, and a share-alike parent's licence carries over. Someone else's work with no clear open-source licence is refused.
- Your account. Publishing for everyone needs a GitHub account at least 30 days old, against spam.
Each version is stored exactly as published, tied to the hash of its files, so the people who install 1.2.0 get the same bytes you published. You change the one-line description on the harness's page in the app, not in a command.
4. Public, private or team
Not every harness should be public. A harness full of your company's conventions can stay private:
baudrier publish ./my-harness --private # only you can read and install it
baudrier publish ./my-harness --team # shared with your team workspace
A private harness does not exist for anyone else: its page answers like a name nobody published. The free plan includes one private harness; more, and team sharing, come with a paid plan. Publishing publicly is free and unlimited. A public harness never becomes private again, because people may already have installed it under its licence.
5. Let it grow, and publish the next version
The point of sharing is that someone else starts from yours, fits it to their project, and publishes what grew from it, with your harness named as its parent. Your next version goes out with the same command. If a version turns out wrong, baudrier unpublish [email protected] takes it out of the lists; whoever relies on that exact version can still install it.
Start with what you have
You do not need a perfect harness to share one. If your agent setup has saved you from even one bad session, it will save someone else from it too. Lift it out, add the cases, and publish it on the Harness Hub.