xiaoe-export
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "xiaoe-export" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-784dab6e1c9122487bc90a9116507c425f64cdcfb4458a51040ea9a231f08cc2. Verify the upstream source and version against https://skillhub.cn/skills/user_bb2a8474/xiaoe-export-orders before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Order data export tool. Exports order data from Xiaohongshu, Douyin C-shops (CSV exported from the Xiaoetong backend), and WeChat Shops (CSV fetched directly via API). The tool depends on a local web-access CDP proxy (localhost:3456).
Introduction source: third_party · user_bb2a8474 · 1.3.7 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: xiaoe-export
description: 订单数据导出。覆盖小红书、抖音C店(小鹅通后台导出CSV)及微信小店(API直抓CSV)。依赖 web-access CDP proxy(localhost:3456)。
slug: xiaoe-export-orders
displayName: 小鹅通+微信小店订单导出
version: 1.3.7
summary: 默认导出昨天订单CSV。小红书+抖音C店(小鹅通后台)及微信小店。全流程自动化,CDP直连下载。
license: MIT
metadata:
author: WorkBuddy
depends:
- web-access前提
# 1. proxy 必须已运行(如未运行,执行 web-access skill 的 check-deps.mjs)
curl -s http://localhost:3456/targets
# 2. 用户必须在浏览器已登录三个平台
# - https://admin.xiaoe-tech.com (小红书/抖音)
# - https://store.weixin.qq.com (微信小店)
日期参数
默认导出昨天。日期唯一入参,AI 在执行时动态替换 YYYY-MM-DD:
# Linux/Mac
YESTERDAY=$(date -d "-1 day" +%Y-%m-%d)
# Windows PowerShell
$YESTERDAY = (Get-Date).AddDays(-1).ToString('yyyy-MM-dd')
微信小店(3 秒,API 直抓,无需下载中心)
TAB=$(curl -s -X POST -d 'https://store.weixin.qq.com/shop/order/list' http://localhost:3456/new | grep -o '"targetId":"[^"]*"' | cut -d'"' -f4)
sleep 6 && node scripts/step1-weixin.mjs $TAB $YESTERDAY 沈奕斐 微信小店_$YESTERDAY.csv
小红书(~40 秒,全流程自动:填表→导出→下载中心→CDP下载)
TAB=$(curl -s -X POST -d 'https://admin.xiaoe-tech.com/t/public/traffic/#/xiaohongshu/orderManagement' http://localhost:3456/new | grep -o '"targetId":"[^"]*"' | cut -d'"' -f4)
sleep 10 && node scripts/full-export.mjs $TAB $YESTERDAY 小红书_$YESTERDAY.csv
抖音 C 店(~40 秒,全流程自动)
TAB=$(curl -s -X POST -d 'https://admin.xiaoe-tech.com/t/douyin/dy#/doudian/ddOrderManagement?shop_id=68078732' http://localhost:3456/new | grep -o '"targetId":"[^"]*"' | cut -d'"' -f4)
sleep 10 && node scripts/full-export-douyin.mjs $TAB $YESTERDAY 沈奕斐 抖音_$YESTERDAY.csv
输出列
| 渠道 | 列 |
|---|---|
| 小红书 | 购买课程、订单号、下单用户、下单时间、支付金额、实付金额、订单状态、领课状态等 ~24 列 |
| 抖音 | 同上,列名略有不同("抖店订单号"、"抖店下单用户") |
| 微信小店 | 订单号、下单时间、订单状态、收件人电话、商品总金额、订单支付金额、订单实际收款金额、账号昵称、商品名称、微信昵称、手机号(11 列,金额单位为元) |
错误处理
| 错误 | 原因 | 解决方法 |
|---|---|---|
cookie 缺失 biz_token/biz_magic |
微信小店未登录 | 让用户在浏览器打开 store.weixin.qq.com/shop/order/list 登录 |
导出 dialog not found(抖音) |
确认弹窗未匹配 | 脚本有 fallback 逻辑;仍失败则关闭 tab 重开 |
| CDP cookie 提取失败(exit 1) | proxy 不支持 /cdp 端点 | ① 确认 proxy 版本支持 /cdp ② 确保浏览器已打开小鹅通下载中心 ③ 在该页面手动点击一次「下载」建立企业微信 cookie ④ 推荐用 WorkBuddy 内置 web-access proxy |
EBUSY |
CSV 被 Excel 打开占用 | 关闭 Excel 文件后重试,或换输出文件名 |
| CSV 行数与前一天完全一样 | 下载中心返回了旧缓存任务 | 立即检查 CSV 第 2 行日期是否正确,不是则关闭 tab 重跑 |
curl: command not found |
Windows 无 curl | 改用 curl.exe 或直接用 Node.js fetch 打开 tab |
核心规则
- 直接使用 full-export 脚本,不要手动拼接 step1+step2+download
- 日期必须由 AI 动态计算昨天,禁止写死
2026-07-30 - 开网页后必须 sleep 等待加载:微信小店 6s,小红书/抖音 10s
- 填表统一:
el.value + input + Enter,禁止 focus() 和 change 事件 - 下载中心取 task_id:先
location.reload(),再按 task_id 降序取第一个 - 导出完成立即验证:检查 CSV 第 2 行日期是否为目标日期
- 微信小店 cookie 过期:脚本自动刷新;不行则提醒用户登录
- 三个平台并行执行,不要串行
Current listing version
1.3.7
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决商家日常高频刚需痛点,显著提升订单数据导出效率
- 覆盖小红书、抖音C店、微信小店三大主流平台,功能完整
Highlights
- 触发描述精准完整,边界清晰,用户能准确理解适用场景
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
文档结构良好但未显式标注 When to Use 章节
Recommendation: 建议增加显式的 When to Use 章节以提升文档规范性
Highlights
- Phase/步骤清晰,分平台说明具体
- 含端到端示例,frontmatter完整
Highlights
- 覆盖主要异常场景并提供具体解决方案
- 导出后验证机制确保数据准确性
- 并行执行建议提升效率
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- admin.xiaoe-tech.com
- localhost
- store.weixin.qq.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.