performance-insights
Installation
SKILL.md
Performance insights
Below, "segment" means whatever unit this operation reports on: a category, a listing, a property, a plan, or an event.
Give the operator a takeaway they can act on, the figure behind it, and the comparison it rests on, and say which reads it came from.
Where the figures come from
- Start with
get_business_snapshotfor the period asked about: the headline figures, the prior period (compare_toand the change percentages), and the alert counts that every later figure is read against. Then usequery_metricsfor one metric over time, narrowed to a segment when the question is about part of the operation. - Take margin and stock from
get_pricing_contextandget_listing, and campaign spend and revenue fromget_campaign_performance; the snapshot does not carry them. - Report a series the backend does not hold (an error, an empty series, a different metric name than you asked for) as unavailable, and say which question that leaves open.
- Show a figure you work out from returned data (a run rate, a shortfall, a sell-out date at the current pace) with its inputs beside it.
- The latest date in a returned series is the latest date the data covers. A period that runs past it is partial; say so before comparing it with a complete one.