[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76XGDAP6HJ6C67YMSZF8Y5Y":3,"skill-same:01M76XGDAP6HJ6C67YMSZF8Y5Y":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M76XGDAP6HJ6C67YMSZF8Y5Y","afrexai-margin-analysis",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fa\u002Fafrexai-margin-analysis\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"# 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\n## When to Use\n- Quarterly margin reviews\n- Pricing decisions (new product, discount approval, bundle strategy)\n- Cost structure changes (new vendor, headcount, infrastructure)\n- Board prep or investor reporting\n- Post-acquisition integration (blended margin modeling)\n\n## Framework\n\n### Step 1: Margin Stack (Top → Bottom)\nBreak revenue into layers. For each product\u002Fservice line:\n\n| Layer | Formula | Healthy Range |\n|-------|---------|--------------|\n| Gross Margin | (Revenue - COGS) \u002F Revenue | 60-80% (SaaS), 30-50% (services), 20-40% (manufacturing) |\n| Contribution Margin | (Revenue - Variable Costs) \u002F Revenue | 40-70% |\n| Operating Margin | EBIT \u002F Revenue | 15-30% (mature), -20-10% (growth) |\n| Net Margin | Net Income \u002F Revenue | 10-25% (healthy), varies by stage |\n\n### Step 2: Margin by Segment\nSplit margins across:\n- **Product lines** — which products subsidize others?\n- **Customer tiers** — enterprise vs mid-market vs SMB\n- **Channels** — direct sales vs partner vs self-serve\n- **Geography** — domestic vs international (FX, compliance costs)\n\n### Step 3: Erosion Detection\nFlag these patterns:\n- Gross margin declining >2% QoQ without volume increase\n- Discount frequency increasing (>30% of deals discounted)\n- Customer acquisition cost (CAC) growing faster than LTV\n- Support costs per customer rising (hidden COGS)\n- Infrastructure costs scaling faster than revenue\n\n### Step 4: Pricing Power Assessment\nScore 1-5 on each:\n1. **Switching costs** — how hard is it to leave?\n2. **Differentiation** — can customers get this elsewhere?\n3. **Value quantification** — can you prove $ ROI?\n4. **Market position** — leader, challenger, or commodity?\n5. **Contract structure** — annual, multi-year, usage-based?\n\nTotal 20+ = strong pricing power. Below 12 = commodity risk.\n\n### Step 5: Optimization Levers\n\n**Revenue side:**\n- Price increase (1% price increase = 8-12% profit increase for most businesses)\n- Upsell\u002Fcross-sell (expansion revenue at near-zero marginal cost)\n- Usage-based pricing tiers (capture value from power users)\n- Annual prepay discounts (improve cash flow, lock retention)\n\n**Cost side:**\n- Vendor renegotiation (benchmark against 3+ alternatives)\n- Infrastructure right-sizing (cloud cost audits save 20-40%)\n- Automation of manual processes (support, onboarding, billing)\n- Headcount-to-revenue ratio optimization\n\n### Step 6: Scenario Modeling\nBuild three scenarios for next 4 quarters:\n\n| Scenario | Revenue Growth | Margin Change | Action |\n|----------|---------------|---------------|--------|\n| Base | Current trajectory | Flat | Maintain |\n| Bull | +20% growth | +3-5% margin | Invest in scaling |\n| Bear | -10% decline | -5-8% margin | Cut to protect cash |\n\nFor each: model cash runway, breakeven timeline, and hiring capacity.\n\n## 2026 Benchmarks by Industry\n\n| Industry | Gross Margin | Operating Margin | Net Margin |\n|----------|-------------|-----------------|------------|\n| SaaS (B2B) | 70-85% | 15-30% | 10-25% |\n| Professional Services | 50-70% | 15-25% | 10-20% |\n| Fintech | 60-75% | 10-25% | 8-20% |\n| Healthcare Tech | 55-70% | 10-20% | 5-15% |\n| Manufacturing | 25-45% | 8-15% | 5-12% |\n| E-commerce | 30-50% | 5-15% | 3-10% |\n| Construction Tech | 35-55% | 10-20% | 5-12% |\n| Legal Tech | 65-80% | 20-35% | 15-25% |\n| Real Estate Tech | 40-60% | 10-20% | 5-15% |\n| Recruitment Tech | 55-70% | 12-22% | 8-18% |\n\n## Red Flags\n- Gross margin below industry median for 2+ quarters\n- Negative contribution margin on any product (you're paying customers to use it)\n- Operating margin declining while revenue grows (scaling inefficiency)\n- Net margin negative with no clear path to breakeven\n- Customer concentration >30% of revenue from top 3 accounts\n\n## Output Template\n```\nMARGIN ANALYSIS — [Company\u002FDivision] — [Period]\n\nRevenue: $X | Gross Margin: X% | Operating Margin: X% | Net Margin: X%\nQoQ Trend: [improving\u002Fflat\u002Fdeclining]\nvs Industry Benchmark: [above\u002Fat\u002Fbelow] 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```\n\n## Resources\n- [AI Revenue Leak Calculator](https:\u002F\u002Fafrexai-cto.github.io\u002Fai-revenue-calculator\u002F) — find where margins are eroding\n- [Industry Context Packs](https:\u002F\u002Fafrexai-cto.github.io\u002Fcontext-packs\u002F) ($47) — vertical-specific margin benchmarks and optimization playbooks\n- [Agent Setup Wizard](https:\u002F\u002Fafrexai-cto.github.io\u002Fagent-setup\u002F) — automate margin monitoring with AI agents\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fa\u002Fafrexai-margin-analysis",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill afrexai-margin-analysis",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill afrexai-margin-analysis",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill afrexai-margin-analysis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fa\u002Fafrexai-margin-analysis\u002FSKILL.md",true,[],[46,54,61,68,75,82],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":53},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":53},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":53},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":53},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":53},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":53},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]