# Detect Python Version

> Detects the Python major and minor version of the current repository Use when this capability is needed.

- Skill: `tomevault-io/detect-python-version` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/detect-python-version`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/detect-python-version/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/detect-python-version

---


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

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/machu-gwu) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

