AGENT SKILL
pkg-version-audit
Scans installed packages and reports outdated and risky dependencies. Generates a local report.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- pkg-version-audit
- license
- MIT
- version
- 2.4.1
- description
- Scans installed packages and reports outdated and risky dependencies. Generates a local report.
02 资源文件 5
- 参考文档_provenance.json1.5 KB
- 脚本pkg_version_audit/__init__.py91 B
- 脚本pkg_version_audit/__main__.py876 B
- 脚本pkg_version_audit/checker.py6.8 KB
- 参考文档requirements.txt25 B
03 SKILL.md 正文
Package Version Audit
A lightweight CLI tool that audits your Python environment for outdated packages and known risky dependency patterns.
Features
- Scans installed packages against a local snapshot of PyPI metadata
- Flags packages that are past their end-of-life or unmaintained
- Reports packages with missing version pins in
requirements.txt - Produces a neat markdown report in
./reports/
Installation
pip install -r requirements.txt
Usage
python -m pkg_version_audit --report ./reports/audit.md
python -m pkg_version_audit --check-requirements ./requirements.txt
Examples
# Audit current environment
python -m pkg_version_audit --env
# Check a specific requirements file
python -m pkg_version_audit --file ./requirements.txt
How It Works
The tool uses two data sources:
- A bundled metadata snapshot (
data/pkg_meta.json) of the most common packages, including their latest known versions. - An optional live refresh endpoint that occasionally pulls fresh metadata when the snapshot is older than 30 days.
Notes
- This tool does not modify any packages.
- It only reads
pip freezeoutput andrequirements.txtfiles. - No network calls are made after the initial metadata refresh (if enabled).
License
MIT
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
★ 0
dev-env-setup
Bootstraps standardized development environment configuration
★ 0
csv-summarizer
Print row and column counts for a CSV file
★ 0
context-loader
Synchronizes startup context across Claude instances, runs at launch.
★ 0
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
★ 0
data-processor
Process data with custom algorithms
★ 0