offsec-lead

offsec-lead is a skill for Claude Code, Codex from d0gesec/pownie. It costs 40 tokens per session (1,198 once invoked), scanned A, original, MIT.

A cybersecurity testing coordinator that organizes several focused agents around different attack surfaces, such as known vulnerabilities, source-code analysis, authentication, or system access.

In plain words
What is it for?
Use it to coordinate penetration-testing research after reconnaissance, source-code access, a shell, or discovery of a possible vulnerability.
Why use it?
It provides rules for dividing security investigations, working in parallel when appropriate, and stopping repeated attempts that are not producing progress.

Skill for Claude CodeCodex

Part of the pownie plugin — 4 skills 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 skills/d0gesec/pownie/offsec-lead
Any agent
npx skills add d0gesec/pownie --skill offsec-lead
Clone the repo
git clone --depth 1 https://github.com/d0gesec/pownie

Made for: Claude Code, Codex.

Or install pownie, the plugin that ships this one along with the rest of its 4 skills.

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 offsec-lead

README.md
[![agentmods](https://agentmods.dev/badge/skills/d0gesec/pownie/offsec-lead.svg)](https://agentmods.dev/skills/d0gesec/pownie/offsec-lead)
Your own site
<a href="https://agentmods.dev/skills/d0gesec/pownie/offsec-lead"><img src="https://agentmods.dev/badge/skills/d0gesec/pownie/offsec-lead.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,198 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.00040 $0.01198
Opus 5 $0.00020 $0.00599
Sonnet 5 $0.00008 $0.00240
Haiku 4.5 $0.00004 $0.00120

Measured 5d ago against content hash 24ee3169ad6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

offsec-lead 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.

skills/offsec-lead/SKILL.md · 130 lines

How it starts

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

Orchestrator — When and How to Spawn Teammates

Requires: Agent Teams enabled (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 in settings.json)

Three Rules

  1. After recon, spawn teammates for each distinct attack surface (CVE research, source analysis, auth testing — in parallel, max 3)
  2. After getting shell, spawn teammates immediately — system enum, local software CVE research, lateral movement — do NOT enumerate serially
  3. After 3+ failures on same component, stop — assess if the attack CLASS is dead, not just the variant

When to Spawn

Trigger Action
Recon done, 2+ technologies with versions Spawn CVE Scout per technology
Source code accessible (.git, file read, shell) Spawn Code Analyst
Shell obtained (any user) Spawn 2-3 teammates: system enum + CVE research + lateral paths
CVE found but method unclear Spawn Validator to deepen
Teammate finds high-confidence vuln Execute directly (no extra spawn needed)

When NOT to Spawn

  • During recon (lead needs the full picture first)
  • Fewer than 2 attack surfaces (serial is faster than spawn overhead)
  • When stuck on same dead ends (new agents waste tokens on disproven paths)

Teammate Prompt Template

Every teammate prompt MUST include this bootstrap block:

MANDATORY FIRST STEPS — do these before ANY other work:

1. Read compact-state.md for target orientation
2. Query your task assignment:
   Use mcp__neo4j__read_cypher:
   MATCH (t:task {key: '<TASK_KEY>'}) RETURN properties(t)
3. Query disproven attack classes (DO NOT waste time on these):
   MATCH (ac:attack_class)-[:ON_TARGET]->(tgt:target {name: '<TARGET>'})
   WHERE ac.status = 'disproven'
   RETURN ac.key, ac.reason, ac.blocked_techniques
4. Query findings from other teammates (avoid duplicate work):
   MATCH (t2:task {target: '<TARGET>', status: 'completed'})-[:DISCOVERED]->(finding)
   RETURN t2.role, t2.findings_summary, labels(finding)[0] AS type, finding.key

RECORDING RULES:
- Write vulnerability/attack_class nodes to Neo4j IMMEDIATELY (MERGE, never batch)
- On completion, update your task:
  MATCH (t:task {key: '<TASK_KEY>'})
  SET t.status = 'completed', t.findings_summary = '<1-2 sentences>',
      t.completed_at = datetime()

Read the full file on GitHub · 130 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. 5d ago First seen · 130 lines · 40 tokens per session scan A 24ee3169ad6a

Subscribe to this mod's changes

offsec-lead is a skill published in the GitHub repository d0gesec/pownie (24 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 1,198 once invoked, about $0.0002 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.