Home / Claude Code mods / Git & CI / swarm-janitor

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.

Updated 2026-10-25

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.

TypeClaude code mod
AuthorTatendaz
RepositoryTatendaz/T-mods
Popularityno public popularity data yet
CategoryGit & CI
SecurityHigh risk (56/100)
Rank#8,716 of 9,397 Claude Code mods; #621 in Git & CI
Last commit2026-10-25
Hooks2 events
Seesonly the events it hooks
Draws onnothing

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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.session.id
$.ui.toastdraws interface

How do I install swarm-janitor?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. 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
  3. 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)