/update-dependencies
Scan and update dependencies across all ecosystems with conflict detection
$ npx -y skills add athola/claude-night-market --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/update-dependencies
Context preview
What this command does when you run it.
Scan and update dependencies across all ecosystems with conflict detection
Command definition
update-dependencies.mdname: update-dependencies
description: Scan and update dependencies across all ecosystems with conflict detection
usage: /update-dependencies [--dry-run] [--ecosystem python|rust|javascript|go]
# Claude Code 2.1.0+ lifecycle hooks
hooks:
PreToolUse:
- matcher: "Task"
command: |
# Log command invocation with user context
echo "[cmd:update-dependencies] ⚠️ SECURITY-CRITICAL: Dependency update initiated at $(date) | User: ${USER:-unknown}" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
if echo "$CLAUDE_TOOL_INPUT" | grep -q "dependency-updater"; then
echo "[cmd:update-dependencies] Spawning dependency-updater agent" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
fi
# Track dry-run vs actual execution
if echo "$CLAUDE_TOOL_INPUT" | grep -q "dry-run"; then
echo "[cmd:update-dependencies] Mode: DRY-RUN (safe)" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
else
echo "[cmd:update-dependencies] Mode: LIVE EXECUTION (modifying dependencies)" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
fi
once: true
Stop:
- command: |
echo "[cmd:update-dependencies] === Command completed at $(date) ===" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
# Export to security audit dashboardUpdate Dependencies
Scan the repository for outdated dependencies across Python, Rust, JavaScript, and Go ecosystems. Detect conflicts, find compatible versions, and apply updates with code migration support.
> **Note**: This command handles UPDATING existing dependencies. Before ADDING new dependencies, use the dependency-updater agent's verification checklist to validate version, security, and compatibility.
Usage
# Check all ecosystems
/update-dependencies
# Preview without making changes
/update-dependencies --dry-run
# Limit to specific ecosystem
/update-dependencies --ecosystem python
Options
| Option | Description | |--------|-------------| | `--dry-run` | Show available updates without applying changes | | `--ecosystem <name>` | Limit to: python, rust, javascript, or go |
What This Command Does
Spawns a `dependency-updater` agent that:
1. **Discovers** all dependency files **recursively** in the monorepo
- pyproject.toml (Python) - including nested workspaces like `plugins/*/pyproject.toml`
- Cargo.toml (Rust) - including workspace members
- package.json (JavaScript) - including monorepo packages
- go.mod (Go) - including submodules
> **Important**: Always use recursive glob patterns (`**/pyproject.toml`) or `find` to discover ALL dependency files, not just root-level ones. Monorepos commonly have nested workspace members that need updating together.
2. **Checks** each ecosystem for available updates using native tooling
3. **Analyzes** version conflicts and breaking changes
- Identifies incompatible version combinations
- Attempts to find compatible version sets
- Flags major version bumps requiring review
4. **Presents** summary table for approval
- Package name, current version, latest version
- Status: safe, major bump, needs code changes, conflict
5. **Applies** approved updates
- Updates dependency files
- Regenerates lock files
- Runs builds/tests to verify
6. **Migrates** code for breaking changes
- Identifies deprecated API usage
- Shows proposed fixes as diff
- Applies after approval
7. **Reviews** final diff before committing
Example Output
Scanning for dependency files...
Found 12 pyproject.toml, 0 Cargo.toml, 1 package.json, 0 go.mod
Python Updates Available:
| Package | Current | Latest | Status |
|-----------|---------|--------|-----------|
| requests | 2.28.0 | 2.31.0 | [OK] safe |
| django | 4.1 | 5.0 | [WARN] major |
| pydantic | 1.10 | 2.5 | [FIX] code |
JavaScript Updates Available:
| Package | Current | Latest | Status |
|-----------|---------|--------|-----------|
| typescript| 5.2.0 | 5.3.0 | [OK] safe |
Apply updates? [y/N]
Requirements
For full functionality, these tools should be installed:
- **Python**: `uv` or `pip`
- **Rust**: `cargo-outdated` (`cargo install cargo-outdated`)
- **JavaScript**: `npm` or `pnpm`
- **Go**: `go` toolchain
Missing tools are detected and skipped with a warning.
See Also
- Agent: `sanctum:dependency-updater`
Read more
name: update-dependencies
description: Scan and update dependencies across all ecosystems with conflict detection
usage: /update-dependencies [--dry-run] [--ecosystem python|rust|javascript|go]
# Claude Code 2.1.0+ lifecycle hooks
hooks:
PreToolUse:
- matcher: "Task"
command: |
# Log command invocation with user context
echo "[cmd:update-dependencies] ⚠️ SECURITY-CRITICAL: Dependency update initiated at $(date) | User: ${USER:-unknown}" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
if echo "$CLAUDE_TOOL_INPUT" | grep -q "dependency-updater"; then
echo "[cmd:update-dependencies] Spawning dependency-updater agent" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
fi
# Track dry-run vs actual execution
if echo "$CLAUDE_TOOL_INPUT" | grep -q "dry-run"; then
echo "[cmd:update-dependencies] Mode: DRY-RUN (safe)" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
else
echo "[cmd:update-dependencies] Mode: LIVE EXECUTION (modifying dependencies)" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
fi
once: true
Stop:
- command: |
echo "[cmd:update-dependencies] === Command completed at $(date) ===" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/command-audit.log
# Export to security audit dashboardUpdate Dependencies
Scan the repository for outdated dependencies across Python, Rust, JavaScript, and Go ecosystems. Detect conflicts, find compatible versions, and apply updates with code migration support.
> **Note**: This command handles UPDATING existing dependencies. Before ADDING new dependencies, use the dependency-updater agent's verification checklist to validate version, security, and compatibility.
Usage
# Check all ecosystems /update-dependencies # Preview without making changes /update-dependencies --dry-run # Limit to specific ecosystem /update-dependencies --ecosystem python
Options
| Option | Description | |--------|-------------| | `--dry-run` | Show available updates without applying changes | | `--ecosystem <name>` | Limit to: python, rust, javascript, or go |
What This Command Does
Spawns a `dependency-updater` agent that:
1. **Discovers** all dependency files **recursively** in the monorepo
- pyproject.toml (Python) - including nested workspaces like `plugins/*/pyproject.toml`
- Cargo.toml (Rust) - including workspace members
- package.json (JavaScript) - including monorepo packages
- go.mod (Go) - including submodules
> **Important**: Always use recursive glob patterns (`**/pyproject.toml`) or `find` to discover ALL dependency files, not just root-level ones. Monorepos commonly have nested workspace members that need updating together.
2. **Checks** each ecosystem for available updates using native tooling
3. **Analyzes** version conflicts and breaking changes
- Identifies incompatible version combinations
- Attempts to find compatible version sets
- Flags major version bumps requiring review
4. **Presents** summary table for approval
- Package name, current version, latest version
- Status: safe, major bump, needs code changes, conflict
5. **Applies** approved updates
- Updates dependency files
- Regenerates lock files
- Runs builds/tests to verify
6. **Migrates** code for breaking changes
- Identifies deprecated API usage
- Shows proposed fixes as diff
- Applies after approval
7. **Reviews** final diff before committing
Example Output
Scanning for dependency files... Found 12 pyproject.toml, 0 Cargo.toml, 1 package.json, 0 go.mod Python Updates Available: | Package | Current | Latest | Status | |-----------|---------|--------|-----------| | requests | 2.28.0 | 2.31.0 | [OK] safe | | django | 4.1 | 5.0 | [WARN] major | | pydantic | 1.10 | 2.5 | [FIX] code | JavaScript Updates Available: | Package | Current | Latest | Status | |-----------|---------|--------|-----------| | typescript| 5.2.0 | 5.3.0 | [OK] safe | Apply updates? [y/N]
Requirements
For full functionality, these tools should be installed:
- **Python**: `uv` or `pip`
- **Rust**: `cargo-outdated` (`cargo install cargo-outdated`)
- **JavaScript**: `npm` or `pnpm`
- **Go**: `go` toolchain
Missing tools are detected and skipped with a warning.
See Also
- Agent: `sanctum:dependency-updater`
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Other commands on claude-night-market.
- /aggregate-logs
Generate LEARNINGS.md from skill execution logs.
Open command - /analyze-skill
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Open command - /bulletproof-skill
Harden skills against rationalization and bypass behaviors
Open command - /context-report
Generate context optimization report for skill directories
Open command - /create-command
Create slash commands with brainstorming and best practices
Open command - /create-hook
Create hooks with brainstorming and security-first design
Open command

