← 返回 Skills 市场
runkecheng

每日网销数据排名分析

作者 runkecheng · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
102
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install daily-screport-analysis
功能描述
读取收钱吧邮箱中来自 [email protected](市场邮件推送)的网销数据邮件,进行团队/个人排名分析。触发场景:(1) 用户说「网销排名」「网销数据」「团队排名」「分析排名」「邮件的排名数据」 (2) cron 定时触发的每日排名分析 (3) 用户说「今天的网销数据呢」「网销情况怎样」。用于...
使用说明 (SKILL.md)

每日网销数据排名分析

读取 [email protected] 邮箱中 [email protected](市场邮件推送)的邮件,解析并展示网销团队/个人排名数据。

依赖项

必须:已安装 imap-smtp-email-chinese skill,并在其 .env 中配置好邮箱 IMAP 连接信息:

# /workspace/skills/imap-smtp-email-chinese/.env
IMAP_HOST=imap.feishu.cn
IMAP_PORT=993
[email protected]
IMAP_PASS=\x3C邮箱专用密码>
IMAP_TLS=true

该 skill 会自动查找 imap-smtp-email-chinese 的 node_modules 和.env,无需单独安装 npm 依赖。

邮件类型

来自 [email protected](显示名:市场邮件推送)有以下邮件:

时间(BJT) 主题 内容
09:00 「网销每日数据」 团队级日/月累计统计(有效转化率、审核通过数等)
10:00-15:00(整点) 「网销开通实时数据报表」 团队主管排名表 + 全员个人排名表

分析脚本

scripts/daily-screport-analysis.js — 核心分析脚本。

运行方式

node /workspace/skills/daily-screport-analysis/scripts/daily-screport-analysis.js

输出 JSON 结构

{
  "success": true,
  "totalEmails": 10,
  "dailyTeamData": [
    { "team": "起点战队", "leader": "何启明",
      "dailyOpen": 126, "dailyValid": 36, "dailyValidRate": 0.29,
      "dailyApproved": 108, "dailyApprovedRate": 0.93,
      "monthlyOpen": 1849, "monthlyValid": 833, "monthlyValidRate": "0.45",
      "monthlyApproved": 1435, "monthlyApprovedRate": "0.96" }
  ],
  "teamAggregation": [
    { "team": "起点战队", "totalPeople": 12, "totalApproved": 50,
      "avgApproved": 4.2, "topPerson": "孙江宁", "members": [...] }
  ],
  "summary": {
    "totalTeams": 11, "totalPeople": 128, "totalApprovedSum": 290,
    "topTeams": ["起点战队(50单)", "极光战队(42单)", ...],
    "topPeople": ["王广超(飞翔, 13单)", ...],
    "zeroApproved": 56,
    "dailyTotalApproved": 2398, "monthlyTotalApproved": 35672
  }
}

分析维度

  1. 团队主管排名:团队+主管的审核通过数排名
  2. 全员个人排名:按审核通过数降序排列
  3. 团队聚合统计:人均审核通过数、团队人数、Top成员
  4. 新人追踪:识别2026届新人(名单参考 MEMORY.md)表现
  5. 零单人员:审核通过数为0的人员统计

报告格式

按以下结构输出结果给用户:

📊 网销团队/个人排名日报 | {日期}

▎团队排名Top5(审核通过数)
🥇 {团队名} — {n}单({主管})
...

▎个人排名Top10
1️⃣ {姓名(团队)}{n}单
...

▎团队人均审核通过数
🥇 {团队名} — {n}单/人
...

▎2026新人表现突出
🌟 {姓名(团队)}{n}单
⚪ 零单新人需关注:...

▎月度累计
🗓 全团队月累计:**{n}单**

配置要求

  1. IMAP 邮箱连接(在 imap-smtp-email-chinese/.env 中配置)
  2. Standing Orders(写入 AGENTS.md):授权自动执行
  3. Cron 定时任务(工作日 09:35 BJT):自动触发
安全使用建议
Before installing, confirm that this skill should access the configured shouqianba mailbox, fix TLS certificate verification, and avoid enabling cron or AGENTS.md standing orders until the credential requirement and automatic-access scope are clearly documented.
功能分析
Type: OpenClaw Skill Name: daily-screport-analysis Version: 1.0.0 The skill is designed to analyze sales report emails but exhibits risky security practices and potential vulnerabilities. The script `scripts/daily-screport-analysis.js` disables TLS certificate verification (`rejectUnauthorized: false`), which exposes the IMAP connection to man-in-the-middle (MITM) attacks. Furthermore, the script performs cross-skill file access by traversing directories to read sensitive credentials from a `.env` file belonging to a different skill (`/workspace/skills/imap-smtp-email-chinese/.env`). While these behaviors appear intended to facilitate the stated functionality for 'shouqianba.com' reports, they constitute significant security flaws and risky credential handling.
能力评估
Purpose & Capability
The stated purpose and visible code are coherent: the skill connects to an IMAP mailbox, searches for [email protected] emails, parses ranking tables, and outputs team/person ranking data. This is still sensitive business and employee-performance email data.
Instruction Scope
The instructions disclose cron/standing-order automatic execution for daily reports. That is purpose-aligned, but users should understand it may read the mailbox without a fresh prompt each workday.
Install Mechanism
There is no install spec, while package.json lists dependencies and the script can reuse another skill’s node_modules. This is disclosed but creates a dependency/provenance review point.
Credentials
The registry metadata declares no required env vars, primary credential, or config path, but the skill reads IMAP_USER/IMAP_PASS from a local .env and connects to a mailbox. The code also disables TLS certificate verification for that credentialed IMAP connection.
Persistence & Privilege
SKILL.md asks for Standing Orders in AGENTS.md and a cron trigger. No code in the visible artifact installs persistence itself, but users should only enable these if recurring automatic mailbox access is intended.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install daily-screport-analysis
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /daily-screport-analysis 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始版本:读取 [email protected] 邮件进行团队/个人排名分析并推送到飞书
元数据
Slug daily-screport-analysis
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

每日网销数据排名分析 是什么?

读取收钱吧邮箱中来自 [email protected](市场邮件推送)的网销数据邮件,进行团队/个人排名分析。触发场景:(1) 用户说「网销排名」「网销数据」「团队排名」「分析排名」「邮件的排名数据」 (2) cron 定时触发的每日排名分析 (3) 用户说「今天的网销数据呢」「网销情况怎样」。用于... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。

如何安装 每日网销数据排名分析?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install daily-screport-analysis」即可一键安装,无需额外配置。

每日网销数据排名分析 是免费的吗?

是的,每日网销数据排名分析 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

每日网销数据排名分析 支持哪些平台?

每日网销数据排名分析 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 每日网销数据排名分析?

由 runkecheng(@runkecheng)开发并维护,当前版本 v1.0.0。

💬 留言讨论