/amazon-selling-partner:stockout-preventionfrom Amazon Selling Partner
Monitors FBA inventory health, computes days of cover from sales velocity, classifies stockout risk per SKU, and drafts restocking or price-change actions for seller approval via SP-API tools.
Ships in Amazon Selling Partner. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Helps a Fulfilled-by-Amazon seller stay ahead of stockouts. It pulls current FBA inventory, derives sales velocity, computes days of cover per SKU, checks whether inbound shipments arrive in time, and proposes preventive actions. Write actions (e.g. price changes) are always drafted for the seller's approval — never executed silently.
Use when the seller asks anything about inventory health, running out of stock, replenishment timing, or "what should I prioritize" for their FBA stock. Do not use for listing content, advertising, or order management.
All are SP-API MCP tools served via the Amazon Selling Partner Connector (the amazon-selling-partner MCP server):
| Step | Tool | Purpose |
|---|---|---|
| Inventory | fbaInventory_getInventorySummaries | Current fulfillable units per SKU |
| Velocity | sales_getOrderMetrics | Units sold over a window (per SKU when possible) |
| Inbound | fbaInbound_listInboundPlans | In-transit shipments + ETAs |
| Action | listings_patchListingsItem | Draft a price change (VALIDATION_PREVIEW first) |
Every call needs
entityId(the seller's merchant id) andmarketplaceIds(e.g.ATVPDKIKX0DERfor US). If you don't know the entityId, ask the seller once and reuse it for the session.
Call fbaInventory_getInventorySummaries (granularityType Marketplace).
Record sellerSku, productName, and fulfillableQuantity for each SKU.
For each SKU with meaningful stock, call sales_getOrderMetrics over the last 30
days (granularity: Total, pass the sku). Compute:
avg_daily_units = unitCount / 30
days_of_cover = fulfillableQuantity / avg_daily_units
Reconciling with Amazon's canonical rule. Amazon's own analysis rule is days of supply < 14 → at risk. These bands are intentionally more conservative: 7–14 is the canonical at-risk range, and 14–21 is an early-warning buffer this skill adds so a fast-moving SKU is caught before it crosses 14. For a SKU in the 14–21 range, say it is approaching risk — not yet at-risk by Amazon's rule — rather than implying it already breached the threshold.
Present a short table: SKU · fulfillable · ~daily sales · days of cover · status.
After the table, create a visual artifact so the seller can see the risk at a glance. Render an HTML/JS artifact (a single self-contained file) with a days-of-cover bar chart:
Call fbaInbound_listInboundPlans. For each flagged SKU, find any in-transit
shipment containing it and read its estimatedDeliveryWindow. Compute the gap:
stockout_date = today + days_of_cover
shipment_arrives = estimatedDeliveryWindow.start
gap_days = shipment_arrives - stockout_date (positive = will stock out first)
Call this out explicitly: "You'll run out ~N days before the next shipment lands."
For the most critical SKU, create a second visual artifact: a horizontal timeline showing today, the projected stockout date, and the shipment arrival window — with the at-risk gap between stockout and arrival shaded red and labeled "~N days out of stock". Title it "Stockout vs. Inbound Shipment". Self-contained, no network calls.
Offer concrete choices, each with its trade-off. Lead with the actions Amazon's own inventory guidance points to. Do not raise pricing as an option at all — this skill gives no pricing advice in either direction (see Step 6 if the seller names a price).
Then ask the seller what else they'd like to explore rather than steering them:
"Would you like to look at anything else — for example some quick market research on demand, competing offers, or seasonality for this SKU — before deciding?" If they'd like it, offer market research (demand, seasonality, competing offers) using the analytics and catalog data available, so any decision is informed. Report what the data shows; do not translate it into a pricing recommendation.
If the seller raises price themselves, do not advise for or against it and do not discuss trade-offs. If they name a specific price, go to Step 6 and draft exactly that. If they ask whether they should change price, say pricing is their decision and this skill doesn't advise on it, then return to the restock options above.
Only if the seller has named a specific price, call listings_patchListingsItem with
mode: VALIDATION_PREVIEW so nothing changes yet. Show them, as a numbered list:
Draft only. Add no commentary on whether the price is advisable, no projected effect, and no revert date — if the seller wants a revert, they will say so.
Then WAIT for the seller to type "approve" (or adjust). Never re-run the patch in live mode unless they explicitly approve.
Recap what was found, what (if anything) was drafted, and the single most important next action. Keep it short and seller-friendly.
listings_patchListingsItem, and it
is run in VALIDATION_PREVIEW until the seller approves.sales_getOrderMetrics (sync) instead of the async Reports API.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
12 skills in this plugin
/fba-inbound-managementGuides a seller end-to-end through sending inventory to Amazon's fulfillment network: creating an inbound plan, packing, placement, transportation, delivery windows, and shipment confirmation — plus status checks, modifications, and cancellation. Drives the sequential CREATE→PACK→PLACE→TRANSPORT→DELIVER→SHIP pipeline, polls async operations to completion, and pauses at every decision gate for the seller's choice. Triggers on: send inventory to Amazon, create inbound plan, ship to FBA, inbound shipment status, cancel inbound plan, add tracking, FNSKU labels, prep requirements, schedule FC drop-off. Do NOT use for: stockout / replenishment forecasting (use stockout-prevention), listing issues, advertising, or orders./finance-month-end-closerCloses and reconciles a seller's completed Amazon month: it retrieves the monthly activity, the settlements overlapping the month, the balances carried across month boundaries, and the payout statuses, then walks the seller through an Amazon-activity reconciliation, a payout receipt check (seller supplies bank deposits — there is no bank integration), and an accountant-ready summary. Read-and-explain only: it posts no entries, changes no accounting records, and never files, submits, pays, or moves money. Triggers on: close the books for last month, help me close January/last month, month-end close, reconcile last month, do my Amazon numbers reconcile, have I received all my payouts, give me my month-end summary for my accountant. Do NOT use for: filing/submitting taxes/VAT/GST or any regulated report, paying or moving money, changing prices/listings/inventory, accessing the seller's bank account, or the current in-progress month./invite-secondary-usersHelps the account owner, an administrator, or a permissions manager of a Seller Central account invite their secondary users to use the Selling Partner plugin. Runs right after the Amazon Selling Partner Connector connector is connected: it confirms the person can grant agent access, asks whether they want to invite secondary users, then walks them through Manage Your Permissions -> Manage Agents, where they enable the agent for the account and choose which secondary users may authorize it. When the skill runs in Amazon Quick, it adds one extra step — inviting that user as a collaborator in the Quick account. Triggers on: invite users, add a secondary user, manage agents, grant agent access, "let my team use the plugin", onboard my team, give access to another user. Do NOT use for: setting up your own account/marketplace (established by the connect flow), taking selling actions, or User Permissions unrelated to AI agents./listing-buyabilityDiagnoses why a seller's listing isn't buyable and relays the specific reason plus the next step. Checks the three things that make a listing buyable — a complete product, a valid purchasable offer, and available inventory — then fixes the offer (preview → approve) or routes inventory elsewhere. Triggers on: not buyable, can't be purchased, "why can't customers buy this", no buy box, listing inactive, missing price / offer. Do NOT use for: search/discoverability (use listing-searchability), fixing reported listing issues (use listing-issues), or inventory replenishment (use stockout-prevention)./listing-compliancePre-flight compliance gate before any listing write. Identifies which Amazon listing and regulatory requirements (FDA, EPA, CPSC, FCC, FTC, disclosures, GTIN, category gating) apply, asks the seller once for the facts only they know, checks account-side gating, and holds the write until the seller gives an explicit go. Triggers on: "can I list this", "what do I need to sell X", "is this compliant", listing requirements, help me list, or when a sibling listing skill is about to change product claims, ingredients, category, condition, images, or identifiers. Do NOT use for: reported issues (listing-issues), buyability (listing-buyability), search optimization (listing-searchability), or general program-policy Q&A unrelated to listings./listing-issuesFixes listing problems that surface as reported issues on a listing — missing or invalid attributes, and suppressions tied to an issue. Reads the listing's issues (severity + enforcement), prioritizes by impact, and previews every fix before it goes live. Triggers on: listing issues, listing errors, fix my listing, attribute errors, suppressed because of an issue, "what's wrong with this listing". Do NOT use for: why a listing isn't buyable when there's no issue (use listing-buyability), search visibility / optimization (use listing-searchability), creating new listings, inventory / stockout, advertising, or orders.Generated from the plugin's indexed repository (amzn/selling-partner-agentic-toolkit) — no native marketplace selected
npx claudepluginhub p/amzn-amazon-selling-partnerOther plugins' skills for the same job