- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add retentioneering/retentioneering-tools --skill retentioneering-product-analytics -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add retentioneering/retentioneering-tools --skill retentioneering-product-analytics -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add retentioneering/retentioneering-tools --skill retentioneering-product-analytics -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add retentioneering/retentioneering-tools --skill retentioneering-product-analytics -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/retentioneering/retentioneering-tools/tree/HEAD/.agents/skills/retentioneering-product-analytics來自發布者
Turn event-level behavioral data into a reproducible answer to a product question — why users convert, churn, loop, or abandon — using user trajectories, transitions, funnels, and behavioral segments.
Do not merely generate visualizations. Connect each output to the question, separate observation from interpretation, and never present path correlations as causal effects.
Minimum: a path identifier (user or session), an event name, a timestamp (or a reliable order column — see gotcha G2 for order-only data). Useful extras: session id, segment attributes (device, source, plan), event properties, conversion labels.
python -c "import retentioneering; print(retentioneering.__version__)".
Expect 5.x; this skill's API map is version-verified for 5.0 — on a different major
version, trust installed docstrings over the map.references/api-map.md must be verified
against the installed package before use.Run scripts/inspect_event_log.py <path> [--sep ...] (or replicate its checks inline for
in-memory frames). It profiles columns, infers the user/event/timestamp mapping, checks
timestamp parseability, duplicates, per-path ordering, path-length distribution, and
emits artifacts/data-profile.json plus a ready-to-paste Eventstream(...) schema.
Report to the user before proceeding: inferred mapping, row/user/event-type counts, covered period, and any red flags (nulls in key columns, timestamp ties, suspected bots or ultra-long paths, order-only timestamps). Confirm the mapping if inference is ambiguous.
Map the question to a recipe in references/analysis-recipes.md:
navigation structure/loops → transition graph (R1/R6) · before/after an anchor →
step matrix (R3) · ordered conversion flow → funnel (R1/R2) · what winners do
differently → diff on a funnel-stage segment (R2) · heterogeneous users → clustering
without target leakage (R5) · between two funnel levels → truncate micro-journey (R4) ·
intervention timing → time-to-outcome (R7) · cross-segment scan → segment overview (R8) ·
value of a fix → Markov what-if (R9, advanced).
Combine recipes only when each addition resolves a distinct uncertainty.
artifacts/ by default).sample_paths(frac=, random_state=) for stable subsamples; stochastic steps get
explicit seeds.processed.recipe() and the package version into
artifacts/run-metadata.json — any artifact must be regenerable from raw data via
Eventstream.from_recipe(raw_df, recipe).Work through references/gotchas-and-validation.md section B. Non-negotiables:
every percentage names its denominator; population filters are disclosed with counts;
survivorship and exposure confounds addressed; no outcome leakage into features;
small cells flagged with n; caption numbers come from headless *_data twins;
visuals agree with tables.
Structure the final answer as:
Deliverables: analysis script or executed notebook; artifacts/data-profile.json;
artifacts/metrics.csv (key tables); interactive HTML exports via
widget.export_html(..., title=, analysis=) — write analysis= captions AFTER
conclusions are final; artifacts/summary.md (mapping, filters, assumptions, versions,
findings, limitations, next steps); artifacts/run-metadata.json (versions, parameters,
seeds, recipe() lineage).
>
---name: retentioneering-product-analyticsdescription: >---# .agents/skills/retentioneering-product-analytics/SKILL.md常見問題
從發布者下載 .agents/skills/retentioneering-product-analytics/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/retentioneering/retentioneering-tools。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。