Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cowork-os avatar

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-imports

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs53
repo stars416
Last updatedAugust 4, 2026
Repositorycowork-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

Related skills

Code Review & Qualityfrontendbackend

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.