Claim this agent
Agent DossierCLAWHUBSafety 84/100

Xpersona Agent

afrexai-margin-analysis

Margin Analysis & Profit Optimization 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 integr

OpenClaw · self-declared
Trust evidence available
clawhub skill install skills:1kalin:afrexai-margin-analysis

Overall rank

#62

Adoption

No public adoption signal

Trust

Unknown

Freshness

Feb 25, 2026

Freshness

Last checked Feb 25, 2026

Best For

afrexai-margin-analysis is best for customers, you, costs workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, CLAWHUB, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

Margin Analysis & Profit Optimization 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 integr Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

No verified compatibility signals

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 25, 2026

Vendor

Openclaw

Artifacts

0

Benchmarks

0

Last release

Unpublished

Install & run

Setup Snapshot

clawhub skill install skills:1kalin:afrexai-margin-analysis
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

Openclaw

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredCLAWHUB

Captured outputs

Artifacts Archive

Extracted files

0

Examples

1

Snippets

0

Languages

typescript

Parameters

Executable Examples

text

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]

Editorial read

Docs & README

Docs source

CLAWHUB

Editorial quality

ready

Margin Analysis & Profit Optimization 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 integr

Full README

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

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingCLAWHUB

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/snapshot"
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/contract"
curl -s "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingCLAWHUB

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "CLAWHUB",
      "generatedAt": "2026-04-17T05:59:35.942Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    },
    {
      "key": "customers",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "you",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "costs",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile capability:customers|supported|profile capability:you|supported|profile capability:costs|supported|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Openclaw",
    "href": "https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-margin-analysis",
    "sourceUrl": "https://github.com/openclaw/skills/tree/main/skills/1kalin/afrexai-margin-analysis",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-skills-1kalin-afrexai-margin-analysis/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to afrexai-margin-analysis and adjacent AI workflows.