socialdatax-sensitive-checklisted
Install: claude install-skill DevinChen2014/socialdatax-skills
<!-- AUTO-GENERATED from socialdatax-skill-source. Do not edit directly; run `node scripts/generate_socialdatax_skills.mjs`. -->
# 敏感词检测与违禁词检查
## 适用场景
用于敏感词检测、违禁词检测、文案发布前检查、内容安全检查、文案合规审核、能不能发判断、平台风险提示和改写建议。支持小红书、抖音、快手和通用文本场景,来自 SocialDataX 社媒数据助手。
## 快速开始
- 粘贴要检测的文案,并按需要指定平台:`generic`、`xhs`、`douyin` 或 `kuaishou`。
- 你通常会得到:是否违规、风险等级、命中类型、风险片段和改写建议。
## API Key 获取
获取或管理 API Key:访问 <https://socialdatax.com/ai?from=modelscope>,按官网的 API Key 申请/管理入口操作。环境变量名固定使用 `SOCIALDATAX_API_KEY`;不要引导用户使用其他域名。
## 直接调用命令
优先使用 direct CLI;能运行 shell 命令的 Agent 不需要额外配置 MCP server:
```bash
npx -y socialdatax-skills@latest sensitive-check text \
--text "<content>" --platform xhs --pretty --source-client socialdatax-skills \
--source-platform modelscope --source-skill socialdatax-sensitive-check
```
## 参数说明
通用:
- 必填:`sensitive-check text --text <content>`:必填文本;使用用户要检查的文案进行分析,但不要把原文保存在 skill 文案里。
- 可选:`--platform <generic|xhs|douyin|kuaishou>`:平台上下文,可选;默认是 `generic`。
- 可选:`--pretty`:只影响输出格式,不改变实际请求结果。
- 可选:`--source-client socialdatax-skills --source-platform modelscope --source-skill socialdatax-sensitive-check`:这是当前 Agent Skill 的来源标记;按本 Skill 示例执行时保持这些值不变。
适用于敏感词检测、违禁词检查、文案发布前检查、content safety review、文案合规审核、能不能发判断和 safer rewrite suggestions for draft text.
命令返回 JSON,包含 `platform`、`tool` 和 `data`,不会在 CLI 参数区回显原文。服务会在可用时返回 `violation`、`risk_level`、`types`、`highlights`、`summary`、`platform` 和 `suggestions`。
服务端会保存提交文本和结构化检测结果,用于历史记录、计费和问题排查;本地 CLI 不会把 API Key 写入本地文件,也不会写本地文本副本。
当前 v1 只支持文本敏感