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★ 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:
- Go to Products → [Product Name] → Variants
- Scroll to the Cost per item field in each variant
- Enter your landed cost (purchase price + inbound freight + duties, divided by units)
- 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:
- Install BeProfit from the Shopify App Store
- Go to BeProfit → Cost Settings and verify product costs (imported from Shopify's cost per item field)
- Connect shipping carriers under BeProfit → Integrations → Shipping — BeProfit pulls actual label costs from ShipStation, Shippo, EasyPost, or AfterShip
- Connect ad accounts under BeProfit → Integrations → Marketing — links Meta, Google, and TikTok spend to attributed orders
- 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:
- Install Metorik (connects via WooCommerce REST API)
- Go to Metorik → Products → Profitability — shows gross margin per product once costs are entered in WooCommerce
- 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
- BigCommerce supports cost price at the product level: Products → [Product] → Pricing → Cost price
- Go to Analytics → Merchandising — shows revenue and cost of goods by product; provides gross margin % per product
- For advanced cost allocation, connect BigCommerce to QuickBooks Commerce (formerly TradeGecko) or use the Inventory Source app for landed cost tracking
- 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
Установить cost-allocation-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-cliВложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
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