用 Home Repo 统一管理多仓库的 Agent 启动入口
Matt Pocock 把所有 steering 文件和 skills 收进一个 home repo,Agent 从这里启动再跳去操作别的仓库,改全局规则只改一处。你在多个 repo 里重复维护 AGENTS.md 的话,这套零成本搬一下就行。
Matt Pocock 分享了他同时管理多个仓库的 Agent 工作流:建一个单一 home repo,集中存放所有 skills、steering 文件、wiki 和 AGENTS.md 等配置,Agent 统一从这个入口启动。
具体做法是在 AGENTS.md 里写明各项目的本地路径,比如 clone mattpocock/skills 到 ~/repos/skills,Agent 由此知道其他仓库在哪并可直接操作。这种集中化带来三个收益:配置不再需要在每个 repo 里重复维护、所有 Agent 有统一启动点、可以对多个仓库一次性做全局修改。
作者 vikingmute 表示自己近期的做法与 Matt 不谋而合:他同样用一个 start repo 作为统一入口,通过一个 md 文档记录其他项目路径。对同时维护多个相关项目的开发者来说,这套流程基本零成本就能迁移。
我最近的做法居然和 Matt 不谋而合,现在启动 agent 已经不是在各个项目 repo 中了,而是有一个叫做 start repo 的统一入口,里面存放了所有的 steering 文件,比如 agents.md skills design.md wiki 配置等等,不用重复在各 repo 中配置,然后通过一个简单的 md 文档告诉 agent 其他项目的路径,可以从那里直达。 这样 Agent 就知道其他项目在哪 可以直接操作它们,同时所有的 skills、steering 文件、规则都集中在主仓库统一管理,这样统一入口,可以一次性统一调整一些全局的规则,假如几个项目有联系的话,agent 也可以很轻松的一块进行管理或者修改,很方便,效率更高。 Matt Pocock @mattpocockuk A lot of folks ask me "how do you work with agents in multiple repos at once?" I have a very simple solution - the Home Repo I have a single repo (the home) where all of my skills, steering files, wiki etc live. I run my agent in the home repo, and then inside AGENTS.md I have pointers to the other repos: ``` For skills, clone mattpocock/skills to ~/repos/skills. For Sandcastle, clone mattpocock/sandcastle to ~/repos/sandcastle ``` This is extremely simple and incredibly effective. The home repo lets you: 1. Put all your steering files and tooling in one place 2. Have a single spot to run all your agents in 3. Make sweeping changes over multiple repos Talked about this in the course yesterday and folks are loving it (see below). I'm sure you will too. Enjoy! 🔗 View Quoted Tweet📊 13 ⚡
This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include AGENTS.md, steering 文件, Agent, 开发者工作流.
Source attribution: curated from Viking (@vikingmute).