- Home
- Skills
- E-commerce
- E-Commerce Profit Leakage Analyzer
Works with the AI Agents you already use
E-Commerce Profit Leakage Analyzer
Most stores know their revenue but not where their margin goes.
$5
E-Commerce Profit Leakage Analyzer
Example session with this skill installed
I've exported my last two years of orders to orders.csv. Where is my store losing margin? Show me the biggest leaks and what to do about each.
- Read your context and instructions
- Compiled the e-commerce profit leakage
Summary
500 orders, €53,838 net sales,
20.28% contribution margin. Return loss is €8,023 and stock-outs cost €3,247 in lost sales.
Biggest leaks
- Clearance 35% loses money. CM is -29.0% on €1,586 net sales. Stop it or cap the discount.
- Thin promos. Holiday Event 20% earns 4.6% CM, Weekend Flash 25% earns 9.1%, Free Shipping earns 10.2%, against a 27.6% baseline.
- 8 loss-making products, including Casa Kitchen Pro and Tech Audio Pro.
- Electronics earns only 2.8% CM on €18,955 net sales.
- Fashion returns: return loss equals 33% of its net sales.
- Top return cost driver: "Changed mind" (€1,935).
- Fulfilment: 3PL is slowest at 83.8% on time.
By category
| Category | Net sales | CM % | Return rate | Return loss |
|---|---|---|---|---|
| Beauty | €9,254 | 48.5% | 1.3% | €164 |
| Fashion | €8,050 | 25.6% | 22.1% | €2,691 |
| Sports & Outdoors | €9,035 | 22.9% | 12.3% | €1,560 |
| Home & Living | €8,545 | 19.7% | 7.1% | €984 |
| Electronics | €18,955 | 2.8% | 8.0% | €2,625 |
Return reasons
| Reason | Units | Return loss |
|---|---|---|
| Changed mind | 24 | €1,935 |
| Not as described | 21 | €1,917 |
| Damaged in transit | 12 | €1,383 |
| Size or fit issue | 19 | €1,297 |
| Defective product | 6 | €1,109 |
| Arrived too late | 5 | €383 |
Next steps
Drop or cap Clearance 35%, review pricing on the loss-making products, and look at Fashion's return policy and sizing information first.
Connects securely to your tools. The creator never sees your data.
About this skill
Most stores know their revenue but not where their margin goes. This skill runs a contribution-margin analysis on your order-line data and shows exactly where profit leaks.
What it finds
- Discount leakage: campaigns that lose money or earn far less than your no-promotion baseline
- Loss-making products and weak categories
- Return costs: return rate and full return loss by category and by return reason
- Stock-outs: lost sales by product and units unfulfilled by region
- Fulfilment: on-time delivery and return loss by fulfilment model
What you get
A written report (report.md) with headline KPIs, a ranked list of the biggest leaks with a suggested action for each, and breakdown tables. Each table is also saved as CSV.
How it works
Your agent runs a Python/Pandas script on your data. Nothing leaves your machine and no API keys are needed. It works on a flat order-line CSV, or on an Excel workbook with a fact sheet and dimension sheets.
Notes
- Margin % is contribution margin divided by contribution revenue (net sales plus shipping revenue).
- Return loss already includes refunds, and lost sales never reached your P&L, so the report keeps these buckets separate rather than adding them up.
- A small sample dataset is included so you can test it first.
Requires specific columns (GrossSales, NetSales, etc.). Entities with <30 order lines are flagged as tentative. Does not support non-relational data formats.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 16 days ago
- Software
Python 3.10+pandasopenpyxl
Permissions
What's inside
Frequently Asked Questions
New in E-commerce
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.