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 ★
- Code Refactor Agent — Duplicate code detection and refactoring specialist 149 ★
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
Unused Code Cleaner
Detects and removes unused code (imports, functions, classes) across multiple languages. Use PROACTIVELY after
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
Comment Analyzer
Use this agent when you need to analyze code comments for accuracy, completeness, and long-term maintainabilit
Local Writer
Use for high-token repetitive writing (docstrings, inline code comments, Markdown documentation, CHANGELOG/REA
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