Agent skill · KuudoAI
amazon-sp-stockout-prevention
Find FBA SKUs at risk of stocking out and whether inbound shipments will land in time. Reads live FBA inventory and FBA sales velocity, uses Amazon's own days-of-supply and recommended ship-in quantity and date when available, ranks SKUs by risk, and checks each at-risk SKU against its inbound shipments' arrival windows. Read-only. Use whenever a seller asks "am I going to run out", about stockout risk, days of cover or supply, FBA stock levels, restock or replenishment timing, what to send in next, or whether a shipment will arrive before a SKU sells out, even if they just ask "how's my inventory looking". Do not use for creating or managing inbound shipments (amazon-sp-fba-inbound), price changes or repricing (amazon-sp-repricing), stranded or aged-inventory fees, inventory ledger reconciliation, AWD, listings, or advertising.
What it needs
About 12k tokens when loaded.
What this skill does
Amazon FBA stockout prevention A stockout costs sales, ranking, and sometimes a low-inventory-level fee. The seller needs three answers, fast and truthful: 1. which SKUs will run out 2. when they will run out 3. whether stock already on the way will arrive first This skill is read-only. It never changes prices, listings, inventory, inbound plans, or shipments, and it calls no write tool. Requesting Amazon's planning report (reportscreateReport) is a read-type report job: it builds a report from the seller's data and changes nothing, so it needs no approval. Any action the skill recommends goes to the skill that owns it. 1. Connect Operations are named by Amazon operationId. Resolve each tool name through the server's discovery. On a code-mode SP-API MCP server: The top-level tools are search, getschema, and execute. Call tools inside execute with await calltool(name, params). The tools this skill uses are fba-inventorygetInventorySummaries, salesgetOrderMetrics, reportscreateReport, reportsgetReport, reportsgetReportDocument, and the fba-inbound reads. Seller. Call setactiveidentity at the top of every execute block that touches seller data. The selection can be shared across sessions, so re-selecting pins each call. Find the identity once. Filter listidentities inside the sandbox; it returns {"result": [{id, label, attributes: {accountid, declaredregion}}]}, where label is the merchant ID. Agency tokens list 150+ sellers. Keep the matching id, then just call setactiveidentity(id) at the top of each later block. There's no need to re-list. If the token has exactly one identity, use it and say which one. Otherwise, if the user hasn't said which seller, ask: give counts, never the list. Never use whichever seller happens to be active. A 403 Unauthorized means the seller's app authorization is inactive. Report it; don't retry. A provider "service is unavailable" error for one seller while others respond means that seller's connection can't get an Amazon token. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills KuudoAI/amazon-sp-stockout-prevention