- Home
- Skills
- E-commerce
- Find Profit Leaks in Shopify Orders: Refunds, Fees & Margins
More screenshots
Works with the AI Agents you already use
Find Profit Leaks in Shopify Orders: Refunds, Fees & Margins
by AGI Tools
Find where your Shopify store loses money from exports you already download: refunds, orders that lost money after fees and shipping, items sold below cost, unpaid orders. Local, read-only.
$39
Find Profit Leaks in Shopify Orders: Refunds, Fees & Margins
Example session with this skill installed
Here are my Shopify orders export, my Shopify Payments transactions, my unit costs and my shipping label costs. Where is my store losing money?
- Read your context and instructions
- Compiled the find profit leaks
Seller profit leak report
As of 2026-11-30. 10 order(s). Generated locally from your own export.
Excerpt of a real run on the skill's invented example shop. Evidence is shown as order and export line.
Read this first
- Amounts are what your Shopify export records (gross order amounts). They are not profit: the margins below use only the costs you supplied and leave out overheads such as ads, apps and staff.
- The kinds below are never added together: a refund is money already returned, an unpaid order is owed but not guaranteed, a discount is a choice, and a risk list is not a loss. Different currencies are never added together.
- The report reads only the files you gave it. It never connects to Shopify or any other service, and it changes nothing in your shop.
- Customer names, e-mail addresses, phone numbers, addresses and notes are not read from the export.
Summary
| Finding | Kind | Total by currency |
|---|---|---|
| Refunds | Confirmed | USD 89.00 |
| Sold below your cost | Confirmed | USD 10.00 |
| Orders that lost money | Confirmed | USD 16.48 |
| Products losing money overall | Confirmed | USD 5.00 |
| Unpaid orders | Outstanding (owed now) | USD 120.00 |
| Discounts given by code | Pattern (not a loss) | EUR 90.00, USD 6.00 |
| Paid but not fulfilled | Risk list (not a loss) | EUR 90.00 |
Orders that lost money
Kind: Confirmed · Total: USD 16.48
| Amount | Detail | Evidence |
|---|---|---|
| USD 13.41 | revenue USD 45.00 - product cost USD 50.00 - fees USD 1.61 - shipping cost USD 6.80 = USD -13.41 | order #1001, line 2 |
| USD 3.07 | revenue USD 45.00 - product cost USD 40.00 - fees USD 1.87 - shipping cost USD 6.20 = USD -3.07 | order #1009, line 11 |
Products losing money overall
Kind: Confirmed · Total: USD 5.00
| Amount | Detail | Evidence |
|---|---|---|
| USD 5.00 | MUG-1: 3 unit(s) in 2 order(s), net sales USD 70.00 vs cost USD 75.00 | Lineitem rows of paid orders without a refund, and your cost file |
Margin coverage
How many orders had every cost needed for a contribution margin. Nothing missing was estimated.
| Orders | Count |
|---|---|
| Margin complete (every cost supplied) | 3 |
| Loss shown even without some costs | 0 |
| Positive so far, but costs missing: not confirmed | 1 |
| Not computed | 6 |
Connects securely to your tools. The creator never sees your data.
About this skill
Point it at the Shopify exports you already download and get one report of where your store loses money: refunds (never more than the order total), orders that sold but lost money once product cost, Shopify Payments fees and your shipping label costs are subtracted, products losing money overall, items sold below your unit cost, unpaid orders with ageing, discounts by code and paid orders left unfulfilled. Revenue excludes tax, read from each order's own totals. A missing cost is never estimated: a negative margin is a loss of at least that amount, and a positive margin with a missing cost is marked not confirmed. Every amount stays in its own currency and cites its export row; an export merged twice stops the run instead of doubling. Your files stay on your machine: no connection to Shopify, no API key, and buyer names, e-mails, phones and addresses are never loaded. Checked against Shopify's documented export columns on an invented shop, not yet on a real store's export.
- Reads the Shopify orders export (CSV) and, optionally, the Shopify Payments transactions export plus your own cost and shipping-cost files. Other platforms and other payment providers' fee files are not read.
- Checked against the column names Shopify documents for these exports, on invented example files; not yet confirmed on a real store's export. An unexpected column or value stops the run with a message.
- Only orders that are paid, not canceled and without any refund get a margin: the export does not split a refund into items, shipping and tax. Refunds are reported on their own.
- An order whose Total does not equal Subtotal + Shipping (+ Taxes), for example with tips or duties, gets no margin.
- Fees recorded in a payout currency different from the order currency are not converted and are listed as missing.
- Margins are contribution per order: ads, apps, staff and other overheads are not included. Nothing here is net profit.
- Dates are read only in YYYY-MM-DD form; other forms skip ageing with a note.
- Linux with Python 3.9 to 3.13 verified; Windows and macOS not verified. Not affiliated with or endorsed by Shopify.
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 4 days ago
- Software
Python 3.9+
Permissions
File Scopes
Reads the export files you name; writes the Markdown and optional JSON report you name; no network; starts no other process; never contacts a buyer or changes your store.
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.