Matt Pocock's Home Repo pattern: run coding agents across multiple repos, setup prompt included

mattpocockuk · x · 2026-11-12

Matt Pocock published an article on the Home Repo pattern: a single repository holding your skills, AGENTS.md, and shared docs, from which you run your agent — with navigation pointers in AGENTS.md so it can open or clone other repos as needed.

The problem: agents started in one repo of a multi-repo project see only that repo; skills and agent setups get duplicated per repo, and cross-repo feature planning loses the big picture. A Home Repo gives you one place for steering files, one place to run all agents, and sweeping multi-repo changes from a single session.

The article includes a copy-paste setup prompt: the agent investigates your repos itself (filesystem, git, gh, subagents for wide searches), puts decisions to you in numbered rounds with recommended answers, reads-only until you approve the plan, and leaves secrets like .env untouched.

Related event: Matt Pocock Introduces "Home Repo" Pattern for Managing AI Agents Across Codebases(4 posts)→

Original post →

More from coding & agent

coding & agent channel →