Analyzes unit economics by product or service using PayPal merchant insights and QuickBooks cost data, benchmarks against inflation and cost changes, and shows pricing-scenario data (e.g. "a 5% increase historically correlates with ~3% volume drop"). Surfaces analysis only — does not recommend a price. Use when the user asks about raising prices, pricing, margin analysis, what to charge, whether costs are eating into profit, or how a price change might affect their business. Trigger even if the user doesn't say "margin" explicitly — phrases like "am I making enough?", "should I charge more?", or "my costs are going up" all call for this skill.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "margin-analyzer" skill from askskill: 1. Download https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/small-business/skills/margin-analyzer/SKILL.md 2. Save it as ~/.claude/skills/margin-analyzer/SKILL.md 3. Reload skills and tell me it's ready
Status: MVP draft · Owner: JJ · Version: 1.1.0 Category: Finance & Ops · Phase: V2
When an SMB owner asks "should I raise my prices?" or "are my margins okay?", this skill:
The output equips the owner to make their own pricing call with real data behind it.
QuickBooks: Call company-info to verify the industry field is populated. If it's missing or "Unknown", ask: "I need your business category to pull relevant benchmarks. What industry are you in?" Then call quickbooks-profile-info-update.
PayPal: No pre-flight needed, but PayPal rate-limits on rapid calls — see reference/gotchas.md.
No connectors: Offer CSV upload as a fallback. The skill can work from exported transaction and expense data. The expected CSV schema is in reference/csv-schema.md.
Ask the owner two questions:
"Which products or services do you want to analyze?"
"What metric matters most to you?"
Fetch from QuickBooks using profit-loss-quickbooks-account:
If QuickBooks isn't connected, ask the owner for:
If QuickBooks is connected but COGS = $0 across all periods, do not use $0 as the cost input. Surface this to the owner:
"QuickBooks shows no cost of goods sold recorded for this period. To compute meaningful margins, I need a cost breakdown by product or service line — not a single average for the whole business. For each item you want analyzed, what does it cost you to deliver it? Materials, direct labor, any direct expenses per item. Even rough figures work."
Flag this limitation in the Data Quality Notes section of the final output.
Fetch from list_transactions (PayPal) or make_api_request (Square):
If you hit PayPal rate limits, pause 30 seconds and retry once. If still blocked, offer: "PayPal is temporarily rate-limited. Want to switch to Square or upload a CSV instead?"
If only one data source is available, note the limitation in the output.
For each product/service in scope, calculate:
| Metric | Formula |
|---|---|
| Revenue | Sum of transaction amounts for the item |
| COGS | Cost data from QB or owner-provided |
| Gross Profit | Revenue − COGS |
| Gross Margin % | (Gross Profit ÷ Revenue) × 100 |
| Units Sold | Count of transactions (if available) |
| Revenue per Unit | Revenue ÷ Units Sold |
| Cost per Unit | COGS ÷ Units Sold |
…
Embed Zoom meeting features into web apps with full or component-based integration.
Build weighted sales forecasts with scenario planning, commit splits, and gap analysis.
Prepare compliant month-end journal entries with debits, credits, and support.
Analyze compensation bands, offer competitiveness, equity grants, and retention risks.
Track hiring stages, update candidate status, and monitor pipeline counts.
Research competitors and compare positioning, messaging, gaps, opportunities, and threats.