engage

engage is a command for Claude Code from mukul975/Threatswarm. It costs 19 tokens per session (637 once invoked), scanned A, original, MIT.

A command for starting an authorized penetration-testing engagement, which is a structured security assessment of a target. It verifies the target’s scope, creates folders for collected evidence, and starts reconnaissance.

In plain words
What is it for?
Use it at the beginning of a security engagement for an approved IP address, network range, or domain. It prepares evidence folders and launches checks for services, vulnerabilities, web technologies, and discoverable paths.
Why use it?
It reduces the risk of testing an unapproved target and gives the assessment a consistent place to store scan results, screenshots, logs, and other evidence.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

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/mukul975/threatswarm/engage
Clone the repo
git clone --depth 1 https://github.com/mukul975/Threatswarm

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 engage

README.md
[![agentmods](https://agentmods.dev/badge/commands/mukul975/threatswarm/engage.svg)](https://agentmods.dev/commands/mukul975/threatswarm/engage)
Your own site
<a href="https://agentmods.dev/commands/mukul975/threatswarm/engage"><img src="https://agentmods.dev/badge/commands/mukul975/threatswarm/engage.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 637 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.1 $0.00019 $0.00637
Opus 5 $0.00010 $0.00318
Sonnet 5 $0.00004 $0.00127
Haiku 4.5 $0.00002 $0.00064

Measured 6d ago against content hash e1bca763d3c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

engage 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 6d 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/engage.md · 57 lines

What it actually says

Start a new penetration testing engagement for target: $ARGUMENTS

Follow these steps in order:

  1. Scope Verification: Read scope.txt and verify that "$ARGUMENTS" is listed as an authorized target (exact IP, CIDR that includes the IP, or domain match). If NOT found in scope.txt, STOP immediately and output:

    ❌ SCOPE VIOLATION: "$ARGUMENTS" is not in scope.txt
    Add the target to scope.txt before proceeding.
    
  2. Create Evidence Directories: Create the full directory structure:

    mkdir -p evidence/$(date +%Y%m%d)/$ARGUMENTS/{nmap,nuclei,web,creds,screenshots,post_ex,ad,cloud,wireless,mobile,api,re,osint,network,lateral,logs}
    
  3. Print Engagement Brief:

    ═══════════════════════════════════════════════
    ENGAGEMENT START
    Target:    $ARGUMENTS
    Date:      $(date -u +%Y-%m-%dT%H:%M:%SZ)
    Operator:  $(whoami)
    Scope:     VERIFIED ✓
    Evidence:  evidence/$(date +%Y%m%d)/$ARGUMENTS/
    ═══════════════════════════════════════════════
    
  4. Delegate to Recon Agent: Invoke the recon sub-agent with the target. The recon agent will:

    • Run nmap TCP full scan + service/version scan
    • Run nuclei CVE and exposure scans
    • Run httpx for web technology detection
    • Run feroxbuster for directory enumeration (if web ports found)
    • Run subfinder + amass if a domain target
    • Write evidence/$(date +%Y%m%d)/$ARGUMENTS/recon_summary.md
  5. Parse Recon Results: After recon completes, read recon_summary.md and extract:

    • Open ports and services with versions
    • Web technologies detected
    • Discovered subdomains count
  6. Print Attack Vector Recommendations: Based on the recon findings, output a prioritized list:

    ══ RECOMMENDED ATTACK VECTORS ══════════════════
    Priority 1: [e.g., "CVE-XXXX on Apache 2.4.49 (port 80)"]
    Priority 2: [e.g., "Default credentials on admin panel (/admin)"]
    Priority 3: [e.g., "SQL injection on login form"]
    Priority 4: [e.g., "Outdated OpenSSH — check for user enumeration"]
    ════════════════════════════════════════════════
    
    Ready. Run: /project:attack $ARGUMENTS <vector>
    
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. 6d ago First seen · 57 lines · 19 tokens per session scan A e1bca763d3c3

Subscribe to this mod's changes

engage is a command published in the GitHub repository mukul975/Threatswarm (77 stars, last pushed 4mo ago), licensed MIT. It adds 19 tokens to every session and 637 once invoked, about $0.0001 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.

Related

Other commands, from other repositories

recon

Run full recon pipeline on a target — subdomain enum (Chaos API + subfinder), live host discovery (dnsx + httpx), URL crawl (katana + waybackurls + gau), gf pattern classification, nuclei scan. Outputs to recon/ / directory. Usage: /recon target.com.

elementalsouls/Claude-BugHunter · 65 tokens

hunt

Active vulnerability hunting. Two-track dispatcher — asks Red Team vs WAPT, hands off to hunt-dispatch skill and sibling commands. Usage: /hunt target.com | /hunt .target.com | /hunt targets.txt [--vuln-class X] [--source-code P] [--chrome].

elementalsouls/Claude-BugHunter · 63 tokens

token-scan

Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP lock bypass, authority retention, bonding curve exploits, fake renounce, sandwich amplification). Manual 8-class grep audit (with an optional automated scanner if present). Usage: /token-scan [--chain solana].

elementalsouls/Claude-BugHunter · 79 tokens

autopilot

Run autonomous hunt loop on a target — scope check → recon → rank surface → hunt → validate → report with configurable checkpoints. Usage: /autopilot target.com [--paranoid|--normal|--yolo].

elementalsouls/Claude-BugHunter · 49 tokens

validate

Validate a finding — runs 7-Question Gate + 4-gate checklist. Kills weak findings before report writing. Prevents N/A submissions that hurt validity ratio. Usage: /validate.

elementalsouls/Claude-BugHunter · 41 tokens

triage

Quick 7-Question Gate triage on a finding before writing a report. Kills N/A submissions before they happen. Faster than /validate — for quick go/no-go decisions. Usage: /triage.

elementalsouls/Claude-BugHunter · 45 tokens