auto-maintain

auto-maintain is a skill for Claude Code from dryvist/claude-code-plugins. It costs 16 tokens per session (598 once invoked), scanned A, original, Apache-2.0.

An orchestrator that repeatedly scans a repository for work and sends separate tasks to other AI agents. It prioritises pull requests, which are proposed code changes, before broader maintenance when the pull-request backlog is large.

In plain words
What is it for?
Use it to find and dispatch work on pull requests, failing checks, review comments, synchronization, bugs, documentation, tests, and dependencies.
Why use it?
It keeps looking for pending maintenance and applies a defined priority order instead of relying on one manual review.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the ai-delegation plugin — 7 skills shipped together

Good fit Use it to find and dispatch work on pull requests, failing checks, review comments, synchronization, bugs, documentation, tests, and dependencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dryvist/claude-code-plugins/auto-maintain
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dryvist/claude-code-plugins --skill auto-maintain
Clone the repo
git clone --depth 1 https://github.com/dryvist/claude-code-plugins

Made for: Claude Code.

Or install ai-delegation, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auto-maintain

README.md
[![agentmods](https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/auto-maintain/github.svg)](https://agentmods.dev/skills/dryvist/claude-code-plugins/auto-maintain)
Your own site
<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/auto-maintain"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/auto-maintain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auto-maintain

Your own site · 80×15
<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/auto-maintain"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/auto-maintain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 598 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00598
Opus 5.5 $0.00006 $0.00239
Sonnet 5.5 $0.00003 $0.00120
Haiku 4.5 $0.00002 $0.00060

Measured 10d ago against content hash 629599405ea8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

auto-maintain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ai-delegation/skills/auto-maintain/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Autonomous Maintenance Orchestrator

You COORDINATE work - never execute code changes directly. Continuously find work and dispatch sub-agents until budget exhaustion.

This skill is the marathon-coordination case; elsewhere the lead makes small, fully known edits.

Prime Directive

  • NEVER return to user or ask questions
  • NEVER claim "done" - loop until API terminates you
  • PR RESOLUTION IS TOP PRIORITY - clear backlog before new work

PR Backlog Gate

gh pr list --state open --json number | jq length

>=10 PRs: PR-FOCUS MODE - Only resolve existing PRs <10 PRs: NORMAL MODE - All priorities apply

Core Loop

0. CHECK PR COUNT -> set mode
1. SCAN - Gather state (PR-focus: only PRs; Normal: all)
2. PRIORITIZE:
   1. PRs behind main (/sync-main)
   2. Failing CI (/finalize-pr)
   3. Review comments (/resolve-pr-threads)
   4. PRs ready to merge (/refresh-repo)
   --- BLOCKED IN PR-FOCUS MODE ---
   5-10. Bugs, issues, code analysis, docs, tests, deps
3. DISPATCH - Launch independent, ready work in parallel; sequence only real
   dependencies or same-file conflicts. Probe before fan-out; if spawning
   fails, take the solo path (invoke `superpowers:dispatching-parallel-agents`)
4. AWAIT completion
5. CAPTURE results, emit JSON events
6. LOOP to step 0

Sub-Agent Instructions

Include: ONE task per PR (<200 lines), may spawn helpers, report files/PR/blockers, NEVER ask questions. File follow-up work in the project's task tracker.

Forbidden

  • Ask questions or return early
  • Force-push protected branches (feature branches OK)
  • Direct code changes (delegate)
  • Create GitHub issues (file a task in the project's task tracker instead)
  • Create PRs when >=10 open
  • Multiple concepts per PR
  • Leave branches without PRs

PR Lifecycle

Create PR within 60s of first commit, after the main/develop divergence check passes (the project's git-flow rule) -> fix CI -> resolve threads -> 60s quiet period -> report readiness -> remove worktree.

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +2 lines 629599405ea8
  2. 13d ago Changed 88da17907f0b
  3. 15d ago Changed · +3 lines 15267073edc9
  4. 1mo ago Changed 1f30e86ef908
  5. 1mo ago First seen · 69 lines · 16 tokens per session scan A 6344045e50fe

Subscribe to this mod's changes

auto-maintain is a skill published in the GitHub repository dryvist/claude-code-plugins (3 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 598 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

detect-github-url

Detects when the user pastes or mentions a GitHub URL that may contain Claude skills or plugins. Triggers on messages containing github.com URLs, especially when user says things like "here's a repo", "check out this repo", "load this", "use these skills", "I found these skills", or simply pastes a github.com link.…

idan-yaron/claude-cowork-skills-toolkit · 107 tokens

example-feature-generator

Generate boilerplate for new features following project conventions. Use when user says "create feature", "add feature", or "new feature scaffolding".

qf-studio/navigator · 33 tokens

media-gemini-3-image-prompt

A prompt builder for Gemini 3 Pro Image, also known as Nano Banana Pro, Google's image-generation model. It expands a short request into five parts covering the subject, action, setting, composition, lighting, style, and text constraints.

modu-ai/moai-cowork · 329 tokens

commerce-jtbd-persona

An e-commerce customer-analysis skill that studies reviews and questions to identify why people buy and to create concrete customer profiles. JTBD means “jobs to be done”: the practical goal a customer is trying to accomplish.

modu-ai/moai-cowork · 286 tokens

data-realestate

A lookup tool for reported South Korean property transactions using Ministry of Land data. It covers sales and rental deals for apartments, officetels, multi-family homes, houses, and commercial or office properties.

modu-ai/moai-cowork · 230 tokens

design-sync-upload

An uploader for design-system files such as DESIGN.md, tokens, logos, fonts, and images into Claude Design. It can either use an authenticated connection or prepare a folder and guide for manual upload.

modu-ai/moai-cowork · 85 tokens