Azure AI Content Safety for Python

•
4
•

Integrates Azure AI Content Safety into Python applications to detect and moderate harmful text and image content.

This skill enables Claude to implement robust content moderation workflows using the Azure AI Content Safety SDK for Python. It provides comprehensive implementation patterns for detecting hate speech, violence, self-harm, and sexual content in both text and images. Developers can leverage this skill to configure multi-severity classification (up to 8 levels), manage custom blocklists for domain-specific terms, and implement fine-grained moderation controls to ensure user-generated and AI-generated content adheres to organizational safety standards.

Key Features

014 GitHub stars
02Support for both API Key and Azure Entra ID authentication
03Pre-moderation patterns for AI-generated outputs and user submissions
04Multi-level severity classification with 4 or 8 levels of granularity
05Custom text blocklist management for domain-specific term filtering
06Multi-category text and image analysis for Hate, Sexual, Violence, and Self-Harm

Use Cases

01Implementing custom term filtering using the Blocklist management feature
02Pre-filtering AI-generated outputs to prevent harmful content leaks
03Moderating user-generated content in social or community applications