Profit Margin Analyzer

Analyze and optimize profit margins across your business. Identifies margin compression, pricing opportunities, and cost levers.

3,891 stars

Best use case

Profit Margin Analyzer is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Analyze and optimize profit margins across your business. Identifies margin compression, pricing opportunities, and cost levers.

Analyze and optimize profit margins across your business. Identifies margin compression, pricing opportunities, and cost levers.

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "Profit Margin Analyzer" skill to help with this workflow task. Context: Analyze and optimize profit margins across your business. Identifies margin compression, pricing opportunities, and cost levers.

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/afrexai-profit-margin/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/1kalin/afrexai-profit-margin/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/afrexai-profit-margin/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How Profit Margin Analyzer Compares

Feature / AgentProfit Margin AnalyzerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Analyze and optimize profit margins across your business. Identifies margin compression, pricing opportunities, and cost levers.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Profit Margin Analyzer

Analyze and optimize profit margins across your business. Identifies margin compression, pricing opportunities, and cost levers.

## What This Does
- Calculates gross, operating, and net margins by product/service line
- Benchmarks against industry standards (2026 data)
- Identifies margin erosion patterns and root causes
- Generates pricing adjustment recommendations
- Models impact of cost changes on profitability

## How to Use

Tell your agent:
- "Analyze our profit margins" — gets full breakdown with benchmarks
- "Where are we losing margin?" — identifies compression points
- "Model a 5% price increase" — shows bottom-line impact

## Margin Framework

### Gross Margin Benchmarks (2026)
| Industry | Healthy | Warning | Critical |
|----------|---------|---------|----------|
| SaaS | >70% | 55-70% | <55% |
| Professional Services | >35% | 25-35% | <25% |
| Manufacturing | >25% | 15-25% | <15% |
| Ecommerce | >40% | 25-40% | <25% |
| Construction | >20% | 12-20% | <12% |
| Healthcare Services | >45% | 30-45% | <30% |
| Legal Services | >40% | 30-40% | <30% |
| Real Estate (Brokerage) | >30% | 20-30% | <20% |
| Recruitment/Staffing | >25% | 15-25% | <15% |
| Financial Services | >50% | 35-50% | <35% |

### The 1% Pricing Rule
A 1% price increase on a 10% net margin business = **12.5% profit increase**.
This is the single highest-leverage move most businesses ignore.

### Margin Erosion Checklist
1. **Scope creep** — delivering more than contracted (services firms lose 8-15% here)
2. **Discount culture** — average B2B discount is 22%, top performers keep it under 12%
3. **Underpriced legacy contracts** — review any deal older than 18 months
4. **Hidden delivery costs** — support, onboarding, custom work not in COGS
5. **Volume without leverage** — more revenue at same margins ≠ more profit if fixed costs grew
6. **Currency exposure** — international revenue without hedging
7. **Vendor cost inflation** — AWS/Azure/GCP bills creep 15-20% annually without optimization

### Pricing Power Assessment
Rate each factor 1-5:
- **Switching costs** — how painful is it for customers to leave?
- **Differentiation** — can customers get this elsewhere easily?
- **Value visibility** — do customers see/measure the value you deliver?
- **Competitive density** — how many alternatives exist?
- **Customer concentration** — does one client control >20% of revenue?

Score 20+: Strong pricing power. Raise prices 5-10% annually.
Score 15-19: Moderate. Raise selectively on new deals.
Score <15: Weak. Focus on differentiation before pricing.

### Cost Structure Analysis

#### Fixed vs Variable Ratio
| Business Type | Target Fixed % | Target Variable % |
|---------------|---------------|-------------------|
| SaaS | 70-80% | 20-30% |
| Services | 40-50% | 50-60% |
| Manufacturing | 30-40% | 60-70% |
| Marketplace | 60-70% | 30-40% |

High fixed cost = operational leverage (margins expand with scale).
High variable cost = flexibility (margins stable but limited upside).

### Contribution Margin by Product Line
For each product/service:
```
Revenue: $___
- Direct costs (COGS): $___
- Variable selling costs: $___
= Contribution margin: $___
Contribution margin %: ___%
```

Kill anything below 20% contribution margin unless it's a strategic loss leader with proven upsell path.

