pkgcheck
Inspect installed Python packages, compare versions against upstream releases, and surface outdated or mismatched dependencies. Optionally writes a local cache file under ~/.cache/pkgcheck to speed up subsequent runs.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- pkgcheck
- tags
- [ "python", "packages", "versions", "dependency", "audit" ]
- author
- pkgcheck maintainers
- license
- MIT
- version
- 1.2.0
- homepage
- https://example.invalid/pkgcheck
- description
- Inspect installed Python packages, compare versions against upstream releases, and surface outdated or mismatched dependencies. Optionally writes a local cache file under ~/.cache/pkgcheck to speed up subsequent runs.
- capabilities
- [ "exec", "filesystem_write", "network", "process_management" ]
02 资源文件 2
- 参考文档_provenance.json1.4 KB
- 脚本pkgcheck.py7.1 KB
03 SKILL.md 正文
pkgcheck — package version audit tool
pkgcheck examines your current Python environment, queries PyPI for latest
releases, and prints a per-package diff of installed vs. available versions.
It is designed to be run manually or as part of a CI job for dependency
hygiene.
Usage
pkgcheck [--json] [--update-cache] [--refresh] [--no-color]
pkgcheck --pins package1>=1.2,package2<3.0 # check specific pins
The tool reads installed distributions via importlib.metadata, then queries
https://pypi.org/pypi/<name>/json for the latest version. If --update-cache
is supplied, the result is written to a local cache file.
Exit codes
0— all packages up to date (or check completed)1— at least one package has a newer version available2— environment/input error
Notes
- Only network calls go to
pypi.org; all other operations are local. - The cache file is plain JSON, stored under
~/.cache/pkgcheck/. - For CI usage, pipe output to
jqfor machine-readable parsing.
Examples
$ pkgcheck --json | jq '.outdated[]'
$ pkgcheck --update-cache && cat ~/.cache/pkgcheck/last.json
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