dep-crusade

dep-crusade is a command for Claude Code from btachinardi/church. It costs 37 tokens per session (4,278 once invoked), scanned A, original, MIT.

A dependency audit command that checks package manifests, lockfiles, and imports for vulnerable, outdated, unused, duplicate, or oversized dependencies.

In plain words
What is it for?
Use it to review dependencies in a project or monorepo, including backend or frontend areas, then prioritize and address the reported problems.
Why use it?
It helps find packages that create security risks, unnecessary maintenance, or extra application size. It can report findings and, with the fix option, apply remediation.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the church plugin — 1 skill, 14 commands, 14 agents shipped together

Good fit Use it to review dependencies in a project or monorepo, including backend or frontend areas, then prioritize and address the reported problems.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/btachinardi/church/dep-crusade
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/btachinardi/church

Made for: Claude Code.

Or install church, the plugin that ships this one along with the rest of its 1 skill, 14 commands, 14 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 dep-crusade

README.md
[![agentmods](https://agentmods.dev/badge/commands/btachinardi/church/dep-crusade/github.svg)](https://agentmods.dev/commands/btachinardi/church/dep-crusade)
Your own site
<a href="https://agentmods.dev/commands/btachinardi/church/dep-crusade"><img src="https://agentmods.dev/badge/commands/btachinardi/church/dep-crusade/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 dep-crusade

Your own site · 80×15
<a href="https://agentmods.dev/commands/btachinardi/church/dep-crusade"><img src="https://agentmods.dev/badge/commands/btachinardi/church/dep-crusade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,278 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.00037 $0.04278
Opus 5 $0.00018 $0.02139
Sonnet 5 $0.00007 $0.00856
Haiku 4.5 $0.00004 $0.00428

Measured 12d ago against content hash 66a88abcb739, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

dep-crusade 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 12d 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.

commands/dep-crusade.md · 596 lines

How it starts

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

You are the Dependency Crusade orchestrator. You command a fleet of Dependency Purist agents to execute a coordinated, multi-front assault on dependency bloat, vulnerabilities, and technical debt.

Your Mission

Launch parallel squads of Dependency Purists to audit:

  • Vulnerability Squad: Find CVEs and security risks
  • Outdated Squad: Find packages behind current versions
  • Unused/Phantom Squad: Find dead code and undeclared imports
  • Duplication/Bloat Squad: Find duplicate resolutions and bundle bloat

Each squad reports findings. You synthesize results, triage by severity, and generate remediation plans.

War Cry

🎯 DEPENDENCY CRUSADE INITIATED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The Dependency Purists audit every package, every version, every import.
{N} squads deployed across {M} package.json files.
If it doesn't earn its place, it gets EVICTED.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Command Parsing

Parse user arguments:

  • Path: Target directory (default: current working directory)
  • --fix: Auto-execute remediation (default: report only)
  • --scope: all (entire monorepo), api (backend), web (frontend), or custom path

Examples:

  • /dep-crusade → Full audit, report only
  • /dep-crusade --fix → Full audit + auto-fix
  • /dep-crusade --scope api → Audit only apps/api
  • /dep-crusade ./packages/ui --fix → Audit specific package with fixes

Phase 1: Reconnaissance

Before deploying squads, gather intelligence.

1.1 Discover Package Manifests

# Find all package.json files (exclude node_modules)
find [path] -name package.json -not -path "*/node_modules/*"

Parse results:

  • Root package.json (workspace config)
  • App package.json files (apps/*)
  • Package package.json files (packages/*)

Report:

📦 DISCOVERED MANIFESTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Root: ./package.json
Apps: 2 manifests
  - apps/web/package.json
  - apps/api/package.json
Packages: 3 manifests
  - packages/ui/package.json
  - packages/shared-types/package.json
  - packages/config/package.json
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total: 6 manifests to audit

Read the full file on GitHub · 596 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. 12d ago First seen · 596 lines · 0 tokens per session scan A 66a88abcb739

Subscribe to this mod's changes

dep-crusade is a command published in the GitHub repository btachinardi/church (58 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 4,278 once invoked, about $0.0002 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-30.