🧩 The multi-repo problem 0:27
Start with the shape almost every organisation has: a storefront, a payments API, an admin dashboard, and twenty more repos nobody touches for months. Working in one is easy. Working in two is also easy — the agent can operate in multiple directories and open a pull request in each.
| The real problem | Why it hurts |
| Skills, steering files and tooling are per-repo | Copied into each repo, then they drift out of sync across thirty of them |
| They must be present in every session | Not just in the repo you happen to start in |
| Nobody wants to maintain thirty copies | So people stop updating them, or copy a stale set |
This is the same drift problem as duplicated CI config or repeated lint rules, and it has the same cause: a shared resource stored inside each consumer. The pattern that fixes it is not new — keep one canonical source and reference it — but applying it to agent context is new enough to be worth writing down.
🚫 Three bad options 1:28
| Option | Why it fails |
| Duplicate into every repo | Sync burden grows with repo count; drift is guaranteed |
| Put it in the user's home directory | Invisible to the team, so it never gets updated — and it conflates personal preference with team standard |
| Do nothing | Everyone's agent is a little different, and nobody knows which baseline is current |
The distinction he draws between the two levels is the useful part, not the solution: team configuration belongs in version control where it can be reviewed and updated; personal configuration belongs in the home directory where the individual can diverge. The failure of the home-directory option is not technical, it is organisational — invisible configs rot.
🏠 The pattern 2:20
One repository — the home repo — contains the skills, the steering file, a wiki and custom tooling. You always start the agent there, and from there it reaches into the other repositories by path.
| Component | Lives in the home repo as |
| Private skills | .claude/skills/ — available in every session he starts |
| Spin-up, editor and tool settings | settings.json, versioned, so a change reaches everyone at once |
| Navigation | CLAUDE.md or AGENTS.md with pointers to the repos he touches |
| Personal wiki | A directory of markdown files, queried by the agent |
| Custom tooling | Scripts that talk to Gmail, Slack, Discord, YouTube, GitHub, calendars, and his own business systems |
Because he always runs from the same directory, everything in that directory is in context by default — which is exactly the property that was missing when skills were copied around. The pattern is less "a clever repo layout" than "choose one working directory and make it the canonical one".
🔍 Inside his home repo 2:53
The tour is short but specific, and two details stand out.
| Detail | Why it matters |
| Skills he explicitly does not want to publish | They are "extremely good and extremely sensitive to my business" — so the home repo is not necessarily public, and may not be shareable with a team |
| Navigation as plain paths in the steering file | No registry, no manifest, no tooling — a list of directories |
| Settings committed rather than local | Versioned configuration that propagates immediately |
That first detail changes who can use this pattern. A team home repo must exclude personal business skills; a personal home repo can accumulate anything. Mixing the two — as his does — works for a one-person business and would be a security and confidentiality problem inside a company. Decide which of the two you are building before you start moving files.
⚙️ Zero-setup cloning and worktrees 4:16
The mechanic that makes it feel effortless: the steering file contains paths, and the agent handles the rest.
| Situation | What the agent does |
| Path does not exist on a fresh machine | Clones the repo down |
| Several agents at once in the same repo | Uses a git worktree, so they do not fight over one working copy |
| You want to add a repo | Edit one line in the steering file |
Using worktrees instead of clones is the detail that makes multi-agent work safe here: each session gets its own checkout of the same repository, so two agents editing different features never collide in the index. He notes the cost honestly — you eventually have to clean worktrees up.
📈 Where it stops scaling 4:44
| Repo count | Approach |
| 20–40 | Flat list of paths in the steering file |
| Hundreds | Progressive disclosure: group the steering file into front-end, back-end, internal tooling, and link into each group |
| Effect | The agent finds the right repo "by simple file-system tactics" instead of being handed a list |
His ceiling estimate is a rare thing in this genre: a number. Flat lists work to a few dozen repos; beyond that, the context cost of naming every repo exceeds the benefit, and you switch to a hierarchy of index files. It is the same progressive-disclosure principle Anthropic uses for skills, applied to directories instead of procedures.
🧱 But monorepos first 5:14
"I love monorepos — if all this stuff could live in one repo, I would do it. I used to be employed at Vercel as the Turborepo DevRel. But you can't always do them, especially if some repos need to be public and some need to be private."
This caveat is what separates the pattern from cargo cult. The home repo is a workaround for organisational reality, not an architectural ideal: if you can consolidate, consolidate. The stated blocker is access control — a mix of public and private repositories cannot be merged, and the second blocker he names is political will, which is honest.
📚 The wiki and the tooling 5:43
He calls it "burying the lead": the home repo is where he keeps a personal wiki of audience-relevant material, and a set of custom tools that connect the agent to his actual business.
| Tooling connects to | Example use |
| Gmail, Slack, Discord, YouTube, GitHub, Google Calendar | Reading real signals from where work and audience actually live |
| Publishing HTML reports, appending to a buffer | Output that is useful without a human copying text around |
| His course video manager and course repos | The compound example: read a Discord message, fix the crash-course repo using existing skills, then use the video-manager skill to edit the course itself |
That three-step example is the whole argument. A request that arrived as a chat message ends with an edited course, and the agent needs no new instructions for any step because the skills and tools were already in one place. Centralisation is what turns "my agent can edit files" into "my agent can run a piece of my business".
🔬 What the tooling actually supports 2:53
Every mechanic he relies on is documented behaviour, not a hack — which is why the pattern works without custom tooling:
| Mechanic | Documented support |
Skills in .claude/skills/<name>/SKILL.md | Project-level skills, loaded for the session |
Skills in ~/.claude/skills/ | Personal skills, available across all projects — the option he rejects on organisational grounds |
| Skills from a directory you add to the session | Loaded the same way as project skills; --add-dir and permissions.additionalDirectories put extra repositories in scope |
| Parallel sessions on one repo | Worktree isolation is a first-class feature |
So the real mechanism is not "a special home repo" — it is --add-dir plus skills loaded from the directory you start in. That reframing matters: it means you can get the same effect by starting in whichever repo holds the canonical skills, and it means the pattern's durability depends on the tool continuing to load skills from the launch directory rather than only from the git root of the edited file.
⚠️ What he does not say 5:43
| Risk | Why it matters |
| Permission scope | Extra directories widen what the agent can touch; writes outside the launch project are governed by permission rules you must configure deliberately, not by hope |
| Blast radius | One repo holding business skills, a private wiki and credentials-adjacent tooling is a single target — and it runs with more access than any individual project does |
| Secret hygiene | Tools that talk to Slack, Gmail and Discord need credentials; a home repo is the worst place to leak one, and the best place to centralise them badly |
| Team vs personal ambiguity | He mixes both in one repo; a company must not |
| No CI, no review | A home repo's changes affect every session and typically ship without the checks your product repos have |
| Bus factor | If the pattern is personal, your context walks out with the person who built it |
The pattern concentrates context, and concentration cuts both ways. Everything that makes it powerful — one place, always loaded, connected to everything — is also a description of a high-value target. The mitigation is boring and mostly absent from the video: keep the tooling least-privileged, keep credentials in a secret manager rather than files, review changes to the home repo, and separate team skills from personal ones.
🛠 How to adopt it 7:57
He has published a write-up with a setup prompt that interviews you about your repos and starts moving things across. The manual version is smaller than the article suggests:
| Step | Action |
| 1 | Create an empty repo — private if it will hold anything business-specific |
| 2 | Add .claude/skills/ (or your harness's equivalent) and one skill you already use everywhere |
| 3 | Write the steering file as a list of paths to the repos you touch weekly — nothing cleverer |
| 4 | Commit your team-level settings so changes propagate |
| 5 | Start every session there, and add only the repos you actually need to that session |
| 6 | Once a month, delete the skills that nobody used — the repo rots exactly like the copies did |
Start with one skill, not a framework. The pattern's value is proportional to how much context you were previously duplicating; if you have three repos and one skill, copying is fine. It pays off at the point where you catch yourself syncing files between repos — which is the same signal that made CI config drift painful a decade ago.
✅ Claims checked
| Claim | Verdict | Notes |
| An agent can work in multiple directories and open a PR in each | Supported | Multi-directory scope is documented; separate pull requests per repo follow from it |
| Skills and steering files must be duplicated per repo otherwise | Correct in practice | Project-level skills are loaded per working directory; user-level skills exist but are shared invisibly |
| Putting them in the home directory causes them to fall behind | Organisational truth | Nothing enforces updates on personal config; he frames it as a visibility problem, correctly |
| Running from a home repo makes its skills available in every session | Matches documented behaviour | Skills load from the directory the session starts in, and from directories added with --add-dir |
| Paths in the steering file let the agent clone missing repos and use worktrees for parallel runs | Plausible and consistent | Cloning is agent behaviour, not a feature; worktree isolation is documented |
| Flat lists work to 20–40 repos; beyond that use progressive disclosure | His estimate | Reasonable and unusual in being quantified; no measurement given |
| Monorepos are preferable where possible | Stated preference | He names access control (public/private mix) and political will as blockers |
| He was Turborepo DevRel at Vercel | Self-reported | Consistent with his public work; not independently verified here |
| A three-step Discord → repo → course-edit flow works | Demonstrated inside his own business | Depends entirely on tooling he has not published |
| None of the risks (permissions, secrets, blast radius) are discussed | Correct — they are absent | The article adds them; the video treats the pattern as purely organisational |
Basis note. Built from the full 8:53 recording and checked against the documented behaviour of project-level and personal skills, additional directories and worktree isolation in the Claude Code harness he is using. Disclosure: the video promotes his paid course and newsletter; those links are excluded here, and the free written version of the pattern is cited below because it is the primary source, not because it is a purchase funnel.
🔑 Key takeaways
- The problem is drift, not capability. Skills copied into thirty repos are thirty sources of truth.
- One working directory is the whole trick: always start the agent in the repo that holds the canonical context.
- Navigation can be a list of paths. No registry, no manifest — the steering file names the directories.
- Team config belongs in git; personal config belongs in your home directory. Invisible config rots.
- Worktrees make parallel sessions safe on the same repository, at the cost of periodic cleanup.
- Quantified ceiling: flat lists to a few dozen repos, then a hierarchy of index files.
- Monorepos first. The home repo is a workaround for public/private splits and political will, not an ideal.
- The payoff is compound tooling: a chat message becoming a course edit, with no new instructions at any step.
- Underneath, it is
--add-dir plus skills loaded from the launch directory — which is why no custom tooling is needed.
- Extra directories widen the permission surface. Configure the allowlist deliberately, not by accident.
- Concentrated context is a concentrated target: business-critical skills, a private wiki and API-connected tooling in one repo.
- Do not mix team and personal in one home repo — his does, and that works for a one-person business only.
- No CI, no review on the repo that shapes every session; treat its changes as production changes.
- Start with one skill. Adopt when you notice yourself syncing files between repos.
🔗 Resources
- The video — Matt Pocock, 8:53 (course and newsletter links excluded)
- The Home Repo Pattern — the written version, including the setup prompt he mentions
- Harness documentation for the mechanics relied on: project and personal skills,
--add-dir / additionalDirectories, and worktree isolation
Basis note. This is a workflow opinion, so the article separates what is documented platform behaviour from what is his judgement, and adds the operational risks the video omits — permissions, secrets and concentration — because those are what determine whether a team can adopt it.
⏱ Timestamp index
0:00"Too simple to post" — and then it went viral
0:27The multi-repo problem
0:52Multi-directory sessions and two pull requests
1:28Duplicated skills and steering files
1:48Why the user directory is the wrong place
2:20The home repo, defined
2:53Tour: private skills, settings, steering file
4:16Paths, cloning, worktrees, zero setup
4:44Scaling to 20–40 repos, then progressive disclosure
6:27Custom tooling: Gmail, Slack, Discord, YouTube, GitHub
7:20The Discord → repo → course-edit flow