Ecom logo

Ecom

Community
takechanman1228
ecom

Ecommerce business review for D2C stores from order transaction CSVs. Runs the bundled Python engine (KPI trees, ~30 pass/watch/fail health checks, 30d/90d/365d windows), then interprets the results: either a full narrative business review written to REVIEW.md, or an inline answer to a focused question.

Overview

Publishertakechanman1228
Repositoryclaude-ecom
Skill nameecom
Stars
53
Forks
6
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by takechanman1228 on GitHub. Read the source before you install it.

Installation

Install the Ecom AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/takechanman1228/claude-ecom/tree/main/skills/ecom
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/takechanman1228/claude-ecom.git /tmp/claude-ecom
mkdir -p .claude/skills
cp -r /tmp/claude-ecom/skills/ecom .claude/skills/ecom
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ecom in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ecom on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ecom is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ecom — Ecommerce Business Review Toolkit

D2C ecommerce analytics. The bundled Python engine computes KPIs, runs health checks, and scores performance from order transaction data; you (Claude) interpret the numbers and write the human-readable report.

Key principle: Python computes the numbers. Claude interprets them. Never present raw numbers without business context.

Arguments: $ARGUMENTS (if empty, infer intent from the conversation)

Mode Selection

Arguments / intentModeOutput
empty or reviewFull Review (auto-selects periods from data)REVIEW.md
review 30d / 90d / 365dFull Review, single periodREVIEW_{PERIOD}.md
contains a natural-language questionFocused QueryInline answer, no file

Input

Order transaction CSV. Each row = one order or line item. Required columns: order ID, order date, customer ID (or email), revenue (after discounts, before tax/shipping). Optional: quantity, SKU/product, discount amount. Column names are fuzzy-matched by the loader.

If no CSV is specified, Glob for *.csv in the working directory and ask the user if multiple plausible candidates exist.

Running the Engine

The ecom CLI is on PATH while this plugin is enabled:

bash
ecom review orders.csv --output <output-dir>
ecom review orders.csv --period 90d --output <output-dir>

If ecom is not on PATH, use the bundled launcher with the same arguments: "${CLAUDE_SKILL_DIR}/../../bin/ecom". The first run bootstraps a private Python venv under ~/.local/share/claude-ecom/ and may take a minute; later runs are instant.

Output: review.json (or review_{period}.json for --period runs) in the output directory (defaults to current directory).

Workflow

Phase 1: Compute (Python)

Run the engine (add --period per Mode Selection). It computes, per available period: summary KPIs with prior-period comparison, a new-vs-returning KPI tree, revenue driver decomposition (AOV / volume / mix), and — for 365d — repeat purchase rate and a 12-month monthly_trend. It also evaluates ~30 health checks across Revenue, Customer, and Product; each returns pass / watch / fail and powers the 🟢/🟡/🔴 markers.

Phase 2: Interpret (you — Claude)

Full Review:

  1. Read review.json (see Data Rules below; full schema in review-schema.md)
  2. Read report-format.md — REQUIRED before writing; contains all section templates and Finding Quality Standards
  3. Read review-narratives.md to pick the narrative arc
  4. Load other references as needed (table below)
  5. Write REVIEW.md (or REVIEW_{PERIOD}.md) satisfying the Report Contract below

Focused Query:

  1. Read focused-query.md — REQUIRED; contains the query-to-period mapping and answer format
  2. Run the engine per that mapping, read the JSON, answer inline (10-30 lines). Do NOT write a file.

Your job is to weave trends and diagnostics into one coherent story. Period analysis tells you where things are heading; health checks tell you what's broken right now. The report combines both.

Report Contract (Full Review)

Before writing, verify the report will contain ALL sections in this exact order. Missing or reordered sections are a format violation.

  1. Executive Summary — narrative blockquote (4-6 lines) + Scoreboard table
  2. 30d Pulse section (if data available) — KPI tree + max 1 finding
  3. 90d Momentum section (if data available) — KPI tree + drivers + max 2 findings
  4. 365d Structure section (if data available) — KPI tree + drivers + max 3 findings
  5. Action Plan — max 5 items grouped by time horizon + Guardrails (REQUIRED)
  6. Data Notes — 2-4 lines

Hard rules:

  • Target ~150 lines total; 5-7 findings max across all periods; never repeat a finding across periods
  • Sections in this order; do NOT reorganize by theme; no standalone "What's Working Well" / "Issues to Address" sections — positive signals live in the Executive Summary and KPI tree markers
  • Every period section uses the KPI tree format with 🟢/🟡/🔴 markers
  • Every finding follows What is → Why it matters → What to do (quantitative fact → data-backed tension → direction; "consider", "improve", "optimize", "explore" are banned)
  • Action Plan is the single source of truth for deadlines and success metrics, and ends with Guardrails (2-3 must-not-deteriorate metrics)

Templates, examples, and the full quality standards are in report-format.md.

Reference Files

Load on-demand — do NOT load all at startup. Paths are relative to this skill's directory.

FileWhen to load
report-format.mdEvery Full Review, before writing
review-narratives.mdEvery Full Review — narrative arc by health level and trajectory
focused-query.mdEvery Focused Query
review-schema.mdWhen review.json semantics are unclear
finding-clusters.mdFull Review — to group related issues into themes
recommended-actions.mdWhen turning watch/fail checks into actions
impact-formulas.mdWhen estimating revenue impact
health-checks.mdWhen a check's definition/threshold is unclear
benchmarks.mdWhen comparing KPIs to D2C benchmarks

Data Rules

  • review.json only. All numbers MUST come from review.json or be derived from its values. Never reference external sources (Shopify Analytics, GA, ...). Recommending an external investigation as an action is allowed; quoting numbers from one is not.
  • periods contains only the periods listed true in data_coverage; all _change fields are proportional vs the prior period (0.08 = +8%).
  • health.top_issues is the pre-sorted subset of failing checks; action_candidates are Python's suggestions — refine and rewrite them in business language, never copy verbatim.
  • Never expose internal check IDs or check counts in the report.
  • When data_quality is non-empty, mention relevant warnings in Data Notes, and do not present partial-month MoM as real performance signals.

Incomplete Data

  • Omit what you can't measure. No N/A, no empty sections, no apologies.
  • Shorter data = shorter report. Gaps are noted in Data Notes only.

Language

Write the entire report (including Data Notes) in ONE language — match the user's prompt/store language.

Quality Gates

  • Never present numbers without interpretation — always explain why
  • Business language, not jargon; explain terms on first use
  • Connect related findings into systemic patterns
  • 80/20 rule: ~80% confirmation (builds trust), ~20% surprise (drives action)
  • No numeric scores, letter grades, or percentage health ratings — pass/watch/fail signals only

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ecom AI skill do?

Ecommerce business review for D2C stores from order transaction CSVs. Runs the bundled Python engine (KPI trees, ~30 pass/watch/fail health checks, 30d/90d/365d windows), then interprets the results: either a full narrative business review written to REVIEW.md, or an inline answer to a focused question.

Why use Ecom on TypingMind?

Because you install it once and use it with any model. Ecom is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ecom in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/takechanman1228/claude-ecom/tree/main/skills/ecom. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ecom?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ecom?

As many as you like. As long as a model supports skills, you can use Ecom with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ecom AI skill free?

Yes. It is published on GitHub by takechanman1228 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