devs:check-deps

devs:check-deps is a command for Claude Code from aaronbassett/agent-foundry. It costs 57 tokens per session (810 once invoked), scanned A, original, MIT.

A command that checks dependencies across JavaScript or TypeScript, Rust, and Python projects. It detects package managers and workspace roots, then combines read-only health checks into one severity-ranked report.

In plain words
What is it for?
Use it to scan a project for dependency security problems, outdated packages, and hygiene issues across supported ecosystems. It can also limit the check to one ecosystem.
Why use it?
It avoids checking each project area separately and gives one place to see vulnerabilities, outdated packages, and dependency hygiene issues. A workspace is a project containing multiple related packages managed together.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the devs plugin — 8 skills, 1 command, 7 agents shipped together

Good fit Use it to scan a project for dependency security problems, outdated packages, and hygiene issues across supported ecosystems. It can also limit the check to one ecosystem.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/aaronbassett/agent-foundry/check-deps
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/aaronbassett/agent-foundry

Made for: Claude Code.

Or install devs, the plugin that ships this one along with the rest of its 8 skills, 1 command, 7 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 devs:check-deps

README.md
[![agentmods](https://agentmods.dev/badge/commands/aaronbassett/agent-foundry/check-deps.svg)](https://agentmods.dev/commands/aaronbassett/agent-foundry/check-deps)
Your own site
<a href="https://agentmods.dev/commands/aaronbassett/agent-foundry/check-deps"><img src="https://agentmods.dev/badge/commands/aaronbassett/agent-foundry/check-deps.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 810 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.00057 $0.00810
Opus 5 $0.00028 $0.00405
Sonnet 5 $0.00011 $0.00162
Haiku 4.5 $0.00006 $0.00081

Measured 8d ago against content hash 9f53518d1253, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

devs:check-deps 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 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.

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.

plugins/devs/commands/check-deps.md · 58 lines

How it starts

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

Check project dependencies across all detected ecosystems by dispatching concurrent read-only devs:deps-maintenance agents.

Step 1 — Detect ecosystems, package managers, and workspace roots

Target directory: $ARGUMENTS if it is a path, else the current working directory. If $ARGUMENTS is typescript, rust, or python, detect everything but dispatch only that ecosystem.

Find manifests (cap depth at 4; exclude node_modules/, target/, .venv/, dist/, build/):

  • package.json → typescript
  • Cargo.toml → rust
  • pyproject.toml, requirements.txt → python

Collapse to workspace roots — one dispatch per root, not per manifest. A package.json with a workspaces field, a directory with pnpm-workspace.yaml, a Cargo.toml with [workspace], or a pyproject.toml with [tool.uv.workspace] is a root; its member manifests are covered by it and get no separate dispatch.

Identify the package manager per root using the deps-core detection order: the packageManager field first, then the lockfile (pnpm-lock.yaml/package-lock.json/yarn.lock/bun.lock/bun.lockb; uv.lock/poetry.lock/Pipfile.lock/requirements.txt). Record it — the report headings use the detected manager, and a missing or duplicated lockfile is itself a finding to pass along.

If nothing is found, reply:

No supported dependency manifests found. Supported: TypeScript/JavaScript (package.json), Rust (Cargo.toml), Python (pyproject.toml / requirements.txt).

Step 2 — Dispatch one agent per ecosystem, concurrently

Each devs:deps-maintenance agent receives:

  • Its ecosystem, detected package manager, and workspace root path(s).
  • The mandate: "Read-only run — change nothing. Check for security vulnerabilities and outdated dependencies using the detected package manager's commands (prefer built-in auditors). If a needed tool is not installed, report the gap — do not install anything. Report findings grouped by severity; include the exact remediation commands a human would run, respecting the environment's install policy (sfw-wrapped, no npx). State every command you ran. If everything is clean, say so explicitly."

Read the full file on GitHub · 58 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 · 58 lines · 57 tokens per session scan A 9f53518d1253

Subscribe to this mod's changes

devs:check-deps is a command published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 23d ago), licensed MIT. It adds 57 tokens to every session and 810 once invoked, about $0.0003 per session on Opus 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-31.