Matt Pocock's Home Repo pattern: one repo to run AI agents across multiple codebases
mattpocockuk · x · 2026-11-12
Matt Pocock introduces the Home Repo Pattern, solving a common pain point: when a project spans multiple repos, each agent session sees only one repo, and skills/AGENTS.md/tooling get duplicated everywhere.
Key ideas:
- Create one repo holding shared skills, AGENTS.md, and shared docs
- Run all agents from the Home Repo; its AGENTS.md contains navigation pointers to other repos the agent can open or clone as needed
- Enables sweeping cross-repo changes from a single session
He ships a copy-pasteable setup prompt: the agent scans your repos and skills itself, puts decisions to you in numbered rounds, makes no changes until you approve the plan, and leaves secrets untouched.
More from coding & agent
- PyTorch 2.15 regression slows LU solver up to 100x, warns researcher — ducha_aiki · 2026-11-12
- Context engineering reshapes AI system design: RAG is now just one tool in a larger system — mdancho84 · 2026-11-12
- Is context engineering just rebranded RAG? Same problem, different approach — mdancho84 · 2026-11-12
- Google AI Studio generates real maps with no credit card — 100 free calls per API daily — xiaohu · 2026-11-12
- Shared AI agent knows everyone's secrets: how do you plan group events without leaking them? — IndicationTypical972 · 2026-11-12
- A grill-me → to-spec → subagent implement pipeline for AI coding — EXM7777 · 2026-11-12