
Clean Imports
- 53 installs
- 416 repo stars
- Updated August 4, 2026
- cowork-os/cowork-os
Removes unused imports, sorts them alphabetically, groups them by type, and drops duplicates in a given file, then reports what changed.
About
Clean Imports tidies a file's import statements - removing unused ones, sorting alphabetically, grouping by standard-library, external, and local, and dropping duplicates - then reports what it changed. A solo builder reaches for it to keep import blocks clean and consistent without hand-editing them after refactors.
- Remove unused imports
- Sort imports alphabetically
- Group by builtin/external/local
- Drop duplicate imports
Clean Imports by the numbers
- 53 all-time installs (skills.sh)
- Ranked #564 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cowork-os/cowork-os --skill clean-importsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 53 |
|---|---|
| repo stars | ★ 416 |
| Last updated | August 4, 2026 |
| Repository | cowork-os/cowork-os ↗ |
What it does
Removes unused imports, sorts them alphabetically, groups them by type, and drops duplicates in a given file, then reports what changed.
Who is it for?
Keeping import blocks clean after refactors
Skip if: Deep semantic refactoring
When should I use this skill?
A file's imports are messy or unused