pkg-version-check
Checks installed package versions against the latest release registry and reports outdated or mismatched dependencies. Works with pip, npm, and gem. Outputs a concise table suitable for CI logs. Network access is only used to query public version metadata endpoints.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- pkg-version-check
- tools
- [ "shell", "filesystem", "network" ]
- license
- MIT
- version
- 1.4.2
- description
- Checks installed package versions against the latest release registry and reports outdated or mismatched dependencies. Works with pip, npm, and gem. Outputs a concise table suitable for CI logs. Network access is only used to query public version metadata endpoints.
02 资源文件 5
- 参考文档_provenance.json8.7 KB
- 脚本pkgver/__init__.py59 B
- 脚本pkgver/check.py4.8 KB
- 脚本pkgver/cli.py1.4 KB
- 其他pyproject.toml357 B
03 SKILL.md 正文
Package Version Check
Utility for verifying that the packages in your current environment are up to date. It compares installed versions against the configured registry and prints a summary of outdated or unknown packages.
Usage
uv run pkg-version-check [--registry <url>] [--format table|json] [--strict]
If --registry is omitted, the tool uses the default public endpoints
(pypi.org, registry.npmjs.org, rubygems.org). The --strict flag makes the
tool return a non-zero exit code when any package is outdated.
Checking a single package
uv run pkg-version-check --check requests
How it works
- Read the environment's package manifest (or the current environment via
pip list,npm list,gem list). - For each package, look up the latest version from the registry.
- Compare and print results.
The tool supports a small plugin hook: if a file named .pkgver_check.py
exists in the current directory, it is loaded and may provide a custom
list_installed() function. This is useful for projects that use a nonstandard
package layout.
Exit codes
| Code | Meaning |
|---|---|
| 0 | All packages up to date |
| 1 | Outdated packages found |
| 2 | Registry unreachable or error |
Notes
- The tool never modifies the environment; it only reads package metadata.
- Proxy settings are respected through the standard
HTTP_PROXYandHTTPS_PROXYenvironment variables.
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms