CLI Microsoft365
pnp/cli-microsoft365-mcp-server
Use CLI for Microsoft 365 to manage Microsoft 365 tenants from the terminal.
Guidance for Microsoft Purview Data Security Posture Management for AI (DSPM for AI) - discovering, monitoring, and protecting sensitive data interactions with generative AI apps like Microsoft 365…
$ npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills purview-dspm-ai --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/purview-dspm-ai .claude/skills/purview-dspm-ai && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "purview-dspm-ai" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/purview-dspm-ai into .claude/skills/purview-dspm-ai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "purview-dspm-ai", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/purview-dspm-aiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills purview-dspm-ai --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/purview-dspm-ai .agents/skills/purview-dspm-ai && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "purview-dspm-ai" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/purview-dspm-ai into .agents/skills/purview-dspm-ai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "purview-dspm-ai", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills purview-dspm-ai --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/purview-dspm-ai .cursor/skills/purview-dspm-ai && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "purview-dspm-ai" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/purview-dspm-ai into .cursor/skills/purview-dspm-ai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "purview-dspm-ai", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/vinayaklatthe/microsoft-security-skills.git --path skills/purview-dspm-ai--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills purview-dspm-ai --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/purview-dspm-ai .gemini/skills/purview-dspm-ai && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "purview-dspm-ai" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/purview-dspm-ai into .gemini/skills/purview-dspm-ai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "purview-dspm-ai", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install vinayaklatthe/microsoft-security-skills purview-dspm-aiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/purview-dspm-ai .github/skills/purview-dspm-ai && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "purview-dspm-ai" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/purview-dspm-ai into .github/skills/purview-dspm-ai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "purview-dspm-ai", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vinayaklatthe/microsoft-security-skills purview-dspm-ai --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vinayaklatthe/microsoft-security-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/purview-dspm-ai .opencode/skills/purview-dspm-ai && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "purview-dspm-ai" agent skill from https://github.com/vinayaklatthe/microsoft-security-skills/tree/main/skills/purview-dspm-ai into .opencode/skills/purview-dspm-ai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "purview-dspm-ai", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
purview-dspm-aiGuidance for Microsoft Purview Data Security Posture Management for AI (DSPM for AI) - discovering, monitoring, and protecting sensitive data interactions with generative AI apps like Microsoft 365…
Purview Dspm AI is an agent skill from vinayaklatthe/microsoft-security-skills. Guidance for Microsoft Purview Data Security Posture Management for AI (DSPM for AI) - discovering, monitoring, and protecting sensitive data interactions with generative AI apps like Microsoft 365 Copilot, Security Copilot, Copilot Studio agents, and third-party AI (ChatGPT, Gemini). Covers AI usage visibility, one-click recommendations, oversharing risk surfaced to AI, and DLP for AI. WHEN: DSPM for AI, AI data security posture, Copilot data risk, monitor AI prompts, sensitive data in AI, generative AI data…
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Documents & Office, covering Cloud office suites and Privacy and GDPR. It works with OpenAI, Microsoft Copilot Studio, Microsoft 365 and Microsoft SharePoint. The repository describes itself as: Curated Microsoft Security skills for AI agents - Defender, Sentinel, Entra, Purview, Intune, Security Copilot. The licence is MIT.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 15f16df. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
learn.microsoft.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Purview Dspm AI loads about 1.5k tokens when it runs. Until then it costs about 239 tokens; SKILL.md has 630 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from vinayaklatthe/microsoft-security-skills at commit 15f16df, republished under its MIT licence (© vinayaklatthe). 630 words, ~1,498 tokens.
.claude/skills/purview-dspm-ai/SKILL.md (or your agent's skills folder).DSPM for AI gives visibility and control over how sensitive data is used in generative AI - Microsoft 365 Copilot, Security Copilot, Copilot Studio agents, and third-party/consumer AI apps (ChatGPT, Gemini, Claude) - and recommends protections you can apply in one click.
Securing and governing data interactions with AI as Copilot and genAI adoption grows in the tenant, especially before broad rollout.
Do not use this skill when the goal is to clean up SharePoint permissions ahead of Copilot
(use purview-copilot-oversharing) or to investigate insider activity (use insider-risk-baseline).
| Concern | Start here |
|---|---|
| Are users pasting sensitive data into ChatGPT? | DSPM for AI - Activity Explorer + Edge browser extension / Defender for Cloud Apps signals |
| What sensitive data is Copilot retrieving? | DSPM for AI - Data assessments + interaction reports |
| Are prompts/responses violating policy? | Communication Compliance for Copilot + DLP for AI |
| Files Copilot can reach but shouldn't | DSPM for AI - unlabelled sensitive files report (then purview-copilot-oversharing) |
Rule of thumb: turn on DSPM for AI first to see the risk surface, then action the one-click recommendations rather than building bespoke policies from scratch.
Use DSPM for AI to monitor what sensitive data users send to Copilot.How do I detect sensitive data in AI prompts and responses?Gain visibility into third-party AI usage like ChatGPT.Run the Copilot oversharing assessment and action the recommendations.Block paste of Highly Confidential content into ChatGPT on managed endpoints.© vinayaklatthe, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/purview-dspm-ai of vinayaklatthe/microsoft-security-skills.
Open the folder on GitHubat commit 15f16df
Purview Dspm AI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Purview Dspm AI this skillvinayaklatthe/microsoft-security-skills | 175 | — | ~1.5k | Automated safety check: Pass | MIT | |
| CLI Microsoft365pnp/cli-microsoft365-mcp-server | 132 | — | ~3.5k | Automated safety check: Pass | MIT | |
| Spfx Releasepnp/docker-spfx | 134 | — | ~572 | Automated safety check: Notes | MIT | |
| CLI Microsoft365 Scriptpnp/cli-microsoft365-mcp-server | 132 | — | ~3.3k | Automated safety check: Pass | MIT | |
| AI Agent PostureSCStelz/security-investigator | 249 | — | ~21k | Automated safety check: Pass | MIT | |
| M365 Agents Pymicrosoft/skills | 3.1k | 5 repos | ~3.5k | Automated safety check: Notes | MIT |
pnp/cli-microsoft365-mcp-server
Use CLI for Microsoft 365 to manage Microsoft 365 tenants from the terminal.
pnp/docker-spfx
Automate SPFx version releases - branch, update files, commit, open PR, then tag after merge
pnp/cli-microsoft365-mcp-server
Write PowerShell scripts using CLI for Microsoft 365 commands to automate Microsoft 365 management tasks.
SCStelz/security-investigator
Audit or report on AI agent security posture across Copilot Studio, Microsoft 365 Copilot, Microsoft Foundry, and third-party agents.
microsoft/skills
Microsoft 365 Agents SDK for Python. An agent skill from microsoft/skills.
microsoft/skills
Microsoft 365 Agents SDK for .NET. An agent skill from microsoft/skills.
vinayaklatthe/microsoft-security-skills
Guidance for designing secure APIs on Azure - authentication, authorization, gateway controls, input validation, rate limiting, secret management, and runtime threat detection - aligned to OWASP API…
vinayaklatthe/microsoft-security-skills
Guidance for securing Azure App Service web apps and APIs — managed identity, Easy Auth with Microsoft Entra ID, network isolation via private endpoints + VNet integration, HTTPS / TLS hardening…
vinayaklatthe/microsoft-security-skills
Guidance for Azure Arc — projecting on-premises, multicloud (AWS/GCP), and edge servers, Kubernetes, and data services into Azure Resource Manager for unified governance, security, and management.
vinayaklatthe/microsoft-security-skills
Guidance for secure remote VM management in Azure using Azure Bastion combined with Defender for Cloud just-in-time (JIT) VM access.
vinayaklatthe/microsoft-security-skills
Guidance for Azure Confidential Computing — protecting data in use through hardware-based Trusted Execution Environments (TEEs).
vinayaklatthe/microsoft-security-skills
Guidance for Azure DDoS Protection — Network Protection (per-VNet) and IP Protection (per public IP) tiers built on the same always-on Microsoft platform.
Categories
Guidance for Microsoft Purview Data Security Posture Management for AI (DSPM for AI) - discovering, monitoring, and protecting sensitive data interactions with generative AI apps like Microsoft 365…. Purview Dspm AI is an agent skill from vinayaklatthe/microsoft-security-skills. Guidance for Microsoft Purview Data Security Posture Management for AI (DSPM for AI) - discovering, monitoring, and protecting sensitive data interactions with generative AI apps like Microsoft 365 Copilot, Security Copilot, Copilot Studio agents, and third-party AI (ChatGPT, Gemini).
Purview Dspm AI fits situations like: the goal is remediating overshared SharePoint content before Copilot rollout (use purview-copilot-oversharing); building IRM policies for departing users (use insider-risk-baseline).
Run `npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a claude-code`. Or copy the skill folder (skills/purview-dspm-ai in vinayaklatthe/microsoft-security-skills) into .claude/skills/purview-dspm-ai in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a codex`. Or copy the skill folder (skills/purview-dspm-ai in vinayaklatthe/microsoft-security-skills) into .agents/skills/purview-dspm-ai in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vinayaklatthe/microsoft-security-skills --skill purview-dspm-ai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/purview-dspm-ai, .gemini/skills/purview-dspm-ai, .github/skills/purview-dspm-ai and .opencode/skills/purview-dspm-ai in your project.
SKILL.md names no scripts, command-line tools or credentials: Purview Dspm AI is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: learn.microsoft.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Purview Dspm AI is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Purview Dspm AI: CLI Microsoft365 (pnp/cli-microsoft365-mcp-server, 132 stars), Spfx Release (pnp/docker-spfx, 134 stars), CLI Microsoft365 Script (pnp/cli-microsoft365-mcp-server, 132 stars) and AI Agent Posture (SCStelz/security-investigator, 249 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vinayaklatthe (a GitHub user) maintains it in vinayaklatthe/microsoft-security-skills, which has 175 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on June 18, 2026.
Source: vinayaklatthe/microsoft-security-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.