Skill Function
图片审核、图片内容审核、内容审核、图片鉴黄、政治审核、暴恐识别、内容安全、批量图片审核, image moderation, image audit, image review, content moderation, content safety, content audit, NSFW detection, AI image…
Install
npx skills add https://github.com/xiaowu89/skill-function --skill image-auditclaude mcp add skill-function -- npx skills add https://github.com/xiaowu89/skill-function --skill image-audit{
"mcpServers": {
"skill-function": {
"command": "npx",
"args": [
"skills",
"add",
"https://github.com/xiaowu89/skill-function",
"--skill",
"image-audit"
]
}
}
}Install command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →image-audit — 图片审核 Skill
Claude Code skill for image moderation — content-safety audit for NSFW / political / violent content via NX API, with auto-compression and concurrent batch review.
一款专业的 图片审核 / 图片内容审核 Skill:直连 NX API 对图片进行鉴黄、政治、暴恐识别,自动压缩后并发审核,以表格汇总结果。支持免费体验。
快速安装
skills.sh(推荐)
npx skills add https://github.com/xiaowu89/skill-function --skill image-audit
GitHub 安装
npx skills add https://github.com/xiaowu89/skill-function
手动安装
git clone https://github.com/xiaowu89/skill-function.git /tmp/sf && \
mkdir -p ~/.claude/skills/image-audit && \
cp -r /tmp/sf/. ~/.claude/skills/image-audit/ && \
rm -rf /tmp/sf
配置
Skill 通过 .env 文件读取 NX_API_KEY,首次使用时会自动引导配置。
# 在项目根目录(或任意位置)创建 .env
NX_API_KEY=你的API_Key
没有 API Key? 联系微信
zhijian_2026获取。
配置后无需重启,直接使用。
使用
在 Claude Code 中输入 /image-audit,然后提供图片路径,即可开始图片审核:
/image-audit 审核 E:/images/ # 批量审核文件夹
/image-audit 审核 E:/images/photo1.png # 单张审核
Skill 自动完成压缩 → 并发审核 → 表格汇总。
图片审核流程
| 步骤 | 说明 |
|---|---|
| 检查配置 | 读取 .env 中的 NX_API_KEY,缺失则引导用户配置 |
| 压缩 | sharp 自动压缩(500px, JPEG Q40),纯内存不留文件 |
| 审核 | ≤20 张 1 批直发,>20 张均分多批并发,files 字段传多文件 |
| 汇总 | 表格展示通过 / 违规 / 失败 |
| 建议 | 违规建议删除或人工复核 |
依赖
- Node.js ≥ 18
- sharp(运行时自动安装,首次约 11 秒)
- NX_API_KEY
许可证
MIT
相关 Skill
- image-compress — AI 图片压缩,直传 API 返回 CDN 地址
- nx-matting — 本地 BiRefNet 图片/视频抠图,无需 Python
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Production-grade engineering skills for AI coding agents.