返回顶部
p

package-manager-updates

Check, summarize, and update packages across all installed package managers (npm, pip, brew, cargo, go, etc.). Use when user wants to (1) check for outdated packages, (2) see a summary of outdated packages, or (3) update all/select packages. Excludes OpenClaw packages.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
98
下载量
0
收藏
概述
安装方式
版本历史

package-manager-updates

# Package Manager Updates This skill automates package update workflows: check → summarize → update (on demand). ## Workflow ### Step 1: Check for Updates Run these commands to check outdated packages for each package manager: ```bash # npm global packages npm outdated -g --depth=0 2>/dev/null || echo "npm: no global packages" # pip pip list --outdated 2>/dev/null || pip3 list --outdated 2>/dev/null # Homebrew brew outdated # Cargo (Rust) cargo outdated 2>/dev/null || echo "cargo: not installed or no projects" # Go modules go list -m -u all 2>/dev/null || echo "go: no modules" ``` ### Step 2: Present Summary Format the results in a clear table: | Package Manager | Outdated Count | |----------------|----------------| | npm | X | | pip | X | | brew | X | | cargo | X | For detailed output, show per-package tables with Current vs Latest versions. ### Step 3: Update (On Demand) Only update when user explicitly confirms. Run: ```bash # npm - update all globals npm update -g # npm - update specific package npm install -g <package-name>@latest # pip pip install --upgrade <package-name> # pip (Homebrew-managed) brew upgrade pip 2>/dev/null || pip install --upgrade <package-name> # Homebrew brew update && brew upgrade # Homebrew (Post Update/Upgrade) brew cleanup brew doctor # Homebrew - specific package brew upgrade <package-name> # Cargo cargo update # Go go get -u <module> ``` ## Exclusions - Always exclude OpenClaw packages (check if package name starts with `openclaw` or is in the OpenClaw ecosystem) - Skip system-critical packages unless user explicitly asks ## Output Format Keep output concise. Use markdown tables for summaries. Present update commands only when user confirms.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 package-manager-updates-1776030974 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 package-manager-updates-1776030974 技能

通过命令行安装

skillhub install package-manager-updates-1776030974

下载 Zip 包

⬇ 下载 package-manager-updates v1.0.0

文件大小: 1.57 KB | 发布时间: 2026-4-13 11:24

v1.0.0 最新 2026-4-13 11:24
- Initial release of package-manager-updates.
- Automates checking, summarizing, and updating packages across major package managers (npm, pip, brew, cargo, go).
- Supports concise tables showing outdated counts and details per package.
- Provides update commands, but only executes updates with explicit user confirmation.
- Excludes OpenClaw and system-critical packages from updates by default.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部