← 返回 Skills 市场
brucetam-sino

派谱/PairPulse

作者 brucetam-sino · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ✓ 安全检测通过
9
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pairpulse
功能描述
购物篮关联分析工具 — 输入 Excel 订单数据,输出商品关联规则(Apriori 算法)+ 业务策略建议,支持 JSON 格式供智能体消费。免费 · 开源 · 本地运行 · 数据不出电脑
使用说明 (SKILL.md)

一句话介绍

电商运营 / 咨询顾问的免费 AI 配套工具,让商品关联分析从半天变成 10 秒。

能做什么

  • 关联规则挖掘 — 发现"买了 A 也买 B"的商品对
  • 业务策略建议 — 自动输出捆绑套餐、页面推荐、陈列调整、组合优惠、加价购策略
  • 客户分群 — 支持按客户ID/订单金额/商品件数分群,分组跑分析
  • 商品名标准化 — 同一商品多个叫法,自动模糊匹配统一
  • 多格式输出 — Excel 报告、PNG 图表、JSON 结构化数据

为什么用

  • 完全免费 · MIT 开源
  • 本地运行 · 数据不离开你的电脑
  • 不需要写代码,一行命令出结果
  • 任何 AI 智能体均可调用

首次使用

首次调用前,先确认 pairpulse 命令是否可用:

pairpulse --version

如果命令不存在,执行一键安装:

pip install pairpulse

安装完成后即可正常使用。

调用方式

# 快速分析,输出 JSON
pairpulse run --format json --input 订单数据.xlsx

# 如果你的商品名不统一,先跑标准化
pairpulse standardize --input 订单数据.xlsx
pairpulse run --mapping output/标准化映射表.xlsx

输出说明

--format json 输出结构:

{
  "summary": { "total_rows": 42368, "total_orders": 38920, "total_rules": 156 },
  "rules_by_group": {
    "high_value": [
      { "antecedent": "iPhone 15", "consequent": "手机壳",
        "support": 0.082, "confidence": 0.63, "lift": 3.2,
        "suggestions": [{ "type": "捆绑套餐", "action": "..." }] }
    ]
  },
  "insights": ["...", "..."],
  "errors": [],
  "warnings": []
}

数据格式要求

  • 每行 = 一笔订单中的一件商品
  • 必填列:订单编号、商品名称
  • 推荐列:商品单价、客户ID、商品类目

适配的 AI 智能体

Claude Code · OpenCode · GitHub Copilot · Trae · WorkBuddy · OpenClaw · Codex

以及其他任意能执行 shell 命令的 AI 智能体。--format json 输出的结构化数据,智能体可直接读取和二次分析。

使用场景

  1. 电商平台「买了又买」推荐位优化
  2. 线下零售陈列调整方案
  3. 捆绑套餐/组合优惠方案设计
  4. AI 智能体自主分析客户订单数据并给出商业建议

项目链接

  • GitHub:github.com/brucetam-sino/PairPulse
  • PyPI:pip install pairpulse

更新说明

每次使用前,智能体会自动获取最新版本:

  • 如果连接了 GitHub 仓库 → 重新加载项目时自动读取最新的 SKILL.md,无需额外操作
  • 如果通过 pip 安装 → 执行升级命令:
pip install --upgrade pairpulse

开发者更新后同时推送 GitHub 和 PyPI,两边的用户都能自动拿到最新版。

安全使用建议
Before installing, confirm you trust the external PyPI package named pairpulse and approve any install or upgrade command. Use it only on spreadsheets you intend to analyze, especially if they contain customer IDs or business-sensitive order data.
能力评估
Purpose & Capability
The skill describes Excel order-data analysis using Apriori rules, customer grouping, product-name standardization, and JSON/report outputs; these capabilities fit the stated ecommerce analytics purpose.
Instruction Scope
Runtime instructions ask an agent to run shell commands for pairpulse, including processing user-specified Excel files and optionally upgrading the package; this is disclosed and purpose-aligned, but users should approve installs/upgrades.
Install Mechanism
The artifact contains only SKILL.md and directs installation via pip install pairpulse or pip install --upgrade pairpulse, a standard package-manager flow but dependent on an external PyPI package not bundled in this skill.
Credentials
The requested local file access is limited to user-provided order spreadsheets for analysis, and the skill states data stays on the user's computer; no network upload or broad local indexing is described.
Persistence & Privilege
No background workers, credential/session access, privilege escalation, persistence hooks, destructive actions, or automatic account/data mutation are present in the artifact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pairpulse
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pairpulse 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.2
pairpulse 0.1.2 - 新增详尽 SKILL.md,清晰介绍工具功能、使用方式及输出格式 - 明确支持 Excel 订单输入,Apriori 算法分析,输出结构化 JSON 与业务策略建议 - 增加客户分群分析与商品名自动标准化功能 - 强调本地运行、数据不上传,适配多种 AI/智能体,开箱即用 - 提供常见调用示例及数据格式要求,便于快速上手
元数据
Slug pairpulse
版本 0.1.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

派谱/PairPulse 是什么?

购物篮关联分析工具 — 输入 Excel 订单数据,输出商品关联规则(Apriori 算法)+ 业务策略建议,支持 JSON 格式供智能体消费。免费 · 开源 · 本地运行 · 数据不出电脑. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 9 次。

如何安装 派谱/PairPulse?

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

派谱/PairPulse 是免费的吗?

是的,派谱/PairPulse 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

派谱/PairPulse 支持哪些平台?

派谱/PairPulse 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 派谱/PairPulse?

由 brucetam-sino(@brucetam-sino)开发并维护,当前版本 v0.1.2。

💬 留言讨论