dependency-management

dependency-management is a command for Claude Code from keychain-io/trustable-ai. It costs 0 tokens per session (2,060 once invoked), scanned A, original, MIT.

A workflow for checking project dependencies, which are external libraries and packages that software relies on, and planning updates or security checks.

In plain words
What is it for?
Use it to scan dependencies, assess their priority and security risks, plan updates, create work items, and produce a health report.
Why use it?
It helps identify outdated or vulnerable dependencies and organize the work needed to address them.

Command for Claude Code

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/keychain-io/trustable-ai/dependency-management
Clone the repo
git clone --depth 1 https://github.com/keychain-io/trustable-ai

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 dependency-management

README.md
[![agentmods](https://agentmods.dev/badge/commands/keychain-io/trustable-ai/dependency-management.svg)](https://agentmods.dev/commands/keychain-io/trustable-ai/dependency-management)
Your own site
<a href="https://agentmods.dev/commands/keychain-io/trustable-ai/dependency-management"><img src="https://agentmods.dev/badge/commands/keychain-io/trustable-ai/dependency-management.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 2,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00000 $0.02060
Opus 5 $0.00000 $0.01030
Sonnet 5 $0.00000 $0.00412
Haiku 4.5 $0.00000 $0.00206

Measured 4d ago against content hash dfaf287f03ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dependency-management 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 4d 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.

.claude/commands/dependency-management.md · 373 lines

How it starts

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

Dependency Management Workflow

Project: trusted-ai-development-workbench Workflow: Dependency Management Purpose: Monitor, update, and secure project dependencies

Output Formatting Requirements

IMPORTANT: Use actual Unicode emojis in reports, NOT GitHub-style shortcodes.


Workflow Overview

┌─────────────────────────────────────────────────────────────────────────────┐
│  DEPENDENCY MANAGEMENT                                                      │
│                                                                             │
│  Step 1: Scan current dependencies                                         │
│  Step 2: Categorize by priority                                            │
│  Step 3: /senior-engineer → Impact analysis (if outdated)                  │
│  Step 4: /security-specialist → Vulnerability assessment (if vulns)        │
│  Step 5: Generate update plan                                              │
│  Step 6: Create work items                                                 │
│  Step 7: Generate health report                                            │
│                                                                             │
│  Each agent command spawns a FRESH CONTEXT WINDOW via Task tool            │
└─────────────────────────────────────────────────────────────────────────────┘

Step 1: Scan Current Dependencies

Python Project:

# List current dependencies
pip list --format=json > .claude/temp/current-deps.json

# Check for outdated packages
pip list --outdated --format=json > .claude/temp/outdated-deps.json

# Security audit (requires pip-audit)
pip-audit --format=json > .claude/temp/security-audit.json 2>&1 || true

Step 2: Categorize Dependencies

# Parse scan results
import json
from pathlib import Path

# Load results
outdated = json.loads(Path(".claude/temp/outdated-deps.json").read_text())
security = json.loads(Path(".claude/temp/security-audit.json").read_text())

# Categorize
critical_security = []  # CVE Critical
high_priority = []      # CVE High or EOL
medium_priority = []    # Minor updates
low_priority = []       # Patch updates

for vuln in security.get('vulnerabilities', []):
    severity = vuln.get('severity', 'unknown')
    if severity == 'critical':
        critical_security.append(vuln)
    elif severity == 'high':
        high_priority.append(vuln)
    else:
        medium_priority.append(vuln)

print(f"📦 Dependency Scan Results:")
print(f"  🔴 Critical: {len(critical_security)}")
print(f"  🟠 High: {len(high_priority)}")
print(f"  🟡 Medium: {len(medium_priority)}")
print(f"  🟢 Low: {len(low_priority)}")

Read the full file on GitHub · 373 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. 4d ago First seen · 373 lines · 0 tokens per session scan A dfaf287f03ed

Subscribe to this mod's changes

dependency-management is a command published in the GitHub repository keychain-io/trustable-ai (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,060 tokens. 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-31.