Run the pricing analysis. Pull cost and revenue data, build the margin table, and model three pricing scenarios — so the owner can see the numbers clearly before deciding what to charge.
Parse arguments:
PRODUCT_NAME (optional) — specific product or service
to analyze; if omitted, analyze all active productsUsing the margin-analyzer skill workflow:
Build the margin table:
Product | Revenue | COGS | Gross Margin | Margin %
{product} | ${amt} | ${amt} | ${amt} | {X}%
Flag any product with margin below 20% as a risk.
For each product (or the specified product), model three scenarios. Do NOT recommend a price — present data only.
Scenario A — Hold current price
Scenario B — Price increase (+10% to +20%, owner to specify)
Scenario C — Price decrease (−10%, to drive volume)
Present each scenario as a data table, not a recommendation.
Produce a plain-language brief (for price increase scenarios) the owner can use to communicate a change to customers:
If QuickBooks is unreachable, stop — margin analysis requires QB revenue and cost data. If PayPal is missing, run from QB-only and note "PayPal not connected — cross-validation against PayPal sales skipped."
Present the margin table, then the three scenario tables side-by-side. If a price increase scenario is being considered, append the customer messaging brief. End with: "Which scenario would you like to explore further?"