Agent skill · marketing growth · aiskillstore

image-audit

自动化图片内容审核工作流。全量压缩后批量审核,支持鉴黄、政治、暴恐识别,以表格汇总结果。Use when auditing images, checking image content, or scanning photos for inappropriate material.

Why this skill is useful

Adds a complete automation script for image content moderation using the nx-mcp-audit service, which includes configuration and execution steps not found in public documentation.

What it needs

Requires node, sharp installed locally. Requires nx-mcp-audit account access. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Image Content Moderation Audit images for adult, political, and violent content using the nx-mcp-audit MCP service. 配置 在项目根目录创建 .mcp.json: 查找顺序:项目根目录 → 用户家目录。提取 url → MCPURL,env.NXAPIKEY → APIKEY。 Skill 直连 MCP 端点,无需重启 Claude Code。 No API Key? Contact WeChat zhjian2026 to get one. 审核流程 步骤 1:检查配置(缺少则立即停止) 找到 → 记录 url 和 NXAPIKEY,继续步骤 2 找不到 → 询问用户是否已有 API Key: 有 Key:帮用户创建 ~/.mcp.json(用户家目录),全局和项目安装都通用 没有 Key:告知联系微信 zhjian2026 获取,等用户拿到后回来配置 ⚠️ 配置缺失时不要安装 sharp 或继续后续步骤,先解决配置再往下走。 步骤 2:安装 sharp + 执行审核(一次 Bash 调用,纯内存,零文件) 替换 PICDIR、MCPURL、APIKEY 后,heredoc 直接通过 stdin 喂给 node,不写任何文件: 建议 ✅ 通过:可正常使用 ⛔ 违规:建议删除或人工复核 ❌ 失败:重试一次 --- 返回字段速查 字段 类型 说明 ------ ------ ------ safe boolean true=通过,false=违规 source string 审核引擎(wechat / api) errcode number 错误码,0=正常 errmsg string 错误信息,"ok"=正常 message string 审核结果描述 auditVersion string 服务版本号 summary object {total, pass, block, error} 常见错误速查 错误现象 原因 正确做法 ------ ------ ------ -32602 Invalid request parameters 未发送 notifications/initialized 必须三步:init → notified → call 406 Not Acceptable 缺少 Accept 头 同时声明 application/json 和 text/event-stream "请提供 urls 或 files 参数" 用了不存在的 imagePath 改用 files(base64 dataUrl 数组) "invalid api key" API Key 错误或过期(errcode=-1) 检查 .mcp.json 中的 Key 是否正确 "未配置 API Key" 没传 apiKey 必须传,工具定义说可选是误导 413 Payload Too Large payload 超限 压缩后通常 < 200KB,不触发;未压缩大图需分批 Cannot find module 'sharp' 未全局安装或缺少 NODEPATH NODEPATH=$(npm root -g) node ... 禁止事项 ❌ 不要跳过压缩(即使图片很小) ❌ 不要使用 imagePath 参数(不存在) ❌ 不要省略 apiKey 参数 ❌ 不要省略 notifications/initialized 步骤 ❌ 不要写任何临时文件(heredoc 直接喂 stdin,纯内存执行) ❌ 不要把流程拆成多次 Bash 调用(一次 node << 'AUDITEOF' 搞定) ❌ 不要使用反斜杠路径(d:\path),bash heredoc 会被转义,一律用正斜杠(d:/path)

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/image-audit

View the source on GitHub

Browse the @skills marketplace