{
  "schemaVersion": "1.0",
  "item": {
    "slug": "afrexai-margin-analysis",
    "name": "Margin Analysis & Profit Optimization",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/1kalin/afrexai-margin-analysis",
    "canonicalUrl": "https://clawhub.ai/1kalin/afrexai-margin-analysis",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/afrexai-margin-analysis",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-margin-analysis",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/afrexai-margin-analysis"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/afrexai-margin-analysis",
    "agentPageUrl": "https://openagent3.xyz/skills/afrexai-margin-analysis/agent",
    "manifestUrl": "https://openagent3.xyz/skills/afrexai-margin-analysis/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/afrexai-margin-analysis/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Margin Analysis & Profit Optimization",
        "body": "Analyze gross, operating, and net margins by product line, customer segment, and channel. Identify margin erosion patterns and build pricing power."
      },
      {
        "title": "When to Use",
        "body": "Quarterly margin reviews\nPricing decisions (new product, discount approval, bundle strategy)\nCost structure changes (new vendor, headcount, infrastructure)\nBoard prep or investor reporting\nPost-acquisition integration (blended margin modeling)"
      },
      {
        "title": "Step 1: Margin Stack (Top → Bottom)",
        "body": "Break revenue into layers. For each product/service line:\n\nLayerFormulaHealthy RangeGross Margin(Revenue - COGS) / Revenue60-80% (SaaS), 30-50% (services), 20-40% (manufacturing)Contribution Margin(Revenue - Variable Costs) / Revenue40-70%Operating MarginEBIT / Revenue15-30% (mature), -20-10% (growth)Net MarginNet Income / Revenue10-25% (healthy), varies by stage"
      },
      {
        "title": "Step 2: Margin by Segment",
        "body": "Split margins across:\n\nProduct lines — which products subsidize others?\nCustomer tiers — enterprise vs mid-market vs SMB\nChannels — direct sales vs partner vs self-serve\nGeography — domestic vs international (FX, compliance costs)"
      },
      {
        "title": "Step 3: Erosion Detection",
        "body": "Flag these patterns:\n\nGross margin declining >2% QoQ without volume increase\nDiscount frequency increasing (>30% of deals discounted)\nCustomer acquisition cost (CAC) growing faster than LTV\nSupport costs per customer rising (hidden COGS)\nInfrastructure costs scaling faster than revenue"
      },
      {
        "title": "Step 4: Pricing Power Assessment",
        "body": "Score 1-5 on each:\n\nSwitching costs — how hard is it to leave?\nDifferentiation — can customers get this elsewhere?\nValue quantification — can you prove $ ROI?\nMarket position — leader, challenger, or commodity?\nContract structure — annual, multi-year, usage-based?\n\nTotal 20+ = strong pricing power. Below 12 = commodity risk."
      },
      {
        "title": "Step 5: Optimization Levers",
        "body": "Revenue side:\n\nPrice increase (1% price increase = 8-12% profit increase for most businesses)\nUpsell/cross-sell (expansion revenue at near-zero marginal cost)\nUsage-based pricing tiers (capture value from power users)\nAnnual prepay discounts (improve cash flow, lock retention)\n\nCost side:\n\nVendor renegotiation (benchmark against 3+ alternatives)\nInfrastructure right-sizing (cloud cost audits save 20-40%)\nAutomation of manual processes (support, onboarding, billing)\nHeadcount-to-revenue ratio optimization"
      },
      {
        "title": "Step 6: Scenario Modeling",
        "body": "Build three scenarios for next 4 quarters:\n\nScenarioRevenue GrowthMargin ChangeActionBaseCurrent trajectoryFlatMaintainBull+20% growth+3-5% marginInvest in scalingBear-10% decline-5-8% marginCut to protect cash\n\nFor each: model cash runway, breakeven timeline, and hiring capacity."
      },
      {
        "title": "2026 Benchmarks by Industry",
        "body": "IndustryGross MarginOperating MarginNet MarginSaaS (B2B)70-85%15-30%10-25%Professional Services50-70%15-25%10-20%Fintech60-75%10-25%8-20%Healthcare Tech55-70%10-20%5-15%Manufacturing25-45%8-15%5-12%E-commerce30-50%5-15%3-10%Construction Tech35-55%10-20%5-12%Legal Tech65-80%20-35%15-25%Real Estate Tech40-60%10-20%5-15%Recruitment Tech55-70%12-22%8-18%"
      },
      {
        "title": "Red Flags",
        "body": "Gross margin below industry median for 2+ quarters\nNegative contribution margin on any product (you're paying customers to use it)\nOperating margin declining while revenue grows (scaling inefficiency)\nNet margin negative with no clear path to breakeven\nCustomer concentration >30% of revenue from top 3 accounts"
      },
      {
        "title": "Output Template",
        "body": "MARGIN ANALYSIS — [Company/Division] — [Period]\n\nRevenue: $X | Gross Margin: X% | Operating Margin: X% | Net Margin: X%\nQoQ Trend: [improving/flat/declining]\nvs Industry Benchmark: [above/at/below] by X%\n\nTOP 3 FINDINGS:\n1. [Finding + $ impact]\n2. [Finding + $ impact]\n3. [Finding + $ impact]\n\nRECOMMENDATIONS:\n1. [Action] → Expected margin impact: +X%\n2. [Action] → Expected margin impact: +X%\n3. [Action] → Expected margin impact: +X%\n\n90-DAY PRIORITY: [Single highest-leverage action]"
      },
      {
        "title": "Resources",
        "body": "AI Revenue Leak Calculator — find where margins are eroding\nIndustry Context Packs ($47) — vertical-specific margin benchmarks and optimization playbooks\nAgent Setup Wizard — automate margin monitoring with AI agents"
      }
    ],
    "body": "Margin Analysis & Profit Optimization\n\nAnalyze gross, operating, and net margins by product line, customer segment, and channel. Identify margin erosion patterns and build pricing power.\n\nWhen to Use\nQuarterly margin reviews\nPricing decisions (new product, discount approval, bundle strategy)\nCost structure changes (new vendor, headcount, infrastructure)\nBoard prep or investor reporting\nPost-acquisition integration (blended margin modeling)\nFramework\nStep 1: Margin Stack (Top → Bottom)\n\nBreak revenue into layers. For each product/service line:\n\nLayer\tFormula\tHealthy Range\nGross Margin\t(Revenue - COGS) / Revenue\t60-80% (SaaS), 30-50% (services), 20-40% (manufacturing)\nContribution Margin\t(Revenue - Variable Costs) / Revenue\t40-70%\nOperating Margin\tEBIT / Revenue\t15-30% (mature), -20-10% (growth)\nNet Margin\tNet Income / Revenue\t10-25% (healthy), varies by stage\nStep 2: Margin by Segment\n\nSplit margins across:\n\nProduct lines — which products subsidize others?\nCustomer tiers — enterprise vs mid-market vs SMB\nChannels — direct sales vs partner vs self-serve\nGeography — domestic vs international (FX, compliance costs)\nStep 3: Erosion Detection\n\nFlag these patterns:\n\nGross margin declining >2% QoQ without volume increase\nDiscount frequency increasing (>30% of deals discounted)\nCustomer acquisition cost (CAC) growing faster than LTV\nSupport costs per customer rising (hidden COGS)\nInfrastructure costs scaling faster than revenue\nStep 4: Pricing Power Assessment\n\nScore 1-5 on each:\n\nSwitching costs — how hard is it to leave?\nDifferentiation — can customers get this elsewhere?\nValue quantification — can you prove $ ROI?\nMarket position — leader, challenger, or commodity?\nContract structure — annual, multi-year, usage-based?\n\nTotal 20+ = strong pricing power. Below 12 = commodity risk.\n\nStep 5: Optimization Levers\n\nRevenue side:\n\nPrice increase (1% price increase = 8-12% profit increase for most businesses)\nUpsell/cross-sell (expansion revenue at near-zero marginal cost)\nUsage-based pricing tiers (capture value from power users)\nAnnual prepay discounts (improve cash flow, lock retention)\n\nCost side:\n\nVendor renegotiation (benchmark against 3+ alternatives)\nInfrastructure right-sizing (cloud cost audits save 20-40%)\nAutomation of manual processes (support, onboarding, billing)\nHeadcount-to-revenue ratio optimization\nStep 6: Scenario Modeling\n\nBuild three scenarios for next 4 quarters:\n\nScenario\tRevenue Growth\tMargin Change\tAction\nBase\tCurrent trajectory\tFlat\tMaintain\nBull\t+20% growth\t+3-5% margin\tInvest in scaling\nBear\t-10% decline\t-5-8% margin\tCut to protect cash\n\nFor each: model cash runway, breakeven timeline, and hiring capacity.\n\n2026 Benchmarks by Industry\nIndustry\tGross Margin\tOperating Margin\tNet Margin\nSaaS (B2B)\t70-85%\t15-30%\t10-25%\nProfessional Services\t50-70%\t15-25%\t10-20%\nFintech\t60-75%\t10-25%\t8-20%\nHealthcare Tech\t55-70%\t10-20%\t5-15%\nManufacturing\t25-45%\t8-15%\t5-12%\nE-commerce\t30-50%\t5-15%\t3-10%\nConstruction Tech\t35-55%\t10-20%\t5-12%\nLegal Tech\t65-80%\t20-35%\t15-25%\nReal Estate Tech\t40-60%\t10-20%\t5-15%\nRecruitment Tech\t55-70%\t12-22%\t8-18%\nRed Flags\nGross margin below industry median for 2+ quarters\nNegative contribution margin on any product (you're paying customers to use it)\nOperating margin declining while revenue grows (scaling inefficiency)\nNet margin negative with no clear path to breakeven\nCustomer concentration >30% of revenue from top 3 accounts\nOutput Template\nMARGIN ANALYSIS — [Company/Division] — [Period]\n\nRevenue: $X | Gross Margin: X% | Operating Margin: X% | Net Margin: X%\nQoQ Trend: [improving/flat/declining]\nvs Industry Benchmark: [above/at/below] by X%\n\nTOP 3 FINDINGS:\n1. [Finding + $ impact]\n2. [Finding + $ impact]\n3. [Finding + $ impact]\n\nRECOMMENDATIONS:\n1. [Action] → Expected margin impact: +X%\n2. [Action] → Expected margin impact: +X%\n3. [Action] → Expected margin impact: +X%\n\n90-DAY PRIORITY: [Single highest-leverage action]\n\nResources\nAI Revenue Leak Calculator — find where margins are eroding\nIndustry Context Packs ($47) — vertical-specific margin benchmarks and optimization playbooks\nAgent Setup Wizard — automate margin monitoring with AI agents"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/1kalin/afrexai-margin-analysis",
    "publisherUrl": "https://clawhub.ai/1kalin/afrexai-margin-analysis",
    "owner": "1kalin",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/afrexai-margin-analysis",
    "downloadUrl": "https://openagent3.xyz/downloads/afrexai-margin-analysis",
    "agentUrl": "https://openagent3.xyz/skills/afrexai-margin-analysis/agent",
    "manifestUrl": "https://openagent3.xyz/skills/afrexai-margin-analysis/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/afrexai-margin-analysis/agent.md"
  }
}