Home / cowork-os / cowork-os · resources/skills/clean-imports/SKILL.md · GitHub

clean-imports skillA

clean-imports is agent-read markdown (skill) from cowork-os/cowork-os: Remove unused imports from files.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# 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

| Name | Type   | Required | Description            |
| ---- | ------ | -------- | ---------------------- |
…

Read the whole file at its exact version.

How to install

Latest version
mdr add cowork-os/cowork-os/clean-imports@v1.0.0
Exact content
mdr add cowork-os/cowork-os/clean-imports@sha256:c4b7f1b5fcd046af

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gkor44fdf3o4xsdy.svg)](https://markdownregistry.com/a/art_gkor44fdf3o4xsdy)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.0.0 latest2026-09-19 79a17f6 1,517 BA view · diff
v1.0.02026-08-20 2efa54b 1,464 BA view · diff
git:20260228.51e7c072026-02-28 51e7c07 1,381 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1517 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cowork-os/cowork-os · 459 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gkor44fdf3o4xsdy
GET https://markdownregistry.com/api/v1/resolve?ref=cowork-os/cowork-os/clean-imports
GET https://markdownregistry.com/api/v1/blob/c4b7f1b5fcd046afb06d2b7d21fc492328a954de265113b4bc700f713bd8871d

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from cowork-os/cowork-os

attack-path-analysis skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/attack-path-analysis/SKILL.md · Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a…
git:20260919.4f2a470 · audit A · 459 stars
deep-security-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/deep-security-scan/SKILL.md · Use when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide Codex Security scan…
git:20260606.a4decec · audit A · 459 stars
finding-discovery skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/finding-discovery/SKILL.md · Use when Codex is already in the finding-discovery phase of a security scan or the user explicitly asks to discover…
git:20260919.ad0495b · audit A · 459 stars
fix-finding skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/fix-finding/SKILL.md · Use when the user explicitly asks to fix and verify a validated or plausible security finding. Do not use as the…
git:20260606.a4decec · audit A · 459 stars
security-diff-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/security-diff-scan/SKILL.md · Use when the user asks for a security review of a pull request, commit, branch diff, working-tree patch, or other…
git:20260919.c03e78b · audit A · 459 stars
security-scan skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/security-scan/SKILL.md · Use when the user asks for a repository-wide or scoped-path security scan.
git:20260919.7b075ca · audit A · 459 stars
threat-model skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/threat-model/SKILL.md · Use when Codex is already in the threat-modeling phase of a security scan, the user explicitly invokes $threat-model…
git:20260606.a4decec · audit A · 459 stars
validation skill
cowork-os/cowork-os · resources/plugin-packs/codex-security/skills/validation/SKILL.md · Use when Codex is already in the validation phase of a security scan or the user explicitly asks to determine whether…
git:20260606.a4decec · audit A · 459 stars
1password skill
cowork-os/cowork-os · resources/skills/1password/SKILL.md · Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or…
v1.0.0 · audit A · 459 stars
add-documentation skill
cowork-os/cowork-os · resources/skills/add-documentation/SKILL.md · Generate JSDoc/docstrings for functions
v1.0.0 · audit A · 459 stars
agentic-image-loop skill
cowork-os/cowork-os · resources/skills/agentic-image-loop/SKILL.md · Generate -> annotate -> refine -> repeat using generate_image + Visual Annotator (Live Canvas).
v1.0.0 · audit A · 459 stars
analyze-csv skill
cowork-os/cowork-os · resources/skills/analyze-csv/SKILL.md · Load a CSV and provide insights
v1.0.0 · audit A · 459 stars

Every file in cowork-os/cowork-os

Browse by kind, by grade A, or by owner.