What it does
The agent finds code that is no longer used, including imports, functions and classes, and removes it. It works across multiple languages.
The publisher suggests using it after refactoring, when features are removed, and before production deployment. It is meant to be run proactively at those points rather than only on request.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 18 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 2071
unused-code-cleaner
Detects and removes unused code (imports, functions, classes) across multiple languages. Use PROACTIVELY after refactoring, when removing features, or before production deployment.
As shown on www.aitmpl.com when we last read it