Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cost-allocation-analysis

БесплатноБез исполняемых скриптовНе проверен

Allocate COGS, shipping, marketing, and overhead costs across products, channels, and orders to calculate true per-unit and per-order profitability

finsilabsот finsilabs★ 69 звёзд на GitHub

Об этом скилле

Cost Allocation Analysis

Overview

Cost allocation analysis goes beyond simple revenue minus COGS to compute the fully-loaded cost of serving each order, product, and channel. Without proper cost allocation, high-revenue products may appear profitable while actually generating negative margin once fulfillment, marketing, and allocated overhead are factored in.

This skill guides you through allocating four cost buckets — COGS, variable fulfillment costs, direct marketing spend, and shared overhead — down to the product and order level using your existing platform tools, apps, and accounting integrations.

When to Use This Skill

  • When the business needs to identify which products, SKUs, or channels are genuinely profitable after all costs
  • When building a P&L view that goes below gross margin to contribution margin and net margin
  • When evaluating channel economics — understanding that marketplace orders carry marketplace fees on top of COGS
  • When product managers need to make pricing decisions backed by fully-loaded cost data
  • When finance is building monthly management accounts and needs automated cost allocation
  • When the business is scaling and shared overhead is growing faster than revenue

Core Instructions

Step 1: Determine your platform and get your cost data

The first step is getting accurate COGS into your platform or analytics tool. Without cost data at the product level, every margin calculation will be wrong.


Shopify

Enter product costs in Shopify:

  1. Go to Products → [Product Name] → Variants
  2. Scroll to the Cost per item field in each variant
  3. Enter your landed cost (purchase price + inbound freight + duties, divided by units)
  4. Shopify uses this cost in Analytics → Profit by product (available on all plans) and in Inventory → Inventory valuation reports

View cost allocation reports in Shopify:

  • Go to Analytics → Reports → Profit by product — shows gross profit per product (revenue minus COGS)
  • Go to Analytics → Reports → Profit by channel — shows gross margin by sales channel

For more detailed cost allocation, install a profit analytics app:

  • BeProfit (Shopify App Store): Adds fulfillment cost tracking, ad spend integration, and per-order margin calculation
  • Lifetimely (Shopify App Store): Connects to ad platforms and shipping carriers to compute contribution margin per order
  • TrueProfit (Shopify App Store): Real-time profit dashboard with shipping cost tracking, ad spend allocation, and per-product P&L

BeProfit setup for full cost allocation:

  1. Install BeProfit from the Shopify App Store
  2. Go to BeProfit → Cost Settings and verify product costs (imported from Shopify's cost per item field)
  3. Connect shipping carriers under BeProfit → Integrations → Shipping — BeProfit pulls actual label costs from ShipStation, Shippo, EasyPost, or AfterShip
  4. Connect ad accounts under BeProfit → Integrations → Marketing — links Meta, Google, and TikTok spend to attributed orders
  5. Go to BeProfit → Reports → Profit per Order — see contribution margin after COGS, shipping, and marketing for every order

WooCommerce

Enter product costs in WooCommerce:

  • Use the Cost of Goods plugin (WooCommerce extension, $79/yr) to add a cost field to every product and variant
  • Alternatively, use ATUM Inventory Management (free) which includes COGS tracking

View cost allocation with Metorik:

  1. Install Metorik (connects via WooCommerce REST API)
  2. Go to Metorik → Products → Profitability — shows gross margin per product once costs are entered in WooCommerce
  3. Go to Metorik → Orders — filter by any dimension and see per-order gross profit

For fulfillment cost allocation:

  • If using ShipStation or Shippo for label generation, these tools track actual shipping costs per order; export monthly reports and reconcile against WooCommerce order totals

BigCommerce

  1. BigCommerce supports cost price at the product level: Products → [Product] → Pricing → Cost price
  2. Go to Analytics → Merchandising — shows revenue and cost of goods by product; provides gross margin % per product
  3. For advanced cost allocation, connect BigCommerce to QuickBooks Commerce (formerly TradeGecko) or use the Inventory Source app for landed cost tracking
  4. Brightpearl (available in the BigCommerce App Store) is a full retail operations platform that handles multi-channel cost allocation including fulfillment, marketplace fees, and overhead allocation

Step 2: Allocate the four cost categories

Cost Category 1: COGS (product cost)

  • Enter landed cost at the variant level in your platform (includes purchase price + inbound freight + duties)
  • Update costs whenever supplier pricing changes — use "effective date" tracking so historical orders are not affected
  • Most platforms and profit apps will pull this automatically

**Cost Category 2: Fulfillment co

Полный SKILL.md на GitHub

Установить cost-allocation-analysis в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

claude-code
cursor
gemini-cli
copilot
codex-cli

Вложенные файлы

evals/cost-allocation-schema-design/criteria.jsonevals/cost-allocation-schema-design/task.mdevals/multi-channel-p-l-waterfall-queries/criteria.jsonevals/multi-channel-p-l-waterfall-queries/task.mdevals/sku-profitability-ranking-and-validation/criteria.jsonevals/sku-profitability-ranking-and-validation/task.mdtile.json

FAQ

Что делает скилл cost-allocation-analysis?

Allocate COGS, shipping, marketing, and overhead costs across products, channels, and orders to calculate true per-unit and per-order profitability

Как установить скилл cost-allocation-analysis?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cost-allocation-analysis запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cost-allocation-analysis с