deps-update

deps-update is a command for Claude Code from travisjneuman/.claude. It costs 5 tokens per session (1,348 once invoked), scanned B, original, MIT.

A dependency checker that finds outdated packages, looks for known security warnings, checks compatibility, and prepares an update plan.

In plain words
What is it for?
Use it to review dependencies in Node.js, Python, Go, Rust, or Ruby projects and plan safe updates.
Why use it?
It reduces the risk of updating packages blindly or missing dependencies with known security problems.

Command for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: mentions Claude Code.

Good fit Use it to review dependencies in Node.js, Python, Go, Rust, or Ruby projects and plan safe updates.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/travisjneuman/.claude/deps-update
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/travisjneuman/.claude

Made for: Claude Code.

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/travisjneuman/.claude/deps-update/github.svg)](https://agentmods.dev/commands/travisjneuman/.claude/deps-update)
Your own site
<a href="https://agentmods.dev/commands/travisjneuman/.claude/deps-update"><img src="https://agentmods.dev/badge/commands/travisjneuman/.claude/deps-update/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 deps-update

Your own site · 80×15
<a href="https://agentmods.dev/commands/travisjneuman/.claude/deps-update"><img src="https://agentmods.dev/badge/commands/travisjneuman/.claude/deps-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,348 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00005 $0.01348
Opus 5 $0.00003 $0.00674
Sonnet 5 $0.00001 $0.00270
Haiku 4.5 $0.00001 $0.00135

Measured 8d ago against content hash 60149332509d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 8d 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 && npm install

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 · 241 lines

How it starts

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

Dependency Update Manager

Checks for outdated dependencies, identifies security advisories, tests compatibility, and creates an update plan.


Execution Flow

Step 1: Detect Package Manager

[ -f "pnpm-lock.yaml" ] && echo "PNPM"
[ -f "yarn.lock" ] && echo "YARN"
[ -f "bun.lockb" ] && echo "BUN"
[ -f "package-lock.json" ] && echo "NPM"
[ -f "requirements.txt" ] || [ -f "pyproject.toml" ] && echo "PIP"
[ -f "Pipfile" ] && echo "PIPENV"
[ -f "poetry.lock" ] && echo "POETRY"
[ -f "go.sum" ] && echo "GO"
[ -f "Cargo.lock" ] && echo "CARGO"
[ -f "Gemfile.lock" ] && echo "BUNDLER"

Step 2: Check Outdated Dependencies

Mode: {{mode}} (default: check)

# Node.js
npm outdated --json 2>/dev/null

# Python
pip list --outdated --format=json 2>/dev/null

# Go
go list -u -m all 2>/dev/null

# Rust
cargo outdated 2>/dev/null

Display as structured table:

Outdated Dependencies
---------------------
Package          Current   Wanted    Latest    Type
react            18.2.0    18.3.1    19.0.0    dependencies
typescript       5.3.3     5.4.5     5.7.2     devDependencies
@types/node      20.10.0   20.14.2   22.10.1   devDependencies
eslint           8.56.0    8.57.1    9.15.0    devDependencies

Step 3: Security Advisory Check

# Node.js
npm audit --json 2>/dev/null

# Python
pip-audit --format=json 2>/dev/null

# Go
govulncheck ./... 2>/dev/null

# Rust
cargo audit --json 2>/dev/null

Flag security-critical updates:

Security Advisories
-------------------
CRITICAL:
  [email protected] -> 4.18.2 (CVE-2024-XXXX: Open Redirect)
  [email protected] -> 9.0.0 (CVE-2022-23529: Algorithm Confusion)

HIGH:
  [email protected] -> 1.6.0 (CVE-2023-45857: CSRF Bypass)

Step 4: Run by Mode

check (default)

Report only. No changes made. Display outdated deps and advisories.

security

Update only packages with known security vulnerabilities:

# Node.js
npm audit fix

# Python
pip install --upgrade <package-with-advisory>

# Go
go get <module>@latest

# Rust
cargo update <crate>

Read the full file on GitHub · 241 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. 8d ago First seen · 241 lines · 5 tokens per session scan B 60149332509d

Subscribe to this mod's changes

deps-update is a command published in the GitHub repository travisjneuman/.claude (97 stars, last pushed 6d ago), licensed MIT. It adds 5 tokens to every session and 1,348 once invoked, about $0.0000 per session on Opus 5. 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-09-03.