← Back to Skills Marketplace
brucetam-sino

派谱/PairPulse

by brucetam-sino · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ✓ Security Clean
9
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pairpulse
Description
购物篮关联分析工具 — 输入 Excel 订单数据,输出商品关联规则(Apriori 算法)+ 业务策略建议,支持 JSON 格式供智能体消费。免费 · 开源 · 本地运行 · 数据不出电脑
README (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,两边的用户都能自动拿到最新版。

Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pairpulse
  3. After installation, invoke the skill by name or use /pairpulse
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.2
pairpulse 0.1.2 - 新增详尽 SKILL.md,清晰介绍工具功能、使用方式及输出格式 - 明确支持 Excel 订单输入,Apriori 算法分析,输出结构化 JSON 与业务策略建议 - 增加客户分群分析与商品名自动标准化功能 - 强调本地运行、数据不上传,适配多种 AI/智能体,开箱即用 - 提供常见调用示例及数据格式要求,便于快速上手
Metadata
Slug pairpulse
Version 0.1.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 派谱/PairPulse?

购物篮关联分析工具 — 输入 Excel 订单数据,输出商品关联规则(Apriori 算法)+ 业务策略建议,支持 JSON 格式供智能体消费。免费 · 开源 · 本地运行 · 数据不出电脑. It is an AI Agent Skill for Claude Code / OpenClaw, with 9 downloads so far.

How do I install 派谱/PairPulse?

Run "/install pairpulse" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 派谱/PairPulse free?

Yes, 派谱/PairPulse is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 派谱/PairPulse support?

派谱/PairPulse is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 派谱/PairPulse?

It is built and maintained by brucetam-sino (@brucetam-sino); the current version is v0.1.2.

💬 Comments