← Back to Skills Marketplace
428
Downloads
0
Stars
5
Active Installs
3
Versions
Install in OpenClaw
/install douyin-sensitive-check
Description
抖音/短视频违禁词和敏感词检测(本地词库版,无需 API Key)。每天首次使用自动从 GitHub 开源词库更新本地缓存,离线检测文案合规性。支持多词库合并(广告极限词、平台限流词、暴恐、色情、涉枪涉爆等)。使用场景:(1) 生成短视频文案后自动检测违禁词,(2) 用户要求检查某段文字是否有问题,(3) 抖音/...
README (SKILL.md)
抖音违禁词检测 Skill(开源词库版)
本地词库 + 每日自动更新,无需 API Key,离线可用。
脚本路径
scripts/
check.py # 主检测脚本(入口)
update_words.py # 词库更新模块(每天首次自动触发)
data/ # 运行时生成,词库缓存目录(.gitignore 排除)
sensitive_words.txt
.update_state.json
常用命令
SKILL=~/.agents/skills/douyin-sensitive-check
# 检测一段文案
python3 $SKILL/scripts/check.py "今天给大家推荐史上最好用的护肤品,加我微信领优惠券"
# 检测文件
python3 $SKILL/scripts/check.py -f /path/to/script.txt
# 管道
echo "文案内容" | python3 $SKILL/scripts/check.py
# 强制更新词库
python3 $SKILL/scripts/check.py --update
# 查看词库状态
python3 $SKILL/scripts/check.py --status
工作流
- 每天首次运行 → 自动调用
update_words.py从 3 个 GitHub 开源词库拉取最新内容合并 - 加载本地
data/sensitive_words.txt(去重合并,含数万词条) - 对输入文案做全文子串匹配(长词优先)
- 输出:🔴 违禁词(必改)/ 🟡 广告极限词(建议改)+ 上下文标注
- 根据结果帮用户改写文案,改完后再次检测直到通过
词库来源
konsheng/Sensitive-lexicon:广告、政治、暴恐、色情、涉枪涉爆、补充词库bigdata-labs/sensitive-stop-words:广告、政治、色情、涉枪涉爆jkiss/sensitive-words:广告、政治、色情
更新机制
data/.update_state.json记录最后更新日期- 每天第一次使用自动触发,当天内后续使用直接读缓存
- 网络失败时保留本地缓存,不影响使用
- 手动强制更新:
--update
重要提示
- 开源词库以通用违禁词为主,抖音平台的部分特有限流词(如"私信"、"加微信")已内置在
check.py的CATEGORY_PATTERNS中补充 - 匹配策略是子串匹配,可能有误报;如需精确匹配可编辑
data/sensitive_words.txt删除误报词 - 改写建议:被标注词优先用谐音、符号分割、同义替换等方式规避
Usage Guidance
This skill appears coherent and implements what it claims: local detection plus optional daily-first-use updates from public GitHub raw files. Before installing, consider: (1) the skill will make outbound requests to raw.githubusercontent.com on first use each day to fetch upstream wordlists — if you require strict offline use, populate data/sensitive_words.txt and set data/.update_state.json last_update to a future date or avoid running updates; (2) the upstream sources are public GitHub repos listed in the SKILL (inspect them yourself if you want to verify content and license); (3) the skill writes its cached wordlist and a small state file under the skill's data/ directory — ensure you trust the skill directory owner; and (4) because the skill is from an unknown registry owner, prefer to review the bundled scripts yourself or run them in an isolated environment if you have any doubt.
Capability Analysis
Type: OpenClaw Skill
Name: douyin-sensitive-check
Version: 1.0.2
The skill bundle is a legitimate tool for detecting sensitive and prohibited words in short-video scripts (Douyin/TikTok). It functions by matching user input against local and remote word lists fetched from reputable GitHub repositories (e.g., konsheng/Sensitive-lexicon). The network activity is clearly declared in SKILL.md and limited to downloading text-based word lists via scripts/update_words.py. There is no evidence of data exfiltration, malicious code execution, or prompt injection attempts.
Capability Assessment
Purpose & Capability
Name/description (Douyin sensitive-word detection) match the implementation: Python scripts perform local substring matching and merge open-source wordlists. Required binary is python3 which is appropriate.
Instruction Scope
SKILL.md instructions and scripts stay within scope: reading/writing a local data/ cache, performing substring matching, and (on daily-first-use or --update) fetching raw text files from the three listed GitHub repositories. The skill does not read unrelated system files, environment variables, or transmit user content to external endpoints.
Install Mechanism
No install spec; code is bundled as plain Python scripts. The only network access is to raw.githubusercontent.com (explicitly declared). No downloads from opaque URLs or archive extraction are present.
Credentials
The skill requests no environment variables or credentials. Its file writes are limited to its own data/ directory under the skill path, which is proportionate to maintaining a local cache.
Persistence & Privilege
always is false, the skill only writes to its own data/ directory and update state file. It does not modify other skills or system-wide settings.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install douyin-sensitive-check - After installation, invoke the skill by name or use
/douyin-sensitive-check - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
fix: 修复 --update 参数触发 UnboundLocalError 的问题(shadow import 冲突)
v1.0.1
docs: 补充 install spec 和网络行为透明声明,修复 ClawHub 安全审查提示
v1.0.0
首次发布:开源词库版,无需 API Key,每日自动从 GitHub 多个开源词库更新,支持违禁词/平台限流词/广告极限词/医疗违禁词检测
Metadata
Frequently Asked Questions
What is 抖音违禁词检测?
抖音/短视频违禁词和敏感词检测(本地词库版,无需 API Key)。每天首次使用自动从 GitHub 开源词库更新本地缓存,离线检测文案合规性。支持多词库合并(广告极限词、平台限流词、暴恐、色情、涉枪涉爆等)。使用场景:(1) 生成短视频文案后自动检测违禁词,(2) 用户要求检查某段文字是否有问题,(3) 抖音/... It is an AI Agent Skill for Claude Code / OpenClaw, with 428 downloads so far.
How do I install 抖音违禁词检测?
Run "/install douyin-sensitive-check" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 抖音违禁词检测 free?
Yes, 抖音违禁词检测 is completely free (open-source). You can download, install and use it at no cost.
Which platforms does 抖音违禁词检测 support?
抖音违禁词检测 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 抖音违禁词检测?
It is built and maintained by MasterLin (@yourlin); the current version is v1.0.2.
More Skills