Openclaw-ecommerce-ad-skills ad-copywriting

生成多版本电商广告文案(标题、slogan、描述、CTA),支持不同平台和风格

install
source · Clone the upstream repo
git clone https://github.com/lujiaheng-artpivot/openclaw-ecommerce-ad-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/lujiaheng-artpivot/openclaw-ecommerce-ad-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/ad-copywriting" ~/.claude/skills/lujiaheng-artpivot-openclaw-ecommerce-ad-skills-ad-copywriting && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/lujiaheng-artpivot/openclaw-ecommerce-ad-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/ad-copywriting" ~/.openclaw/skills/lujiaheng-artpivot-openclaw-ecommerce-ad-skills-ad-copywriting && rm -rf "$T"
manifest: skills/ad-copywriting/SKILL.md
source content

广告文案生成 Skill

调用豆包大模型根据商品信息生成多版本广告文案,支持不同平台和语气风格。

使用方法

python3 scripts/generate_copy.py \
  --product-info '{"name": "无线耳机", "price": "299元", "features": ["主动降噪", "40小时续航", "IPX7防水"]}' \
  --platform douyin \
  --tone urgent \
  --variants 3 \
  --output ./ad_copy.json

参数说明

参数类型必填说明
--product-info
JSON商品信息,包含名称、价格、卖点等
--platform
string目标平台:douyin/xiaohongshu/taobao/kuaishou
--tone
string文案风格:urgent/elegant/fun/professional/cute
--variants
number生成的变体数量,默认3
--output
string输出文件路径,默认 {workDir}/ad_copy.json
--include-cta
boolean是否包含CTA(行动号召),默认true
--max-length
number最大文案长度,默认根据平台自动适配

输出格式

{
  "taskId": "task_123456",
  "platform": "douyin",
  "tone": "urgent",
  "variants": [
    {
      "id": "variant_1",
      "title": "【限时特惠】降噪耳机只要299!",
      "slogan": "静享世界,听见美好",
      "description": "这款主动降噪无线耳机,拥有40小时超长续航,IPX7防水设计,无论是运动还是通勤都能给你极致的音乐体验。",
      "cta": "点击小黄车立即抢购,手慢无!",
      "tags": ["#降噪耳机", "#限时特惠", "#数码好物"]
    }
  ],
  "generatedAt": "2026-03-11T12:00:00Z"
}

事件发布

生成完成后会发布

copy.generated
事件到消息总线。

平台适配规则

平台标题长度描述长度风格偏好
抖音15-25字100-150字口语化、有紧迫感
小红书20-30字200-300字种草风格、多用emoji
淘宝10-20字150-200字突出卖点、性价比
快手15-25字100-150字接地气、有优惠感