Nsfw Detection
Skills for detecting adult/inappropriate content.
- Rating
- 4.3 (277 reviews)
- Downloads
- 4,995 downloads
- Version
- 1.0.0
Overview
Skills for detecting adult/inappropriate content.
Complete Documentation
View Source →NSFW Detection Skills
Skills for detecting adult/inappropriate content.
Essential Skills
1. NSFW Detector Pro
Skill ID:nsfw-detector-proPurpose: Advanced NSFW content detection
Features:
- Multi-category classification (porn, sexy, hentai, drawings)
- Confidence scoring (0-100%)
- Skin tone detection
- Context awareness (medical, art exceptions)
- Local ONNX model (no external API)
npm install @clawhub/nsfw-detector
Configuration:
{
"skill": "nsfw-detector-pro",
"settings": {
"categories": ["porn", "sexy", "hentai"],
"threshold": 0.7,
"contextAware": true,
"allowArt": true,
"allowMedical": true,
"localModel": true
}
}
Usage:
import { detectNSFW } from '@clawhub/nsfw-detector';
const result = await detectNSFW(imageUrl);
// {
// isNSFW: true,
// confidence: 0.92,
// categories: { porn: 0.92, sexy: 0.15 },
// action: 'block'
// }
Accuracy: 92-95% on explicit content, 75-80% on suggestive
Use Cases:
- Block pornography and explicit imagery
- Filter adult websites
- Protect children online
- False positives on art? Enable
allowArt - Medical images blocked? Enable
allowMedical - Increase threshold for fewer false positives
url-reputation, content-blur2. URL Reputation Checker
Skill ID:url-reputationPurpose: Check if domains are adult/inappropriate sites
Features:
- Domain reputation database
- Adult site detection
- Phishing/malware detection
- Cached lookups
npm install @clawhub/url-reputation
Use Cases:
- Block adult websites by domain
- Fast pre-filtering before image analysis
- Supplement visual detection
Installation
Via ClawHub
https://clawhub.ai/raghulpasupathi/nsfw-detection
Via npm
npm install @raghulpasupathi/nsfw-detection
Configuration Examples
Child Protection (Strict)
{
"nsfw-detector-pro": {
"threshold": 0.3,
"blockAll": true,
"allowArt": false,
"allowMedical": false,
"allowOverride": false
}
}
Teen Protection (Balanced)
{
"nsfw-detector-pro": {
"threshold": 0.7,
"allowArt": true,
"allowMedical": true,
"allowOverride": false
}
}
Adult Filtering (Lenient)
{
"nsfw-detector-pro": {
"threshold": 0.9,
"warnOnly": true,
"allowOverride": true
}
}
For violence detection, see VIOLENCE_DETECTION.md.
Installation
openclaw install nsfw-detection
💻Code Examples
**Configuration**:
{
"skill": "nsfw-detector-pro",
"settings": {
"categories": ["porn", "sexy", "hentai"],
"threshold": 0.7,
"contextAware": true,
"allowArt": true,
"allowMedical": true,
"localModel": true
}
}**Usage**:
import { detectNSFW } from '@clawhub/nsfw-detector';
const result = await detectNSFW(imageUrl);
// {
// isNSFW: true,
// confidence: 0.92,
// categories: { porn: 0.92, sexy: 0.15 },
// action: 'block'
// }### Child Protection (Strict)
{
"nsfw-detector-pro": {
"threshold": 0.3,
"blockAll": true,
"allowArt": false,
"allowMedical": false,
"allowOverride": false
}
}### Teen Protection (Balanced)
{
"nsfw-detector-pro": {
"threshold": 0.7,
"allowArt": true,
"allowMedical": true,
"allowOverride": false
}
}### Adult Filtering (Lenient)
{
"nsfw-detector-pro": {
"threshold": 0.9,
"warnOnly": true,
"allowOverride": true
}
}Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.