Many teams do not pick one coding agent. One person uses Claude Code, another Codex, and the company has a GitHub Copilot licence for everyone. Each agent reads its own files, so the rules you wrote for one do nothing for the others.
GitHub Copilot now reads almost everything a full harness has. It just reads it from different places.
Where Copilot reads its setup
For Copilot CLI and the Copilot cloud agent, a repository's setup lives under .github/:
.github/copilot-instructions.md: the instructions, likeCLAUDE.mdorAGENTS.md,.github/skills/<name>/SKILL.md: skills, in the same Agent Skills format Claude Code and Codex use,.github/agents/<name>.agent.md: custom agents, Copilot's subagents,.github/hooks/*.json: hooks, includingpreToolUse, which can refuse a tool call,.github/mcp.json: MCP servers.
The hooks are the part that changes behaviour, and the part that does not copy across as is. A Copilot hook gets the call with Copilot's own argument names (path, file_text, old_str, new_str) and answers in Copilot's fields, such as permissionDecision. A Claude Code guard dropped into .github/hooks/ would read the wrong fields and let everything through.
One harness, written for each agent
baudrier install writes a harness from the Harness Hub for each agent your repository uses. Run it without --to and it looks first:
uv tool install baudrier
baudrier install supabase --dry # shows which agents it found and every file it would write
baudrier install supabase
It finds Claude Code from .claude/ or CLAUDE.md, Codex from .codex/, and Copilot from its .github/ files, and installs for each one it finds, without asking. To choose yourself, pass --to claude, --to codex, --to copilot or --to generic.
For Copilot, the hooks go through an adapter: the guard script receives the call in the shape it was written for, and its answer goes back in Copilot's fields. Deny rules on shell commands, edits and reads become preToolUse hooks. Your own .github/copilot-instructions.md is never written over; the harness's version is put beside it for your agent to merge.
Checked live in Copilot CLI
The React and Supabase harnesses were installed for Copilot from the live hub and run in Copilot CLI. npm install left-pad was refused by React's rule, and creating a file under src/__generated__/ was refused by Supabase's, while an ordinary edit to package.json went through. The guard cases replay the same calls:
baudrier selftest . --runtime copilot
React passes 7 of 7 there, Bun 9 of 9, Supabase 7 of 7 and AgentMob 25 of 25. The cloud agent reads the same files but has not been tested end to end yet, and neither has VS Code's agent mode.
Any other agent: AGENTS.md
Codex, Cursor and many other agents read AGENTS.md, and a growing number, Codex among them, read skills from .agents/skills/. --to generic writes exactly that: the instructions, the skills and .mcp.json.
What it cannot do is enforce. An agent with no hook system has nothing to run a guard in, so the hooks and deny rules are written as instructions and reported as lost. The hub says so plainly: "instructions only, not enforced". When install finds no known agent in a repository, this is what it writes.
Why one source matters
Three agents with three hand-written setups drift apart within weeks. One harness, written out for each agent, keeps the same rules everywhere, and when the harness gets a new guard, every agent gets it on the next install.
Browse the Harness Hub and pick "Copilot" or "Your agents" above the list: the "Copy install" button gives you the command for that choice.