madisonrickert

Zsh Pkg Update Nag — Development skill for Claude Code

Development community

Session-start nag that checks Homebrew, npm, pnpm, uv, RubyGems, and cargo globals for outdated packages and offers to update them behind a single Y/n/s prompt.

How to install Zsh Pkg Update Nag

This entry records only its repository, not the path inside it, so there is no exact command to give. Open madisonrickert/zsh-pkg-update-nag and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Zsh Pkg Update Nag does

Session-start nag that checks Homebrew, npm, pnpm, uv, RubyGems, and cargo globals for outdated packages and offers to update them behind a single Y/n/s prompt.

Alternatives in Development

  • npm 71.9k ★
  • 02 Runtime Shims — Prompt 02: Runtime Shims for bun:bundle Feature Flags & MACRO Globals 2.3k ★
  • Claude Code Src — 2026.3.31 claude code 意外把包含源码的文件上传到 npm 仓库,版本号是 2.1.88,其中 cli.js.map 文件有 57MB 的体积,claude code 的源码在该文件的 sources 2.2k ★

README

zsh-pkg-update-nag

[![CI](https://github.com/madisonrickert/zsh-pkg-update-nag/actions/workflows/ci.yml/badge.svg)](https://github.com/madisonrickert/zsh-pkg-update-nag/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Shell: zsh](https://img.shields.io/badge/shell-zsh%205%2B-green)](https://www.zsh.org/) [![Platforms: macOS | Linux](https://img.shields.io/badge/platform-macOS%20%7C%20Linux-lightgrey)]()

A zsh plugin that surfaces outdated global packages at the start of a shell session and offers a one-keystroke `Y/n/s` upgrade. Rate-limited to once every four hours, skipped in SSH and scripts, and never blocks shell startup.

▲ 4 updates available

  Homebrew
    gh           2.60.0 → 2.62.0
    fd           10.1.0 → 10.2.0
  npm (global)
    pnpm         9.0.0  → 9.5.1
    claude-code  2.1.0  → 2.1.1

  Update all? [Y/n/s] ›
  • Y (or Enter): run every upgrade in sequence, grouped by manager.
  • n (or Esc): skip everything; no re-nag until the next interval.
  • s: step through per-package Y/n across all managers.

Supports **Homebrew** (formulae and casks), **npm (global)**, **pnpm (global)**, **uv tools**, **RubyGems**, and **cargo** (via [`cargo-update`](https://crates.io/crates/cargo-update)). Each manager is independently configurable as `all`, `off`, or an explicit allowlist.

Why?

You already have `brew outdated`, `npm outdated -g`, `uv tool list --outdated`. Running them by hand is friction nobody keeps up with. A session-start nag catches updates at a moment you're at the keyboard and ready to decide, without becoming `topgrade` (which upgrades everything) or an auto-updater (which decides for you).

Install

Pick whichever matches your setup.

oh-my-zsh

Clone into the custom-plugins directory:

git clone https://github.com/madisonrickert/zsh-pkg-update-nag \
  "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-pkg-update-nag"

Add `zsh-pkg-update