Agent Skills
› Zafer-Liu/Data-Analysis-Agent
› funnel-analysis
funnel-analysis
GitHub诊断业务漏斗各环节转化率,定位主要流失点并给出优先行动建议。通过确认漏斗阶段、查询数据计算转化与流失率、细分最大流失维度,最终输出量化结论及三项优先改进措施。
Trigger Scenarios
分析用户注册到付费的转化路径
诊断电商下单流程中的流失环节
评估营销活动各阶段的漏斗效率
Install
npx skills add Zafer-Liu/Data-Analysis-Agent --skill funnel-analysis -g -y
SKILL.md
Frontmatter
{
"icon": "🔻",
"name": "funnel-analysis",
"tags": [
"mode-business",
"visualization",
"strategy"
],
"description": "诊断业务漏斗各环节转化率,定位主要流失点并给出优先行动建议(conversion 转化分析)",
"allowedTools": [
"get_schema",
"query_data",
"generate_chart"
]
}
Funnel analysis workflow
Apply this workflow to the user's request:
$ARGUMENTS
- Confirm the funnel stages, entity identifier, time field, and analysis period. Ask one concise question if a critical definition is missing.
- Inspect the schema before querying. Never invent stage names or event definitions.
- Calculate the entity count at each stage, step conversion rate, cumulative conversion rate, and loss from the preceding stage.
- Segment the largest loss by relevant dimensions such as channel, region, product, or customer cohort when the data supports it.
- Separate observed facts from hypotheses. Quantify every important claim and cite the source table or analysis result.
- End with the top three prioritized actions, their expected mechanism, and the metric that should be monitored.
Prefer a funnel chart or a compact stage-by-stage table. If stage ordering is ambiguous, do not guess—ask the user.
Tool routing
- Use
get_schemato identify candidate event, stage, entity, time, and segmentation fields. - Use
query_datato compute stage counts, conversion rates, cumulative conversion, and loss by segment. - Use
generate_chartonly after the funnel table is available and the stage order is explicit. - If stage definitions or ordering are missing, ask one concise clarification before querying.
Implementation reference
- Query tool entry:
agent/tools/business/data.py::_tool_query_data - Chart tool entry:
agent/tools/business/data.py::_tool_generate_chart - Chart implementation:
Function/Charts_generation/chart_generate.py
Version History
- 87489fb Current 2026-11-02 19:30
- d6a2c3e 2026-07-24 12:12


