Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Fergana-Labsv1.0.0In 1 marketplace
Interactive cohort analysis dashboard — engagement retention, revenue/GP cohorts, CAC/LTV payback. Point at CSV, Excel, or a database and get live charts.
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that generates interactive cohort analysis dashboards. Point it at a CSV, Excel file, or PostgreSQL database and get live charts — engagement retention, revenue/GP cohorts, CAC/LTV payback, and more.
Built by Fergana Labs.
Note: Runs locally on your computer using Claude Code and Python. Claude Code is preferred, but another coding agent like Codex or Cursor can work as well.
Step 1: Add the Fergana Labs marketplace:
/plugin marketplace add Fergana-Labs/fergana-plugins
Step 2: Install the plugin:
/plugin install cohort-analysis@fergana-labs
Step 3: Restart Claude Code, then run the skill:
/cohort-analysis
Claude Code will walk you through connecting your data and launch the dashboard.
/cohort-analysis again with a new file or database.Claude Code has full context on how this plugin works — if you get stuck at any point, just ask it.
If you prefer to clone and run directly:
git clone https://github.com/Fergana-Labs/cohort-analysis.git
cd cohort-analysis
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app/server.py
# Open http://localhost:8000
After installing the plugin, paste one of these prompts:
For CSV/Excel files:
I want to analyze my cohort data.
Here's my data file: [filename.csv or filename.xlsx].
Please run /cohort-analysis to set it up and launch the dashboard.
For a PostgreSQL database:
I want to analyze my cohort data.
My database connection string is: postgresql://user:pass@host:port/dbname
Please run /cohort-analysis to explore my schema, set it up, and launch the dashboard.
Claude Code will:
You can run analyses for different companies or products side by side. Each time you run the skill, it asks for a profile name. Switch between profiles using the dropdown in the dashboard header.
If your data doesn't have an explicit cohort date column, the tool calculates it automatically as each customer's first appearance date, floored to the start of the month.
.csv).xlsx) — including multi-sheet workbookspostgresql://user:pass@host:port/db)Both engagement and revenue retention charts support two counting methods:
Toggle between them directly on the retention charts.
The plugin is a three-tier system: a React frontend, a FastAPI backend, and a Python data processing pipeline.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
cohort-analysis@fergana-labs is listed by fergana-labs/fergana-plugins — review the source before installing
npx claudepluginhub fergana-labs/fergana-plugins --plugin cohort-analysisPlugins from other owners that cover similar ground