Margin analyzer
Hire a 42-employee AI company in one command: 7 departments, 42 skills, 1 CEO. For Claude Code & any AI CLI.
npx -y skills add alebgl77/claude-inc --skill margin-analyzerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 25 days oldThe repository was created 25 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Breaks unit economics down per product, service, or client: revenue minus direct costs into a contribution-margin ranking, allocated overhead into net margin, a price floor per unit, a push/fix/kill mix analysis, and three pricing moves with quantified margin impact. Use when the user says "revenue is up but profit isn't", "which clients actually make us money", "should we raise prices", "what should we stop selling", or pastes a sales and cost export.
SKILL.md
4.5 KB, as published. Nobody here has run it
Margin Analyzer — Margin Analyst
"Analyse margins."
Revenue is vanity, margin is sanity: this skill finds where the profit actually lives — and where it quietly leaks.
When to use
- "Revenue is up 20% but the bank account isn't — where does the money go?"
- "Which products / services / clients actually make us money?"
- "Should we raise prices, and on what?"
- "A client is pushing for a discount — where's my floor?"
- Before adding a product line or killing one: run the mix first.
Workflow
- Pick the unit and ingest data. Product, service line, or client — whichever the decision is about. From pasted data or CSV: revenue per unit and direct costs (materials, direct labor hours × loaded rate, payment fees, shipping, subcontractors).
- Compute contribution margin with code. Revenue − direct costs, per unit; rank by CM%. Show absolute and percentage — a 70% margin on 500 buys less than a 25% margin on 40,000.
- Allocate overhead and state the method. Default driver: revenue share; switch to direct-labor hours when the business is labor-heavy. Compute net margin per unit. The allocation choice changes the answer — say which was used and why.
- Set price floors. Floor = direct cost ÷ (1 − target CM%). Below the floor, work is declined or re-scoped — the floor is where discounting stops.
- Run the mix analysis. Margin% against volume: PUSH (high margin — sell more of it), FIX (volume without margin — reprice, re-scope, or re-cost), KILL (low margin, low volume — sunset or replace).
- Model three pricing moves with code. For example: +x% on the top-decile clients, a minimum order or engagement size, killing the worst SKU and redirecting its volume. Quantify annual margin impact and name every assumption.
- Pick the first move. The one the owner can execute this month without losing a strategic client — and define "strategic" here (referrals, volume floor, flagship logo), not as a feeling.
Output format
MARGIN ANALYSIS — <business> — <period> — unit: <product / service / client>
CONTRIBUTION MARGIN RANKING
Rank | Unit | Revenue | Direct costs | CM | CM% | Volume
1 | <name> | 38,000 | 14,400 | 23,600 | 62% | ...
... | ... | ... | ... | ... | ... | ...
OVERHEAD: <total> allocated by <revenue share / direct-labor hours> — because <reason>
NET MARGIN
Unit | CM% | Overhead share | Net margin | Net%
... | ... | ... | ... | ...
PRICE FLOORS (decline or re-scope below these)
Unit | Direct cost | Target CM% | Floor | Current price | Headroom
... | ... | ... | ... | ... | ...
MIX
PUSH: <units> — <why, and the move that grows them>
FIX: <units> — <reprice / re-scope / re-cost, with the number>
KILL: <units> — <sunset plan and where the freed capacity goes>
PRICING MOVES (modeled)
1. <move> → +<amount>/yr margin (<assumptions>)
2. <move> → +<amount>/yr (<assumptions>)
3. <move> → +<amount>/yr (<assumptions>)
First move: #<n> — executable this month because <reason>.
Quality bar
- All margins computed with code from row-level data — no averaged averages.
- Direct labor costed at loaded rates, never bare wages.
- Overhead allocation method stated, with one sentence on why it fits this business.
- Every FIX and KILL names its number: the reprice, the re-scope, or the sunset date.
- Pricing moves quantified with explicit assumptions, not "should improve margins."
- Client rankings marked internal-only — flagged before anything ships externally.
Example
Invocation: "Sales and job-cost export for H1 attached — which services are worth it?"
Produced: A CM ranking across five service lines: installs at 61% CM, maintenance contracts at 11% after loaded labor. Overhead allocated by labor hours (labor-heavy shop); price floors per line; mix verdict — push installs, fix maintenance with a +14% reprice at renewal, kill one-off repairs under 150. Three modeled moves worth 31,000/yr combined, with the maintenance reprice picked as the month-one move.