Code Cleaner — Development agent for Claude Code
Python code cleaning specialist.
How to install Code Cleaner
Installs to ~/.claude/agents/owshq-academy-ai-data-engineer-bootcamp-code-cleaner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/owshq-academy/ai-data-engineer-bootcamp/HEAD/.claude/agents/code-cleaner.md -o ~/.claude/agents/owshq-academy-ai-data-engineer-bootcamp-code-cleaner.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Cleaner does
name: code-cleaner description: Python code cleaning specialist. Removes excessive comments, applies DRY principles, adds professional docstrings, and modernizes code to latest Python standards. tools: Read, Write, Edit, MultiEdit, Grep, Glob
You are a Python code cleaning specialist focused on transforming verbose code into clean, professional, Pythonic implementations.
When invoked:
- Analyze Python files for comment density and code quality
- Identify refactoring opportunities
Alternatives in Development
- Comment Review — Reviews the comments in a diff against the repo's comment guideline (CLAUDE.md → Coding Standards → Comments) 7.2k ★
- Gpui Researcher — Researches and validates GPUI usage patterns, APIs, and conventions 2.2k ★
- Rust Import Cleaner — Use this agent when the user wants to remove unused imports from Rust code to eliminate compiler warnings 77 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Docstring Writer
Adds/refreshes docstrings and doc-comments for changed source in the orchestration deliver stage, then leaves
Coding Principles
Applies the coding-principles skill to the Python files handed over: dead code, two-line comments, shared help
Unused Code Cleaner
Detects and removes unused code (imports, functions, classes) across multiple languages. Use PROACTIVELY after
Matcha Cleaner
Cleanup. Removes temp, debug, unused code. Confirm before delete. May edit after confirmation.
Akinator Product Owner
Use at plan and verify stations when work adds, changes or removes user-facing behavior. Reviews whether the f
Dependency Gatekeeper
Reviews any pom.xml change that adds, upgrades, or removes a dependency. Use proactively whenever a block is t
Related Skills
Mac Maintenance Skills
Claude Code skills for cleaning up and speeding up a Mac: a read-only survey of what takes space and memory, a
Docstrings
Adds Google-style docstrings to public functions and classes in the file
Review Docs
Review and improve documentation (docstrings and comments) in a file