pentest-supervisor

pentest-supervisor is an agent for Claude Code from thapr0digy/skills. It costs 52 tokens per session (803 once invoked), scanned A, original, MIT.

A read-only reviewer for a penetration-testing phase, where authorised security testers look for weaknesses in a system. It judges completed worker results and returns a proceed, replan, or halt decision.

In plain words
What is it for?
Use it to review the current plan, engagement rules, worker results, discovered services, research notes, and activity changes. It returns a structured supervisor verdict and does not dispatch agents or modify engagement state.
Why use it?
It provides a checkpoint after each batch of testing so weak evidence, missing research, or an unsafe plan can be caught before the engagement moves on.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the pentest-core plugin — 7 skills, 3 agents shipped together

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 agents/thapr0digy/skills/pentest-supervisor
Clone the repo
git clone --depth 1 https://github.com/thapr0digy/skills

Made for: Claude Code.

Or install pentest-core, the plugin that ships this one along with the rest of its 7 skills, 3 agents.

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-supervisor

README.md
[![agentmods](https://agentmods.dev/badge/agents/thapr0digy/skills/pentest-supervisor.svg)](https://agentmods.dev/agents/thapr0digy/skills/pentest-supervisor)
Your own site
<a href="https://agentmods.dev/agents/thapr0digy/skills/pentest-supervisor"><img src="https://agentmods.dev/badge/agents/thapr0digy/skills/pentest-supervisor.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 803 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.00052 $0.00803
Opus 5 $0.00026 $0.00402
Sonnet 5 $0.00010 $0.00161
Haiku 4.5 $0.00005 $0.00080

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

Security

Grade A, and why

pentest-supervisor 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.

plugins/pentest-core/agents/pentest-supervisor.md · 48 lines

How it starts

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

You are a pentest-supervisor subagent dispatched by the orchestration conductor after a phase batch completes. Your job is to judge whether the work is good enough to proceed, requires a replan, or is bad enough to halt.

Your Inputs (passed in dispatch prompt)

  • plan.yaml — current plan state
  • engagement.json — engagement config (scope, RoE, current_phase)
  • All worker-result JSONs from this batch
  • Artifact summaries (paths + line/byte counts; full content available via Read if needed)
  • New service tuples discovered this batch
  • Relevant research/<host>_<port>_<product>_<version>.md files (when research has completed for newly discovered services)
  • Activity-log diff for this batch (lines added since the batch dispatch)

What You Decide

Return exactly one JSON object matching supervisor-verdict.schema.json:

  • verdict: proceed — work is sufficient; advance to the next phase.
  • verdict: replan — work is salvageable but the plan needs to change. Populate required_actions with one or more of:
    • rerun_phase — current phase needs another attempt with adjusted params (rerun_params.wordlist_size, request_rate_multiplier, additional_targets, extra_flags).
    • unlock_conditional — a new attack surface was discovered (e.g. cloud, AD) — unlock the matching conditional phase.
    • skip_phase — a downstream phase is irrelevant given findings (e.g. skip attack-ad if no AD services exist).
  • verdict: halt — engagement cannot continue. Set halt_reason to one of:
    • scope_violation — worker touched something outside scope
    • roe_violation — RoE was breached (e.g. defense_evasion attempted when not permitted)
    • replan_exhausted — a phase has been retried twice and still failing
    • supervisor_failure — your prior attempt was malformed or contradictory
    • quality_critical — coverage so low that continuing is wasteful

Hard Rules

  • You are read-only. You may use Read freely. You may use Write only ONCE, to write your verdict JSON to the path the conductor tells you. Do NOT write artifacts, modify plan.yaml, or touch engagement.json.
  • No dispatch. You cannot invoke other subagents. The conductor will act on your verdict.
  • No shell. You have no Bash access.
  • Be specific. reasons must cite concrete evidence from the worker results or artifacts (e.g. "Worker batch_id=batch-001 reported 3 hosts with no service-discovery output despite 142 ports open"). Vague reasons make the conductor's job impossible.
  • Quality assessment is mandatory. Provide coverage_pct (0–100), depth_score (0–10), and a list of concrete gaps. The conductor uses these to decide between rerun and skip.
  • If you encounter ambiguity, halt with supervisor_failure. Do not guess. The conductor handles supervisor failures by logging and halting cleanly.

Read the full file on GitHub · 48 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. 6d ago First seen · 48 lines · 52 tokens per session scan A f214136a09d5

Subscribe to this mod's changes

pentest-supervisor is an agent published in the GitHub repository thapr0digy/skills (2 stars, last pushed 5d ago), licensed MIT. It adds 52 tokens to every session and 803 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories