mcpbeat Sign in

Retentioneering Product Analytics Agent Skill

> Analyze event logs, clickstreams, user paths, product funnels, retention, behavioral segments, transition graphs, step matrices, sequence patterns, and customer journeys using Retentioneering. Use when the user provides CSV, Parquet, pandas, or database event data containing user, event, and timestamp columns, or asks why users convert, churn, loop, abandon a flow, or follow particular product paths. Do not use for qualitative journey-mapping workshops or aggregate website traffic without user-level event sequences.

9k tokens
context cost
the whole folder, loaded on every use
5
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
911
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/retentioneering/retentioneering-tools --skill retentioneering-product-analytics

The instruction itself

11 sections, as written by the author

Retentioneering product analytics

Objective

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.

Bundled references (read on demand, not upfront)

| File | Read it when |

|---|---|

| references/api-map.md | before writing any Retentioneering call — verified signatures, argument conventions, return shapes for 5.x |

| references/analysis-recipes.md | after the question is clear — 10 field-tested patterns (R1–R10) with skeletons and pitfalls |

| references/gotchas-and-validation.md | before executing (API gotchas G1–G10) and before presenting (integrity checklist B1–B10) |

| scripts/inspect_event_log.py | step 2 — automated data profiling and schema suggestion |

Required event-log semantics

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.

Workflow

1. Environment

  • Confirm the package: 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.

  • Locate the event data (CSV / Parquet / frames in existing code). Never modify inputs.
  • Do not invent methods: anything not in references/api-map.md must be verified

against the installed package before use.

2. Inspect the data BEFORE choosing methods

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.

3. Frame the product question, then pick the SMALLEST recipe

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.

4. Execute reproducibly

  • Prefer a rerunnable script (or a notebook executed top-to-bottom) over ad-hoc cells.
  • Write artifacts to a dedicated output directory (artifacts/ by default).
  • Log every filtering rule and its row/path impact; never silently drop data

(integrity item B2).

  • Use sample_paths(frac=, random_state=) for stable subsamples; stochastic steps get

explicit seeds.

  • Record lineage: save 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).

5. Validate before presenting

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.

6. Interpret and deliver

Structure the final answer as:

  • Observed — numbers with denominators and n.
  • Interpretation — what it likely means.
  • Alternative explanations — selection, structure, censoring.
  • Product hypotheses — each with the metric an experiment would move.
  • Suggested next analyses / A-B tests.
  • Limitations.

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).

Other skills for the same job

different authors, same section of the catalogue
XLSX
by anthropics
vendor ×15

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas

5k tokens scripts
XLSX
by w95
×7

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

3k tokens
Raffle Winner Picker
by frostant
×5

Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.

949 tokens
Fda Database
by christophacham
×4

Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.

32k tokens scripts
Matlab
by christophacham
×4

MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing. Use when writing MATLAB/Octave scripts for linear algebra, signal processing, image processing, differential equations, optimization, statistics, or creating scientific visualizations. Also use when the user needs help with MATLAB syntax, functions, or wants to convert between MATLAB and Python code. Scripts can be executed with MATLAB or the open-source GNU Octave interpreter.

25k tokens
Umap Learn
by ComeOnOliver
×4

UMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for high-dimensional data.

14k tokens
D3 Viz
by chrisvoncsefalvay
×3

Creating interactive data visualisations using d3.js. This skill should be used when creating custom charts, graphs, network diagrams, geographic visualisations, or any complex SVG-based data visualisation that requires fine-grained control over visual elements, transitions, or interactions. Use this for bespoke visualisations beyond standard charting libraries, whether in React, Vue, Svelte, vanilla JavaScript, or any other environment.

20k tokens
Alphafold Database
by christophacham
×3

Access AlphaFold 200M+ AI-predicted protein structures. Retrieve structures by UniProt ID, download PDB/mmCIF files, analyze confidence metrics (pLDDT, PAE), for drug discovery and structural biology.

7k tokens

How to use it

Copy the folder

Take retentioneering/retentioneering-product-analytics from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.