azure-ai-contentsafety-ts
Analyze text and images for harmful content with customizable blocklists.
npx skills add majiayu000/claude-skill-registry --skill azure-ai-contentsafety-ts --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
--- name: azure-ai-contentsafety-ts description: 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. package: @azure-rest/ai-content-safety --- # Azure AI Content Safety REST SDK for TypeScript Analyze text and images for harmful content with customizable blocklists. ## Installation ```bash npm install @azure-rest/ai-content-safety @azure/identity @azure/core-auth ``` ## Environment Variables ```bash CONTENT_SAFETY_ENDPOINT=https://<resource>.cognitiveservices.azure.com CONTENT_SAFETY_KEY=<api-key> ``` ## Authentication **Important**: This is a REST client. `ContentSafetyClient` is a **function**, not a class. ### API Key ```typescript import ContentSafetyClient from "@azure-rest/ai-content-safety"; import { AzureKeyCredential } from "@azure/core-auth"; const client = ContentSafetyClient( process.env.CONTENT_SAFETY_ENDPOINT!, new AzureKeyCredential(process.env.CONTENT_SAFETY_KEY!) ); ``` ### DefaultAzureCredential ```typescript import ContentSafetyClient from "@azure-rest/ai-content-safety";
- Installation
- Environment Variables
- Authentication
- API Key
- DefaultAzureCredential
- Analyze Text
- Analyze Image
- Base64 Content
- Blob URL
- Blocklist Management
- Create Blocklist
- Add Items to Blocklist
- Analyze with Blocklist
- List Blocklists
npm install @azure-rest/ai-content-safety @azure/identity @azure/core-auth
What does the azure-ai-contentsafety-ts skill do?
Analyze text and images for harmful content with customizable blocklists.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill azure-ai-contentsafety-ts --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
