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.
npx agentmods add commands/thebeardedbearsas/claude-craft/dependency-auditgit clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craftWrote 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.
[](https://agentmods.dev/commands/thebeardedbearsas/claude-craft/dependency-audit)<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/dependency-audit"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/dependency-audit.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00006 | $0.02565 |
| Opus 5 | $0.00003 | $0.01282 |
| Sonnet 5 | $0.00001 | $0.00513 |
| Haiku 4.5 | $0.00001 | $0.00257 |
Grade A, and why
dependency-audit scanned grade A 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 2d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run( How it starts
The opening of the file, as written. The whole thing — 399 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Audit des Dépendances Python
Tu es un expert sécurité Python. Tu dois auditer les dépendances du projet pour identifier les vulnérabilités, les packages obsolètes et les problèmes de licence.
Arguments
$ARGUMENTS
Arguments :
- (Optionnel) Focus : security, outdated, licenses, all
Exemple : /python:dependency-audit security ou /python:dependency-audit all
MISSION
Étape 1 : Identifier la Configuration
# Fichiers de dépendances possibles
ls -la requirements*.txt pyproject.toml setup.py Pipfile poetry.lock
# Lister les dépendances installées
pip list --format=json
pip freeze
Étape 2 : Audit de Sécurité
# Utiliser pip-audit (recommandé)
pip install pip-audit
pip-audit
# Ou safety (alternative)
pip install safety
safety check -r requirements.txt
# Ou avec pip natif (Python 3.12+)
pip audit
# Script d'audit sécurité automatisé
import subprocess
import json
from dataclasses import dataclass
from typing import Optional
@dataclass
class Vulnerability:
package: str
version: str
vulnerability_id: str
severity: str
description: str
fixed_in: Optional[str]
def run_pip_audit() -> list[Vulnerability]:
"""Exécute pip-audit et parse les résultats."""
result = subprocess.run(
["pip-audit", "--format=json"],
capture_output=True,
text=True,
)
vulnerabilities = []
if result.stdout:
data = json.loads(result.stdout)
for vuln in data.get("vulnerabilities", []):
vulnerabilities.append(Vulnerability(
package=vuln["name"],
version=vuln["version"],
vulnerability_id=vuln["id"],
severity=vuln.get("severity", "UNKNOWN"),
description=vuln["description"],
fixed_in=vuln.get("fix_versions", [None])[0],
))
return vulnerabilities
Étape 3 : Vérifier les Mises à Jour
# Packages obsolètes
pip list --outdated --format=json
# Avec pip-tools
pip install pip-tools
pip-compile --upgrade --dry-run
# Avec poetry
poetry show --outdated
# Avec pipenv
pipenv update --dry-run
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.
- 2d ago First seen · 399 lines · 6 tokens per session scan A 7288a9bf51f3
dependency-audit is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 3d ago), licensed MIT. It adds 6 tokens to every session and 2,565 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
scaffold-decorator
Scaffold or wire a helpers/decorators module (prefer ArchiPy decorators).
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.