AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Run your online store

Return cost calculator

Get the true cost of returns by reason and product: refunds, shipping lost and written-off stock.

Return cost calculator is a free AI skill for the job "Run your online store". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · MIT licence · Made by 40rty AI · Level: advanced

Made by 40rty AI. See the original on GitHub; we copied it as it is, with its licence.

What it does

The real cost of your returns, not only the refund amount. You see what each return reason and each product costs you in refunds, lost shipping income, written-off stock and handling time. It reads your Shopify returns for a set window, 90 days by default, and groups them by reason, product, SKU or reason and product together. Items sent back as defective are treated as a full loss at cost. Every other return gets a flat handling cost you can set, with $5 as the starting figure. It drops groups with too few returns to mean anything. It changes nothing in your store. The costs are estimates, so adjust the handling figure before using them for accounts.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can access your Shopify admin (read only).

Workflows that use it

More for Run your online store

Every run your online store skill