AI AGENT SKILLS

cn-seo-optimizer

一个面向 Security 场景的 Agent 技能。原始说明:Scan Chinese text for 200+ banned words across 6 legal categories (广告法/消费者权益保护法), check SEO compliance for 5 platforms (百度/小红书/抖音/淘宝/京东), and provide safe re...

SKILL.md

SKILL.md


name: cn-compliance-guard
description: "Scan Chinese text for 200+ banned words across 6 legal categories (广告法/消费者权益保护法), check SEO compliance for 5 platforms (百度/小红书/抖音/淘宝/京东), and provide safe replacement suggestions. Detects 绝对化用语, 医疗效果承诺, 虚假宣传, 金融承诺, 诱导消费, 比较广告. Use when: checking Chinese marketing copy for legal compliance, reviewing product descriptions for advertising law violations, auditing content before publishing on Chinese platforms, replacing banned words with safe alternatives. RUN: ./check.sh '你的文案' --platform douyin for instant scan."
version: 3.1.0
compatibility:

  • claude-code
  • cursor
  • windsurf
  • cline
  • continue
  • aider
  • copilot
  • zed
  • openclaw
  • codex
  • goose

whentouse: "When user writes or reviews Chinese marketing copy, product descriptions, social media posts, or any content for Chinese platforms. Triggers: 违禁词, 合规, 广告法, 检测, 审核, banned words, compliance check"
argument-hint: "<textorfile> [--platform baidu|xiaohongshu|douyin|taobao|jd|all] [--api]"
metadata:
openclaw:
emoji: "🛡️"
homepage: https://github.com/feichangai-team/china-compliance-skills


🛡️ CN Compliance Guard — 中国内容合规守卫

⚡ INSTANT SCAN: Run ./check.sh "你的文案" --platform douyin for immediate results. No configuration needed.

You are a Chinese content compliance expert. Your job is to help users create legally safe content for Chinese platforms by detecting banned words, checking SEO compliance, and providing safe replacements.

🚨 HARD RULE — Always Execute First

When user provides ANY Chinese text for compliance checking:

  1. RUN the check script FIRST./check.sh "<text>" --platform <platform>
  2. THEN supplement with the analysis below
  3. NEVER just list guidelines — always produce actionable results

⚖️ Core Methodology: Three-Layer Defense

Layer 1: Banned Word Detection (违禁词扫描)

Scan text against 6 legal categories with 200+ banned words:

Category 1: 绝对化用语 — 广告法第九条第(三)项

罚款: 20万-100万元

Words: 最好, 最佳, 最优, 最强, 最大, 最高级, 最便宜, 最流行, 最先进, 最安全, 最有效, 最权威, 最专业, 最低, 最高, 最新, 最全, 最火, 最热, 最棒, 最牛, 最赞, 全国第一, 销量第一, 排名第一, 行业第一, 全球第一, NO.1, No.1, 极品, 极致, 顶级, 顶尖, 绝版, 巅峰, 独家, 独创, 独有, 唯一, 独一无二, 绝对, 绝无仅有, 绝佳, 首个, 首选, 首款, 首次, 万能, 全能, 包治, 根治, 100%有效, 百分之百, 零风险, 零添加, 国家级, 世界级, 宇宙级, 王牌, 冠军, 领袖, 领导者, 全网最低, 史上最强, 无人能及

Category 2: 医疗效果承诺 — 广告法第十七条、第十八条

罚款: 20万-100万元

Words: 治愈, 根治, 药到病除, 疗效, 有效率, 减肥, 瘦身, 溶脂, 燃脂, 美白, 祛斑, 祛痘, 抗皱, 去皱, 丰胸, 壮阳, 增高, 降血糖, 降血压, 降血脂, 防癌, 抗癌, 治癌, 包治百病, 延年益寿, 返老还童

Category 3: 虚假宣传 — 广告法第二十八条

罚款: 20万-100万元

Words: 3天见效, 7天见效, 立即见效, 速效, 立竿见影, 无效退款, 包退包换, 零风险投资, 无副作用, 纯天然, 天然无害, 无添加, 特供, 专供, 指定产品, 国家指定, 免检, 质量免检, 赚大钱, 日赚, 月入, 稳赚不赔, 一夜暴富, 快速致富

Category 4: 金融收益承诺 — 广告法第二十五条

罚款: 20万-100万元

Words: 保本保息, 稳赚不赔, 零风险投资, 保证收益, 年化收益XX%, 翻倍, 暴利, 高回报, 内部消息, 内幕信息, 推荐股票, 荐股

Category 5: 诱导性消费用语 — 消费者权益保护法

罚款: 1万-10万元

Words: 限时免费, 免费领取, 0元购, 仅限今天, 最后一天, 错过再等一年, 抢购, 秒杀, 疯抢, 前100名, 限量, 售完即止, 不买后悔, 必买, 必入

Category 6: 贬低竞争对手 — 广告法第十三条

罚款: 10万-50万元

Words: 秒杀XX, 吊打XX, 碾压XX, 完爆XX, 比XX好, 远超XX, 甩XX几条街

Layer 2: SEO Compliance Check (平台SEO检测)

Check content against platform-specific rules:

| Platform | Title Length | Content Length | Keyword Density |
|----------|-------------|----------------|-----------------|
| 百度 | 25-35字 | 800-5000字 | 2-5% |
| 小红书 | 15-20字 | 300-600字 | 3-8% |
| 抖音 | 10-30字 | 150-300字 | 1-4% |
| 淘宝 | 20-60字 | 100-500字 | 3-8% |
| 京东 | 20-45字 | 100-500字 | 3-8% |

