← 返回 Skills 市场
if530770

prohibited-word-query(多平台违禁词查询)

作者 if530770 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
21
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install prohibited-word-query
功能描述
当用户需要核对公众号、小红书或抖音文案是否踩平台违禁词,或要从本地文本/图片/网页中抽取内容做合规检查时启用; 能力摘要:按平台规则拉取命中词、标红原文、给出可替换表述与改写稿,并可在检出违规时落盘优化版纯文本。
使用说明 (SKILL.md)

多平台违禁词查询

执行任意检测任务前,须先读取并严格遵循同目录下的 references/core_workflow.md(输出模板、write_file 规则、字数分批与暂停交互等均在该文件中定稿)。脚本在 skill 根目录执行:python scripts/extract_text.pypython scripts/check_sensitive_words.py

简介

面向需要在微信公号、小红书、抖音侧发稿前做一轮「平台口径」把关的运营、编导与品牌文案。

通过本 Skill,你可以:

  • 按平台口径校验:同一篇稿子可选公众号 / 小红书 / 抖音(未指明时默认公众号),与接口约定平台名一致。
  • 结构化交付:命中词在原文中标红;表格给出替换词与理由;通过替换得到一版保留语气与结构的改写稿。
  • 多来源入稿:支持直接粘贴、txt、图片内文字(仅 OCR,不解读画面)、以及网页正文抓取(含常见 SSR/动态页场景,以脚本为准)。

适用于活动推文、种草脚本、短视频字幕稿、落地页文案等发稿前的自检环节。

功能特性

核心能力

  • 三平台规则:公众号、小红书、抖音三套检测维度;默认公众号。
  • 三类输入:纯文本;图片 / txt(图片仅提取文字);URL 自动拉正文再检。
  • 检出即落盘:命中违禁词时除对话内展示外,须按 core_workflow 生成带四位随机后缀的 【平台】_优化文案_xxxx.txt(纯文本,去掉 HTML 标记)。
  • 长文策略:单次建议 ≤3000 字;3001–10000 字须停下让用户选单次首段 / 分批 / 取消;超过 10000 字不予自动跑全量(见工作流)。

特色

  • 网页正文extract_text.py 覆盖常见前端渲染页面,减少「只有壳没有字」的漏检。
  • 分批切割:超长文本优先在句号、逗号等处断开,降低截断词中的概率。
  • 零命中短路word_count=0 时只回复合规结论,不生成文件、不展开替换表。

使用指南

基础路径(3 步)

第 1 步:确认平台与素材

用户应说明平台(或接受默认公众号),并给出其一:粘贴正文、上传 txt/图片、或网页链接。

未指定平台时:默认公众号,可在首轮简要告知。

用户:小红书|这款面霜用完一周真的换脸 助手:按小红书规则检测;若命中则按 core_workflow 三板块输出,并写入 小红书_优化文案_xxxx.txt

第 2 步:字数与分批

提取全文后先数字数。≤3000:直接调用检测脚本;3001–10000:弹出标准提示并停止,等用户回复 1 / 2 / 3 后再继续;>10000:仅提示超限并终止,不调用检测。

用户:(粘贴约 5000 字) 助手:⚠ 单次建议不超过 3000 字,已超过单次执行字数,是否分批?回复 1=只检前 3000 字,2=按批检测合并结果,3=取消。

第 3 步:执行脚本与回填模板

core_workflow 调用 extract_text.py(如需)与 check_sensitive_words.py,解析 JSON,禁止整段粘贴原始 JSON。有命中时:套版输出 + 必须 write_file;无命中:仅合规一句话。

常用口令速查

用户说法示例 助手动作
公众号 + 正文 默认路径检测;命中则套版 + 写文件
抖音 + URL 先抓网页正文再检
仅 URL / 仅上传文件 识别来源 → 抽文本 → 默认公众号(除非文中写明平台)
超长文且用户回复 2 按约 3000 字一批(优先自然断点),分批请求后汇总

无法继续时:抓取失败、路径无效、或用户取消分批——说明原因并给出可操作建议(重传文件、换链接、改短后再检);不得伪造检测结果或违禁词列表。

使用场景

