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.
npx skills add finsilabs/awesome-ecommerce-skills --skill profit-margin-analysisgit clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skillsWrote 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.
[](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/profit-margin-analysis)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 %
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/cost-attribution-methodology/criteria.json 2.6 KB
- evals/cost-attribution-methodology/task.md 2.9 KB
- evals/margin-analysis-and-improvement/criteria.json 3.1 KB
- evals/margin-analysis-and-improvement/task.md 14 KB
- evals/margin-data-model-schema/criteria.json 2.5 KB
- evals/margin-data-model-schema/task.md 1.7 KB
- tile.json 315 B
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.
- 11d ago First seen · 208 lines · 29 tokens per session scan A 20c87c549ec9
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.
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…
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.
cash-over-profit
A business-planning method that treats available cash as a key measure alongside accounting profit.
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.
3x-industry-profitability
A business benchmark that uses three times the average industry profitability as a target for companies trying to grow.
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…