/github-janitor:inbox-janitorfrom github-janitor
Clean the authenticated user's GitHub notification inbox and send a short digest of what still needs them. Marks as done what a rule-based snapshot proves is noise (merged/closed subjects, already-approved review requests, bot PRs, own-PR activity, CI/push/subscription chatter) and never touches mentions, assignments or pending reviews on human PRs. Use when the user says 'clean my github inbox', 'github notifications', 'inbox janitor', '/inbox-janitor', or from a scheduled OpenClaw automation.
Ships in github-janitor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Keep the GitHub inbox down to what actually needs a human. Everything you post or report is in English. This skill only marks notification threads as done; it never approves, merges, comments, resolves or changes anything on a PR or issue.
Unattended runs (scheduled automations): first run test -x /usr/bin/gh.real. If it fails, the host guardrail shims from guardrails/install.sh are not installed: do nothing on GitHub and report "guardrails missing on this host" as the only blocker.
Run bin/inbox-clean.sh (in this skill's directory; as a Claude Code plugin it is ${CLAUDE_PLUGIN_ROOT}/skills/inbox-janitor/bin/inbox-clean.sh). It snapshots every inbox thread, marks as done the ones a rule proves are noise, remembers them in a state file (the notifications API keeps listing done threads; only the UI hides them), and prints one JSON summary:
{ "dryRun": false, "markedTotal": 103, "marked": {"pr merged": 47, "already approved": 31}, "failed": 0,
"kept": [ {"reason": "review_requested", "rule": "needs you", "repo": "org/repo", "number": "153", "title": "...", "author": "login", "url": "https://github.com/org/repo/pull/153"} ] }
Rules behind the verdicts (bin/inbox-snapshot.sh if you want the raw list):
| verdict | rule | meaning |
|---|---|---|
| keep | direct mention / direct assign / direct team_mention | someone addressed the user; always kept, even on closed PRs |
| done | pr merged / pr closed | the subject is no longer open |
| done | noise author / noise ci_activity / noise push / noise subscribed | own-PR activity (covered by pr-janitor) or repository chatter |
| done | bot pr | review requested on a PR authored by a Bot account (dependabot, updaters) |
| done | already approved | review requested, and the user's latest review on it is APPROVED |
| keep | needs you | anything else: pending review on a human PR, comments on open items |
Trust the summary. Do not mark anything done by hand, do not reclassify a keep, and never call the notifications API yourself. If the script fails or prints no JSON, stop and report the error verbatim. --dry-run shows what would be marked without touching anything.
For the kept items, write one compact message in English, grouped as Reviews pending (review requests on human PRs) and Mentions / assignments, then anything else. One line per item: repo#number title (author) with the direct https://github.com/<owner>/<repo>/pull/<n> link. Do not read or summarize the PRs themselves; the digest is a to-do list, not a review.
Finish with one line of housekeeping from markedTotal and marked (and failed if non-zero).
If nothing is kept, say so in one line ("Inbox clean, nothing pending.") and still include the housekeeping line. A scheduled daily run always sends the digest; never return NO_REPLY from it.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub serban-marius/pip-boy --plugin github-janitor3 skills in this plugin
/pr-address-commentsWorks through the review comments left on a GitHub PR: analyses each finding, verifies it against the actual code at the PR's own SHA, replies in English explaining either how it was fixed (and in which commit) or why it is a false positive, resolves the bot's threads while leaving human threads for the human to close, then commits, pushes and waits for CI and for the reviewer bot's next pass. Knows Softonic's `sftbot-pr-reviewer[bot]` and its finding format, and adds actionable feedback for improving the bot whenever it reports a false positive. Use this whenever the user says things like 'revisa los comentarios de la PR', 'atiende los comentarios del bot', 'responde a la review', 'address the PR review comments', 'fix what the reviewer flagged', 'check if the bot's findings are correct', 'resuelve los comentarios de sftbot', '/pr-address-comments', or asks you to act on feedback someone left on a pull request. This is the counterpart of the github-pr-review skill: that one leaves the comments, this one answers them./pr-janitorKeep the authenticated GitHub user's open, ready-for-review pull requests healthy: address still-valid review feedback, report failing CI for manual analysis, and drive checks green with direct PR links. Never posts redundant comments and never resolves threads a human took part in. Use when the user says 'pr janitor', 'fix my PRs', 'address the review comments', 'keep my PRs green', '/pr-janitor', or from a scheduled OpenClaw automation.Other plugins' skills for the same job