# Azure AI contentsafety py

> Azure AI contentsafety py is an open-source agent skill for cloud and infrastructure. Azure AI Content Safety SDK for Python. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py
- **Repository:** https://github.com/microsoft/skills
- **GitHub stars:** 3,214
- **License:** MIT
- **Skill name:** azure-ai-contentsafety-py
- **Collection:** https://github.com/microsoft/skills
- **Categories:** cloud and infrastructure, design and media
- **Listing updated:** 2026-11-17

## About

Azure AI Content Safety SDK for Python. Use for detecting harmful content in text and images with multi-severity classification.
Triggers: "azure-ai-contentsafety", "ContentSafetyClient", "content moderation", "harmful content", "text analysis", "image analysis".

## When your agent uses it

> Azure AI Content Safety SDK for Python. Use for detecting harmful content in text and images with multi-severity classification. Triggers: "azure-ai-contentsafety", "ContentSafetyClient", "content moderation", "harmful content", "text analysis", "image analysis".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py)
- [License: MIT](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/azure-ai-contentsafety-py` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/azure-ai-contentsafety-py &&
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py" ~/.claude/skills/azure-ai-contentsafety-py &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/azure-ai-contentsafety-py` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/azure-ai-contentsafety-py` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/azure-ai-contentsafety-py &&
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py" ~/.agents/skills/azure-ai-contentsafety-py &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/azure-ai-contentsafety-py` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/azure-ai-contentsafety-py` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/azure-ai-contentsafety-py &&
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py" ~/.cursor/skills/azure-ai-contentsafety-py &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/azure-ai-contentsafety-py` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/microsoft/skills.git --path .github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py
```

Or copy the folder to `~/.gemini/skills/azure-ai-contentsafety-py` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/azure-ai-contentsafety-py`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/azure-ai-contentsafety-py &&
cp -R "$tmp/.github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py" ~/.copilot/skills/azure-ai-contentsafety-py &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/azure-ai-contentsafety-py` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/microsoft/skills.git
```

Then copy `skills/.github/plugins/azure-sdk-python/skills/azure-ai-contentsafety-py` into your agent's skills folder as `azure-ai-contentsafety-py`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Azure AI contentsafety py in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/azure-ai-contentsafety-py to use it in all your projects, or to .claude/skills/azure-ai-contentsafety-py in one project.

### Does Azure AI contentsafety py run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Azure AI contentsafety py?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Azure AI contentsafety py?

The closest alternatives to Azure AI contentsafety py are Rea tool design, Codebase design, Frontend design, Canvas design and Gem devops guidelines.

## Alternatives

- [Rea tool design](https://ai-powered.com/skills/rea-tool-design): Rea tool design is an open-source agent skill for design and media.
- [Codebase design](https://ai-powered.com/skills/codebase-design): Codebase design is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design): Frontend design is an agent skill for design and media.
- [Canvas design](https://ai-powered.com/skills/canvas-design): Canvas design is an agent skill for design and media.
- [Gem devops guidelines](https://ai-powered.com/skills/gem-devops-guidelines): Gem devops guidelines is an open-source agent skill for cloud and infrastructure.
- [Video](https://ai-powered.com/skills/video): Video is an open-source agent skill for design and media.
- [Image](https://ai-powered.com/skills/image-coreyhaines31): Image is an open-source agent skill for design and media.
- [Globestudio](https://ai-powered.com/skills/globestudio-github): Globestudio is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/azure-ai-contentsafety-py
