network-pentest

network-pentest is a skill for Claude Code, Codex from JustineDevs/premortem. It costs 103 tokens per session (2,611 once invoked), scanned A, original, Apache-2.0.

An authorized penetration-testing guide for internal company networks and Active Directory, the Windows system used to manage users, computers, and access. It covers testing across Windows and Linux environments.

In plain words
What is it for?
Use it for internal network assessments, Active Directory attack-path analysis, lateral-movement testing, privilege-escalation checks, and controlled post-exploitation work.
Why use it?
It helps security teams discover how an attacker could move through an internal network, gain higher privileges, or access other systems. Written authorization and defined testing rules are required before use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it for internal network assessments, Active Directory attack-path analysis, lateral-movement testing, privilege-escalation checks, and controlled post-exploitation work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justinedevs/premortem/network-pentest
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.

Any agent
npx skills add JustineDevs/premortem --skill network-pentest
Clone the repo
git clone --depth 1 https://github.com/JustineDevs/premortem

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/justinedevs/premortem/network-pentest"><img src="https://agentmods.dev/badge/skills/justinedevs/premortem/network-pentest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,611 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.00103 $0.02611
Opus 5 $0.00051 $0.01306
Sonnet 5 $0.00021 $0.00522
Haiku 4.5 $0.00010 $0.00261

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

Security

Grade A, and why

network-pentest 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 9d 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.

.agents/skills/security/network-pentest/SKILL.md · 183 lines

How it starts

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

Network Penetration Testing

STOP — Authorization check (read before any execution)

This skill executes offensive techniques against live infrastructure. Before any action:

  1. Confirm a written engagement letter / SOW is in scope and in-date.
  2. Confirm Rules of Engagement (ROE) covering: target CIDRs, excluded hosts, allowed techniques (coercion? DCSync? password spray?), permitted hours, source-IP allowlist, and customer emergency contact.
  3. Confirm the authorization explicitly names the domain(s) and tenant(s) you are about to test.
  4. If ANY of the above is unclear, ambiguous, or missing — STOP and request clarification. Do not proceed on the basis of verbal approval, chat-channel approval, or inferred scope.

Destructive/high-blast-radius actions (DCSync against production DCs, Zerologon, Skeleton Key, GPO edits, krbtgt reset, cert forgery) require a second, specific written approval in addition to the base engagement letter. Every such action must be logged with timestamp, operator, and justification for the customer's IR reconciliation.

Prefer read-only enumeration and dry-run modes first. Escalate only when the previous step establishes the precondition. Never chain offensive actions speculatively.


This skill enables comprehensive internal network and Active Directory penetration testing: reconnaissance, credential attacks, lateral movement, privilege escalation, and domain dominance. It is a thin router — heavy content lives in workflows/, references/, and payloads/. Load only the file you need.

When to Use

  • Authorized internal network penetration test
  • Authorized Active Directory security assessment
  • Lateral movement / privilege escalation validation
  • Credential-attack testing (spray, Kerberoast, AS-REP)
  • Post-exploitation path verification from a simulated phished user
  • Network segmentation bypass validation
  • Purple-team exercises where offensive action is agreed with the blue team

Trigger Phrases

Read the full file on GitHub · 183 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. 9d ago First seen · 183 lines · 103 tokens per session scan A e877a48dcefc

Subscribe to this mod's changes

network-pentest is a skill published in the GitHub repository JustineDevs/premortem (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 2,611 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

awesome-azd-template-submit

Submit an azd template to the awesome-azd gallery. Use when asked to submit, add, or contribute a template to awesome-azd. Requires only a GitHub repository URL — all metadata (title, description, languages, frameworks, Azure services, IaC) is auto-detected by the submission pipeline.

Azure/awesome-azd · 72 tokens

azure-cli

Use the Azure CLI to manage subscriptions, resource groups, AKS, App Service, Key Vault, and role assignments.

alivirgo/Major-AI-Skills · 27 tokens

bitbottle

Reference for the bitbottle CLI — a gh-style tool for Bitbucket Server/DC and Cloud. Load when the user asks about bitbottle commands, auth setup, PRs, repos, branches, tags, commits, pipelines, or why a command failed. Load even if the user just says "bitbottle", mentions "Bitbucket", or pastes a bitbottle error…

proggarapsody/bitbottle · 84 tokens

azure-cli

A command-line tool for managing Microsoft Azure, Microsoft's cloud platform, from a terminal. It covers account sign-in, subscriptions, resource groups, virtual machines, and other cloud resources.

chaterm/terminal-skills · 7 tokens

extract-api

This skill should be used when the user asks to "extract API from", "import API from", "add commands from this repo", "register API from docs", "convert docs to CLI commands", "import Postman collection", or provides a GitHub repository URL, a documentation site URL, a Postman collection file/URL, or a local API…

hesedcasa/sdkck · 86 tokens

sidekick

ALWAYS run sdkck search FIRST before using ANY tool, MCP server, Bash command, or external API. sdkck is the canonical command surface for Jira, Sentry, MySQL, Postgres, Supabase, Bitbucket, Confluence, and imported OpenAPI/Postman specs. Trigger on every task involving external systems, APIs, databases, tickets…

hesedcasa/sdkck · 100 tokens