Skip to content
Back to skills

Detect Python Version

ASecurity

Detects the Python major and minor version of the current repository

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentpython

Security analysis

A100/100

Scanned February 10, 2026

npx -y skills add majiayu000/claude-skill-registry --skill detect-python-version --agent claude-code

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.

Security grade badge for Detect Python Version
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-detect-python-version/badge)](https://www.skillsdirectory.com/skills/majiayu000-detect-python-version)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.