场景 角色 需求描述 使用方式
推文定稿前 公号运营 避免发送后触发敏感表述 选公众号;粘贴终稿或网页预览链接;按输出修改
种草笔记 小红书运营 标题与正文规避平台禁用词 指定小红书;贴全文或传 txt;对照替换表改稿
短视频脚本 编导 / 剪辑 字幕与口播合规 指定抖音;贴脚本或海报 OCR;合并批量结果(长稿)
活动落地页 品牌文案 H5/官网段落一次性过检 贴 URL;默认或指定平台;检出则下载 txt 优化稿

注意事项与边界

  • 查询结果:API 返回仅供自查;对外口径仍以企业经营范围、产品真实功效及平台最新规则为准(见工作流中的数据说明文案)。
  • 图片:只识别图中文字,不描述画风、人物、场景或品牌视觉。
  • 文件格式:支持图片与 txt;不支持 PDF、Word;若用户上传,应明确告知并建议导出为 txt 或粘贴正文。
  • 交付:对话里展示结构化结果;完整优化纯文本仅以文件交付,步骤与命名以 core_workflow 为准,遗漏 write_file 视为未完成本 Skill。
安全使用建议
Review this skill before installing. Its core function is reasonable, but avoid using it for confidential drafts or sensitive webpages unless you accept sending content to the external API and the risk from disabled HTTPS verification.
功能分析
Type: OpenClaw Skill Name: prohibited-word-query Version: 1.0.0 The skill bundle contains scripts (check_sensitive_words.py and extract_text.py) that implement a custom HTTPS requester using raw sockets to intentionally bypass SNI (Server Name Indication) and disable SSL certificate verification (ssl.CERT_NONE). This is a high-risk technique often used to evade network security controls, ICP filtering, or middleboxes. While the stated purpose is content auditing, the scripts send user-provided content to an external domain (onetotenvip.com) using these insecure and stealthy methods. No clear evidence of intentional malware (like credential theft) was found, but the implementation is intentionally designed to subvert standard security protocols.
能力评估
Purpose & Capability
The prohibited-word checking, webpage/text extraction, rewriting, and output-file generation are coherent with the described content-compliance purpose, but users should understand that draft content is sent to an external API.
Instruction Scope
The workflow includes useful bounds such as word-count limits and pausing for long text, but it also makes file generation mandatory when violations are found.
Install Mechanism
There is no install spec, but the skill documentation instructs running included Python scripts and declares a pinned BeautifulSoup dependency; this is purpose-aligned but should be reviewed as executable code.
Credentials
Both network-facing scripts intentionally disable HTTPS hostname and certificate verification while handling user-provided content or URLs, which is not proportionate to a compliance-checking workflow.
Persistence & Privilege
The skill writes an optimized .txt file only when prohibited words are found, with a scoped filename pattern; this is disclosed and limited, but it does create local artifacts automatically.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install prohibited-word-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /prohibited-word-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of prohibited-word-query. - Supports prohibited word checks for WeChat Official Accounts, Xiaohongshu, and Douyin, based on each platform’s rules. - Allows input via pasted text, txt files, images (OCR text extraction only), or web pages (auto-extracts main content). - Automatically highlights prohibited words, suggests alternative phrases, and generates revised drafts. - For long texts, enforces batching strategy and clear user prompts per workflow. - When violations are found, generates a pure text file with optimized content following naming conventions.
元数据
Slug prohibited-word-query
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

prohibited-word-query(多平台违禁词查询) 是什么?

当用户需要核对公众号、小红书或抖音文案是否踩平台违禁词,或要从本地文本/图片/网页中抽取内容做合规检查时启用; 能力摘要:按平台规则拉取命中词、标红原文、给出可替换表述与改写稿,并可在检出违规时落盘优化版纯文本。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 21 次。

如何安装 prohibited-word-query(多平台违禁词查询)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install prohibited-word-query」即可一键安装,无需额外配置。

prohibited-word-query(多平台违禁词查询) 是免费的吗?

是的,prohibited-word-query(多平台违禁词查询) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

prohibited-word-query(多平台违禁词查询) 支持哪些平台?

prohibited-word-query(多平台违禁词查询) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 prohibited-word-query(多平台违禁词查询)?

由 if530770(@if530770)开发并维护,当前版本 v1.0.0。

💬 留言讨论