sickn33/antigravity-awesome-skills/azure-ai-contentsafety-ts
Claude Code and agent skill by sickn33/antigravity-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Analyze text and images for harmful content with customizable blocklists.
Install
npx vskill@latest install sickn33/antigravity-awesome-skills/azure-ai-contentsafety-tsSKILL.md
Azure AI Content Safety REST SDK for TypeScript
Analyze text and images for harmful content with customizable blocklists.
Installation
Environment Variables
Authentication
Important: This is a REST client. ContentSafetyClient is a function, not a class.
API Key
DefaultAzureCredential
Analyze Text
Analyze Image
Base64 Content
Blob URL
Blocklist Management
Create Blocklist
Add Items to Blocklist
Analyze with Blocklist
List Blocklists
Delete Blocklist
Harm Categories
| Category | API Term | Description | |
|---|---|---|---|
| Hate and Fairness | Hate | Discriminatory language targeting identity groups | |
| Sexual | Sexual | Sexual content, nudity, pornography | |
| Violence | Violence | Physical harm, weapons, terrorism | |
| Self-Harm | SelfHarm | Self-injury, suicide, eating disorders |
Severity Levels
| Level | Risk | Recommended Action | |
|---|---|---|---|
| 0 | Safe | Allow | |
| 2 | Low | Review or allow with warning | |
| 4 | Medium | Block or require human review | |
| 6 | High | Block immediately |
Output Types:
FourSeverityLevels(default): Returns 0, 2, 4, 6EightSeverityLevels: Returns 0-7
Content Moderation Helper
API Endpoints
| Operation | Method | Path | |
|---|---|---|---|
| Analyze Text | POST | /text:analyze | |
| Analyze Image | POST | /image:analyze | |
| Create/Update Blocklist | PATCH | /text/blocklists/{blocklistName} | |
| List Blocklists | GET | /text/blocklists | |
| Delete Blocklist | DELETE | /text/blocklists/{blocklistName} | |
| Add Blocklist Items | POST | /text/blocklists/{blocklistName}:addOrUpdateBlocklistItems | |
| List Blocklist Items | GET | /text/blocklists/{blocklistName}/blocklistItems | |
| Remove Blocklist Items | POST | /text/blocklists/{blocklistName}:removeBlocklistItems |
Key Types
Best Practices
- Always use isUnexpected() - Type guard for error handling
- Set appropriate thresholds - Different categories may need different severity thresholds
- Use blocklists for domain-specific terms - Supplement AI detection with custom rules
- Log moderation decisions - Keep audit trail for compliance
- Handle edge cases - Empty text, very long text, unsupported image formats
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
A zero severity is a model result, not proof of safety; calibrate thresholds and escalation for the application. Missing analyses and service failures remain unassessed. Authorize cloud transmission of private content and do not expose raw error bodies or blocklisted text in public logs.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/azure-ai-contentsafety-ts/SKILL.md
Popularity
- Repository stars
- 26,429
- Repository forks
- 4,509
- Repository npm downloads, 7 days
- 6,951
- 7-day trend score
- 72
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 22 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/antigravity-awesome-skills/azure-ai-contentsafety-ts)