Maintenance Scan — Development skill for Claude Code
Scan repository for stale files (>30 days old) and generate maintenance report.
How to install Maintenance Scan
Installs to ~/.claude/commands/enuno-claude-command-and-control-maintenance-scan.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/enuno/claude-command-and-control/HEAD/.claude/commands/maintenance-scan.md -o ~/.claude/commands/enuno-claude-command-and-control-maintenance-scan.md Restart Claude Code, or start a new session, for it to be picked up.
What Maintenance Scan does
description: "Scan repository for stale files (>30 days old) and generate maintenance report" allowed-tools: ["Read", "Bash(find)", "Bash(git:log)", "Bash(stat)", "Bash(ls)"] author: "Claude Command and Control" version: "1.0"
Maintenance Scan
Purpose
Scan the entire repository for files that haven't been modified in more than 30 days, categorize them by type and importance, and generate a prioritized maintenance report for review.
Workflow
1. Define Scan Parameters
**Ex
Alternatives in Development
- Om Tidy — Self-maintenance pass — acts on every hygiene flag: archives completed work, groups loose clusters, splits ove 4.6k ★
- Last30days Skill — Claude Code skill that researches any topic across Reddit + X from the last 30 days, then writes copy-paste-re 4.4k ★
- Claude Code Guide — The Complete Claude Code CLI Guide - Live & Auto-Updated Every 2 Days 2.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Drift Watch
Report stale artifacts, dependency drift, and overdue harness maintenance.
Cleanup Scratch
Scan a scratch directory for stale files, categorize by type, report size, and delete with confirmation
Standup Nt
Multi-project status — scan your projects for plan/ folders, report active / idle / stale with top chunk and p
Pantheon Forget
Compress old memory entries into summarized form. /pantheon-forget lists entries older than N days, then repla
Archive
Move old [fixed] found-issues entries to an archive file (count threshold 50 OR days threshold 30, whichever f
Triage Stale
Check in on an issue with no activity for 30+ days
Related Agents
Thread Janitor
Auto-clean stale cortex threads. Finds threads with no updates in 7+ days, resolves completed work, merges dup
Readme Analyzer
Analyzes README.md against a Change Payload and returns an Update Report with exact old→new edits. Read-only —
Vault Librarian
Run vault maintenance: detect orphan notes, find broken wikilinks, validate frontmatter completeness, flag sta