Description
azure-ai-contentsafety-ts is an agent skill for TypeScript projects that analyze text and images for harmful content with Azure AI Content Safety. It shows a coding assistant how to detect hate speech, sexual content, violence and self-harm, each across four severity levels. The service returns structured severity scores per category instead of a yes or no answer, so the same result can be held to a strict threshold in one area of an app and a looser one in another. The skill also covers custom blocklists for domain-specific terms. The point of the approach, as the page puts it, is that you apply your own thresholds without building a classifier of your own. Typical uses are screening forum posts before publishing, flagging uploaded profile images with violent or sexual content, running a custom blocklist against chat messages in a gaming platform, routing support tickets that mention self-harm to a human agent, and grading product reviews at different risk levels. The skill is part of Microsoft's skills collection and is installed with the command shown on this page.…
Highlights
- Text and image analysis in TypeScript
- Severity scores per harm category
- Per-context thresholds
- Custom blocklists
- No classifier training needed
Ratings & Reviews
No ratings yet
Be the first to rate microsoft/azure-ai-contentsafety-ts.
People also visit

gws-modelarmor-sanitize-response
Sanitize model responses through Google Model Armor templates
microsoft/azure-ai-contentsafety-ts FAQ
What does this skill do?
It guides a coding assistant to add harmful-content checks to a TypeScript project using Azure AI Content Safety.
How do I install it?
Run npx skills add https://github.com/microsoft/skills --skill azure-ai-contentsafety-ts, or paste the skill link into your coding assistant and ask it to install the skill.
Does the service return a simple pass or fail?
No. It returns severity scores per category, so you choose the threshold that fits each part of your app.
Can I block my own terms?
Yes. The page covers custom blocklists for domain-specific term filtering.
What are the best microsoft/azure-ai-contentsafety-ts alternatives?
Popular alternatives to microsoft/azure-ai-contentsafety-ts include microsoft/azure-ai-contentsafety-py, microsoft/azure-ai-contentsafety-java and gws-modelarmor. See all microsoft/azure-ai-contentsafety-ts alternatives








