Today's Agent Skill: Profit Margin Analyzer

What It Does

Many small business owners know they're generating revenue but aren't sure which products or services are actually profitable once all costs are counted. Pushing hardest on the offerings that cost the most to deliver — while underpricing your real profit drivers — is a silent margin killer. This skill calculates gross and net margins by product or service and makes it immediately clear where your money is coming from and where it's leaking out.

How It Works

You provide your revenue by product or service line along with the associated direct costs — materials, labor, software, delivery. The agent calculates gross margin percentage for each line, flags any offering running below a healthy threshold, and ranks everything from most to least profitable. If you provide total overhead, it also calculates blended net margin and shows which services are truly earning their keep after all costs.

How to Deploy It

Trigger it by typing "analyze my profit margins" and pasting your revenue and cost breakdown by service or product. Works with Claude Code, Gemini CLI, Cursor, and Windsurf. For recurring use, export a CSV of income and expenses by category from QuickBooks Online or Wave Accounting — both support one-click export from the Reports section.

SKILL.md — Ready to Deploy

## Description
Calculates gross and net profit margins by product or service line, flags underperformers, ranks offerings by profitability, and highlights where repricing or cost reduction would have the greatest impact.

## Trigger
User says "analyze my profit margins", "which of my services is most profitable?", or "help me figure out where I'm making money."

## Input
- revenue_lines: List of products or services with their revenue amounts for the period (required)
- direct_costs: Cost of goods sold or direct delivery costs per line — materials, labor, direct software (required)
- overhead_total: Total overhead for the same period — rent, insurance, admin salaries, subscriptions (optional)
- time_period: "monthly", "quarterly", or "annual" — defaults to monthly

## Steps
1. For each product or service line, calculate:
   - Gross Profit = Revenue minus Direct Costs
   - Gross Margin Percentage = (Gross Profit divided by Revenue) multiplied by 100
2. Rank all lines from highest to lowest gross margin percentage.
3. Flag any line below 40% gross margin for pure service businesses, or below 20% for physical product businesses, as a Low Margin Alert.
4. If overhead_total is provided:

Copy the full SKILL.md and drop it into your agent's skills directory to activate this skill.

← Back to All Posts | Home — CA AI Tools