Azure AI Content Safety for Python

•
1
•

Moderates text and image content using Azure AI to detect and filter harmful material across multiple severity levels.

This skill integrates the Azure AI Content Safety Python SDK into Claude Code, enabling developers to build safer applications by automatically detecting hate speech, violence, sexual content, and self-harm. It provides robust tools for analyzing both user-generated and AI-generated content, managing custom text blocklists, and fine-tuning moderation sensitivity with multi-level severity classification. This is particularly useful for developers building social platforms, AI-driven applications, or any system where content moderation and safety compliance are paramount.

Key Features

01Granular severity level detection with 4-level or 8-level classification scales
02Multi-category text and image analysis for Hate, Sexual, Violence, and Self-Harm
03Support for both API Key and Microsoft Entra ID authentication
041 GitHub stars
05Flexible image processing via local files, base64 data, or blob URLs
06Custom text blocklist management for domain-specific content filtering

Use Cases

01Pre-moderating AI model outputs to ensure safety compliance before user display
02Automating content moderation for social media platforms and community forums
03Implementing custom forbidden word lists for industry-specific regulatory compliance