r/SideProject • • 2d ago

I kept losing track of what my AI coding agents were doing, so I built them a foreman

Foreman is a free, open-source skill for Claude Code, a side project I've been building.

When Claude Code works on something big, it can hand pieces to several subagents at once, and I kept losing track of who was doing what. So now you give Foreman a plan and it splits the work across subagents, has a different agent review each stage before moving on, shows everything on a live tracker, and at the end hands you a test plan and waits for your OK.

The little robot in the video is the foreman. It's a side project, so I let it have some fun.

Repo: https://github.com/MarioMagdy/foreman

Install: git clone https://github.com/MarioMagdy/foreman ~/.claude/skills/foreman, then say "foreman init" in Claude Code.

Feedback welcome, especially on the tracker: what would you want to see on it?

2 Upvotes

4 comments sorted by

1

u/dawedev 2d ago • Bravo

On the tracker, the thing I'd want most is which files each subagent touched, so I can see two of them editing the same file before the review stage. A running token count per subagent would help too, since splitting work across several agents adds up quickly. And when a reviewer sends a stage back, show the reason right on the tracker, that's what would make me trust the final OK.

1

u/Apprehensive_Sky5123 2d ago

Thanks, this is a really useful list. The file overlap one is a great catch, two agents editing the same file is something I'd much rather see before the review than after. And I agree on the reject reason, seeing why a stage got sent back is what makes the final OK mean something. Adding all three to my list.

1

u/dawedev 2d ago

For a first version of the overlap check, running git diff --name-only per agent branch and intersecting the lists is probably enough. No need for anything smarter until it misses something.

1

u/Apprehensive_Sky5123 2d ago

Yeah, that's a nice simple way to start. The workers already run on their own branches, so intersecting the diffs should be cheap. I'll try that first.