bonniegeng-max

Xiaohongshu Prohibited Words — Development skill for Claude Code

Development community

小红书违禁词离线检测(单一真相源):纯本地词库 + 扫描脚本,不依赖付费 API,覆盖免费课程/证书等场景的实测限流词.

How to install Xiaohongshu Prohibited Words

This entry records only its repository, not the path inside it, so there is no exact command to give. Open bonniegeng-max/xiaohongshu-prohibited-words and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Xiaohongshu Prohibited Words does

小红书违禁词离线检测(单一真相源):纯本地词库 + 扫描脚本,不依赖付费 API,覆盖免费课程/证书等场景的实测限流词。发布前必跑,退出码 0 才可发布。Offline prohibited-word checker for Xiaohongshu content.

Alternatives in Development

  • Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
  • Eli5 — Say the last answer again in plain words — same facts, in the order the operator needs them 49 ★
  • Claude Depester — Patches Claude Code CLI and VS Code extension to replace whimsical loading words with simple 'Thinking' 28 ★

README

xiaohongshu-prohibited-words

小红书违禁词离线检测(单一真相源)。纯本地词库 + 扫描脚本,不依赖付费 API,覆盖免费课程/证书等场景实测限流词 + 通用违禁词。发布前必跑,退出码 0 才可发布。

为什么用离线库

  • multi-wordcheck 依赖 REDFOX API(付费),积分耗尽时无法运行
  • 本 skill 纯本地、零依赖、随时可跑,作为发布前强制兜底
  • REDFOX 充值后可补跑 API 做双保险,但离线扫描是底线

快速开始

# 从物料 md 扫描(只提取「## 标题」+「## 正文」,跳过审查记录避免误报)
python3 scripts/check_prohibited.py --file 笔记终稿.md

# 或直接传纯发布文案
python3 scripts/check_prohibited.py "标题" "正文" "标签"

退出码:`0` = 无 P0 硬词(PASS);`1` = 有 P0 硬词需改;`2` = 运行错误。

**规则:P0 硬词未清空 = 禁止发布。**

词库维护(入库 / 出库)

词库在 `references/prohibited-words.md`,不是静态清单,必须持续养护:

  • 入库:实测触发限流 / 官方公告明文列出 / 可核验第三方词库(写全 5 字段:词+级别+场景+替代+日期)
  • 出库/降级:确认不再触发硬限流 → 降级;确认误杀 → 删除;同一词变体合并;过期词删除
  • 校准信号:限流了但没扫出 = 漏词(补);用了"违禁词"却没限流 = 误杀(降级/删)

原则:宁可禁得准,不要滥禁。误杀损失正常表达空间,漏词才损失一篇笔记。

引用关系

  • 被 free-course-share 引用(免费课程/证书笔记发布前必跑)
  • 被 xiaohongshu-content-workflow 引用(通用内容生产第 7 步风险检查)

License

MIT