vulture-dead-code

Detect unused Python functions, classes, variables, and imports with Vulture.

6|1|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/Ven0m0/claude-config --skill vulture-dead-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vulture-dead-code
Source: https://github.com/Ven0m0/claude-config/tree/main/claude/skills/vulture-dead-code
Command: npx skills add https://github.com/Ven0m0/claude-config --skill vulture-dead-code

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers identify and eliminate dead code in Python projects, leading to cleaner, more maintainable, and efficient codebases.

Core Features & Use Cases

  • Unused Code Detection: Finds unused functions, classes, variables, and imports.
  • Confidence Scoring: Vulture provides confidence scores to help prioritize removal.
  • CI Integration: Easily integrate dead code checks into your CI/CD pipeline or pre-commit hooks.
  • Use Case: Before releasing a new version of your Python application, run this Skill to ensure no leftover experimental code or unused dependencies are included, reducing the attack surface and improving performance.

Quick Start

Run vulture with a minimum confidence of 80% on the current directory.

Frequently Asked Questions about vulture-dead-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect unused Python code in my project?

To detect unused Python code, this Skill uses static analysis tools like Vulture and deadcode to find unused functions, classes, variables, and imports. It scans your project directory and identifies code that can be safely removed during refactoring.

What is dead code detection and when do I need it?

Dead code detection identifies unused functions, classes, variables, and imports that exist in your codebase but are never executed. You need it for code hygiene, refactoring, and maintaining clean Python projects by reducing the attack surface and improving performance.

Can I integrate dead code checks into my CI pipeline?

Yes, you can integrate dead code checks into your CI/CD pipeline or pre-commit hooks. The Skill supports configuration via pyproject.toml or command-line arguments, allowing you to run Vulture with a minimum confidence score to automate code hygiene verification.

Do I need to install Vulture and deadcode packages to use this?

Yes, this Skill requires the installation of the vulture and deadcode packages to perform static analysis. Once installed, you can configure detection parameters through pyproject.toml or command-line arguments to identify unused Python code.

What's the best way to prioritize which unused code to remove?

The best way to prioritize unused code removal is using Vulture's confidence scores. You can set a minimum confidence threshold, such as 80%, to filter results and focus on removing code that the static analysis tool identifies with the highest certainty.

How do I configure Vulture to scan the current directory?

You can configure Vulture to scan the current directory by running it with a minimum confidence threshold of 80%. Configuration is supported through pyproject.toml settings or command-line arguments to customize how unused Python code is detected and reported.