profit-margin-analysis

profit-margin-analysis is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 29 tokens per session (2,583 once invoked), scanned A, original, MIT.

A method for comparing how much money remains after costs are deducted from sales, across products, categories, sales channels, and customer groups.

In plain words
What is it for?
Use it to guide pricing, compare channels, review marketing spend, benchmark results, and remove products with weak or negative margins.
Why use it?
It shows which parts of a business truly make money, since high sales do not always mean high profit. It also accounts for costs such as fulfilment, marketing, and overhead.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument; mentions Codex; mentions Gemini CLI.

Good fit Use it to guide pricing, compare channels, review marketing spend, benchmark results, and remove products with weak or negative margins.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/profit-margin-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add finsilabs/awesome-ecommerce-skills --skill profit-margin-analysis
Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for profit-margin-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/profit-margin-analysis/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/profit-margin-analysis)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/profit-margin-analysis"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/profit-margin-analysis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for profit-margin-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/profit-margin-analysis"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/profit-margin-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.02583
Opus 5 $0.00015 $0.01291
Sonnet 5 $0.00006 $0.00517
Haiku 4.5 $0.00003 $0.00258

Measured 11d ago against content hash 20c87c549ec9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

profit-margin-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/data-analytics/profit-margin-analysis/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on 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 %

Read the full file on GitHub · 208 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 208 lines · 29 tokens per session scan A 20c87c549ec9

Subscribe to this mod's changes

profit-margin-analysis is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 29 tokens to every session and 2,583 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

advanced-technical-chart-analysis

Master of price action, chart patterns, and technical indicators - combining classical Wyckoff/Dow theory with modern quantitative validation for edge identificationUse when "technical analysis, chart pattern, indicator, RSI, MACD, support resistance, trend, candlestick, price a…

rondoflow/rondoflow · 60 tokens

burnd-analyze-spend

Analyze your OpenClaw API spend — total cost, cost last 7 days, top cost leaks by model and provider, and concrete steps to reduce your bill. Use when the user asks about their AI spending, costs, budget, or which models are costing the most.

garvitsurana271/burnd · 62 tokens

cash-over-profit

A business-planning method that treats available cash as a key measure alongside accounting profit.

ace3000chao/book2startup · 137 tokens

power-of-one

A financial planning tool that examines seven levers affecting cash: price, sales volume, direct costs, operating costs, customer payments, inventory, and supplier payments.

ace3000chao/book2startup · 93 tokens

3x-industry-profitability

A business benchmark that uses three times the average industry profitability as a target for companies trying to grow.

ace3000chao/book2startup · 81 tokens

unit-economics-analysis

Analyzes startup unit economics — CAC, LTV, payback period, contribution margin by segment, cohort profitability, and efficiency metrics. Use when the user mentions "CAC," "LTV / CAC ratio," "payback period," "unit economics," "customer profitability," or asks about "which customer segments are most profitable" or…

gokulb20/crewm8-cfo-skills · 82 tokens