LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

cleanup - Scan and clean repo dead code and artifacts

Scans repository for dead code and debug artifacts, reports findings, and applies fixes category by category with user confirmation.

Tags

Updated: 2026-09-18

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Scan repository for code cruft
  • Filter false positive findings
  • Generate markdown cleanup report
  • Delegate scan to subagent
  • Apply fixes with user confirmation

Inputs

  • Repository codebase
  • Git diff base branch
  • Scan scope flags
  • Scan category list
  • User confirmation inputs

Outputs

  • Cleanup report markdown artifact
  • Terminal confirmation prompts
  • Modified source files
  • Deleted empty files
  • Git diff summary

Requirements

  • Git version control
  • Repository linters and formatters
  • Read and write file permissions
  • Subagent execution support

Source

  • Spec: SKILL.md
cleanup
dead-code
refactoring
code-quality
git
Scan repository for code cruft
Filter false positive findings
Generate markdown cleanup report
Delegate scan to subagent
Repository codebase
Git diff base branch
Scan scope flags
Cleanup report markdown artifact
Terminal confirmation prompts
Modified source files