maruf-sherikar/antigravity-skills/azure-ai-contentsafety-py
- community
Checking that the SKILL.md file is still in the repository.
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".
Install
npx vskill@latest install maruf-sherikar/antigravity-skills/azure-ai-contentsafety-pySKILL.md
The same SKILL.md was published earlier as francoscorporation/antigravity-awesome-skills/azure-ai-contentsafety-py.
Azure AI Content Safety SDK for Python
Detect harmful user-generated and AI-generated content in applications.
Installation
Environment Variables
Authentication
API Key
Entra ID
Analyze Text
Analyze Image
Image from URL
Text Blocklist Management
Create Blocklist
Add Block Items
Analyze with Blocklist
Severity Levels
Text analysis returns 4 severity levels (0, 2, 4, 6) by default. For 8 levels (0-7):
Harm Categories
| Category | Description | |
|---|---|---|
Hate | Attacks based on identity (race, religion, gender, etc.) | |
Sexual | Sexual content, relationships, anatomy | |
Violence | Physical harm, weapons, injury | |
SelfHarm | Self-injury, suicide, eating disorders |
Severity Scale
| Level | Text Range | Image Range | Meaning | |
|---|---|---|---|---|
| 0 | Safe | Safe | No harmful content | |
| 2 | Low | Low | Mild references | |
| 4 | Medium | Medium | Moderate content | |
| 6 | High | High | Severe content |
Client Types
| Client | Purpose | |
|---|---|---|
ContentSafetyClient | Analyze text and images | |
BlocklistClient | Manage custom blocklists |
Best Practices
- Use blocklists for domain-specific terms
- Set severity thresholds appropriate for your use case
- Handle multiple categories — content can be harmful in multiple ways
- Use halt_on_blocklist_hit for immediate rejection
- Log analysis results for audit and improvement
- Consider 8-severity mode for finer-grained control
- Pre-moderate AI outputs before showing to users
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/azure-ai-contentsafety-py/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/maruf-sherikar/antigravity-skills/azure-ai-contentsafety-py)