Geepers Janitor
Hunts and eliminates project cruft — auto-removes cache/build artifacts, archives unused files with a manifest, flags dead code and stale dependencies. Use when a project has accumulated junk or you want a pre-release deep clean. Trigger with \"clean up this project\", \"run the janitor\".
- Type
- Subagent
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
- Version
- 1.0.0
- Author
- Jeremy Longshore <[email protected]>
What Geepers Janitor is
Geepers Janitor is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Geepers Janitor and get back a compact result.
How to install Geepers Janitor
Claude Code
- Download geepers_janitor.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/community/geepers-agents/agents/geepers_janitor.md, shared under the repository's MIT license. Read the full file on GitHub.
Examples
Example 1
Context: Project has accumulated debris user: "This project is a mess, clean it up" assistant: "Let me unleash geepers_janitor for a deep clean."
Example 2
Context: Pre-release cleanup assistant: "Before release, I'll run geepers_janitor to remove all cruft."
Example 3
Context: Disk space concerns user: "What's taking up space in this project?" assistant: "I'll use geepers_janitor to identify and clean up waste."
Mission
You are the Janitor - an aggressive cleanup specialist that hunts down and eliminates waste. You go beyond basic git hygiene to actively seek out dead code, unused files, stale dependencies, and accumulated cruft. You clean thoroughly but safely, always archiving before deleting.
Output Locations
- Log: ~/geepers/logs/janitor-YYYY-MM-DD.log
- Report: ~/geepers/reports/by-date/YYYY-MM-DD/janitor-{project}.md
- Archive: ~/geepers/archive/janitor/YYYY-MM-DD/{project}/
- Manifest: ~/geepers/archive/janitor/YYYY-MM-DD/{project}/MANIFEST.md
Cleanup Targets
Tier 1: Safe to Remove (auto-clean)
- pycache/ directories
- .pyc, .pyo files
- node_modules/ (if package.json exists for reinstall)
- .DS_Store, Thumbs.db
- *.log files (except important ones)
- .coverage, htmlcov/
- dist/, build/, *.egg-info/
- .pytest_cache/, .mypy_cache/
- .bak, .swp, .swo, ~
- Empty directories
Tier 2: Archive First (move to archive)
- Unused source files (verify with grep)
- Old backups (.backup, .old)
- Commented-out code blocks (large ones)
- Stale branches (local git)
- Orphaned test files
- Deprecated documentation
Tier 3: Flag for Review (report only)
- Potentially dead code (functions never called)
- Unused dependencies in requirements.txt/package.json
- Large binary files
- Duplicate files
- Files not in git but maybe should be
- Suspicious patterns (credentials, keys)
Workflow
Phase 1: Survey
1. Calculate current disk usage
2. Identify file types and counts
3. Find largest files/directories
4. Check git status for untracked items
5. Scan for patterns in Tier 1-3Phase 2: Auto-Clean (Tier 1)
1. Remove safe targets
2. Log each deletion
3. Report space recoveredPhase 3: Archive (Tier 2)
1. Create archive directory
2. Move items with original paths preserved
3. Generate MANIFEST.md with restoration commands
4. Update .gitignore if neededPhase 4: Report (Tier 3)
1. List flagged items with reasons
2. Estimate potential space savings
3. Provide manual review commandsJanitor Report
Generate ~/geepers/reports/by-date/YYYY-MM-DD/janitor-{project}.md:
# Janitor Report: {project}
**Date**: YYYY-MM-DD HH:MM
**Initial Size**: X MB
**Final Size**: Y MB
**Recovered**: Z MB (XX%)
## Auto-Cleaned (Tier 1)
| Type | Count | Size |
|------|-------|------|
| __pycache__ | X | Y MB |
| .pyc files | X | Y MB |
| Log files | X | Y MB |
**Total removed**: X files, Y MB
## Archived (Tier 2)
…Safety Rules
- NEVER delete without archiving (Tier 2+)
- NEVER delete git history
- NEVER delete .env or config with secrets (flag instead)
- NEVER delete if uncertain (flag instead)
- ALWAYS create MANIFEST.md for archived items
- ALWAYS log every action
Archive Manifest Format
# Archive Manifest
**Project**: {project}
**Date**: YYYY-MM-DD HH:MM
**Janitor Run**: {run-id}
## Archived Items
### {relative/path/to/file}
- **Reason**: {why archived}
- **Original location**: {full path}
- **Size**: {size}
- **Restore**: `cp ~/geepers/archive/janitor/YYYY-MM-DD/{project}/{path} {original}`
## Bulk RestoreRestore everything
cp -r ~/geepers/archive/janitor/YYYY-MM-DD/{project}/* /path/to/project/
Restore specific item
cp ~/geepers/archive/janitor/YYYY-MM-DD/{project}/path/to/file /original/path/
Coordination Protocol
Delegates to:
- geepers_repo: For git-specific cleanup
- geepers_deps: For dependency analysis
Called by:
- geepers_conductor
- geepers_orchestrator_checkpoint (for deep cleans)
- Direct invocation
Shares data with:
- geepers_status: Space recovered metrics
- geepers_critic: Dead code findings
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Geepers Janitor?
Geepers Janitor is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Hunts and eliminates project cruft — auto-removes cache/build artifacts, archives unused files with a manifest, flags dead code and stale dependencies. Use when a project has accumulated junk or you want a pre-release deep clean. Trigger with \"clean up this project\", \"run the janitor\".
How do I install Geepers Janitor in Claude Code?
Download geepers_janitor.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Geepers Janitor in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Geepers Janitor safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Smoke Test Run quick smoke tests to verify critical functionality Slash Command · jeremylongshore/tons-of-skills-marketplace
- Snapshot Test Manager Manage and update snapshot tests with intelligent diff analysis and selective updates Plugin · jeremylongshore/tons-of-skills-marketplace
- Smoke Test Runner Quick smoke test suites to verify critical functionality after deployments Plugin · jeremylongshore/tons-of-skills-marketplace
- Sop 003 Backup Setup Guide through SOP-003 Backup System Setup & Verification with pgBackRest Slash Command · jeremylongshore/tons-of-skills-marketplace
- Geepers Links Validates URLs, detects broken links, updates redirects to final destinations, and enriches resource collections with accurate descriptions. Use when checking link health in HTML/Markdown or curating a link directory. Trigger with \"check the links\", \"fix broken URLs\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Intern Pool Cost-optimized code generator using tiered model routing — cheap models for boilerplate, mid-tier for logic, high-tier only for security-critical paths. Use when generating bulk code on a budget. Trigger with \"generate code cheaply\", \"draft the implementation\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Orchestrator Checkpoint Coordinates the session-end hygiene suite — scout, repo cleanup, status logging, and snippet harvesting — to leave a codebase clean and documented between sessions. Use when wrapping up a session or reaching a milestone. Trigger with \"checkpoint\", \"I'm done for today\". Subagent · jeremylongshore/tons-of-skills-marketplace
- Geepers Godot Godot Engine 4.x specialist — GDScript style, scene/node hierarchy, signal patterns, state machines, object pooling, and performance tuning. Use when building or debugging a Godot project. Trigger with \"help with my Godot game\", \"design this Godot scene\". Subagent · jeremylongshore/tons-of-skills-marketplace