sickn33/antigravity-awesome-skills/azure-ai-contentsafety-py
Claude Code and agent skill by sickn33/antigravity-awesome-skills
- 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.
Install
npx vskill@latest install sickn33/antigravity-awesome-skills/azure-ai-contentsafety-pySKILL.md
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
Use only an approved endpoint/account, content and cost/retention policy; uploads disclose text/images to a hosted classifier. Bound input bytes and use reviewed SDK models/imports (azure-identity is additionally needed for Entra ID). Classification can miss harm or flag benign context: severity zero is not a universal safety guarantee. Validate thresholds on representative languages/domains, define outage/ambiguous-result handling and human appeal/review. Blocklist mutations can affect real moderation and require explicit scope; redact content in logs and close clients/credentials.
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 | Not detected | Not detected | Model did not detect harm in supported categories | |
| 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
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
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
- 27,448
- Repository forks
- 4,626
- Repository npm downloads, 7 days
- 9,651
- 7-day trend score
- 73
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 26 Mar 2026, 7 months ago.
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/sickn33/antigravity-awesome-skills/azure-ai-contentsafety-py)