skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
cowork-os/cowork-os55 installs

clean-imports

Remove unused imports from files

How do I install this agent skill?

npx skills add https://github.com/cowork-os/cowork-os --skill clean-imports
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill is a utility for cleaning up code imports in local files. No security risks were detected in the provided skill definition.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1 file scanned · No issues

What does this agent skill do?

Clean Imports

Purpose

Remove unused imports from files

Routing

  • Use when: Use for import hygiene: unused imports, sorting, grouping, and duplicate cleanup in local source files.
  • Do not use when: Don't use for formatting-only tasks or API-logic refactors where imports are secondary.
  • Outputs: Refactored import blocks and a concise list of removed/sorted/grouped changes.
  • Success criteria: No functional change while improving import ordering, grouping, and deduplication without overreach.

Trigger Examples

Positive

  • Use the clean-imports skill for this request.
  • Help me with clean imports.
  • Use for import hygiene: unused imports, sorting, grouping, and duplicate cleanup in local source files.
  • Clean Imports: provide an actionable result.

Negative

  • Don't use for formatting-only tasks or API-logic refactors where imports are secondary.
  • Do not use clean-imports for unrelated requests.
  • This request is outside clean imports scope.
  • This is conceptual discussion only; no tool workflow is needed.

Parameters

NameTypeRequiredDescription
pathstringYesPath to file or folder

Runtime Prompt

  • Current runtime prompt length: 367 characters.
  • Runtime prompt is defined directly in ../clean-imports.json.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/cowork-os/cowork-os/clean-imports">View clean-imports on skillZs</a>