An agent that recomputes the sales velocity of every SKU from your own reports each morning and alerts you the day it jumps or drops past your threshold, with the likely cause already checked on the live listing and, on the way up, the estimated days of stock cover the new pace leaves you.
For: Sellers with large catalogsAmazon · Walmart↗ Same-day detection
The workflow
How the agent runs
1
Measure velocity from your own reports, on in-stock days only
Each run reads your sales or order reports and computes units per in-stock day for every SKU over your recent window against your trailing baseline, computed the same way so the two compare cleanly. Only days the SKU was actually in stock and buyable count: a stock-out inside the window shows up as lost selling days, not as falling demand. A SKU with no report data is reported as no data, never as zero sales.
2
Apply your thresholds before anything is called an alert
A change becomes an alert only when it clears both of your gates: the percent change versus baseline you set, and the minimum units per day you set, so a SKU moving from one sale a week to two never cries wolf. Everything inside the gates is logged silently in the velocity log, so the history exists without the noise.
3
On a down alert, hunt the cause on the live listing
For every SKU that drops past threshold, the agent reads the live listing through the 5Stones MCP and checks the usual mechanical causes in order: Buy Box lost (and to whom, at what price), a price gap against the winning offer, out of stock or low stock on your own offer, the listing suppressed or not buyable, and new negative reviews since the baseline window. Each cause is reported as confirmed, ruled out, or not checkable from public data, and where none explains the drop the agent names the account-side checks only you can run.
4
On an up alert, price the stock risk in the same message
For every SKU that rises past threshold, the agent divides your current stock from your own inventory data by the new velocity, giving estimated days of cover at the new pace, labeled estimated with the method shown. SKUs whose cover falls inside your reorder lead time are flagged as stock risks at the top of the alert, because the reorder decision is the one an up alert exists to trigger.
5
Deliver one digest and keep the velocity log
Alerts arrive as one digest per run, down alerts first with their cause findings, then up alerts with their cover figures, each line carrying the SKU, the channel, the baseline pace, the current pace, and the percent change. Every run appends to a velocity log, and an alert is reported resolved only when a later run shows velocity back inside the threshold band.
What it needs
Inputs & tools
Sales dataYour sales / order reports
InventoryYour stock reports
BaselinePrior 28 days (default)
ThresholdsYour % change + minimum units/day
Cause checks5Stones MCP (live reads)
CadenceDaily, 7:30 AM
The pattern sellers describe: a best seller quietly stops selling and the cause, a lost Buy Box, an opened price gap, a suppression, is found days later by hand, or a SKU takes off and the discovery is the stockout. The sales reports already held the signal; nobody recomputed per-SKU velocity against a baseline every morning, and the cause hunt was a second manual job nobody started until the damage was dated.
Run this agent yourself
📑
1 · Bring your account reports
This agent's source of truth is your own account data — the inventory, shipment, returns and fee reports from Seller Central (or Walmart Seller Center). Export them — or integrate with the marketplace APIs directly (Amazon SP-API, Walmart Marketplace API): the LLM you're using can write that integration with you, and then the reports pull themselves on schedule. No public crawl can see them; they're behind your login, as they should be.
🔗
2 · Optional: link the 5Stones MCP
Add the 5Stones MCP connector — server crawl.onewally.com/mcp — and the agent can cross-check what your public listing pages state (dimensions, weight, current price) against your reports. Supporting evidence only: disputes rest on your measured actuals and your report lines.
📋
3 · Paste the prompt
Copy the prompt below, attach your reports, name your store. The agent reconciles everything and hands you the claim file — no code.
Copy the prompt
Starter prompt
Step 3 · Paste this into your LLM
# Sales Velocity Alert Agent
MY STORE (fill in once):
- Store name: [your store name]
- Seller ID or storefront URL: [paste it, one per channel if they differ]
- Marketplace: [Amazon US, Walmart US, or both]
- My sales data: [where my sales and order reports live: Seller Central or Seller Center report exports I attach, an SP-API or Marketplace API integration, or my inventory system export. This is the source of truth for every sales figure.]
- My inventory data: [where my current stock figures live, for the days-of-cover check: my inventory report or system export, attached or integrated the same way. If I provide none, say so and skip the cover check rather than guessing a stock figure.]
- My baseline: [the trailing window velocity is judged against: default, the prior 28 days of units per day per SKU; or my per-SKU or per-category baselines where I set them. State which baseline applies to which SKUs.]
- My thresholds: [percent change versus baseline that counts as an alert: default, plus or minus 40 percent; and the minimum current velocity for an alert: default, at least 1 unit per day, so tiny SKUs do not cry wolf. Both numbers are mine to set, per channel or per category where I say so.]
- Alert route: [where the digest goes each run, and who must see a stock-risk flag the same day]
RUN SCHEDULE (set this where you run the prompt):
- Run this prompt: every day at 7:30 AM, store timezone, after the prior day's sales reports are complete. Velocity is a daily signal; a weekly check reads a stockout or a collapse a week late. Also run it whenever I attach a fresh sales report and ask for an off-cycle check.
- If your LLM app supports scheduled or recurring tasks, set it there; otherwise re-paste the prompt on that cadence.
DATA SOURCES: Two sources, each the truth for its half. (a) My own sales, order, and inventory reports, which I provide: units sold per SKU per day, current stock on hand, and stock on hand by day, which decides which days in a window count as in-stock days for the velocity math. These, and only these, decide velocity, baselines, and days of cover. (b) Public marketplace data through the 5Stones MCP (crawl.onewally.com/mcp, read-only): the live listing state used only for cause hunting on down alerts: current price and the winning offer's price, Buy Box holder, stock state as shown, listing buyable or suppressed as shown, and review count and recent negative reviews as shown. 5Stones is never a source for my sales figures, and a public read never overrides my reports. If my reports lack a SKU for a window, that SKU is "no data" for that window, not zero. If a public read and my own data disagree about my stock, report both and name the disagreement.
YOUR JOB, EACH RUN:
1. Compute velocity before alerting on anything, per in-stock day. For every SKU in scope, from my reports only: units sold over the recent window (default the last 7 days) divided by the number of days in that window the SKU was in stock and buyable, from my inventory data, giving units per in-stock day; the same figure over my baseline window, computed on the same in-stock basis so the comparison is honest; the change in units per in-stock day and in percent; and the data window and the sellable days counted in each window, stated alongside every velocity figure. A SKU with zero in-stock days in a window has no velocity for that window, not zero velocity: it cannot fire an alert from that window and is reported as out of stock for the window instead. A partial stock-out inside a window is reported as lost selling days next to the velocity, never silently folded into it. Where my inventory data cannot establish which days were in stock, say so plainly and fall back to calendar days, labeled "calendar-day basis, in-stock days unknown." Report the run's coverage first: SKUs with complete data, SKUs with partial data, SKUs with no data, named. Never present a figure without its window, and never carry a prior run's velocity forward as today's.
2. Fire alerts only through both of my gates. An alert requires the percent change to clear my threshold AND the current velocity to clear my minimum units per day. Sort the digest: down alerts first, ordered by units per day lost; then up alerts, ordered by stock risk (step 4) and then by units per day gained. Everything inside the gates goes to the velocity log only. Never soften a threshold to fill a digest, and never raise one to empty it; a run with no alerts ends with the all-clear line and the coverage counts.
3. On every down alert, run the cause hunt against a fresh 5Stones read of the live listing, in this order, and report each check as confirmed, ruled out, or not checkable from public data, with the read figures quoted and the run time noted: (a) Buy Box: do I hold it; if not, who holds it and at what total price versus mine; (b) price gap: my total price versus the winning offer's total price, in dollars and percent; (c) stock: my offer out of stock or showing low stock; (d) listing state: suppressed, not buyable, or detail page problem as shown; (e) reviews: new negative reviews (1 to 3 stars) since the baseline window, with the count and the newest one's date and gist. Name one most likely cause only when a check confirms it; where several confirm, list them in the order above; where none confirms, say "no public cause confirmed" and list the account-side checks only I can run (ad spend or placement changes, account health flags, a promotion ending). Never present a likely cause as a proven cause.
4. On every up alert, compute the stock risk. From my inventory data: current stock on hand divided by the new current velocity, giving estimated days of cover, and label it "estimated" with the method shown (stock on hand from my inventory report dated [date] divided by units per day over the recent window). Flag any SKU whose estimated cover is shorter than my reorder lead time plus my safety days, where I set them, as STOCK RISK at the top of its alert line. If I provided no inventory data, write "cover not computed, no inventory data provided" and never estimate a stock figure. An up alert states the measured velocity change as fact from my reports and the cover as an estimate; it never promises the new pace will continue.
5. Keep every revenue figure honest. If you translate a velocity change into money, label it "estimated" and show the method (for example: change in units per day times the SKU's current price from the live read, times the days in the window). Never present an estimate as measured revenue, and never forecast future sales; this agent reports measured change and estimated cover, not predictions.
6. Maintain the velocity log: run date, per-SKU baseline velocity, current velocity, percent change, gates applied, alerts fired, cause findings per down alert, cover estimates per up alert, and what I confirmed I did about each alert and when. Re-check open alerts each run and report each as still firing, improving, or resolved, where "resolved" may be reported only from a later run whose own report figures show velocity back inside my threshold band. End each run with the digest and a one-line summary: SKUs measured, down alerts with causes confirmed, up alerts with stock risks, and alerts carried forward.
EXECUTION, READ CAREFULLY:
- The 5Stones MCP is read-only. You measure, check causes, and alert. You do not change a price, a listing, an ad, or an inventory record, and you do not place a reorder, ever, in this agent.
- Price changes execute only through Flashpricer inside my min/max or through my own marketplace API, and are never claimed as done before execution is confirmed. If a cause finding suggests a price response, it is a proposal in the alert for my decision, not an action you take.
- Never claim a cause was fixed, a Buy Box was regained, or velocity recovered before a later run's own figures, from my reports and a fresh live read, verify the new state.
- Every sales figure must trace to my reports, and every listing fact to a 5Stones read in this run or to my own records. If a figure is not in one of those, it does not go in the output.
The prompt gets you the shape. The reliable version runs on live data through the MCP — that's steps 1 and 2 above.
Runs the keep-or-remove math per SKU, then builds the exact FBA removal order for your approval.
Questions sellers ask
Is this a forecast?
No. It is change detection and alerting with cause diagnosis: what changed, by how much, why it most likely changed, and how many estimated days of cover the new pace leaves. It deliberately makes no forecast and drafts no orders; the Inventory Demand Forecaster and Reorder Forecast playbooks in this directory do that planning work.
Where do the sales figures come from?
Only your own sales, order, and inventory reports. 5Stones is never a source for your sales figures; it supplies only the public half of the cause hunt on down alerts: Buy Box holder, live prices, stock state as shown, and recent reviews. If your reports lack a SKU for a window, that SKU is no data for that window, not zero.
What happens when a SKU was out of stock?
Days out of stock do not count. Velocity is units per in-stock day in both the recent window and the baseline, and a SKU with zero in-stock days in a window has no velocity for that window and cannot fire an alert from it; it is reported as out of stock for the window instead. Where your inventory data cannot establish which days were in stock, the agent falls back to calendar days and labels them as such.
Does it change prices or place reorders?
Never. The agent measures, checks causes, and alerts; it does not change a price, a listing, an ad, or an inventory record, and it does not place a reorder. If a cause finding suggests a price response, that is a proposal in the alert for your decision, and any price change executes only through Flashpricer inside your min/max or through your own marketplace API, never claimed as done before execution is confirmed.
Run this on your store.
Every agent here runs on live 5Stones data through the MCP. Start free, connect your LLM, paste the prompt — or get the free Buy Box Loss Report and see the data first.