rfm

Used to automatically perform RFM eight-segment customer stratification and visualization when the user provides transaction records (Recency R / Frequency F / Monetary M). Classifies customers into eight categories (Important Value, Important Retention, Important Development, Important Recovery, General Value, General Retention, General Development, General Recovery) and outputs a self-contained, scalable, hover-capable interactive ECharts bubble scatterplot as HTML. Pure front-end, no database connections, cross-platform.

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 "rfm" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ad6e76fdfbcbe50982ab7dc35c7e5c3259e69915c1384024eac1a6cf3aaee319. Verify the upstream source and version against https://skillhub.cn/skills/user_af163eaa/z-bi-rfm 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

Used to automatically perform RFM eight-segment customer stratification and visualization when the user provides transaction records (Recency R / Frequency F / Monetary M). Classifies customers into eight categories (Important Value, Important Retention, Important Development, Important Recovery, General Value, General Retention, General Development, General Recovery) and outputs a self-contained, scalable, hover-capable interactive ECharts bubble scatterplot as HTML. Pure front-end, no database connections, cross-platform.

0 Downloads

Introduction source: third_party · user_af163eaa · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: RFM客户分层可视化(可交互视图)
id: z-bi-rfm
description: |
  当用户要做 RFM 客户分层、客户价值分群、用户分群画像、RFM 模型可视化、客户分层气泡图时启用。输入用户交易记录(最近消费R/消费频次F/消费金额M),自动按 RFM 八分法归类(重要价值/重要保持/重要发展/重要挽留/一般价值/一般保持/一般发展/一般挽留),输出一张自包含、可缩放悬浮的可交互 ECharts 气泡散点图 HTML。纯前端、不连数据库、跨平台。
version: 1.0.0
agent_created: true
platforms: [workbuddy, claude, cursor, codex, windsurf, gemini, copilot, openclaw]
category: 效率工具
slug: z-bi-rfm
displayName: RFM客户分层可视化(可交互视图)
summary: 把客户交易数据按RFM模型自动分层,输出可交互气泡散点图。
license: MIT
icon: icon.png

RFM客户分层可视化(可交互视图)

触发场景(何时用我)

  • RFM 客户分层 / 用户分群画像
  • 客户价值分群、八分法归类
  • 「帮我看哪些客户重要」类经营分析
  • RFM 模型可视化、气泡散点图

工作流程(照做)

  • 确认数据:让用户提供交易明细(粘贴 / CSV / JSON / Excel 导出),至少含 用户ID、最近消费天数R、频次F、金额M 四列;缺失列先问清。
  • 清洗与打分:按阈值或分位数把 R/F/M 各自二分为高低,组合成 8 类(重要价值/保持/发展/挽留 + 一般价值/保持/发展/挽留)。
  • 生成单文件 HTML:用 ECharts 5(CDN)写一个自包含 .html——X 轴=最近消费、Y 轴=频次、气泡大小=金额、颜色=8 类分层,带 tooltip/legend/缩放。
  • 保存交付:输出文件路径,用户双击浏览器打开即可交互;如需离线,提示把 echarts.min.js 下载到本地引用。
  • 不编造:只用用户给的数据分层,未提供的客户不臆造分层结论。

注意事项

  • 气泡大小映射金额、颜色映射分层,tooltip 显示明细
  • 分层阈值由用户定或可默认用三分位
  • 支持中文标签与坐标轴

红线(禁止)

  • 禁止编造未提供的客户或分层数据
  • 禁止把 RFM 当成唯一真理(仅一种分群视角)
  • 禁止连数据库或外发用户数据

适用边界

仅做 RFM 八分法分层可视化;不做聚类/预测模型、不接 CRM。数据由用户提供,本 Skill 不自动抓取。

跨平台安装与运行

本 Skill 为纯规则 / 前端模板型,不绑定任何平台独占工具,可在以下客户端直接安装使用:

  • WorkBuddy:复制 V1.0.0/ 全部文件到 ~/.workbuddy/skills/RFM客户分层可视化(可交互视图)/
  • Claude:复制到 ~/.claude/skills/RFM客户分层可视化(可交互视图)/
  • Cursor:复制到 ~/.cursor/skills/RFM客户分层可视化(可交互视图)/
  • Codex / Windsurf / Gemini / Copilot / OpenClaw:复制到对应 skills/ 目录

安装后通过自然语言触发(见上方触发场景)。BI 类生成单文件 HTML(ECharts CDN),双击在浏览器打开即可交互;地图类生成自包含 HTML 地图(需联网 + 高德 Key)。

红蓝对抗结论(已固化)

见同目录 RACE_REPORT.md(红军主干 + 蓝军 6 类挑刺 + 优化落点 + 四维评分 + 新用户测试结论)。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 解决用户实际经营分析需求,提供自动化客户分群与可视化能力
  • 面向有客户数据分析需求的用户,具有明确的实用价值
Trigger Precision92/100

Highlights

  • 触发词覆盖完整,包含多种变体
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards95/100

Highlights

  • Phase/步骤清晰,有出口条件
  • 包含端到端示例说明,frontmatter 完整
Execution Reliability88/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 引用了同目录 RACE_REPORT.md 文件但未传入

    Recommendation: 请补充 RACE_REPORT.md 文件或移除引用说明

Highlights

  • 工具来源明确(ECharts 5 CDN)
  • 覆盖主要异常场景,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)88/100

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.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.