Works with the AI Agents you already use

    E-Commerce Profit Leakage Analyzer

    by Samuel Sholademi

    1

    Most stores know their revenue but not where their margin goes.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    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

    1. Clearance 35% loses money. CM is -29.0% on €1,586 net sales. Stop it or cap the discount.
    2. 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.
    3. 8 loss-making products, including Casa Kitchen Pro and Tech Audio Pro.
    4. Electronics earns only 2.8% CM on €18,955 net sales.
    5. Fashion returns: return loss equals 33% of its net sales.
    6. Top return cost driver: "Changed mind" (€1,935).
    7. Fulfilment: 3PL is slowest at 83.8% on time.

    By category

    CategoryNet salesCM %Return rateReturn loss
    Beauty€9,25448.5%1.3%€164
    Fashion€8,05025.6%22.1%€2,691
    Sports & Outdoors€9,03522.9%12.3%€1,560
    Home & Living€8,54519.7%7.1%€984
    Electronics€18,9552.8%8.0%€2,625

    Return reasons

    ReasonUnitsReturn loss
    Changed mind24€1,935
    Not as described21€1,917
    Damaged in transit12€1,383
    Size or fit issue19€1,297
    Defective product6€1,109
    Arrived too late5€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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Listed16 days ago

    What's inside

    Frequently Asked Questions

    The skill requires an order-line export in CSV or XLSX format containing columns for gross/net sales, discounts, and fulfillment costs to accurately calculate margin leakage.

    Unlike standard AI prompts, this skill uses a specialized Python-based engine to ensure financial calculations like contribution-margin and stock-out velocity are mathematically accurate and not 'hallucinated.'

    Upon purchase, you receive the production-ready script, data mapping documentation, and a guide on how to integrate it with your preferred AI agent or Python environment.

    The skill includes a 'Data Mapping' step that automatically recognizes and joins common e-commerce headers, though we recommend a minimum of 30 order lines for statistically significant results.

    Yes, this skill is designed to run locally using Python and Pandas, ensuring your sensitive financial and customer order data remains within your controlled environment.

    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.