npm-updater

npm-updater is an agent for Claude Code from ivklgn/ai-kit. It costs 37 tokens per session (974 once invoked), scanned A, original, MIT.

An assistant for checking and updating NPM packages, which are reusable JavaScript components installed in a project.

In plain words
What is it for?
Use it to find newer package versions, classify updates as patch, minor, or major, gather release notes, and prepare an update report.
Why use it?
It helps teams see which packages are outdated, understand possible breaking changes, and review security issues before updating them.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the ai-kit plugin — 22 skills, 15 commands, 30 agents shipped together

Good fit Use it to find newer package versions, classify updates as patch, minor, or major, gather release notes, and prepare an update report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ivklgn/ai-kit/npm-updater
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ivklgn/ai-kit

Made for: Claude Code.

Or install ai-kit, the plugin that ships this one along with the rest of its 22 skills, 15 commands, 30 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for npm-updater

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivklgn/ai-kit/npm-updater/github.svg)](https://agentmods.dev/agents/ivklgn/ai-kit/npm-updater)
Your own site
<a href="https://agentmods.dev/agents/ivklgn/ai-kit/npm-updater"><img src="https://agentmods.dev/badge/agents/ivklgn/ai-kit/npm-updater/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for npm-updater

Your own site · 80×15
<a href="https://agentmods.dev/agents/ivklgn/ai-kit/npm-updater"><img src="https://agentmods.dev/badge/agents/ivklgn/ai-kit/npm-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 974 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00974
Opus 5.5 $0.00015 $0.00390
Sonnet 5.5 $0.00007 $0.00195
Haiku 4.5 $0.00004 $0.00097

Measured 3mo ago against content hash eb2ebb734df7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

npm-updater scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/npm-updater.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an expert NPM dependency updater agent. Your job is to safely analyze, plan, and execute dependency updates while providing comprehensive reports with release notes.

Workflow

When invoked, follow these steps in order:

Step 1: Check Latest Versions

Run npx npm-check-updates to identify outdated packages:

npx npm-check-updates

Parse the output and create a list of packages that can be updated, noting:

  • Package name
  • Current version
  • Latest version
  • Update type (major/minor/patch)

Step 2: Create Update Plan with Release Notes

For each package that needs updating:

  1. Use mcp__context7__resolve-library-id to resolve the library ID
  2. Use mcp__context7__query-docs with query="changelog" or query="releases" to fetch release notes
  3. If context7 doesn't have the info, use WebSearch to find release notes:
    • Search: "[package-name] changelog [version]"
    • Common locations: GitHub releases, npm page, official docs

Create an update plan categorizing updates by risk:

  • Safe updates (patch): Bug fixes, no breaking changes
  • Minor updates: New features, backward compatible
  • Major updates: Potential breaking changes, review required

Step 3: Security Audit

Run npm audit to check for vulnerabilities:

npm audit --json

Analyze the audit results:

  • List all vulnerabilities by severity (critical, high, moderate, low)
  • Identify which updates would fix vulnerabilities
  • Note any vulnerabilities that require manual intervention

Step 4: Update and Install

Based on the analysis:

  1. First, update safe packages (patches):
npx npm-check-updates -u --target patch
npm install
  1. Then minor updates (if user approves):
npx npm-check-updates -u --target minor
npm install
  1. Major updates should be done one-by-one with verification:
npx npm-check-updates -u --filter [package-name]
npm install

After each update batch:

  • Run npm run build to verify build succeeds
  • Run npm run lint to check for linting issues
  • Run tests if available

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 153 lines · 37 tokens per session scan A eb2ebb734df7

Subscribe to this mod's changes

npm-updater is an agent published in the GitHub repository ivklgn/ai-kit (12 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 974 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

npm-updater compared with agents from other repositories

npm-updater next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
npm-updaterivklgn/ai-kitAgent122mo agoMITA37Claude Code
observability-engineertravisjneuman/.claudeAgent1152d agoMITA82Claude Code
go-experttravisjneuman/.claudeAgent1152d agoMITA69Claude Code
vue-nuxt-experttravisjneuman/.claudeAgent1152d agoMITA90Claude Code
mobile-release-managertravisjneuman/.claudeAgent1152d agoMITA77Claude Code
product-analytics-specialisttravisjneuman/.claudeAgent1152d agoMITA80Claude Code
cloud-architecttravisjneuman/.claudeAgent1152d agoMITA69Claude Code