Localized reading guide
azure-ai-contentsafety-tsPurpose, usage and source
Analyze text and images for harmful content using Azure AI Content Safety (@azure-rest/ai-content-safety). Use when moderating user-generated content, detecting hate speech, violence, sexual content, or self-harm, or managing custom blocklists.
Source retrieved:
- Source repository
- microsoft/skills
- SKILL.md
.github/plugins/azure-sdk-typescript/skills/azure-ai-contentsafety-ts/SKILL.md- Repository stars
- 3,157
- Repository updated
- 2026-10-31
- Categories
- Cloud
- Last collected
License: MIT
Workflow excerpts are reading aids, not executable instructions from Codez. No third-party Skill was run to produce this page.
The purpose and workflow passages below are upstream material, organized and translated for reading. They are distinct from the separately labeled Codez editorial analysis.
What this Skill does
Analyze text and images for harmful content using Azure AI Content Safety (@azure-rest/ai-content-safety). Use when moderating user-generated content, detecting hate speech, violence, sexual content, or self-harm, or managing custom blocklists.
How the upstream workflow works
Severity Levels
FourSeverityLevels (default): Returns 0, 2, 4, 6 EightSeverityLevels: Returns 0-7
Best Practices
Always use isUnexpected() - Type guard for error handling Set appropriate thresholds - Different categories may need different severity thresholds
Upstream passage · L305 ↗Requirements and setup
npm install @azure-rest/ai-content-safety @azure/identity @azure/core-authLimits and quality checks
Azure AI Content Safety REST SDK for TypeScript
Analyze text and images for harmful content with customizable blocklists.
Upstream passage · L11 ↗Authentication
Important: This is a REST client. ContentSafetyClient is a function, not a class.
Start with a safe trial
- Check the supported host and the repository installation instructions. Keep the Skill directory and its referenced scripts, assets and documentation together; SKILL.md alone may omit dependencies.
- Give the agent your real input, desired output and acceptance criteria. Invocation syntax and available tools depend on the host; this site does not assume a universal install command.
- Try the source workflow in a disposable project or on a copy. Review operations that change files, remote services or billable resources before allowing them.
- Validate the output against the source quality checks and your own requirements. A successful trigger or a high repository Star count does not establish a correct result.
Read further in the source
Related Skills
Translation and scope
This reading guide selects passages from the pinned upstream SKILL.md. Translation is assisted. It is not a complete manual or a claim of tested compatibility. Read the original and its referenced files before use.
This introduction refers to the pinned version below; current repository activity and collection time are shown separately.
- Pinned source
- Read the original ↗
- Source retrieved
- Source commit
00d66a64919edca5bca2c673373444e36a4b5461- Source SHA-256
0d9d14bc3d32c6793a6c7e8aba29757f6a7d5105b68532a04a566420d03ecc59