Agent skill · software engineering · aiskillstore

azure-ai-contentsafety-java

Build content moderation applications using the Azure AI Content Safety SDK for Java.

Why this skill is useful

Provides specific Java SDK usage patterns and domain knowledge for content moderation that the AI wouldn't reliably generate on its own.

What it needs

Requires maven installed locally. Requires azure account access. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Azure AI Content Safety SDK for Java Build content moderation applications using the Azure AI Content Safety SDK for Java. Installation Client Creation With API Key With DefaultAzureCredential Key Concepts Harm Categories Category Description ---------- ------------- Hate Discriminatory language based on identity groups Sexual Sexual content, relationships, acts Violence Physical harm, weapons, injury Self-harm Self-injury, suicide-related content Severity Levels Text: 0-7 scale (default outputs 0, 2, 4, 6) Image: 0, 2, 4, 6 (trimmed scale) Core Patterns Analyze Text Analyze Text with Options Analyze Text with Blocklist Analyze Image Analyze Image from URL Blocklist Management Create or Update Blocklist Add Block Items List Blocklists Get Blocklist List Block Items Remove Block Items Delete Blocklist Error Handling Environment Variables Best Practices 1. Blocklist Delay: Changes take ~5 minutes to take effect 2. Category Selection: Only request needed categories to reduce latency 3. Severity Thresholds: Typically block severity >= 4 for strict moderation 4. Batch Processing: Process multiple items in parallel for throughput 5. Caching: Cache blocklist results where appropriate Trigger Phrases "content safety Java" "content moderation Azure" "analyze text safety" "image moderation Java" "blocklist management" "hate speech detection" "harmful content filter" 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.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/azure-ai-contentsafety-java

View the source on GitHub

Browse the @skills marketplace