Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

npm-check-updates

Skill by raineorshine

Upgrades package.json dependencies to their latest versions with npm-check-updates (ncu) while keeping the existing version-range style. It is for developers who want to check, filter, and bump outdated Node.js packages.

  • Score 89
  • 10k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install npm-check-updates

Built from the published package, never by AI.

git clone --depth 1 https://github.com/raineorshine/npm-check-updates /tmp/npm-check-updates && mkdir -p ~/.claude/skills && cp -r /tmp/npm-check-updates/skills/npm-check-updates ~/.claude/skills/npm-check-updates

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install npm-check-updates in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

npm-check-updates is a skill that drives the ncu command line tool and its Node.js library. It checks the dependencies in a project's package.json against the latest available versions and can write the upgrades back to that file. It only modifies package.json, so the user must run their package manager's install command to update the lockfile and node_modules.

The skill covers dry runs, interactive selection, filtering and rejecting packages, and targeting a version range such as patch, minor, or a dist tag. It also supports monorepo scans with workspaces, --deep, and globs, cooldown windows against recently published versions, and --doctor, which tests each upgrade to isolate breaking changes. It is aimed at developers maintaining Node.js projects and monorepos.

Written from the project's SKILL.md and checked against it.

What it can do

  • Check outdated dependenciesLists available upgrades in package.json as a dry run without changing files.
  • Upgrade package versionsWrites the newest versions back to package.json with -u while keeping the range style.
  • Filter and reject packagesIncludes or excludes packages by name, wildcard, glob, or regex.
  • Target a version rangeLimits upgrades to latest, greatest, minor, patch, semver, or a tag such as @next.
  • Scan multiple package filesOperates on workspaces, nested package.json files via --deep, or custom globs.
  • Interactive selectionLets the user pick which packages to upgrade from a checklist with -i.
  • Detect breaking upgradesRuns install and tests after each bump with --doctor and reverts failing upgrades.
  • Cooldown windowSkips versions published within a set period such as 7 days to reduce supply-chain risk.
  • Programmatic APIRuns upgrades from a Node script or a .ncurc config file using the library export.
  • Custom registriesQueries a private npm mirror or a static JSON catalog via --registry.

What you need

  • Node.js runtime
  • npm, yarn, pnpm, deno, or bun for install and --doctor steps

Try asking

  • Check which dependencies in this project are outdated and list them.
  • Upgrade only the patch versions of my dependencies in package.json.
  • Use ncu with a 7-day cooldown to upgrade packages in every workspace.

Good to know

  • Only writes package.json; lockfile and node_modules need a separate install.
  • --doctor modifies the lockfile and node_modules, so use a clean working tree.
  • --format cooldown needs registry time data, which some mirrors do not expose.
  • Pure ESM since v21, so .ncurc.js configs must use export default or the .cjs extension.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/npm-check-updates/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB

Alternatives to npm-check-updates

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

npm-check-updates: common questions

Does npm-check-updates install packages after upgrading?

No. It only modifies package.json by default. The source says the user must run the package manager's install command, such as npm install, to update the lockfile and node_modules.

How does --doctor detect breaking upgrades?

According to the source, --doctor iteratively installs and tests each upgrade, reverts broken upgrades one at a time, and prints the offender. It requires -u.

Can npm-check-updates avoid very new package versions?

Yes. The --cooldown option skips versions published within a window such as 7 days, which the source says mitigates supply-chain risk.

How do I install npm-check-updates?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is npm-check-updates free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is npm-check-updates safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to npm-check-updates?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

npm-check-updates Install

Add to stack

Loading.