security

security is a command for Claude Code from TheBeardedBearSAS/claude-craft. It costs 26 tokens per session (5,097 once invoked), scanned A, original, MIT.

A security-audit command that uses several agents to inspect source code, third-party dependencies, and infrastructure settings in parallel.

In plain words
What is it for?
Use it to audit a project’s code, dependency supply chain, deployment setup, or all three, with optional cost limits and a dry-run plan.
Why use it?
It brings separate security checks into one review and can flag findings above a chosen severity. SARIF output can be consumed by continuous integration systems.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

Part of the claude-craft plugin — 58 skills, 96 commands, 58 agents, 5 hooks shipped together

Good fit Use it to audit a project’s code, dependency supply chain, deployment setup, or all three, with optional cost limits and a dry-run plan.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/thebeardedbearsas/claude-craft/security
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/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 58 skills, 96 commands, 58 agents, 5 hooks.

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 security

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/security"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,097 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.00026 $0.05097
Opus 5.5 $0.00010 $0.02039
Sonnet 5.5 $0.00005 $0.01019
Haiku 4.5 $0.00003 $0.00510

Measured 1mo ago against content hash c1e41318d4a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security 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 1mo 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/team/security.md · 408 lines

How it starts

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

Équipe de Revue de Sécurité - Audit de Sécurité Multi-Dimension Parallèle

Orchestrer un audit de sécurité complet en utilisant les Claude Code Agent Teams (v2.1.32+). Lance un security lead (opus) plus 3 reviewers haiku spécialisés, chacun analysant une dimension de sécurité différente en parallèle : vulnérabilités du code source, dépendances/chaîne d'approvisionnement, et infrastructure/configuration.

Arguments

$ARGUMENTS

  • --scope=full : Périmètre de l'audit (par défaut : full). Options : full, code, deps, infra
  • --max-workers=3 : Nombre maximum de reviewers parallèles (par défaut : 3, max : 3)
  • --engine=subagents : Moteur d'exécution (par défaut : subagents). Options : subagents (délégation à des sous-agents via l'outil Agent, aucun prérequis), teams (Agent Teams expérimental). Voir « Moteur d'exécution »
  • --severity=medium : Sévérité minimum à rapporter : low, medium, high, critical
  • --output-dir=<path> : Répertoire de sortie personnalisé pour les résultats de sécurité
  • --dry-run : Afficher la composition de l'équipe et le plan de scan sans exécuter
  • --sarif : Sortir les résultats au format SARIF (pour intégration CI/CD)
  • --max-cost=<dollars> : Budget maximum en dollars. Si le coût parallèle estimé dépasse ce seuil, l'exécution est bloquée avec un message OVER BUDGET

Moteur d'exécution (--engine)

Le moteur par défaut ne dépend d'aucune fonctionnalité expérimentale : la commande fonctionne même si CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS n'est pas défini.

Moteur Activation Prérequis Comportement
subagents (défaut) aucun flag ou --engine=subagents Aucun (outil Agent natif) La session courante joue le rôle de leader et délègue chaque tâche de worker à un sous-agent via l'outil Agent (modèle du worker passé par le paramètre model). Les sous-agents indépendants sont lancés dans un même message pour s'exécuter en parallèle ; chacun écrit son résultat dans son répertoire isolé et ne renvoie qu'un résumé court. Les workers ne communiquent pas entre eux : le leader relaie. Fonctionne en interactif, avec claude -p et en CI.
teams --engine=teams CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, Claude Code v2.1.32+ Équipe Agent Teams : workers persistants coordonnés par TaskCreate / TaskList / SendMessage, messagerie directe entre coéquipiers, hooks TeammateIdle / TaskCompleted.

Read the full file on GitHub · 408 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. 1mo ago Changed · +27 lines · +6 tokens per session c1e41318d4a5
  2. 3mo ago First seen · 381 lines · 20 tokens per session scan A 62b8dabeb69a

Subscribe to this mod's changes

security is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (108 stars, last pushed 19d ago), licensed MIT. It adds 26 tokens to every session and 5,097 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

security compared with commands from other repositories

security next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
securityTheBeardedBearSAS/claude-craftCommand10819d agoMITA26Claude Code
assemble-teamtravisjneuman/.claudeCommand116todayMITA25Claude Code
checklistgithub/spec-kitCommand154kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand154kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand154kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand154kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand154kyesterdayMITA35Claude Code