mm-cleanup

Automate dead code, duplication, and AI padding removal in Python and JavaScript files.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/mikkeymoo/claude-solo --skill mm-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mm-cleanup
Source: https://github.com/mikkeymoo/claude-solo/tree/main/mm-skills/mm-cleanup
Command: npx skills add https://github.com/mikkeymoo/claude-solo --skill mm-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps developers automate the cleanup of dead code, duplication, and AI padding in their codebases, improving code quality and efficiency.

Core Features & Use Cases

  • Dead Code Removal: Identify and remove dead code to streamline the codebase.
  • Code Duplication Reduction: Consolidate duplicated code to reduce redundancy.
  • AI Padding Removal: Eliminate unnecessary AI-generated padding from the code.
  • Use Case: Use the mm-cleanup Skill to run an audit on your codebase to find and catalog issues without making any changes. For a more aggressive cleanup, run the Skill with the --aggressive flag.

Quick Start

Run /mm-cleanup --audit to generate a cleanup checklist without making any changes to your codebase.

Frequently Asked Questions about mm-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically remove dead code and AI padding from my codebase?

You can automatically remove dead code and AI padding by running an automated static analysis script that detects and eliminates unused logic. This process requires no manual intervention and streamlines your codebase to improve overall code quality.

What is the best way to audit Python and JavaScript files for code duplication without modifying the source?

The best way to audit Python and JavaScript files for code duplication is to run an audit command that generates a cleanup checklist. This uses static analysis and heuristics to catalog issues without making any changes to your codebase.

Does automated code cleanup support both Python and JavaScript files?

Yes, automated code cleanup supports both Python and JavaScript files. It uses static analysis and heuristics to detect dead code, duplication, and AI padding across these languages without requiring manual intervention.

How do I aggressively consolidate duplicated code in my repository?

To aggressively consolidate duplicated code in your repository, run the cleanup command with an aggressive flag. This automates the identification and removal process, actively modifying the codebase to reduce redundancy and eliminate dead code.

Why does AI padding appear in my codebase and how can I eliminate it?

AI padding appears in codebases as unnecessary generated logic from AI tools. You can eliminate this padding by running automated static analysis heuristics that identify and remove the redundant code without manual intervention.

When should I not use aggressive code cleanup on my project?

You should not use aggressive code cleanup when you only need to catalog issues without altering your codebase. Instead, run an audit to generate a checklist, preserving your original source while still identifying dead code and duplication.