Skill Detail

Find unused Python code before cleanup refactors with Vulture

Run a dead-code pass on Python repositories before refactors so agents can flag unused functions, classes, imports, and variables instead of deleting blindly.

Code Quality & ReviewMulti-Framework
Code Quality & Review Multi-Framework Security Reviewed
⭐ 4.5k GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill find-unused-python-code-before-cleanup-refactors-with-vulture Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Python 3, pip, Vulture CLI
Install & setup
Install with `pip install vulture`, then run `vulture path/to/repo` and review the reported unused code before making cleanup edits.
Author
jendrikseipp
Publisher
Individual
Last updated
Apr 15, 2026
Quick brief

Use Vulture when an agent is preparing a Python cleanup, migration, or repo-slimming pass and needs a focused list of likely unused code first. The agent can scan the project, review suspicious dead-code findings, and hand back a triage list before any destructive edits happen. The boundary is a pre-refactor dead-code review loop for Python, not a generic Python toolkit or broad linting platform listing.