Skip to main content

Claude Ecom

claude-ecom

Turn order/sales CSV into a business review — KPI decomposition, prioritized findings, and concrete next actions. One command.

claude-ecom demo


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

Metadata

Release files for claude-ecom 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-ecom 0.2.0
File Size Uploaded Provenance Actions
claude_ecom-0.2.0.tar.gz 39.0 kB With provenance Details for claude_ecom-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for claude-ecom 0.2.0
File Interpreter ABI Platform Actions
claude_ecom-0.2.0-py3-none-any.whl Python 3 none any Details for claude_ecom-0.2.0-py3-none-any.whl

Total release size: 69.1 kB

Release files / claude_ecom-0.2.0.tar.gz

Download URL claude_ecom-0.2.0.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
43151d351160c4b72f71f213a2b2ddb9b0394de81d6461a1618d3d0c54c94a5a
BLAKE2b-256 checksum
How to use checksums
8c8dd71fdcbaa45917cfde517fd0ef9a28a755d27bc72c1ec789c144356c71f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.

Transparency log

Release files / claude_ecom-0.2.0-py3-none-any.whl

Download URL claude_ecom-0.2.0-py3-none-any.whl
Size 30.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99f82437c20ddc420ea7f3d6018d74fba4c8b6eea645bc1de6067a8566127b25
BLAKE2b-256 checksum
How to use checksums
a26022f45ab0eeddfe1ed736c277494578e485ef6a45a725e42dc2d4d598190b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.

Transparency log

Security for claude-ecom 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for claude_ecom-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page