gemini-agent-skills: Skill for Claude Code

.gemini/skills/ad-security-reviewer/SKILL.md

ad-security-reviewer is a skill for Claude Code, Gemini CLI from saeed-vayghan/gemini-agent-skills. It costs 34 tokens per session (452 once invoked), scanned A, original, MIT.

A security review guide for Active Directory, Microsoft's system for managing enterprise users, computers, permissions, and authentication.

In plain words
What is it for?
Use it to review privileged groups, access permissions, security policies, legacy protocols, Group Policy, SYSVOL, service accounts, and common attack paths.
Why use it?
It helps expose excessive privileges, weak authentication settings, unsafe delegation, and other paths attackers could use inside a company network.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: allowed-tools in frontmatter, but also installed under .gemini/.

This is saeed-vayghan/gemini-agent-skills's own configuration. It tells Claude Code and Gemini CLI how to work on gemini-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/ad-security-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skills

Made for: Claude Code, Gemini CLI.

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 ad-security-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/ad-security-reviewer/github.svg)](https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/ad-security-reviewer)
Your own site
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/ad-security-reviewer"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/ad-security-reviewer/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 ad-security-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/ad-security-reviewer"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/ad-security-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 452 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.00034 $0.00452
Opus 5 $0.00017 $0.00226
Sonnet 5 $0.00007 $0.00090
Haiku 4.5 $0.00003 $0.00045

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

Security

Grade A, and why

ad-security-reviewer 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 12d 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.

.gemini/skills/ad-security-reviewer/SKILL.md · 57 lines

What it actually says

You are an AD security posture analyst who evaluates identity attack paths, privilege escalation vectors, and domain hardening gaps. You provide safe and actionable recommendations based on best practice security baselines.

Core Capabilities

AD Security Posture Assessment

  • Analyze privileged groups (Domain Admins, Enterprise Admins, Schema Admins)
  • Review tiering models & delegation best practices
  • Detect orphaned permissions, ACL drift, excessive rights
  • Evaluate domain/forest functional levels and security implications

Authentication & Protocol Hardening

  • Enforce LDAP signing, channel binding, Kerberos hardening
  • Identify NTLM fallback, weak encryption, legacy trust configurations
  • Recommend conditional access transitions (Entra ID) where applicable

GPO & Sysvol Security Review

  • Examine security filtering and delegation
  • Validate restricted groups, local admin enforcement
  • Review SYSVOL permissions & replication security

Attack Surface Reduction

  • Evaluate exposure to common vectors (DCShadow, DCSync, Kerberoasting)
  • Identify stale SPNs, weak service accounts, and unconstrained delegation
  • Provide prioritization paths (quick wins → structural changes)

Checklists

AD Security Review Checklist

  • Privileged groups audited with justification
  • Delegation boundaries reviewed and documented
  • GPO hardening validated
  • Legacy protocols disabled or mitigated
  • Authentication policies strengthened
  • Service accounts classified + secured

Deliverables Checklist

  • Executive summary of key risks
  • Technical remediation plan
  • PowerShell or GPO-based implementation scripts
  • Validation and rollback procedures

Integration with Other Agents

  • powershell-security-hardening – for implementation of remediation steps
  • windows-infra-admin – for operational safety reviews
  • security-auditor – for compliance cross-mapping
  • powershell-5.1-expert – for AD RSAT automation
  • it-ops-orchestrator – for multi-domain, multi-agent task delegation
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. 12d ago First seen · 57 lines · 34 tokens per session scan A 4f08725ddcba

Subscribe to this mod's changes

ad-security-reviewer is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (34 stars, last pushed 7mo ago), licensed MIT. It adds 34 tokens to every session and 452 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.

Related

Other skills, from other repositories

google-agents-cli-scaffold

This skill should be used when the user wants to "create an agent project", "start a new ADK project", "build me a new agent", "add CI/CD to my project", "add deployment", "enhance my project", or "upgrade my project". Part of the agents-cli skills suite. Covers agents-cli scaffold create, scaffold enhance, and…

google/agents-cli · 135 tokens

adk-go-self-review

Review an ADK Go change the way a maintainer will — a fresh-context pass over the whole diff, five lenses (correctness and tests, scope, simplicity, style, adk-python parity), and the mutation check that proves your tests pin the change. Use before opening a PR, before any later push that changes code, and when asked…

google/adk-go · 87 tokens

grocery-prices

A skill to calculate grocery prices with country-specific taxes.

google/adk-go · 16 tokens

orchestrate

Drive a plan to completion by orchestrating implementer, reviewer, and critic agents across waves of parallel work. Use when the user says "orchestrate", "implement this plan", "execute plan", "drive this", or approves a plan for execution.

codecast-sh/codecast · 56 tokens

gerador-soul

Gera um arquivo SOUL.md completo e estruturado para qualquer agente ou assistente de IA. Use esta skill SEMPRE que a pessoa usuária quiser criar um SOUL.md, definir a identidade de um agente, descrever a "alma" de um assistente, ou usar os gatilhos "/soul", "/soul.md" ou "gerar soul". Ative também quando a pessoa…

marioluciofjr/skills · 155 tokens

craque-neto

Faz análise de risco de projetos gritando a real, sem bajulação, no tom de voz do ex-jogador José Ferreira Neto, o 'Craque Neto', apresentador do 'Donos da Bola' (Band) e da 'Rádio Craque Neto'. A resposta é só a bronca do Neto: texto corrido de até 200 palavras, primeira pessoa, linguagem do povo, palavrão pesado…

marioluciofjr/skills · 249 tokens