Heuristic Mode
Matt Pocock Nov 12, 2026 tutorial default-text

The Home Repo: The effortless multi-repo agent setup

Summary

Matt Pocock presents the Home Repo pattern: instead of duplicating agent skills, steering files, and tooling across dozens of repositories, you keep one dedicated repo and always launch the agent from there. That repo's AGENTS.md carries paths to every other project, so a single session can clone missing repos, fan work out across them, and share one versioned set of skills and settings. It matters because multi-repo teams otherwise face an unmanaged choice between copy-paste drift and invisible per-machine configuration.

Key takeaways

  • Centralize agent skills, settings.json, and steering files in one versioned home repo; nested agents commonly break when configs are duplicated or parked in a user's home directory.
  • Point the agent at sibling checkouts with plain file paths in AGENTS.md, and let it auto-clone any repo that is missing plus spin up git worktrees when several sessions run in parallel.
  • The pattern holds up to roughly 20-40 repos; past that, swap flat links for a progressive-disclosure index grouped by domain (frontend, backend, internal tooling) so the agent walks the filesystem instead of loading everything.
  • Prefer a monorepo when public/private boundaries and org politics allow it — the home repo is the fallback, not the ideal.
  • Because everything runs from one location, the home repo becomes the natural host for a personal markdown wiki and custom tools (Gmail, Slack, Discord, GitHub, calendar), enabling cross-system automations that single-repo agents cannot reach.

Key moments