env-finder

Analyze build configuration files to extract environment variables affecting Python wheel builds.

36|76|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/opendatahub-io/ai-helpers --skill env-finder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-finder
Source: https://github.com/opendatahub-io/ai-helpers/tree/main/claude-plugins/python-packaging/skills/env-finder
Command: npx skills add https://github.com/opendatahub-io/ai-helpers --skill env-finder

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Customizing Python package builds often requires knowing which environment variables can influence the process, a detail usually buried in build scripts or documentation. This Skill automates the discovery of these variables, simplifying advanced build configurations and saving you manual investigation.

Core Features & Use Cases

  • Comprehensive File Scan: Analyzes setup.py, CMakeLists.txt, Makefiles, and other build configuration files for environment variable usage patterns.
  • Variable Categorization: Groups discovered variables into intuitive categories like Compiler, Path, Feature Control, and Python-Specific for clarity and easier understanding.
  • Detailed Variable Information: Provides the variable name, inferred purpose, type, default value, source file, and usage context for each identified variable.
  • Actionable Guidance: Offers insights into how and when each variable is used, common use cases, and potential conflicts or compatibility issues.
  • Use Case: You're trying to build a Python package with specific compiler flags or library paths. You can ask Claude, "Find all environment variables I can set when building this Python project" to get a comprehensive list and understand how to customize your build.

Quick Start

Investigate environment variables for building the Python project in the current directory.

Frequently Asked Questions about env-finder

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

FAQPage Schema
How do I find environment variables that affect Python package builds?

Environment variables that influence Python wheel builds can be discovered by analyzing build configuration files like setup.py, setup.cfg, pyproject.toml, CMakeLists.txt, and Makefiles. This Skill scans these files to extract compiler, linker, path, and feature-control variables with their names, types, defaults, and usage contexts in a structured report.

What build configuration files can be analyzed for environment variables?

The Skill analyzes setup.py, setup.cfg, pyproject.toml, CMakeLists.txt, Makefiles, *.mk files, and other build configuration artifacts to identify environment variable usage patterns that customize Python package builds and influence compilation behavior.

Can I customize Python builds by setting specific environment variables?

Yes. By discovering which environment variables your Python project supports through build configuration analysis, you can set compiler flags, library paths, and feature-control options to customize wheel builds without modifying source code or build scripts.

What information does the Skill provide about each discovered variable?

For each environment variable, the Skill provides the variable name, inferred purpose, data type, default value, source file location, and usage context, enabling you to understand how each variable influences the build process and when to apply it.

Why should I automate environment variable discovery instead of searching build scripts manually?

Manual investigation of build scripts is time-consuming and error-prone. Automating discovery saves investigation time, ensures comprehensive coverage across all configuration files, and generates structured metadata suitable for vector embeddings and downstream analysis.

Does this work with CMake and Makefile-based Python projects?

Yes. The Skill analyzes CMakeLists.txt, Makefiles, and *.mk files alongside setup.py and pyproject.toml, making it suitable for Python projects using CMake, Make, or hybrid build systems that influence wheel compilation.