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 |
…
把模糊需求或问题陈述整理成结构化功能规格或 PRD 文档
按日期筛选高优先级销售线索,生成致电清单、话术与跟进草稿
帮助中小企业快速审查合同、识别风险并生成红线修改稿。
将访谈、问卷与反馈整理为结构化洞察和产品建议
帮助开发者在 Web 视频场景中快速接入 Zoom 预置 React 通话界面。
提供 Zoom Whiteboard MCP 的鉴权、端点、ID 映射与工具调用指引