profit-margin-analysis
БесплатноБез исполняемых скриптовНе проверенAnalyze gross and net profit margins by product, category, channel, and customer segment with cost attribution, benchmarking, and trend visualization
от finsilabs★ 69 звёзд на GitHubОб этом скилле
Profit Margin Analysis
Overview
Profit margin analysis identifies exactly where your business makes and loses money — broken down by products, categories, channels, and customer segments. A product that accounts for 40% of revenue might contribute only 10% of gross profit — or actually lose money once fulfillment, marketing, and overhead are factored in.
This skill guides you through building a clear margin hierarchy using your existing platform tools and profit analytics apps, without requiring a data warehouse.
When to Use This Skill
- When needing to identify which products, categories, or SKUs are most and least profitable
- When comparing margin performance across sales channels (website vs. Amazon vs. wholesale)
- When making pricing decisions and needing to understand the impact on margin
- When rationalizing the product catalog to eliminate low-margin SKUs
- When understanding how marketing spend affects channel-level profitability
- When benchmarking margins against industry peers or investor expectations
Core Instructions
Step 1: Establish your margin hierarchy
Before pulling any data, define the margin levels you will track. Use this waterfall consistently across all analyses:
Gross Revenue (selling price × units sold)
- Discounts & coupons applied
- Returns & refunds
= Net Revenue
- Product COGS (landed cost: purchase price + freight + duties)
= Gross Profit
Gross Margin % = Gross Profit / Net Revenue × 100
- Outbound shipping (actual label cost or estimate)
- Payment processing fees (~2.9% + $0.30 for Stripe/Shopify Payments)
- Marketplace fees (Amazon referral + FBA fees; eBay final value fees)
- Packaging materials
= Fulfillment-Adjusted Gross Profit
Fulfillment-Adjusted Margin %
- Direct marketing spend (attributed to this channel/product)
= Contribution Margin
Contribution Margin % = Contribution Margin / Net Revenue × 100
- Allocated overhead (warehouse, software, headcount allocation)
= Net Operating Profit
Net Margin %
Why contribution margin matters most for ecommerce decisions: Gross margin ignores fulfillment and marketing costs that are often the biggest swing factors. Contribution margin per unit is the number that actually governs whether it makes sense to sell more of a product or scale a channel.
Step 2: Enter cost data into your platform
Accurate margin analysis starts with accurate cost data. Enter landed cost (not just purchase price) for every product.
Shopify
- Go to Products → [Product] → Variants
- For each variant, enter the Cost per item — this should be your fully landed cost:
- Supplier invoice price per unit
- Inbound freight per unit (divide total freight by total units in the shipment)
- Customs duties per unit
- Inspection/prep fees per unit (if applicable)
- Once costs are entered, go to Analytics → Reports → Profit by product — Shopify calculates gross profit per product automatically
- Go to Analytics → Reports → Profit by channel — see gross margin by sales channel
Limitations of Shopify's built-in profit reports:
- Shows gross profit only (revenue minus COGS)
- Does not include fulfillment costs, payment fees, or marketing spend
- For full contribution margin analysis, use a profit analytics app
Recommended Shopify apps for complete margin analysis:
- BeProfit: Adds shipping cost tracking (connects to ShipStation, EasyPost), ad spend integration (Meta, Google, TikTok), and per-order contribution margin
- Lifetimely: Focuses on CLV and cohort profitability alongside contribution margin by channel
- TrueProfit: Real-time profit dashboard with all cost layers; connects to 20+ ad platforms and shipping carriers
BeProfit setup for contribution margin:
- Install BeProfit from the Shopify App Store
- Go to BeProfit → Settings → Costs — verify product costs are imported from Shopify
- Go to BeProfit → Integrations → Shipping — connect ShipStation or Shippo to pull actual label costs per order
- Go to BeProfit → Integrations → Marketing — connect Meta, Google, TikTok for ad spend allocation
- Go to BeProfit → Reports → Products — view gross margin, fulfillment-adjusted margin, and contribution margin per product
WooCommerce
- Install the Cost of Goods plugin (WooCommerce extension, $79/yr) to add a cost field to each product
- Enter landed cost per product/variant (same methodology as Shopify above)
- Metorik pulls this cost data and shows gross profit per product at Metorik → Products → Profitability
- For fulfillment cost tracking: export ShipStation or Shippo costs monthly as CSV; match to WooCommerce orders by order ID in Google Sheets or with Metorik's CSV import
BigCommerce
- Go to Products → [Product] → Pricing → Cost price — enter landed cost per product
- Go to Analytics → Merchandising → Products — view gross margin % per product with cost en
Установить profit-margin-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-cliВложенные файлы
FAQ
Что делает скилл profit-margin-analysis?
Analyze gross and net profit margins by product, category, channel, and customer segment with cost attribution, benchmarking, and trend visualization
Как установить скилл profit-margin-analysis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл profit-margin-analysis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic