report

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

A command that creates a professional penetration-test report from evidence files. A penetration test is a security assessment that documents exploitable weaknesses and their fixes.

In plain words
What is it for?
Use it to generate a named Markdown report from security evidence, including findings, CVSS scores, remediation steps, and quality checks.
Why use it?
It gathers findings from different evidence files, organizes them by severity, removes duplicates, and checks that important report details are present.

Command for Claude Code

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/report
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 report

README.md
[![agentmods](https://agentmods.dev/badge/commands/mukul975/threatswarm/report.svg)](https://agentmods.dev/commands/mukul975/threatswarm/report)
Your own site
<a href="https://agentmods.dev/commands/mukul975/threatswarm/report"><img src="https://agentmods.dev/badge/commands/mukul975/threatswarm/report.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 653 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 $0.00010 $0.00653
Opus 5 $0.00005 $0.00327
Sonnet 5 $0.00002 $0.00131
Haiku 4.5 $0.00001 $0.00065

Measured 5d ago against content hash 5455fe080006, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

report 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 5d 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/report.md · 71 lines

What it actually says

Generate penetration test report named: $ARGUMENTS

  1. Setup:

    ═══════════════════════════════════════════
    REPORT GENERATION
    Name:    $ARGUMENTS
    Output:  reports/$ARGUMENTS.md
    Source:  evidence/ directory
    ═══════════════════════════════════════════
    

    Ensure mkdir -p reports/ exists.

  2. Evidence Discovery: Find all findings files:

    • Glob evidence/**/*findings*.md
    • Glob evidence/**/*_report.md
    • Glob evidence/**/exploitation.md
    • Glob evidence/**/post_ex.md
    • Glob evidence/**/ad_findings.md
    • Glob evidence/**/web_findings.md
    • Glob evidence/**/api_findings.md
    • Glob evidence/**/network_findings.md
  3. Invoke report-writer Agent: Delegate with:

    • List of all evidence files found
    • Engagement name: $ARGUMENTS
    • Read scope.txt for scope section
    • Consolidate all findings into the full report template
    • Sort findings by CVSS score (critical first)
    • Deduplicate overlapping findings
    • Write to reports/$ARGUMENTS.md
  4. Quality Check: After writing:

    • Count findings by severity
    • Verify all CRITICAL findings have CVSS vectors
    • Verify all findings have remediation steps
    • Check for any [PLACEHOLDER] text left unreplaced
    • Verify no plaintext credentials in report (search for common patterns)
  5. Print Report Summary:

    ═══ REPORT COMPLETE ════════════════════════════
    File:       reports/$ARGUMENTS.md
    Word count: $(wc -w reports/$ARGUMENTS.md | awk '{print $1}')
    Pages est.: ~$(wc -w reports/$ARGUMENTS.md | awk '{print int($1/300)}')
    
    Findings by severity:
      Critical: $(grep -c "| CRITICAL |" reports/$ARGUMENTS.md || echo 0)
      High:     $(grep -c "| HIGH |" reports/$ARGUMENTS.md || echo 0)
      Medium:   $(grep -c "| MEDIUM |" reports/$ARGUMENTS.md || echo 0)
      Low:      $(grep -c "| LOW |" reports/$ARGUMENTS.md || echo 0)
      Info:     $(grep -c "| INFO |" reports/$ARGUMENTS.md || echo 0)
    
    Top recommendations:
    [print first 3 critical/high finding titles]
    
    Report ready: reports/$ARGUMENTS.md
    ════════════════════════════════════════════════
    

If no evidence files are found, output:

⚠ No findings files found in evidence/
Run /project:engage <target> first to collect evidence.
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. 5d ago First seen · 71 lines · 10 tokens per session scan A 5455fe080006

Subscribe to this mod's changes

report is a command published in the GitHub repository mukul975/Threatswarm (77 stars, last pushed 4mo ago), licensed MIT. It adds 10 tokens to every session and 653 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.