Orchestrate a repo maintenance sweep: detect what changed, deploy the applicable read-only maintainer agents (user docs, spec docs, instructions, schemas, conventions, marketplace release notes) in parallel, and merge their drift reports into one prioritized list of proposed fixes. Use when the user asks to "run maintenance", "check for drift", "audit the repo", "are the docs/instructions/schemas up to date", or after landing a batch of changes. Arguments: none (changed scope since merge-base with the default branch), "full" (whole-repo sweep), or "since <ref>". Nothing is applied without the user's approval.
Ships in maintain. 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.
None: SKILL.md is the whole skill.
Run a maintenance sweep over this repository using specialized read-only maintainer agents. You (the main session) do the scoping, routing, merging, and — only after user approval — the applying. The agents only report.
Parse the argument:
git remote show origin 2>/dev/null | sed -n 's/.*HEAD branch: //p', falling
back to main), then BASE=$(git merge-base HEAD origin/<default> 2>/dev/null || git merge-base HEAD <default>).since <ref> → BASE=<ref>.full → whole-repo sweep; skip diffing.For changed scope, collect git diff --name-status $BASE...HEAD plus uncommitted
changes (git status --porcelain). If the combined list is empty, tell the user
there is nothing in scope and offer full or since <ref> — do not silently fall
back to a full sweep.
Decide which maintainers apply. Dispatch a maintainer when ANY of its triggers hit
(for full, dispatch every maintainer whose artifacts exist in this repo):
| Maintainer | Dispatch when |
|---|---|
| schema-maintainer | Changed files include *.json/*.yaml/*.yml/*.toml, markdown with structured frontmatter, generated files, or code that a generator/validator reads |
| docs-user-maintainer | Changed files include user-facing docs (README, usage/install guides), OR changed code alters user-visible behavior (commands, flags, features) |
| docs-spec-maintainer | Changed files include spec/architecture docs, OR changed code alters structure a spec describes (modules, formats, interfaces) |
| instructions-maintainer | Changed files include AGENTS.md/CLAUDE.md, OR changes touch project structure, tooling, scripts, or conventions instructions typically state |
| conventions-maintainer | Changed files include planning/user docs (docs/TODO.md, docs/STATE.md, docs/user/), the root README, pyproject.toml, or Python CLI code ([project.scripts] entry points, Typer/click apps) |
| marketplace-maintainer | (plugin marketplace repos only) Changed files include anything under plugins/, or any pool artifact a bundle ships through a symlink (skills, agents, commands, hooks, instructions) |
When in doubt for a maintainer, dispatch it — a clean report is cheap; missed drift is not. Tell the user which maintainers you are dispatching and why, one line each.
Invoke all selected agents in a single message (parallel Agent calls). Each prompt must be self-contained — agents see nothing of this conversation. Include:
Combine the returned reports:
Ask the user which fixes to apply (all / by severity / cherry-pick / none). Apply
approved fixes yourself with Edit — the maintainer agents never write. For
instruction-file fixes, offer the bundled instructions-audit / instructions-revise
skills as the applying mechanism instead of raw edits. For conventions gaps (missing
docs/TODO.md or docs/STATE.md, misplaced user docs, CLI-standards drift), offer
the bundled conventions skill's scaffold mode as the applying mechanism (it routes
STATE.md creation through state-keeper). For missing or uninformative release-notes
entries, offer the bundled release-notes skill — it carries the document format and
the "say why, not just what" discipline, and requires bumping plugin.json in the
same edit.
What SKILL.md sets; muted values are Claude Code's defaults
/maintain:maintainfrom maintain
npx claudepluginhub dotknewt/awesome-agency --plugin maintain2 plugins in one repository ship this exact skill · first indexed Aug 10, 2026
Other plugins' skills for the same job