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.
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "margin-analyzer" 技能: 1. 下载 https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/small-business/skills/margin-analyzer/SKILL.md 2. 保存为 ~/.claude/skills/margin-analyzer/SKILL.md 3. 装好后重载技能,告诉我可以用了
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 |
…
帮助开发者将 Zoom 会议能力嵌入网页应用,支持完整界面或组件化集成。
生成带权重的销售预测,输出情景拆解、承诺分层与缺口分析。
帮助你为月末结账准备合规会计分录、借贷方向及支持材料。
帮助分析薪酬水平、职级带宽与股权方案,识别竞争力、异常点和留才风险。
帮助团队跟踪候选人招聘进度,统计各阶段人数并更新招聘状态。
研究竞争对手并生成定位、话术、机会与威胁对比分析