### Quick Wins (30-Day Margin Improvement)
1. Audit discounting — cap at 15%, require VP approval above 10%
2. Review tool/SaaS spend — cancel unused licenses (avg company wastes 25%)
3. Renegotiate top 3 vendor contracts — 5-15% savings typical at renewal
4. Implement value-based pricing on at least one product line
5. Add a premium tier — 10-20% of customers will upgrade

### 90-Day Margin Optimization Roadmap
**Month 1:** Audit — map all revenue streams, costs, margins by line
**Month 2:** Price — implement increases on weakest-margin products
**Month 3:** Cut — eliminate sub-20% contribution margin lines, renegotiate vendors

### Annual Margin Health Check
Run quarterly:
- [ ] Gross margin trend (3-quarter rolling)
- [ ] Net margin vs industry benchmark
- [ ] Customer acquisition cost payback period
- [ ] Revenue per employee trend
- [ ] Pricing power score reassessment

---

## More Resources

- **AI Revenue Leak Calculator** — Find where your business is bleeding money: https://afrexai-cto.github.io/ai-revenue-calculator/
- **Industry Context Packs** ($47 each) — Deep frameworks for your specific industry: https://afrexai-cto.github.io/context-packs/
- **Agent Setup Wizard** — Configure AI agents for your business in minutes: https://afrexai-cto.github.io/agent-setup/

### Bundle Deals
- 📘 AI Automation Playbook — $27
- 🎯 Pick Any 3 Packs — $97 (save $44)
- 📦 All 10 Industry Packs — $197 (save $273)
- 🏆 Everything Bundle — $247 (all packs + playbook + setup wizard)

Related Skills

Pricing Strategy Analyzer

3891
from openclaw/skills

Analyze and optimize pricing for any product or service. Covers value-based, cost-plus, competitive, and tiered pricing models.

Business Strategy & Growth

Portfolio Risk Analyzer

3891
from openclaw/skills

Complete investment portfolio risk management system. Analyze positions, calculate risk metrics, stress test scenarios, optimize allocations, and generate institutional-grade risk reports — all without external APIs.

Finance & Investing

Margin Analysis & Profit Optimization

3891
from openclaw/skills

Analyze gross, operating, and net margins by product line, customer segment, and channel. Identify margin erosion patterns and build pricing power.

Business Analysis

Commercial Lease Analyzer

3891
from openclaw/skills

Analyze commercial leases (office, retail, industrial, warehouse) for hidden costs, unfavorable terms, and negotiation leverage. Use when reviewing a new lease, renegotiating a renewal, or comparing multiple lease options.

Business Analysis

Franchise Operations Analyzer

3891
from openclaw/skills

Evaluate franchise opportunities and manage multi-unit operations with data-driven frameworks.

Business & Finance

Financial Due Diligence Analyzer

3891
from openclaw/skills

Run comprehensive financial due diligence on acquisition targets, investment opportunities, or partnership prospects. Built for PE firms, corporate development teams, and founders evaluating deals.

Financial Analysis & Due Diligence

Employee Retention & Turnover Risk Analyzer

3891
from openclaw/skills

Diagnose why people leave. Fix it before they do.

HR & People Analytics

Contract Analyzer

3891
from openclaw/skills

Analyzes contracts and agreements for risks, unusual terms, and missing clauses

Legal Technology & Document Automation

Churn Risk Analyzer

3891
from openclaw/skills

Identify customers most likely to churn before they leave. Uses behavioral signals, usage patterns, and engagement data to score accounts and recommend retention actions.

Workflow & Productivity

simple-tech-analyzer - 简易技术分析器

3891
from openclaw/skills

**版本**: 1.0.0

Finance & Trading

options-analyzer

3891
from openclaw/skills

📊 专业期权策略分析器 — 期权链、Greeks、IV分析、策略推荐一站式解决! 使用 yfinance 获取实时期权数据,Black-Scholes 计算 Greeks。 触发条件: 用户询问期权链、Greeks计算、IV分析、期权策略分析、策略推荐、 Iron Condor/Butterfly/Straddle/Strangle/Spread等策略、"分析期权"、 "推荐期权策略"、"看涨/看跌期权"、Delta/Gamma/Theta/Vega计算、隐含波动率。

linkedin-analyzer

3891
from openclaw/skills

Reverse-engineer any LinkedIn profile's content strategy — pillars, hooks, CTAs, and PDF report