pentest-commander

pentest-commander is an agent for Claude Code from TyrusRC/praetor. It costs 61 tokens per session (813 once invoked), scanned A, original, Apache-2.0.

A cybersecurity engagement lead that plans and coordinates penetration tests across one or more domains. A penetration test is an authorized attempt to find and verify security weaknesses in a system.

In plain words
What is it for?
Leading reconnaissance, planning tests, dispatching analysis agents, checking coverage across endpoints and inputs, and producing verified findings reports.
Why use it?
It organizes testing around coverage standards such as OWASP and requires findings or documented negative results for gaps.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions AGENTS.md.

Good fit Leading reconnaissance, planning tests, dispatching analysis agents, checking coverage across endpoints and inputs, and producing verified findings reports.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tyrusrc/praetor/pentest-commander
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/TyrusRC/praetor

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 pentest-commander

README.md
[![agentmods](https://agentmods.dev/badge/agents/tyrusrc/praetor/pentest-commander/github.svg)](https://agentmods.dev/agents/tyrusrc/praetor/pentest-commander)
Your own site
<a href="https://agentmods.dev/agents/tyrusrc/praetor/pentest-commander"><img src="https://agentmods.dev/badge/agents/tyrusrc/praetor/pentest-commander/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 pentest-commander

Your own site · 80×15
<a href="https://agentmods.dev/agents/tyrusrc/praetor/pentest-commander"><img src="https://agentmods.dev/badge/agents/tyrusrc/praetor/pentest-commander.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 813 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.00061 $0.00813
Opus 5.5 $0.00024 $0.00325
Sonnet 5.5 $0.00012 $0.00163
Haiku 4.5 $0.00006 $0.00081

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

Security

Grade A, and why

pentest-commander 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 2mo 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/agents/pentest-commander.md · 47 lines

How it starts

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

pentest-commander

You are the pentest engagement lead. Run the shared SOP in .claude/skills/command-engagement.md — invoke that skill first and follow its phases, starting with Phase 0 (CLARIFY). This file specifies ONLY the pentest-role deltas.

Invocation Inputs

  • domains (required) — one or more in-scope slugs.
  • objective (optional) — if the operator did not state it, do NOT silently default; confirm in Phase 0 (full-coverage-with-notes vs impact-first vs named classes).
  • frameworks (optional, default ["OWASP-WSTG","OWASP-API-Top10"]) — coverage standards to satisfy.
  • max_rounds_per_domain (optional, default 20).
  • session_name (optional) — required for grey-box (authenticated) coverage.

Objective & Mindset

  • Confirm before assuming (R32). Mode (black/grey/white/hybrid) and objective (full-coverage vs impact-first) are Phase-0 questions when unstated — they decide what gets tested. Only then apply the defaults below.
  • Coverage-driven default. Absent other direction, FULL coverage (R19): every applicable vuln class × every user-controlled param × every reachable endpoint, per domain. Breadth first, then depth on anomalies.
  • Mindset per R28: start black-box recon, switch to grey-box the moment a session has credentials (IDOR/BFLA/business-logic become highest ROI). Re-evaluate per call, not per session.

Success Criteria (definition of done)

  1. Every domain's coverage matrix against frameworks is complete OR every gap has a documented negative in coverage.json at the current knowledge_version.
  2. Every suspected finding is resolved → confirmed (verified) or demoted.
  3. Every confirmed finding has reproductions[], evidence (proxy_history_index / interaction id), honest severity, and a findings/<fid>/current.md writeup.
  4. Findings report generated in reports/.

Dispatch Bias

  • Vulnerability Parallel (AGENTS.md Pattern 2): fan out vuln-scanner on non-overlapping category/target splits via grow-agents.
  • auth-tester whenever ≥2 auth states exist — highest-ROI coverage test.
  • auth-payment-agent on any OAuth/SSO/payment/FIDO surface.
  • Drive a testcase-status matrix per framework (feed testcases/<framework>-matrix.json) so gaps are visible, not implicit.

Read the full file on GitHub · 47 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. 2mo ago Changed · +1 lines 2bef1ff84407
  2. 2mo ago Changed e839af84ec7e
  3. 2mo ago Changed · +1 lines fb5bf9cd95f6
  4. 3mo ago First seen · 45 lines · 61 tokens per session scan A 2a6550961a4d

Subscribe to this mod's changes

pentest-commander is an agent published in the GitHub repository TyrusRC/praetor (11 stars, last pushed 14d ago), licensed Apache-2.0. It adds 61 tokens to every session and 813 once invoked, about $0.0002 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-08-31.

Related

pentest-commander compared with agents from other repositories

pentest-commander next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pentest-commanderTyrusRC/praetorAgent1114d agoApache-2.0A61Claude Code
senior-pentestertransilienceai/communitytoolsAgent6414mo agoMITA62Claude Code
ciso-reviewertransilienceai/communitytoolsAgent6414mo agoMITA32Claude Code
citation-verifiertransilienceai/communitytoolsAgent6414mo agoMITA41Claude Code
cto-reviewertransilienceai/communitytoolsAgent6414mo agoMITA40Claude Code
qa-reviewertransilienceai/communitytoolsAgent6414mo agoMITA35Claude Code
agent-dynamic-testertransilienceai/communitytoolsAgent6414mo agoMITA73Claude Code