Install
openclaw skills install ecommerce-super覆盖淘宝、京东、拼多多、抖音全平台,集商品管理、内容生成、客服、订单、数据、营销、平台适配与批量运营于一体的电商运营全流程工具。
openclaw skills install ecommerce-superEcommerce Super Skill - 电商运营全流程一站式处理工具
OpenClaw全领域电商运营超级Skill是一款专为电商从业者打造的全能型运营工具,集成了商品管理、内容生成、客服运营、订单管理、数据分析、营销活动、平台适配、批量运营八大核心模块,覆盖电商运营全流程。本Skill支持淘宝、京东、拼多多、抖音四大主流电商平台,帮助商家实现运营效率的质的飞跃。
无论您是淘宝C店卖家、京东商家、拼多多店主还是抖音电商主播,本Skill都能为您提供专业级的运营支持,从商品上架到营销推广,从客服接待到数据分析,一站式解决所有电商运营难题。
pip install pandas>=1.5.0
pip install numpy>=1.21.0
pip install jieba>=0.42.1
pip install wordcloud>=1.8.2.2
pip install pillow>=9.0.0
pip install openpyxl>=3.0.9
import pandas
import jieba
from PIL import Image
from openpyxl import Workbook
print("所有依赖安装成功!")
from main import EcommerceSuperSkill
skill = EcommerceSuperSkill()
# 优化商品标题
result = skill.optimize_title(
product_name="纯棉T恤",
attributes=["短袖", "圆领", "宽松", "2024新款"],
platform="taobao",
count=5
)
for item in result:
print(f"评分{item['score']}: {item['title']}")
输出示例:
评分92.5: 热销 纯棉T恤 短袖 圆领 宽松
评分88.3: 新品 纯棉T恤 2024新款 短袖
评分85.1: 特惠 纯棉T恤 宽松 圆领
...
# 生成议价场景话术
scripts = skill.generate_customer_service_script(
scenario="bargain",
customer_type="normal"
)
print("首次回复:", scripts["first_response"][0])
print("妥协方案:", scripts["compromise"][0])
import pandas as pd
# 模拟销售数据
sales_data = pd.DataFrame({
"日期": pd.date_range("2026-01-01", periods=30),
"销售额": np.random.randint(1000, 5000, 30),
"销量": np.random.randint(10, 100, 30),
"商品名称": ["纯棉T恤"] * 30
})
# 销量分析
analysis = skill.analyze_sales_trend(sales_data, days=30)
print(f"总销售额: {analysis['total_sales']}")
print(f"销量趋势: {analysis['trend']} ({analysis['trend_rate']}%)")
products = [
{"name": "纯棉T恤", "attributes": ["短袖", "圆领"]},
{"name": "牛仔裤", "attributes": ["修身", "弹力"]},
{"name": "运动鞋", "attributes": ["透气", "轻便"]}
]
# 批量生成标题
results = skill.batch_generate_copy(products, copy_type="title")
for result in results:
print(f"\n{result['product']}:")
for title in result['titles'][:2]:
print(f" - {title['title']}")
content = "这是世界上最好的产品,国家级品质,绝对第一!"
result = skill.check_violation(content)
print(f"是否安全: {result['is_safe']}")
print(f"敏感词: {result['sensitive_words_found']}")
print(f"风险等级: {result['risk_level']}")
script = skill.generate_video_script(
product_name="无线蓝牙耳机",
duration=60,
style="selling"
)
print(f"总镜头数: {script['shot_count']}")
for shot in script['shots']:
print(f"{shot['time_start']}-{shot['time_end']}s: {shot['shot_name']}")
print(f" 画面: {shot['visual_description']}")
print(f" 台词: {shot['dialogue']}")
response = skill.generate_negative_review_response(
review_type="quality",
tone="sincere"
)
print(response)
plan = skill.create_coupon_plan(
activity_name="618年中大促",
budget=5000,
duration_days=7
)
print(f"活动名称: {plan['activity_name']}")
print(f"预计ROI: {plan['estimated_roi']}")
for coupon in plan['coupon_tiers']:
print(f" {coupon['type']}: 满{coupon['threshold']}减{coupon['discount']} x {coupon['count']}张")
| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| product_name | str | 是 | - | 商品基础名称 |
| attributes | List[str] | 是 | - | 商品属性列表 |
| platform | str | 否 | taobao | 平台: taobao/jd/pdd/douyin |
| count | int | 否 | 5 | 生成标题数量 |
| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| product_info | Dict | 是 | - | 包含name/features/specs |
| platform | str | 否 | taobao | 目标平台 |
| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| product_base | str | 是 | - | 商品基础编码 |
| colors | List[str] | 是 | - | 颜色列表 |
| sizes | List[str] | 是 | - | 尺寸列表 |
| prefix | str | 否 | SKU | 编码前缀 |
A: 生成的标题经过算法优化,包含关键词、营销词、属性词的科学组合。但建议根据实际商品情况微调,并进行敏感词检测后再使用。
A: 当前版本支持淘宝、京东、拼多多、抖音四大主流平台,各平台的标题长度、规则都已适配。
A: 理论上没有上限,但建议单次不超过5000条,超过建议分批处理。8GB内存环境可轻松处理10000条数据。
A: 可以,直接编辑config.json中的sensitive_words数组即可添加或删除敏感词。
A: 可以,修改export_operation_report方法中的样式定义即可。默认样式已经过优化,适合直接打印或发送。
A: 支持JPG、PNG、BMP等PIL支持的所有格式。推荐使用JPG格式以获得更好的压缩率。
A: CSV导出使用utf-8-sig编码,Excel使用openpyxl原生支持中文,一般不会出现乱码。
A: 完全可以,本Skill采用宽松的开源协议,可自由用于个人或商业项目。
文档字符数统计: 约8500字符