跳到正文
TakoAPI
返回技能列表

nsfw-detection

由 raghulpasupathi 提供

CLI Utilities
—暂无评分
你的评分

简介

Skills for detecting adult/inappropriate content.

描述

该技能的功能

Detects adult and inappropriate content in images using a local ONNX model, requiring no external API. Classifies content across categories including porn, sexy, hentai, and drawings with confidence scores from 0-100%. Supports context-aware exceptions for medical and art imagery.

Runs entirely on a local ONNX model, so images never leave the user's environment and no API key or external service is required.

何时使用

  • Blocking explicit uploads on a user-generated content platform
  • Moderating profile photos before they go public on a social app
  • Enforcing child-safe mode in a family-oriented web tool
  • Pre-filtering image URLs before rendering in a browser extension
  • Flagging adult content in automated screenshot or web-scraping pipelines

示例工作流

输入

User asks: scan this image URL and tell me if it should be blocked

智能体
  1. 1

    Import detectNSFW from @clawhub/nsfw-detector

  2. 2

    Call detectNSFW with the provided image URL

  3. 3

    Read the returned confidence score and category breakdown

  4. 4

    Compare confidence against the configured threshold

  5. 5

    Return the isNSFW flag and recommended action (block, warn, or allow)

输出

{ isNSFW: true, confidence: 0.92, categories: { porn: 0.92, sexy: 0.15 }, action: 'block' }

安装

clawhub install raghulpasupathi/nsfw-detection

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接