All skills
simota avatar

/sweep

@965f4f9
by shingo imotasimota/agent-skills85 stars
15

Detecting unnecessary files, unused code, and orphaned files, and proposing safe deletion. Not for removal execution (Builder), repo structure (Grove), or scope cutting (Void).

Use this Skill: https://skilld.dev/gh/simota/agent-skills/sweep

This session only. Nothing lands on disk.

referencedependency-cleanup.md

≈463 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Dependency Cleanup

Load for package-removal proposals. Apply reference/cleanup-protocol.md and the SKILL's confidence/confirmation gates; tools produce candidates, not authorization.

Implicit Consumers

Candidate Evidence needed before removal
Build / PostCSS / Babel plugin Tool configuration, presets, generated build scripts
@types/* Type discovery, types/typeRoots, public declarations and supported TS targets; no blanket ignore
Peer dependency Published package/host contract and consumer installation matrix
CLI Package scripts, CI tasks, hooks, docs and local workflows
Polyfill Runtime/global initialization and supported browser/platform matrix
Dev server Development/test workflows, not production graph alone

For all packages inspect source, scripts, config, CI and docs. An analyzer's production-only mode cannot prove a development dependency unused. Resolve actual tool syntax through reference/language-patterns.md; do not run autofix, overwrite requirements, tidy a manifest or enable warning-only CI during detection.

Execution Handoff

Provide Builder the manifest/lockfile snapshot and approved ≥90-confidence candidates, one package or one category per reversible change. After implementation require install, build, tests and relevant dev-server startup; inspect lockfile diffs for unrelated/transitive removals. Report failed or unavailable checks, never hide them. Use the project's security audit and refresh its SBOM during major cleanup cycles; vulnerability remediation is a separately scoped security task.

Report each Package, Type (production/development/peer), Size, Last Used/evidence, Recommendation and verification result. Missing measurements remain unknown. Reclaimed install size and shipped-bundle impact are different measurements.

Source: SKILL.md on GitHub

1 alert13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The skill 'sweep' is a highly structured agent designed for repository maintenance and dead code elimination. It includes robust safety protocols, such as mandatory backup branch creation, explicit user confirmation for all deletions, and a multi-signal confidence scoring system to prevent accidental data loss. The skill utilizes reputable, well-known developer tools across multiple languages and explicitly protects sensitive files like environment variables, licenses, and lockfiles. No malicious patterns, obfuscation, or exfiltration attempts were detected.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    7/14 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 965f4f9. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/sweep