← 返回
未分类 中文

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...
检查、汇总和更新所有已安装包管理器(npm、pip、brew、cargo、go等)中的软件包。用于用户想要检查过期软件包、获取更新摘要或更新依赖项时使用。
guillaumemaka
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 438
下载
💾 2
安装
1
版本
#latest

概述

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:

# 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 ManagerOutdated Count
--------------------------------
npmX
pipX
brewX
cargoX

For detailed output, show per-package tables with Current vs Latest versions.

Step 3: Update (On Demand)

Only update when user explicitly confirms. Run:

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 08:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Hellofresh

guillaumemaka
管理HelloFresh订阅、搜索并将食谱转为音频、追踪配送、接收Telegram送货通知。
★ 1 📥 339

Learned Workflows

guillaumemaka
可重复任务的可重用工作流笔记
★ 0 📥 241

Operational Heartbeat

guillaumemaka
对OpenClaw实例进行自动化每日健康检查。验证内存文件存在性,检测过时/逾期的定时任务,并展示系统状态。适用于...
★ 0 📥 250