← Files KreelARCHIVED FILE

SKILL.md

913 Bytes · Sep 30, 2026 · 23:02 UTC

↓ Download file

---
name: kreel-country-breakdown
description: "Sales by country for a given period."
---

Inputs: `<date_range>`. Collect any missing value from the user, then substitute it wherever the placeholder appears below.

If more than one brand is reachable, call `list_brands` first and pass `brand` on every call.

Break down sales by country for <date_range>. Use `query` against the `country_daily_sales` table (columns: country, date, orders, revenue, refunded_revenue), grouping by country. `revenue` is state-based order total, already net of in-window refunds; use it as the net figure. It does NOT subtract cross-period refunds (refunds landing in-window for orders created before the window), which are not attributed by country, so country revenue can slightly overstate and need not reconcile exactly to the net store total from get_performance. Report top 10 countries by revenue plus MoM deltas for each.

SHA-256: 9ae2eaf8048172ec7fe17d33b2a92b554aab5dbd78cf6d4379b0f6b442d988a6