Skip to content
Back to skills

Find Unused Python Code Before Cleanup Refactors With Vulture

ASecurity

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

  • 36 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 8, 2026
ai-agentspythongogitsecuritydocumentation

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill find-unused-python-code-before-cleanup-refactors-with-vulture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Find Unused Python Code Before Cleanup Refactors With Vulture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Find Unused Python Code Before Cleanup Refactors With Vulture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-find-unused-python-code-before-cleanup-refactors-w/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-find-unused-python-code-before-cleanup-refactors-w)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Find unused Python code before cleanup refactors with Vulture"
slug: "find-unused-python-code-before-cleanup-refactors-with-vulture"
description: "Run a dead-code pass on Python repositories before refactors so agents can flag unused functions, classes, imports, and variables instead of deleting blindly."
github_stars: 4521
verification: "security_reviewed"
source: "https://github.com/jendrikseipp/vulture"
author: "jendrikseipp"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "jendrikseipp/vulture"
  github_stars: 4521
---

# 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.

## Prerequisites

Python 3, pip, Vulture CLI

## Installation

Use the upstream install or setup path that matches your environment:
- $ pip install vulture
- make some modifications.
- make it harder to read.

Requirements and caveats from upstream:
- [![PyPI Version](https://img.shields.io/pypi/v/vulture.svg)](https://pypi.python.org/pypi/vulture)
- Vulture finds unused code in Python programs. This is useful for
- Due to Python's dynamic nature, static code analyzers like Vulture are

Basic usage or getting-started notes:
- cleaning up and finding errors in large code bases. If you run Vulture
- $ vulture myscript.py # or
- $ python3 -m vulture myscript.py

- Source: https://github.com/jendrikseipp/vulture
- Extracted from upstream docs: https://raw.githubusercontent.com/jendrikseipp/vulture/HEAD/README.md

## Documentation

- https://github.com/jendrikseipp/vulture

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/find-unused-python-code-before-cleanup-refactors-with-vulture/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.