Skip to main content

using-openretailscience

Stars12
Forks2
UpdatedJuly 31, 2026 at 05:40

Guidance for writing correct, performant retail analytics with the openretailscience Python package. Use when a task involves customer, basket, or transaction data and mentions any openretailscience analysis (RFM / HML / NLR / threshold segmentation, cross-shop Venn overlap, gain-loss switching, cohort retention, product association / market-basket, revenue-tree KPI decomposition, customer decision hierarchy, composite rank, haversine, customer-lifetime-value / Pareto-NBD / BTYD model-input prep), any of its plots (bar, line, area, scatter, histogram, waterfall, venn, heatmap, cohort, time, period-on-period, broken-timeline, price, index) or trendlines, its options/ColumnHelper configuration system, or connecting analyses to a database via Ibis. Also use whenever the user imports `openretailscience`.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
45 files
SKILL.md
readonly