foundry
by Abhiram Dwivedi · ★ 2 · updated yesterday
Runs several crews of agents in parallel from the main session: each crew's lead delegates to your project's agents in its own worktree, and the crews' branches merge one at a time or into one integration branch
Install
/plugin marketplace add AbhiramDwivedi/claude-ops/plugin install foundry@claude-opsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.endagent.spawntool.callclassic.SubagentStopsession.startcommand.run- API calls
$.agent.list$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.process.run$.session.cwd$.session.id$.ui.log- Can see
subagent spawnsSendMessage callsAgent callsevery tool callclassic hooks- Reach
- level 2 of 3 runs processeswrites filesreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/AbhiramDwivedi/claude-ops
- Path in repo
plugins/foundry- Source commit
00db7c9the exact code the scan read- Author
- Abhiram Dwivedi @AbhiramDwivedi
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from AbhiramDwivedi/claude-ops
session-models
AbhiramDwivedi/claude-ops
Shows the main model and its effort, the live agents by model and effort, named agent crews, and the working directory, and warns about agent crowds and huge contexts
subagent-limits
AbhiramDwivedi/claude-ops
Keeps subagents small: tells the main agent how to size and split work, asks a growing subagent to checkpoint, and refuses its tools past a hard limit so a fresh agent takes over
usage-limits
AbhiramDwivedi/claude-ops
Keeps the 5-hour and weekly limit windows, their burn rate, a run-out projection, context fill, session cost and prompt-cache drops in a dim line above the prompt
worktrees
AbhiramDwivedi/claude-ops
Gives every agent that can edit a git worktree of its own, runs a project's setup script with its own port range, kills what an agent left running, removes an agent's worktree and branch once the session merges it, and tidies other merged branches on demand with /tidy