Active Directory Automation Pack

    by vincent ododa

    1

    Four read-only-first AD skills: health, replication, stale objects, and gated bulk user provisioning. PowerShell-based Active Directory automation for bulk provisioning, health checks, and stale object reporting.

    Free

    Security scanned

    Works with the AI Agents you already use

    Active Directory Automation Pack

    Example session with this skill installed

    User: Validate this user CSV and tell me what would be created. Do not create anything yet.

    Agent runs scripts/New-ADBulkUsers.ps1 -CsvPath .\users.csv and returns:

    AD Bulk User Provisioning

    Mode : DRY RUN
    Rows read : 2
    Valid rows : 2
    Issues : 0

    Results
    SamAccountName Action OU


    jdoe WouldCreate OU=Staff,OU=Users,DC=corp,DC=example,DC=com
    asmith WouldCreate OU=Staff,OU=Users,DC=corp,DC=example,DC=com

    User: Create the users now.

    Agent re-runs with -Execute and returns

    AD Bulk User Provisioning

    Mode : EXECUTE
    Rows read : 2
    Valid rows : 2
    Issues : 0

    Results
    SamAccountName Action OU TempPassword


    jdoe Created OU=Staff,OU=Users,DC=corp,DC=example,DC=com k7#Rq2!mNp4@Lx9T
    asmith Created OU=Staff,OU=Users,DC=corp,DC=example,DC=com W3$hV8*nB2!qF6@z

    • Read your context and instructions
    • Compiled the active directory automation

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Active Directory Automation Pack bundles four PowerShell skills that cover the recurring AD jobs sysadmins actually do:

    • ad-health-check — every DC's critical services, FSMO role holders, time sync offset, and SYSVOL reachability.
    • ad-replication-report — repadmin /replsummary plus per-pair /showrepl data, with failed pairs and error codes called out.
    • ad-stale-objects — inactive users and computers, locked-out accounts, disabled accounts, and password-age findings.
    • ad-bulk-user-provision — CSV-driven user creation that is dry-run by default and only writes when you explicitly pass -Execute.

    Three skills are strictly read-only. The one write skill validates every row, skips existing accounts, generates a random temporary password per user, and forces a password change at first logon. Nothing runs without an explicit opt-in.

    Every skill prints human-readable tables and a single JSON line, so results are easy to read and easy to store.

    Requires RSAT ActiveDirectory module. Read-only scripts do not modify objects. Replication report requires English-localized DC output. Large domains may experience latency during stale object scans.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 16 days ago

    • Free with an Agensi account

    Software
    The scripts run in Powershell.

    Permissions

    Read Files
    Write Files
    Listed16 days ago

    What's inside

    Frequently Asked Questions

    This skill pack is compatible with any AI agent or platform that has a PowerShell execution environment and the Active Directory (RSAT) module installed. It is designed to be triggered via natural language prompts to handle the underlying script execution and parameter mapping.

    The pack includes a collection of production-ready PowerShell scripts, including specialized tools for bulk user provisioning, domain health audits, replication monitoring, and stale object discovery. You also receive a documentation guide on how to integrate these scripts with your AI agent's toolset.

    Safety is a core feature; the bulk provisioning tool includes a mandatory 'dry-run' mode that validates CSV data, OU paths, and duplicate accounts before making any changes to your directory. This prevents the common 'hallucination' or syntax errors often found in raw AI-generated scripts.

    Yes, the scripts require a Windows environment with the Active Directory PowerShell module (RSAT) installed. Additionally, the executing agent must have the necessary administrative permissions to read or write to the directory depending on the task.

    The health auditing and stale object scripts are strictly read-only and designed for reporting. The provisioning scripts only perform write actions when the explicit '-Execute' flag is triggered after a successful validation phase.

    The replication reporting tools currently parse output from 'repadmin', which assumes the underlying OS language is set to English. It may require manual adjustment for environments using other system languages.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.

    Free