What is swarm-janitor?
swarm-janitor is a Claude Code mod by Tatendaz that every 3 minutes, closes the herdr tab of an idle agent whose worktree PR merged and has nothing uncommitted, and pushes your phone when an agent stays blocked. It is listed under Git & CI and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | Tatendaz |
| Repository | Tatendaz/T-mods |
| Popularity | no public popularity data yet |
| Category | Git & CI |
| Security | High risk (56/100) |
| Rank | #8,716 of 9,397 Claude Code mods; #621 in Git & CI |
| Last commit | 2026-10-25 |
| Hooks | 2 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is swarm-janitor safe to install?
swarm-janitor scores 56/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.process.run | runs processes |
$.session.id | |
$.ui.toast | draws interface |
How do I install swarm-janitor?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Tatendaz/T-mods claude plugin validate ./T-mods/swarm-janitor
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/Tatendaz/T-mods && claude --plugin-dir ./T-mods/swarm-janitor
Or ask Claude to set it up
Paste this into Claude Code and it installs swarm-janitor for you:
Install the "swarm-janitor" Claude Code mod from https://github.com/Tatendaz/T-mods/tree/main/swarm-janitor. Run claude plugin validate on it first and show me what it can access before you enable it.
More from Tatendaz/T-mods
This repository has 6 Claude Code mods on MCPMods.
- compact-keeper: Tells every compaction to keep the owner's decisions, approvals, rules and open asks word for word (Low risk)
- fold-edits: Fold Edit and Write diffs into one line with a button to show the code (Low risk)
- merge-gate: Stops gh pr merge until the head is clean: CI green, a real review, no open threads, and the Astra line where a repo nee (Review before installing)
- phone-check-nudge: After a turn that changed UI files but never looked at them on a simulator, phone or browser, shows a band with a Run ch (Low risk)
- swarm-board: /board opens a live pane of this repo's PRs, today's merges, the herdr agents working on it, and what needs you, with no (Low risk)