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.
npx skills add ADScanPro/Claude-AD --skill ad-methodologygit clone --depth 1 https://github.com/ADScanPro/Claude-ADWrote 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.
[](https://agentmods.dev/skills/adscanpro/claude-ad/ad-methodology)<a href="https://agentmods.dev/skills/adscanpro/claude-ad/ad-methodology"><img src="https://agentmods.dev/badge/skills/adscanpro/claude-ad/ad-methodology/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.
<a href="https://agentmods.dev/skills/adscanpro/claude-ad/ad-methodology"><img src="https://agentmods.dev/badge/skills/adscanpro/claude-ad/ad-methodology.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high YARA Match · line 9 YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
- medium Privilege Escalation · line 58 Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00125 | $0.02798 |
| Opus 5.5 | $0.00050 | $0.01119 |
| Sonnet 5.5 | $0.00025 | $0.00560 |
| Haiku 4.5 | $0.00013 | $0.00280 |
Grade B, and why
ad-methodology scanned grade B with 2 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 3mo 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.
Harvests environment variablesmediumData exfiltration
Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.
Harvest credentials that cost nothing and lock nothing before you ever send a spray. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo ntpdate <dc_ip> # or: sudo rdate -n <dc_ip> Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AD Pentest Methodology: Phase Order
A domain assessment is not a bag of tricks you run in random order. The order is the craft. Enumeration feeds exploitation; a credential harvested cheaply saves you a spray that locks accounts; a graph collected once tells you which of a hundred possible attacks actually reaches Domain Admin. Run the phases in order and each one narrows the next.
Four phases, in sequence:
- Setup: reachability, name resolution, environment posture, first credentials.
- Collection: topology, trusts, directory objects, hosts, shares. Read, do not touch.
- Exploitation: attack-path discovery, then cheap wins, then spraying, then hunting.
- Post-processing: consolidate loot, re-collect as the owned set grows, report.
The rest of this skill is what happens inside each phase and why that order holds.
Phase 1: Setup
You cannot attack a DC you cannot reach, resolve, or authenticate against. Get these four things straight before anything else.
1.1 Reachability and DNS
The DC is the DNS server for the domain. If your resolver does not point at it,
corp.local, dc01.corp.local and SRV records will not resolve, and half your tools
fail with confusing errors that look like auth problems.
# Point resolution at the DC, confirm the domain answers
nslookup -type=SRV _ldap._tcp.dc._msdcs.corp.local <dc_ip>
nxc smb <dc_ip> # confirms host up + prints domain/hostname/OS
Kerberos also needs FQDNs. Add the DC to /etc/hosts (<dc_ip> dc01.corp.local dc01)
so short names and IPs both resolve to the canonical FQDN. This one step prevents a
whole class of Kerberos SPN failures later (see ad-environment-constraints).
1.2 Clock sync
Kerberos rejects tickets when client and DC differ by more than five minutes
(KRB_AP_ERR_SKEW). Sync before you touch Kerberos.
sudo ntpdate <dc_ip> # or: sudo rdate -n <dc_ip>
1.3 Environment posture: detect before you authenticate
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.
- 3mo ago First seen · 262 lines · 125 tokens per session scan B e4b0fb59cc50
ad-methodology is a skill published in the GitHub repository ADScanPro/Claude-AD (227 stars, last pushed 3mo ago), licensed MIT. It adds 125 tokens to every session and 2,798 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 2 findings (harvests environment variables, asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ad-methodology compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ad-methodologyADScanPro/Claude-AD | Skill | 227 | 3mo ago | MIT | B | 125 | Claude Code |
| performing-active-directory-penetration-testxalgorix/xalgorix | Skill | 1.6k | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |
| deploying-active-directory-honeytokensxalgorix/xalgorix | Skill | 1.6k | yesterday | Apache-2.0 | A | 101 | Claude Code, Codex |
| pentesting-ldapxalgorix/xalgorix | Skill | 1.6k | yesterday | Apache-2.0 | A | 99 | Claude Code, Codex |
| deploying-active-directory-honeytokens26zl/cybersec-toolkit | Skill | 116 | yesterday | MIT | A | 101 | Claude Code |
| conducting-internal-reconnaissance-with-bloodhound-ce26zl/cybersec-toolkit | Skill | 116 | yesterday | MIT | A | 96 | Claude Code |
| executing-active-directory-attack-simulationxalgorix/xalgorix | Skill | 1.6k | yesterday | Apache-2.0 | C | 107 | Claude Code, Codex |