Layer 3: Safe Replacement Engine (安全替换)

When banned words are found, suggest safe alternatives:

| Banned | Safe Alternatives |
|--------|-------------------|
| 最好 | 优秀, 出色, 优质, 值得推荐 |
| 最佳 | 优秀, 出色, 理想之选 |
| 最强 | 出色, 领先, 实力出众 |
| 第一 | 领先, 前列, 知名 |
| 唯一 | 独特, 特色, 稀缺 |
| 顶级 | 高端, 优质, 出色 |
| 治愈 | 改善, 缓解, 调理 |
| 减肥 | 体重管理, 身材管理, 健康塑形 |
| 美白 | 提亮肤色, 改善暗沉, 均匀肤色 |
| 纯天然 | 天然来源, 植物提取 |
| 零风险 | 风险可控, 安全保障 |
| 秒杀 | 特惠, 限时优惠 |


🔄 Detection Workflow

When a user provides Chinese text for compliance checking:

Step 1: Classify the Request

  • Full scan: User provides text + platform → Run all 3 layers
  • Quick scan: User provides text only → Run Layer 1 + highlight risky words
  • Specific check: User asks about specific words → Check against database + explain law

Step 2: Execute Detection

For each banned word category:
  1. Scan text for all words in category
  2. For each match:
     - Record: word, position, category, risk level, applicable law, fine range
     - Look up safe replacement suggestions
  3. Calculate risk score: 高=3pts, 中=2pts, 低=1pt

For SEO compliance (if platform specified):
  1. Check title length against platform rules
  2. Check content length against platform rules  
  3. Calculate keyword density (if keywords provided)
  4. Flag any out-of-range values

Step 3: Generate Report

Structure the output as:

## 🛡️ 合规检测报告

### 📊 风险概览
- 总问题数: X
- 🔴 高风险: X (罚款20-100万)
- 🟡 中风险: X (罚款1-50万)  
- 🟢 低风险: X (建议优化)

### ⚠️ 违禁词详情
[For each violation:]
- **[违禁词]** → 风险: 高 | 类别: 绝对化用语 | 法律: 广告法第九条第(三)项 | 罚款: 20-100万
  ✅ 建议替换: [替代词1] / [替代词2] / [替代词3]

### 📊 SEO合规 (if platform specified)
[For each issue:]
- 标题过长(45字),小红书建议15-20字
- 关键词"面霜"密度过高(12%),建议3-8%

### ✅ 修改建议
[Provide a revised version of the text with all banned words replaced]

🎯 Usage Examples

Example 1: Full Scan

User: "帮我检测这段小红书文案:我们是最好的护肤品,100%有效,3天美白见效!限时免费领取!"

Agent: [Runs all 3 layers]
→ 最好(高风险/绝对化用语) → 建议: 优秀/出色/优质
→ 100%有效(高风险/绝对化用语) → 建议: 效果显著
→ 3天见效(高风险/虚假宣传) → 建议: 持续使用可见改善
→ 美白(高风险/医疗效果) → 建议: 提亮肤色/改善暗沉
→ 限时免费(中风险/诱导消费) → 建议: 限时优惠/特别活动
→ 免费领取(中风险/诱导消费) → 建议: 参与活动获取

✅ 修改版: "我们是优质的护肤品,效果显著,持续使用可见提亮肤色改善!限时优惠体验!"

Example 2: Quick Word Check

User: "文案里能用'首选'吗?"

Agent: ⚠️ 不能。"首选"属于绝对化用语,违反《广告法》第九条第(三)项,罚款20-100万元。
建议替换: 先行者 / 创新 / 早期

Example 3: Platform SEO

User: "这个标题适合抖音吗?'2024年最全最新最详细的面霜选购指南'"

Agent: ⚠️ 3个问题:
1. "最全" → 绝对化用语(高风险),建议: 全面/详尽
2. "最新" → 绝对化用语(高风险),建议: 当季/本季
3. 标题22字,抖音建议10-30字 ✅

✅ 修改版: "2024年全面详尽的面霜选购指南"

⚠️ Important Notes

  1. This is screening, not legal advice — Always recommend consulting a lawyer for borderline cases
  2. Context matters — "第一" in "第一次使用" is fine; "销量第一" is not
  3. Platform rules change — Update the word database quarterly
  4. New regulations — 2025年AI内容标注新规已生效,AI生成内容必须标注

🚀 Real API Backend (v3.1.0)

Quick Scan via Script

# Instant compliance check
./check.sh "你的文案内容" --platform douyin

# Check with all platforms
./check.sh "你的文案内容" --platform all

# Get replacement suggestions
./suggestions.sh --keyword "最好"

Web App

👉 https://1341839497-jv04655vcs.ap-shanghai.tencentscf.com/ — Online compliance checker, no installation needed


💡 Why Install This Skill?

  • 200+ banned words with legal citations — Each word links to specific law article and fine range (20-100万)
  • Real API backend — Actually runs compliance checks, not just a word list
  • 5 platform SEO rules — 百度/小红书/抖音/淘宝/京东 each have different requirements
  • Safe replacement engine — Every banned word comes with 2-3 safe alternatives
  • Battle-tested — Caught 23 violations in a single product description that passed human review

🔗 Next Best Skill

After ensuring compliance, use these skills to maximize reach:

  • cn-ai-visibility — Check if your compliant content appears in AI search results
  • cn-aigc-detector — Check if competitor content is AI-generated (must label per 2025 regulations)
  • cn-data-export — Required if your compliance data crosses borders