deps-update

deps-update is a command for Claude Code from rafaelkamimura/claude-tools. It costs 0 tokens per session (3,174 once invoked), scanned B, original, MIT.

A dependency update command for finding newer software packages, checking compatibility, applying security fixes, and updating lock files.

In plain words
What is it for?
Use it to review outdated packages, run tests before or after updates, create an update branch, manage lock files, and produce an update changelog.
Why use it?
It reduces the manual work and risk involved in keeping a project's packages current. It can also help separate update choices, such as security-only or major-version changes.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-tools plugin — 12 commands, 46 agents shipped together

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.

agentmods
npx agentmods add commands/rafaelkamimura/claude-tools/deps-update
Clone the repo
git clone --depth 1 https://github.com/rafaelkamimura/claude-tools

Made for: Claude Code.

Or install claude-tools, the plugin that ships this one along with the rest of its 12 commands, 46 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 deps-update

README.md
[![agentmods](https://agentmods.dev/badge/commands/rafaelkamimura/claude-tools/deps-update.svg)](https://agentmods.dev/commands/rafaelkamimura/claude-tools/deps-update)
Your own site
<a href="https://agentmods.dev/commands/rafaelkamimura/claude-tools/deps-update"><img src="https://agentmods.dev/badge/commands/rafaelkamimura/claude-tools/deps-update.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,174 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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.00000 $0.03174
Opus 5 $0.00000 $0.01587
Sonnet 5 $0.00000 $0.00635
Haiku 4.5 $0.00000 $0.00317

Measured 6d ago against content hash 621da3150d68, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

deps-update scanned grade B with 1 finding 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 6d 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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf node_modules

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

commands/deps-update.md · 540 lines

How it starts

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

Dependency Manager

Comprehensive dependency updater that checks for outdated packages, tests compatibility, manages security patches, and handles lock files.

Purpose

  • Check for outdated packages
  • Test compatibility before updating
  • Security vulnerability patches
  • Generate update changelog
  • Lock file management

Workflow

Step 1: Update Strategy

  1. STOP → "Select update strategy:"

    1. Security only - Critical patches only
    2. Patch updates - Bug fixes (1.0.x)
    3. Minor updates - New features (1.x.0)
    4. Major updates - Breaking changes (x.0.0)
    5. Interactive - Choose each update
    6. Full update - Everything latest
    
    Choose strategy (1-6):
    
  2. Update Options

    • STOP → "Run tests after update? (y/n):"
    • STOP → "Create separate branch? (y/n):"
    • STOP → "Update lock files? (y/n):"
    • STOP → "Generate changelog? (y/n):"

Step 2: Dependency Analysis

Package Managers Detection
# Detect package managers
managers=()
[ -f "package.json" ] && managers+=("npm")
[ -f "yarn.lock" ] && managers+=("yarn")
[ -f "pnpm-lock.yaml" ] && managers+=("pnpm")
[ -f "requirements.txt" ] && managers+=("pip")
[ -f "Pipfile" ] && managers+=("pipenv")
[ -f "poetry.lock" ] && managers+=("poetry")
[ -f "go.mod" ] && managers+=("go")
[ -f "Cargo.toml" ] && managers+=("cargo")
[ -f "Gemfile" ] && managers+=("bundler")
[ -f "composer.json" ] && managers+=("composer")
Outdated Package Check

JavaScript/Node.js

# npm
npm outdated --json

# yarn
yarn outdated --json

# pnpm
pnpm outdated --format json

Python

# pip
pip list --outdated --format json

# poetry
poetry show --outdated

# pipenv
pipenv update --outdated

Go

go list -u -m -json all

Step 3: Security Audit

Vulnerability Scanning
// npm/yarn security audit
async function securityAudit() {
  const audit = await exec('npm audit --json');
  const report = JSON.parse(audit);
  
  return {
    critical: report.metadata.vulnerabilities.critical,
    high: report.metadata.vulnerabilities.high,
    moderate: report.metadata.vulnerabilities.moderate,
    low: report.metadata.vulnerabilities.low,
    packages: report.vulnerabilities
  };
}

Read the full file on GitHub · 540 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. 6d ago First seen · 540 lines · 0 tokens per session scan B 621da3150d68

Subscribe to this mod's changes

deps-update is a command published in the GitHub repository rafaelkamimura/claude-tools (10 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,174 tokens. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.