Shopify Admin Profit Margin Calculator
Read-only: calculates true net profit per order and per product by factoring in COGS, shipping costs, transaction fees, discounts, refunds, and taxes.
Install
/plugin marketplace add 40RTY-ai/shopify-admin-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-profit-margin-calculatorgit clone --depth 1 https://github.com/40RTY-ai/shopify-admin-skills.git /tmp/shopify-admin-skills
mkdir -p ~/.claude/skills
cp -r /tmp/shopify-admin-skills/skills/finance/shopify-admin-profit-margin-calculator ~/.claude/skills/shopify-admin-profit-margin-calculatorPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
## Purpose Calculates true net profit and margin at both order-level and product-level granularity. Unlike basic revenue reports, this skill deducts all cost components — COGS (from inventoryItem.unitCost), shipping costs, transaction/payment processing fees, applied discounts, refund amounts, and duties/taxes — to surface actual margin percentages. Read-only — no mutations. ## Prerequisites - Authenticated Shopify CLI session: `shopify store auth --store <domain> --scopes read_orders,read_products,read_inventory` - API scopes: `read_orders`, `read_products`, `read_inventory` - For accurate results, products should have `inventoryItem.unitCost` populated ## Parameters | Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | store | string | yes | — | Store domain (e.g., mystore.myshopify.com) | | days_back | integer | no | 30 | Lookback window for orders | | group_by | string | no | order | Grouping: `order`, `product`, or `variant` | | min_orders | integer | no | 1 | Minimum orders for a product to appear (product/variant mode) | | include_refunded | boolean | no | true | Include fully refunded orders in calculation | | format | string | no | human | Output format: `human` or `json` | ## Safety > ℹ️ Read-only skill — no mutations are executed. Safe to run at any time. ## Workflow Steps 1. **OPERATION:** `orders` — query
Details
- Skill name
shopify-admin-profit-margin-calculator- Repository
- 40RTY-ai/shopify-admin-skills
- Path
skills/finance/shopify-admin-profit-margin-calculator/SKILL.md- License
- MIT
- Repo updated
- 26 October 2026
FAQ
What does the Shopify Admin Profit Margin Calculator skill do?
Read-only: calculates true net profit per order and per product by factoring in COGS, shipping costs, transaction fees, discounts, refunds, and taxes.
How do I install the Shopify Admin Profit Margin Calculator skill?
Claude Code plugin: /plugin marketplace add 40RTY-ai/shopify-admin-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Shopify Admin Profit Margin Calculator popular?
It lives in 40RTY-ai/shopify-admin-skills, which has 204 GitHub stars and 23 forks.
Related skills
Shopify Admin Abandoned Cart Recovery
20440RTY-ai/shopify-admin-skills
Query checkouts abandoned in the last N days, generate unique discount codes per customer, and tag them for re-engagement.
Shopify Admin Address Correction
20440RTY-ai/shopify-admin-skills
Update the shipping address on an unfulfilled order before it ships.
Shopify Admin Agentic Crawler Access
20440RTY-ai/shopify-admin-skills
Edit the theme's robots.txt.liquid to explicitly allow AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, OAI-SearchBot, Amazonbot) so AI assistants are permitted to read the catalog.
Shopify Admin Promo Code Bulk Generator
20440RTY-ai/shopify-admin-skills
Bulk-creates a batch of unique discount codes for campaigns, giveaways, or partner distributions — each code is its own DiscountCodeBasic with single-use limit by default.
Shopify Admin Product Tag Bulk Update
20440RTY-ai/shopify-admin-skills
Add or remove tags on all products matching a collection, existing tag, or search query — for campaign setup, teardown, or catalog organization.
Shopify Admin Publication Channel Audit
20440RTY-ai/shopify-admin-skills
Read-only: shows which products are published to which sales channels and flags unpublished active products.
Browse the most popular Claude skills, all marketing, sales & business skills, or write your own with the skills generator.