← 返回 Skills 市场
1kalin

Margin Analysis & Profit Optimization

作者 1kalin · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
692
总下载
1
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install afrexai-margin-analysis
功能描述
Analyze and optimize margins by product, segment, and channel; detect erosion patterns; assess pricing power; and model scenarios for profit improvement.
使用说明 (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: Optimization Levers

Revenue side:

  • Price increase (1% price increase = 8-12% profit increase for most businesses)
  • Upsell/cross-sell (expansion revenue at near-zero marginal cost)
  • Usage-based pricing tiers (capture value from power users)
  • Annual prepay discounts (improve cash flow, lock retention)

Cost side:

  • Vendor renegotiation (benchmark against 3+ alternatives)
  • Infrastructure right-sizing (cloud cost audits save 20-40%)
  • Automation of manual processes (support, onboarding, billing)
  • Headcount-to-revenue ratio optimization

Step 6: Scenario Modeling

Build three scenarios for next 4 quarters:

Scenario Revenue Growth Margin Change Action
Base Current trajectory Flat Maintain
Bull +20% growth +3-5% margin Invest in scaling
Bear -10% decline -5-8% margin Cut to protect cash

For each: model cash runway, breakeven timeline, and hiring capacity.

2026 Benchmarks by Industry

Industry Gross Margin Operating Margin Net Margin
SaaS (B2B) 70-85% 15-30% 10-25%
Professional Services 50-70% 15-25% 10-20%
Fintech 60-75% 10-25% 8-20%
Healthcare Tech 55-70% 10-20% 5-15%
Manufacturing 25-45% 8-15% 5-12%
E-commerce 30-50% 5-15% 3-10%
Construction Tech 35-55% 10-20% 5-12%
Legal Tech 65-80% 20-35% 15-25%
Real Estate Tech 40-60% 10-20% 5-15%
Recruitment Tech 55-70% 12-22% 8-18%

Red Flags

  • Gross margin below industry median for 2+ quarters
  • Negative contribution margin on any product (you're paying customers to use it)
  • Operating margin declining while revenue grows (scaling inefficiency)
  • Net margin negative with no clear path to breakeven
  • Customer concentration >30% of revenue from top 3 accounts

Output Template

MARGIN ANALYSIS — [Company/Division] — [Period]

Revenue: $X | Gross Margin: X% | Operating Margin: X% | Net Margin: X%
QoQ Trend: [improving/flat/declining]
vs Industry Benchmark: [above/at/below] by X%

TOP 3 FINDINGS:
1. [Finding + $ impact]
2. [Finding + $ impact]
3. [Finding + $ impact]

RECOMMENDATIONS:
1. [Action] → Expected margin impact: +X%
2. [Action] → Expected margin impact: +X%
3. [Action] → Expected margin impact: +X%

90-DAY PRIORITY: [Single highest-leverage action]

Resources

安全使用建议
This skill appears to be a straightforward margin-analysis framework and is coherent with its description. Before installing or using it: (1) verify any external links (afrexai-cto.github.io) and avoid uploading sensitive or proprietary data to those sites until you confirm their privacy practices; (2) if the agent has web access, restrict automatic network actions so it won't send business data to third parties without your explicit consent; (3) test the skill with synthetic or redacted data first; and (4) if you see later instructions that request API keys, system files, or automated uploads to external endpoints, treat that as a red flag and re-evaluate.
功能分析
Type: OpenClaw Skill Name: afrexai-margin-analysis Version: 1.0.0 The skill bundle contains only metadata and documentation files (`_meta.json`, `SKILL.md`, `README.md`). The `SKILL.md` and `README.md` files provide a framework for margin analysis and include external links to `afrexai-cto.github.io` for additional resources. There is no executable code, no instructions for the AI agent to perform malicious actions (e.g., data exfiltration, unauthorized command execution, persistence), and no evidence of prompt injection attempts designed to subvert the agent's intended purpose for harmful ends. The external links are presented as informational resources, not as commands to be executed, and point to a GitHub Pages domain which is a common platform for project documentation.
能力评估
Purpose & Capability
Name and description match the SKILL.md content: a structured, consultant-style margin analysis and scenario modeling framework. There are no unexpected environment variables, binaries, or config paths requested that would be unrelated to the stated purpose.
Instruction Scope
Runtime instructions are narrowly focused on analyses, metrics, scoring, and reporting. They do reference external resources (afrexai-cto.github.io links including a paid 'context packs' and an 'Agent Setup Wizard') — the SKILL.md does not explicitly instruct automatic data uploads, but following those links or using an 'Agent Setup Wizard' could lead to transmitting business data to external services. Recommend caution before sending sensitive data to those external sites.
Install Mechanism
Instruction-only skill with no install spec and no code files — minimal disk/write footprint and low install risk.
Credentials
The skill declares no required environment variables, credentials, or config paths. That aligns with its role as a guidance/template skill that works from user-provided numbers.
Persistence & Privilege
Flags are default (always:false, model invocation allowed). The skill does not request permanent presence or elevated privileges and does not attempt to modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install afrexai-margin-analysis
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /afrexai-margin-analysis 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of afrexai-margin-analysis skill. - Provides a structured framework for margin analysis and profit optimization. - Breaks down margins by product, customer segment, and channel. - Includes margin erosion detection, pricing power assessment, and practical optimization levers. - Offers scenario modeling templates and 2026 industry benchmarks. - Lists red flags and provides a standardized output template for reporting. - Links to supporting calculators and vertical-specific resources.
元数据
Slug afrexai-margin-analysis
版本 1.0.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

Margin Analysis & Profit Optimization 是什么?

Analyze and optimize margins by product, segment, and channel; detect erosion patterns; assess pricing power; and model scenarios for profit improvement. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 692 次。

如何安装 Margin Analysis & Profit Optimization?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install afrexai-margin-analysis」即可一键安装,无需额外配置。

Margin Analysis & Profit Optimization 是免费的吗?

是的,Margin Analysis & Profit Optimization 完全免费(开源免费),可自由下载、安装和使用。

Margin Analysis & Profit Optimization 支持哪些平台?

Margin Analysis & Profit Optimization 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Margin Analysis & Profit Optimization?

由 1kalin(@1kalin)开发并维护,当前版本 v1.0.0。

💬 留言讨论