Search

PythonReactSEOPDF
OpenClaw

Afrexai Margin Analysis

Margin Analysis & Profit Optimization

1kalin0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install 1kalin/afrexai-margin-analysis

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Margin Analysis & Profit Optimization

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

When to Use

  • Quarterly margin reviews
  • Pricing decisions (new product, discount approval, bundle strategy)
  • Cost structure changes (new vendor, headcount, infrastructure)
  • Board prep or investor reporting
  • Post-acquisition integration (blended margin modeling)

Framework

Step 1: Margin Stack (Top → Bottom)

Break revenue into layers. For each product/service line:

Layer Formula Healthy Range
Gross Margin (Revenue - COGS) / Revenue 60-80% (SaaS), 30-50% (services), 20-40% (manufacturing)
Contribution Margin (Revenue - Variable Costs) / Revenue 40-70%
Operating Margin EBIT / Revenue 15-30% (mature), -20-10% (growth)
Net Margin Net Income / Revenue 10-25% (healthy), varies by stage
Step 2: Margin by Segment

Split margins across:

  • Product lines — which products subsidize others?
  • Customer tiers — enterprise vs mid-market vs SMB
  • Channels — direct sales vs partner vs self-serve
  • Geography — domestic vs international (FX, compliance costs)
Step 3: Erosion Detection

Flag these patterns:

  • Gross margin declining >2% QoQ without volume increase
  • Discount frequency increasing (>30% of deals discounted)
  • Customer acquisition cost (CAC) growing faster than LTV
  • Support costs per customer rising (hidden COGS)
  • Infrastructure costs scaling faster than revenue
Step 4: Pricing Power Assessment

Score 1-5 on each:

  1. Switching costs — how hard is it to leave?
  2. Differentiation — can customers get this elsewhere?
  3. Value quantification — can you prove $ ROI?
  4. Market position — leader, challenger, or commodity?
  5. Contract structure — annual, multi-year, usage-based?

Total 20+ = strong pricing power. Below 12 = commodity risk.

Step 5: Optimiz...

Source information

Source
github
Repository
openclaw/skills
Path
skills/1kalin/afrexai-margin-analysis
Version
—
Commit
57c5fe1c3996e3d5778428069bd81b8292a7ef18
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Margin Analysis & Profit Optimization

Full-stack margin analysis framework for B2B companies. Covers gross, operating, and net margins by product line, customer segment, and channel.

What's Inside

  • 6-step margin analysis framework (stack → segment → erosion → pricing power → optimization → scenarios)
  • 2026 benchmarks across 10 industries
  • Pricing power scoring system (1-25 scale)
  • Erosion detection patterns and red flags
  • Scenario modeling templates (base/bull/bear)
  • Board-ready output template

Use Cases

  • Quarterly business reviews
  • Pricing decisions and discount approvals
  • Cost restructuring
  • Investor/board reporting
  • Post-acquisition margin integration

Get Started

Install this skill in your OpenClaw agent, then ask it to run a margin analysis on your business data.

More Resources

Extracted content

SKILL.md
# Margin Analysis & Profit Optimization

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

## When to Use
- Quarterly margin reviews
- Pricing decisions (new product, discount approval, bundle strategy)
- Cost structure changes (new vendor, headcount, infrastructure)
- Board prep or investor reporting
- Post-acquisition integration (blended margin modeling)

## Framework

### Step 1: Margin Stack (Top → Bottom)
Break revenue into layers. For each product/service line:

| Layer | Formula | Healthy Range |
|-------|---------|--------------|
| Gross Margin | (Revenue - COGS) / Revenue | 60-80% (SaaS), 30-50% (services), 20-40% (manufacturing) |
| Contribution Margin | (Revenue - Variable Costs) / Revenue | 40-70% |
| Operating Margin | EBIT / Revenue | 15-30% (mature), -20-10% (growth) |
| Net Margin | Net Income / Revenue | 10-25% (healthy), varies by stage |

### Step 2: Margin by Segment
Split margins across:
- **Product lines** — which products subsidize others?
- **Customer tiers** — enterprise vs mid-market vs SMB
- **Channels** — direct sales vs partner vs self-serve
- **Geography** — domestic vs international (FX, compliance costs)

### Step 3: Erosion Detection
Flag these patterns:
- Gross margin declining >2% QoQ without volume increase
- Discount frequency increasing (>30% of deals discounted)
- Customer acquisition cost (CAC) growing faster than LTV
- Support costs per customer rising (hidden COGS)
- Infrastructure costs scaling faster than revenue

### Step 4: Pricing Power Assessment
Score 1-5 on each:
1. **Switching costs** — how hard is it to leave?
2. **Differentiation** — can customers get this elsewhere?
3. **Value quantification** — can you prove $ ROI?
4. **Market position** — leader, challenger, or commodity?
5. **Contract structure** — annual, multi-year, usage-based?

Total 20+ = strong pricing power. Below 12 = commodity risk.

### Step 5: Optimiz...
README
# Margin Analysis & Profit Optimization

Full-stack margin analysis framework for B2B companies. Covers gross, operating, and net margins by product line, customer segment, and channel.

## What's Inside
- 6-step margin analysis framework (stack → segment → erosion → pricing power → optimization → scenarios)
- 2026 benchmarks across 10 industries
- Pricing power scoring system (1-25 scale)
- Erosion detection patterns and red flags
- Scenario modeling templates (base/bull/bear)
- Board-ready output template

## Use Cases
- Quarterly business reviews
- Pricing decisions and discount approvals
- Cost restructuring
- Investor/board reporting
- Post-acquisition margin integration

## Get Started
Install this skill in your OpenClaw agent, then ask it to run a margin analysis on your business data.

## More Resources
- [AI Revenue Leak Calculator](https://afrexai-cto.github.io/ai-revenue-calculator/) — free tool to find margin leaks
- [Industry Context Packs](https://afrexai-cto.github.io/context-packs/) — $47 each, vertical-specific benchmarks
- [Full Bundle](https://afrexai-cto.github.io/context-packs/) — All 10 packs for $197

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.