Janitor — Development agent for Claude Code
Perform janitorial tasks on any codebase including cleanup, simplification, and tech debt remediation.
How to install Janitor
Installs to ~/.claude/agents/rjmurillo-ai-agents-janitor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/rjmurillo/ai-agents/HEAD/.claude/agents/janitor.md -o ~/.claude/agents/rjmurillo-ai-agents-janitor.md Restart Claude Code, or start a new session, for it to be picked up.
What Janitor does
name: janitor description: 'Perform janitorial tasks on any codebase including cleanup, simplification, and tech debt remediation.' model: sonnet role: support argument-hint: Describe the area of the codebase to clean up or the type of tech debt to address
Janitor Agent
Style Guide Compliance
Key requirements:
- No sycophancy, AI filler phrases, or hedging language
- Active voice, direct address (you/your)
- Replace adjectives with data (quantify impact)
- No em dashes, no emoji
Alternatives in Development
- Tech Debt — You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical 31.9k ★
- Agent Refactorer — Principal Clean Code Specialist specializing in code simplification, performance tuning, and refactoring loops 957 ★
- Tech Lead Orchestrator — Senior technical lead who analyzes complex projects and coordinates multi-step development tasks 286 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Performance Debt Detector
Detect performance anti-patterns including N+1 queries, sync in async, unbounded collections, and O(n²) algori
Dedup Code Agent
Detects code duplication, unused code, and dependency bloat. Specializes in technical debt identification and
Sub-Agent Tech Debt Finder & Fixer Command
A two-phase command that first identifies technical debt across your codebase, presents findings for review, t
Tech Debt Assessor
Use this agent to assess technical debt and code quality in a bounded region of the Revel codebase. It is the
Codebase Snapshot
Use this agent when the user wants to capture a point-in-time snapshot of the codebase state, including archit
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
Related Skills
Codemap Skill
🧹 A code janitor for AI agents — map any codebase into functional modules, score every module 0-100 for tech
Cad Clean
Safe dead-code purge and tech-debt cleanup with automated test auto-rollback.
Tech Debt Skill
Claude Code skill that produces a thorough, file-cited tech debt audit of an entire codebase