# I manage my whole coding agent fleet from one project

> Source: <https://ryanmccue.ca/writing/manage-my-coding-agent-fleet-from-one-project/>
> Published: 2026-11-30 00:00:00+00:00

**Recommendation:** Keep shared agent skills, rules, and hooks in one push-restricted Git repo, give each worker a read-only clone and deploy key, and relink harness configs from a single manifest on a 15-minute timer instead of running Ansible or Puppet.
More in the playbook "Designing agent systems": <https://wpnews.pro/playbooks/agent-architecture>

# I manage my whole coding agent fleet from one project

Running coding agents across multiple VMs and three harnesses meant constant skill drift. Now one Mac Mini, one T3 Code project, and one pull-only Git repo run the whole fleet.

After I [moved my coding agents onto my own VMs](https://ryanmccue.ca/writing/moving-my-coding-agents-around/) and started running multiple harnesses side by side (Claude Code, Codex, and Antigravity), keeping all of my skills and global rules in sync across machines and harnesses got really annoying. I would add a skill on one box, tweak a rule on another, and a week later every machine had drifted into its own version. On top of that, I had no easy way to sit down and review my own skills without digging through hidden folders on several machines.

So I decided something had to change and I set up a single control plane for the whole fleet. One always-on Mac Mini runs everything. One T3 Code project on that Mini operates the machines, and one Git repo keeps every skill, rule, and hook in sync across them.

## One Git repo, every machine and harness

The sync mechanism is pretty simple, and that is intentional. I decided to keep it simple and lightweight, not put something like Ansible or Puppet behind it.

All of my shared skills, global rules, hooks, and machine definitions live in one private Git repo. The Mac Mini is the only machine that can push to it. The other five machines (three general workers, an isolated work VM, and a dedicated personal-assistant VM) each hold a read-only clone with their own read-only deploy key.

Every 15 minutes, a systemd timer on each worker runs a six-line sync script:

``` bash
#!/bin/sh
# Pull the fleet repo and relink. Run on workers by fleet-sync.timer.
set -eu
cd "$(dirname "$0")/.."
git pull --ff-only --quiet
exec ./bin/fleet-link
```

`fleet-link` is a small stdlib Python script with no external dependencies. It reads one manifest (`fleet.json`), checks which host it is running on, and wires up symlinks for Claude Code (`~/.claude`), Codex (`~/.codex`), and Antigravity (`~/.gemini/config` plus T3 Code's isolated provider folders). Anything it replaces gets backed up first, stale links into the repo get removed, and machine-local skills that aren't in the repo are left alone.

When I want to add a skill, tighten a rule, or swap a model on my [council](https://ryanmccue.ca/writing/council-reviews-it-first/), I make one commit on the Mini and push. Within 15 minutes it is live across every machine and every harness. And just as useful for me, having every skill and rule in one repo makes it way easier to read through and audit them myself.

## Per-machine and per-harness control in one place

Syncing identical files across machines is helpful, but the part that has been really awesome is centrally controlling where specific machines and harnesses need to differ.

One `fleet.json` drives the whole split:

```
{
  "hosts": {
    "mac-mini": { "groups": ["common", "control"] },
    "worker-1": { "groups": ["common"] },
    "worker-2": { "groups": ["common"] },
    "work-vm": { "groups": ["common"] },
    "assistant-vm": { "groups": ["common"] }
  },
  "claudeHooks": [
    { "event": "PreToolUse", "matcher": "Bash", "script": "hooks/claude/bash-background" },
    { "event": "PreToolUse", "matcher": "Bash", "script": "hooks/claude/secret-guard" },
    { "event": "PreToolUse", "matcher": "Read|Grep", "script": "hooks/claude/secret-guard" }
  ],
  "antigravityHooks": [
    { "name": "fleet-secret-guard", "event": "PreToolUse", "matcher": "run_command|read_file|view_file", "script": "hooks/claude/secret-guard" },
    { "name": "fleet-t3-guard", "event": "PreToolUse", "matcher": "schedule|invoke_subagent|...", "script": "hooks/antigravity/t3-guard" }
  ]
}
```

From that one repo, `fleet-link` layers three pieces together when it builds the setup for a machine:

- **Skills by role.** The 16 shared skills (shipping, council loops, Boat sandboxes, reporting, PR reviews) go to every machine. The 4 control skills (Proxmox management, LXC update audits, Headscale onboarding, media pipeline checks) only land on the Mac Mini.
- **Rules by host.** Every machine starts with the same base`AGENTS.md` , and specialized VMs get a short host file appended automatically. My work VM gets its read-only cloud access and repo-specific rules, and my personal-assistant VM gets its own workspace and credential boundaries, without making every general worker carry rules that don't apply to it.
- **Overrides and hooks by harness.** Harnesses don't all work the same way. Claude Code gets a hook that moves long shell commands to the background and nudges heavy test suites to[Boat](https://ryanmccue.ca/writing/moving-my-coding-agents-around/) . Both Claude Code and Antigravity get a`secret-guard` hook that blocks printing credential files or dumping tokens. Antigravity also gets a small harness override file plus a guard hook so it uses T3 Code's delegation and scheduling tools instead of its own built-in ones, along with a check that warns if the combined rule file approaches Antigravity's 24 KB truncation limit.

The fleet docs follow the same split. Every agent reads a short `FLEET.md` with the machine table and routing rules, while setup history, renewal steps, and rollback notes live in a separate `FLEET-ops.md` that only gets opened when changing the fleet itself.

## One operations room for audits, rollouts, and new machines

The Git repo handles config, and a single **Homelab** project in T3 Code on the Mac Mini is where I actually operate everything.

Because the Mini is linked to every worker in T3 Code with full access and can reach them over Tailscale SSH, one thread in that project can inspect or update the entire fleet. It has turned into the main place I go for four things:

- **Auditing environments and agents.** This is where I run my[weekly session log sweeps](https://ryanmccue.ca/writing/review-my-agent-logs-every-week/) , check how individual council reviewers are scoring PRs across dozens of runs, measure reply lengths directly from each machine's T3 database, or even run a three-model council against the homelab architecture itself.
- **Rolling out changes across every box.** Adding a new model to CLIProxy, swapping a council seat, wiring up a new harness, or rolling out a read-only CLI tool with per-host tokens and a matching`secret-guard` rule all happen from one thread. Out of ~80 threads I've started in that project over the past few weeks, 17 were kicked off from my phone.
- **Building out new machines.** When I spin up a new VM (like a dedicated personal-assistant hub or a fresh worker from a golden Proxmox template), I don't set up its agent environment by hand anymore. I give it a read-only deploy key, add one entry to`fleet.json` and an optional host rules file, wire its Headscale ACL and T3 link, and within minutes it inherits all 16 shared skills, global rules, hooks, CLIProxy, and Boat.
- **Keeping permissions tight.** Workers only pull read-only, homelab operations stay on the Mini, and work repos stay isolated on the work VM. Everything is managed from one place without turning every machine into an admin box.

## Quiet upkeep, and the only catch

Having one always-on control project also gave me a natural home for scheduled maintenance.

Right now the Homelab project runs a handful of scheduled T3 tasks in the background:

- **Nightly throttled disk cleanup.** After parallel Go builds grew a 173 GB build cache on one worker and froze the VM for 15 minutes during cleanup, I added a nightly job that trims rebuildable caches and runs chunked`fstrim` across each worker one at a time at 3:30 AM.
- **Twice-weekly Boat snapshot refreshes.** Rebuilds the pre-warmed cloud sandbox snapshots whenever lockfiles or setup scripts change, so heavy test suites still start fast.
- **Link renewals and follow-up checks.** Scheduled runs to rotate the 30-day linked-environment tokens between machines, plus 24-hour read-only checks after I ship a skill or hook change to confirm it synced and didn't regress anything.

The nice part about running these inside T3 Code is that clean runs settle their own thread and stay out of my way, so I only get pinged when something actually needs me.

Honestly, I haven't run into any real rough edges with this setup yet. The only catch is that tweaking skills and rules is so easy now that I adjust things constantly (nearly 150 commits to the fleet repo in under a month), which I guess is a pretty good problem to have.

Now every machine stays in sync on its own, I can review all of my skills in one place, and changing how my whole fleet works is a single commit.
