Installs into .claude/skills of the current project.
Are you the author of Detect Python Version?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-detect-python-version)
---
name: detect-python-version
description: Detects the Python major and minor version of the current repository
---
# detect-python-version
Runs a script that outputs the Python version in `major.minor` format (e.g., `3.11`, `3.13`).
## Instructions
Run `scripts/detect_version.py` to detect the Python version.
The script outputs just the version string in `major.minor` format, nothing else.
## Examples
**Output:** `3.11`
**Output:** `3.13`