AI & Integration v1.0.0

package-manager-updates

Check, summarize, and update packages across all installed package managers (npm, pip, brew, cargo, go, etc.). Use when...

guillaumemaka 更新于 2026-03-25 1 浏览
下载 SKILL

技能说明

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.

使用场景

This skill automates package update workflows: check → summarize → update (on demand).

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/package-manager-updates
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: package-manager-updates
description: 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.
---

# 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.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。