Claude-powered ecommerce business review toolkit — run /ecom review to get a full-store business review with prioritized fixes
Project description
claude-ecom
Turn order/sales CSV into a business review — KPI decomposition, prioritized findings, and concrete next actions. One command.
Who This Is For
- Data Analysts / Marketers who write monthly business reviews from scratch every time
- D2C brand owners, retail managers, or ecommerce managers without an analyst on staff
- Anyone who knows revenue dropped but can't explain why
Quick Start
Install as a Claude Code plugin:
/plugin marketplace add takechanman1228/claude-ecom
/plugin install claude-ecom@claude-ecom
Then drop your orders CSV into the project and run:
/claude-ecom:ecom review
The Python backend installs itself into a private venv
(~/.local/share/claude-ecom/) on session start and survives plugin
updates. Requires: Claude Code, Python 3.10+
CLI only (no Claude Code)
The compute engine works standalone — it generates review.json and a
basic report, without the narrative layer:
pip install claude-ecom
ecom review orders.csv
Migrating from v0.1.x (curl installer)
Versions up to 0.1.3 installed via install.sh into ~/.claude/skills/ecom.
That copy will conflict with the plugin (duplicate skills). Remove it:
rm -rf ~/.claude/skills/ecom
What You Get
A single REVIEW.md that reads like a consultant wrote it:
# Business Review
> Revenue reached $9.37M for the year, essentially flat YoY (-1.7%), despite strong
> short-term momentum — the last 90 days surged 84% and November posted +28.5%,
> both driven by Q4 seasonal demand rather than structural growth. The flat annual...
30d Pulse 90d Momentum 365d Structure
Revenue $1.47M (+ 28%) $3.73M (+ 84%) $9.37M (= -2%)
Orders 3,499 (+ 26%) 8,814 (+ 60%) 24,812 (- 11%)
AOV $419 (+ 2%) $424 (+ 15%) $378 (+ 10%)
Customers 1,676 (+ 11%) 2,918 (+ 51%) 4,296 (= flat)
...
Revenue $9.37M (YoY: -1.7%)
├── 🔴 New Customer Revenue $1.45M (15.5%)
│ ├── New Customers: 1,559 (-57.8%)
│ └── New Customer AOV: $305
└── 🟢 Existing Customer Revenue $7.92M (84.5%)
├── Returning Customers: 2,737 (+345%)
├── Returning AOV: $395
└── Repeat Purchase Rate: 75.4%
Executive summary → Multi-horizon dashboard → KPI trees with 🔴/🟢 signals → Findings with "what / why / what to do" → Prioritized action plan with deadlines, success metrics, and guardrails. See a full example output →
Commands
| Command | Description |
|---|---|
/claude-ecom:ecom review |
Full business review — auto-selects 30d / 90d / 365d |
/claude-ecom:ecom review 30d / 90d / 365d |
Focus on a specific period |
/claude-ecom:ecom review How's retention? |
Ask a question instead of a full report |
You can also just ask in plain language — "review my store", "how was last month?" — and Claude invokes the skill automatically.
Input
Any e-commerce/retail orders CSV works.
Required columns: order ID, order date, customer ID or email, revenue (after discounts, before tax/shipping). Optional (enables deeper analysis): quantity, SKU or product name, discount amount. In many cases, column names don't need to match exactly.
How It Works
Orders CSV → Python engine → review.json → Claude → REVIEW.md
Python computes every KPI and runs health checks. Claude reads the structured output and writes the business narrative. Numbers are precise because Python owns them. Interpretation is sharp because Claude owns that.
Example
Tested on Online Retail II (UCI, CC BY 4.0) — a real UK retailer with ~1M transactions over 2 years.
See the full report → | Try it yourself →
Roadmap
- Shopify API integration (skip CSV export)
- Weekly digest mode
- Multi-store comparison
Acknowledgements
Inspired by claude-ads by @AgriciDaniel.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_ecom-0.2.0.tar.gz.
File metadata
- Download URL: claude_ecom-0.2.0.tar.gz
- Upload date:
- Size: 39.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43151d351160c4b72f71f213a2b2ddb9b0394de81d6461a1618d3d0c54c94a5a
|
|
| MD5 |
2aea1973536392528a546251659a9816
|
|
| BLAKE2b-256 |
8c8dd71fdcbaa45917cfde517fd0ef9a28a755d27bc72c1ec789c144356c71f2
|
Provenance
The following attestation bundles were made for claude_ecom-0.2.0.tar.gz:
Publisher:
publish.yml on takechanman1228/claude-ecom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_ecom-0.2.0.tar.gz -
Subject digest:
43151d351160c4b72f71f213a2b2ddb9b0394de81d6461a1618d3d0c54c94a5a - Sigstore transparency entry: 1792303659
- Sigstore integration time:
-
Permalink:
takechanman1228/claude-ecom@d645b3b4887b5c8115a7a9f815eafb26ca13818c -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/takechanman1228
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d645b3b4887b5c8115a7a9f815eafb26ca13818c -
Trigger Event:
push
-
Statement type:
File details
Details for the file claude_ecom-0.2.0-py3-none-any.whl.
File metadata
- Download URL: claude_ecom-0.2.0-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99f82437c20ddc420ea7f3d6018d74fba4c8b6eea645bc1de6067a8566127b25
|
|
| MD5 |
8a723450b325b71188ed2a49356d6d2e
|
|
| BLAKE2b-256 |
a26022f45ab0eeddfe1ed736c277494578e485ef6a45a725e42dc2d4d598190b
|
Provenance
The following attestation bundles were made for claude_ecom-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on takechanman1228/claude-ecom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_ecom-0.2.0-py3-none-any.whl -
Subject digest:
99f82437c20ddc420ea7f3d6018d74fba4c8b6eea645bc1de6067a8566127b25 - Sigstore transparency entry: 1792303816
- Sigstore integration time:
-
Permalink:
takechanman1228/claude-ecom@d645b3b4887b5c8115a7a9f815eafb26ca13818c -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/takechanman1228
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d645b3b4887b5c8115a7a9f815eafb26ca13818c -
Trigger Event:
push
-
Statement type: