Resource Position Analysis

v1.0.0

Analyze conversion funnel data for frontend resource positions (banners, cards, popups) from exposure, click, and business conversion dimensions. Decompose d...

0· 128·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for wuyi-ding/resource-position-analysis.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Resource Position Analysis" (wuyi-ding/resource-position-analysis) from ClawHub.
Skill page: https://clawhub.ai/wuyi-ding/resource-position-analysis
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: python3
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install resource-position-analysis

ClawHub CLI

Package manager switcher

npx clawhub@latest install resource-position-analysis
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the actual behavior: a local Python script that reads an Excel file, computes funnel decomposition, and writes a Markdown report. Declared requirement (python3) and included files (analyze.py, requirements.txt, README, templates) are consistent with the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the bundled scripts/analyze.py against a user-provided Excel file and to read the generated Markdown report. It does not instruct reading unrelated system files, environment variables, or posting results to external endpoints. The path-resolution guidance (determine SKILL.md absolute path to locate the script) is slightly brittle but not a scope creep.
Install Mechanism
There is no platform install spec (instruction-only), but the bundled analyze.py will auto-install missing dependencies by calling pip (subprocess.check_call([sys.executable, '-m', 'pip', 'install', ...])). Auto-installing from PyPI is common for Python utilities, but it does perform network installs at runtime (supply-chain risk). The install mechanism does not download arbitrary binaries or from untrusted URLs; it uses pip and the declared packages (pandas, openpyxl).
Credentials
The skill requires no environment variables, no credentials, and no config paths. The script does not read or require unrelated secrets or tokens.
Persistence & Privilege
Flags are default (always:false). The skill does not request permanent system presence or modify other skills or global agent configuration. It runs as a one-off local analysis script.
Assessment
This skill appears to do what it says: run a local Python script to analyze an Excel file and produce a Markdown report. Before running it: 1) Review scripts/analyze.py (you already have it) or run it in an isolated environment to confirm behavior. 2) Prefer running inside a virtualenv or sandbox so the script's pip installs don't affect your global Python environment. 3) Be aware the script will run pip to install pandas/openpyxl from PyPI at runtime (standard but a supply-chain consideration); if you prefer, pre-install those packages from trusted sources first. 4) Only run the script on data you trust or after confirming it won’t be sent elsewhere—there is no evidence it exfiltrates data, but exercising caution with sensitive files is prudent. If you want higher assurance, ask the publisher for provenance (source repo or homepage) or request a signed release.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📊 Clawdis
OSLinux · macOS
Binspython3
latestvk976tmtb840zqsjcnq1h27k1ch83mm6p
128downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0
Linux, macOS

资源位转化数据波动分析

对前端资源位(banner、卡片、弹窗等)的曝光→点击→业务转化漏斗进行波动归因分析,定位数据波动的主要驱动因素,输出结构化分析报告。

前置条件

  • Python 3.8+
  • 依赖会由脚本自动检测,缺失时提示安装命令

定位脚本路径

重要:分析脚本位于本 SKILL.md 同级目录的 scripts/analyze.py

运行前先确定本 SKILL.md 的绝对路径,然后拼出脚本路径:

# 假设 SKILL.md 位于 /path/to/skills/resource-position-analysis/SKILL.md
# 则脚本路径为:
SCRIPT="/path/to/skills/resource-position-analysis/scripts/analyze.py"
python3 "$SCRIPT" <excel_file> --mode <mode> [options]

常见安装位置:

  • ClawHub 安装: ./skills/resource-position-analysis/scripts/analyze.py
  • 个人技能: ~/.cursor/skills/resource-position-analysis/scripts/analyze.py

数据格式

用户需提供 Excel 文件,包含以下字段(支持中英文列名):

必需字段中文别名说明
date日期日期列
resource_position资源位/资源位名称/位置资源位标识
exposure_uv曝光UV/曝光人数曝光独立用户数
click_uv点击UV/点击人数点击独立用户数
conversion_count转化量/业务转化量/转化数业务转化绝对量

可选字段:exposure_pv, click_pv, channel, segment

分析流程

Step 1: 确认数据和对比周期

支持三种对比模式:

模式参数说明
日环比--mode dod --date YYYY-MM-DD指定日期 vs 前一天
周同比--mode wow --date YYYY-MM-DD指定日期 vs 上周同天
自定义--mode custom --base-start ... --base-end ... --compare-start ... --compare-end ...任意两段时间

Step 2: 运行分析

# 日环比
python3 "$SCRIPT" data.xlsx --mode dod --date 2026-03-25

# 周同比
python3 "$SCRIPT" data.xlsx --mode wow --date 2026-03-25

# 自定义区间
python3 "$SCRIPT" data.xlsx --mode custom \
  --base-start 2026-03-18 --base-end 2026-03-24 \
  --compare-start 2026-03-11 --compare-end 2026-03-17

# 指定资源位
python3 "$SCRIPT" data.xlsx --mode dod --date 2026-03-25 --position "头部banner,福利卡片"

# 输出到文件
python3 "$SCRIPT" data.xlsx --mode dod --date 2026-03-25 --output report.md

Step 3: 解读报告

脚本输出 Markdown 报告包含:

  1. 数据概览 — 本期/上期核心指标对比表
  2. 波动归因 — 各因素(曝光/CTR/CVR)贡献量和占比
  3. 多资源位对比 — 各资源位波动方向和主因横向对比
  4. 关键发现 — 自动识别的重要信号
  5. 后续建议 — 基于波动因素的针对性运营建议

核心方法论:连环替代法

漏斗公式:业务转化量 = 曝光UV × CTR × CVR

曝光贡献 = (Exp₁ - Exp₀) × CTR₀ × CVR₀
CTR贡献  = Exp₁ × (CTR₁ - CTR₀) × CVR₀
CVR贡献  = Exp₁ × CTR₁ × (CVR₁ - CVR₀)
贡献占比 = 贡献量 / 总变化量 × 100%

建议映射规则

主因方向建议
曝光UV下降排查流量分配策略、资源位可见性、页面改版影响
曝光UV上升关注新增流量质量,观察CTR/CVR是否同步变化
CTR下降检查素材创意、位置变化、用户疲劳度,建议AB测试
CTR上升沉淀有效素材策略,评估可复用性
CVR下降排查落地页体验、业务流程卡点、人群偏移
CVR上升分析转化提升原因,评估可规模化性

注意事项

  • 总变化量接近0(|ΔConversion| < 1)时脚本提示"波动极小,无需归因"
  • 连环替代法固定使用「曝光→CTR→CVR」替代顺序
  • 数据缺失值会被自动跳过
  • 报告模板参见 report-template.md

Comments

Loading comments...