npx claudepluginhub andikarachman/data-science-plugin --plugin dsThis skill uses the workspace's default tool permissions.
Check the current Python environment for libraries required by the ds plugin. Report what is installed, what is missing, and provide install commands.
Manages Python development environments (venv, conda) by checking status with bash commands, confirming with user before installations, and providing best practices for safe package setup.
Validates OS, runtime versions (Node/Python/Rust/Go/Ruby), installed tools, port availability, env vars, and disk space before coding. Prevents 'works on my machine' bugs in new environments.
Automates Miniconda installation across macOS/Linux/Windows, creates 'research' Python env, installs numpy/pandas/matplotlib/seaborn/scipy for data visualization and plotting tasks when env is missing.
Share bugs, ideas, or general feedback.
Check the current Python environment for libraries required by the ds plugin. Report what is installed, what is missing, and provide install commands.
Run python3 --version and report the result. Require Python 3.9+.
For each required library, run a Python import and version check:
python3 -c "
import importlib
required = {
'pandas': 'pandas',
'scikit-learn': 'sklearn',
'scipy': 'scipy',
'statsmodels': 'statsmodels',
'numpy': 'numpy',
}
for pkg_name, import_name in required.items():
try:
mod = importlib.import_module(import_name)
version = getattr(mod, '__version__', 'installed')
print(f' {pkg_name}: {version}')
except ImportError:
print(f' {pkg_name}: MISSING')
"
Run the same check for optional libraries used in generated experiment code:
python3 -c "
import importlib
optional = {
'matplotlib': 'matplotlib',
'seaborn': 'seaborn',
'aeon': 'aeon',
'xgboost': 'xgboost',
'lightgbm': 'lightgbm',
'shap': 'shap',
'great_expectations': 'great_expectations',
'polars': 'polars',
'optuna': 'optuna',
}
for pkg_name, import_name in optional.items():
try:
mod = importlib.import_module(import_name)
version = getattr(mod, '__version__', 'installed')
print(f' {pkg_name}: {version}')
except ImportError:
print(f' {pkg_name}: not installed')
"
If any required libraries are missing, output the install command:
uv pip install pandas scikit-learn scipy statsmodels numpy
List only the missing packages in the command. If all required libraries are present, report that the environment is ready.
For missing optional libraries, suggest but do not insist:
uv pip install matplotlib seaborn aeon xgboost lightgbm shap great_expectations polars optuna
python3 is not found, suggest the user activate their environment first.