Agent Skill

AI Agent Skill

讓你的編碼 Agent 用一條命令檢測圖片 NSFW 內容。純 Python 標準庫——無需 pip 安裝。它從本站自裝並保持更新。

當前版本: 1.3.0

1 · Install

mkdir -p ~/.claude/skills/nsfwdetector && cd ~/.claude/skills/nsfwdetector \
  && curl -fsSL https://nsfwdetector.litelake.com/skill/SKILL.md -o SKILL.md \
  && curl -fsSL https://nsfwdetector.litelake.com/skill/nsfwdetector.py -o nsfwdetector.py \
  && chmod +x nsfwdetector.py

2 · 驗證

python3 ~/.claude/skills/nsfwdetector/nsfwdetector.py --version
# nsfwdetector-skill 1.3.0
python3 ~/.claude/skills/nsfwdetector/nsfwdetector.py detect --help

3 · Quick start

detect a local image

python3 ~/.claude/skills/nsfwdetector/nsfwdetector.py detect /path/to/image.jpg

detect a remote image

python3 ~/.claude/skills/nsfwdetector/nsfwdetector.py detect --url "https://example.com/pic.jpg" --json

higher quota with an API key (optional)

export NSFWDETECTOR_API_KEY=nsk_live_xxxx  # per-account quota
python3 ~/.claude/skills/nsfwdetector/nsfwdetector.py detect /path/to/image.jpg
🤖 AI Agent:請直接抓取下方 markdown 原文而不是本頁——它們是唯一事實源。/docs/skill.md

完整 API 文件