All skills
microsoft avatar

/azure-ai-contentsafety-py

@e19efc2
by microsoftmicrosoft/skills3.1k stars
351

Azure AI Content Safety SDK for Python. Use for detecting harmful content in text and images with multi-severity classification. Triggers: "azure-ai-contentsafety", "ContentSafetyClient", "content moderation", "harmful content", "text analysis", "image analysis".

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-ai-contentsafety-py

This session only. Nothing lands on disk.

referencesnon-hero-scenarios.md

≈240 tokens on demand. Your agent reads this file only when SKILL.md points to it.

azure-ai-contentsafety-py non-hero scenarios

These scenarios are intentionally separate from hero flows in SKILL.md. They cover secondary/advanced patterns typically used after the primary end-to-end path is working.

Harm Categories

Category Description
Hate Attacks based on identity (race, religion, gender, etc.)
Sexual Sexual content, relationships, anatomy
Violence Physical harm, weapons, injury
SelfHarm Self-injury, suicide, eating disorders

Severity Scale

Level Text Range Image Range Meaning
0 Safe Safe No harmful content
2 Low Low Mild references
4 Medium Medium Moderate content
6 High High Severe content

Client Types

Client Purpose
ContentSafetyClient Analyze text and images
BlocklistClient Manage custom blocklists

Source: SKILL.md on GitHub

1 warning16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill provides instructions for utilizing the Azure AI Content Safety SDK and includes standard security considerations related to external package management and data ingestion. It demonstrates security best practices by recommending managed identities over static credentials.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    2/2 files flagged

Signed by skilld at e19efc2. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
Other metadata
metadata
{
  "author": "Microsoft",
  "version": "1.0.0",
  "package": "azure-ai-contentsafety"
}

README badge

README badge for microsoft/skills/azure-ai-contentsafety-py