Skip to content
cccskills
FreePublished on GitHub

bi-conversion-rate

从接触目标行为到完成目标行为的转化率计算。触发条件:需计算转化率时触发,如对话包含“转化率”、“转化情况”等词时触发。

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md2.4 KB
  • scripts/compute_conversion.py2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

bi-conversion-rate

计算用户从接触目标行为(起始阶段)到完成目标行为(结束阶段)的转化率。

执行步骤

Step 0: 检查数据以及确定计算指标

  1. 转化率计算涉及的指标以及数据范围(初始状态数据以及目标状态数据)已经明确,如指标明确为“对话转化率”,转化率计算需“访问用户数”与“对话用户数”;
  2. 数据已经保存为 CSV 文件,且包含转化率计算所需关键数据,如上述的“访问用户数”与“对话用户数”。如
date,访问用户数,对话用户数
2025-01-01,10000,3000
2025-01-02,10500,1000
2025-01-03,9800,100

Step 1: 执行转化率计算

使用 <skill-dir>/scripts/compute_conversion.py 脚本,计算用户从某初始状态到目标状态的转化率(计算结果保留小数点后 5 位)。

python <skill-dir>/scripts/compute_retention.py --input_file "<输入数据文件路径 (CSV)>" --metric_name "<转化率名称>" --begin_col "<初始行为状态的对象列名>" --end_col "<目标/结束行为状态的对象列名>"

参数说明:

参数说明默认值
--input_file输入数据文件路径 (.csv)(必填)
--metric_name计算指标名称(如对话转化率等)转化率
--begin_col初始行为状态的对象列名(必填)
--end_col目标/结束行为状态的对象列名(必填)

对于所有需要计算的转化率指标都需调用该脚本计算,不能遗失任何必要的指标计算。

fallback (指引模式)

无脚本环境时按以下计算公式手动计算转化率:

$$ \text{转换率}=\frac{\text{User at the final stage}}{\text{User at the beginning stage}} $$

  • 分母:起始阶段用户数(接触过目标行为或进入漏斗起点)
  • 分子:结束阶段用户数(完成目标行为)
  • 口径须与业务一致(例如结束阶段用户是否为起始阶段的子集、是否去重同一用户)

输出要求

输出所有需要计算的转化率指标结果,不要遗失任何计算结果,包括 NaN 值。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

将用户的数据分析需求转化为结构化的分析计划并与用户确认。用户提出 BI 业务分析、数据探索、统计建模等需要规划的分析任务时使用。简单数据查询、公式明确的定量计算等流程简单、无需规划的任务不使用。

The English summary is being prepared. Showing the original description.

agentscope-ai/QwenPaw-Data158Updated Oct 20, 2026

通过量化历史数据的自然波动幅度,自适应计算判定阈值。当需要从数据本身确定阈值(如波动阈值、影响度阈值等)、而非使用固定值时调用。仅适用于日/周粒度阈值确定。

The English summary is being prepared. Showing the original description.

agentscope-ai/QwenPaw-Data158Updated Oct 20, 2026

基于阈值检测时间序列中的显著异常波动点。当需要找出指标异常波动日期、识别数据异动时调用。

The English summary is being prepared. Showing the original description.

agentscope-ai/QwenPaw-Data158Updated Oct 20, 2026

计算各维度(组)值对指标变动的贡献度,支持可加型量值指标和加权平均型/率值指标。当需要计算贡献度、解释指标"为什么涨/跌"时调用。

The English summary is being prepared. Showing the original description.

agentscope-ai/QwenPaw-Data158Updated Oct 20, 2026

从运营周报、活动文档、对话输入或文档工具 API 中提取业务事件,与指标异常时间窗口对齐,生成有证据支撑的因果归因假设并排序。当已知指标存在异常波动、需要从外部文档证据中解释"为什么"时调用。

The English summary is being prepared. Showing the original description.

agentscope-ai/QwenPaw-Data158Updated Oct 20, 2026

对用户、产品等业务对象做分群:用波士顿矩阵法做象限分群,或用分层聚类、K-means、DBSCAN 等聚类技术分群。当需要做客群/产品分群、象限策略、画像或密度型子结构发现时调用。触发条件:当对话中出现“分群”、“分类”、“聚类”、“不同类型”、“不同场景”等体现分群分析词语时触发。

The English summary is being prepared. Showing the original description.

agentscope-ai/QwenPaw-Data158Updated Oct 20, 2026

See all skills by agentscope-ai

Report a problem with this skill