azure-ai-contentsafety-ts
Analyze text and images for harmful content with customizable blocklists.
npx skills add sickn33/agentic-awesome-skills --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.
# 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"; import { DefaultAzureCredential } from "@azure/identity"; const client = ContentSafetyClient( process.env.CONTENT_SAFETY_ENDPOINT!, new DefaultAzureCredential() ); ``` ## Analyze Text ```typescript import ContentSafetyClient, { isUnexpected } from "@azure-rest/ai-content-safety"; const result = await client.path("/text:analyze").post({
- 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 sickn33/agentic-awesome-skills --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 sickn33/agentic-awesome-skills, a repository with 44,414 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.