/databrill-core:dbl-ask-inventory-pacingfrom databrill-core
Recommend how advertising should respond to inventory — pause, throttle, hold, or ramp spend based on each product's runway. Use when the user asks "should we pause ads before the stockout", "we're low on stock, what about ads", "should we cut spend to stretch inventory", "we restocked — ramp back up?", "how do we sell down overstock", "long-term storage fee risk", or wants an inventory-driven ad pacing decision.
Ships in databrill-core. 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.
None: SKILL.md is the whole skill.
Answer with the core MCP server's inventoryPacing tool.
Per family it joins the runway (days of stock at current velocity) with
current ad spend and returns a concrete action — don't reconstruct this
yourself.
On user- and organization-scoped connectors, call listWorkspaces and pass the
selected wsid. A workspace-scoped connector supplies it in the URL. Never
infer a target from stores or a listWorkspaces result with one entry; do not
fan this analysis out silently.
inventoryPacing parameters:
stores (required) — country / region / marketplaceId / * /
{merchantId}-{scope}.velocityDays (default 7) — window for units/day.spendWindowDays (default 7) — window for ad spend/day.criticalDays (7), lowDays (21), overstockDays (90) — the runway bands.minSpendPerDay (1), minVelocity (0.2) — noise floors.Example: "we're low on the Garlic Presses in the US — what about ads?" →
inventoryPacing({ stores: "US" }) (then read the Garlic_Press row).
Each data[] row is a family with runwayDays, available, inbound,
velocityPerDay, adSpendPerDay, tacos, and the recommendation: action
(pause / throttle / hold / ramp), severity, and a rationale. Rows
are sorted most-actionable first (pause → throttle → ramp → hold).
The logic:
overstockDays, storage-fee risk): push spend/deals
to sell down.Worst-variant caveat: pacing acts on the family, but stockouts are
per-variant. A healthy family can carry a rationale caveat naming a child ASIN
that's critically low — restock or exclude it; don't push spend onto an
out-of-stock child.
The tool returns a category; the follow-up is always "by how much?". Get a number by comparing the period before a spend change with the period after, taking ad spend per day and units per day in each:
cost_per_extra_unit = (spend_after - spend_before)
÷ (units_after - units_before)
Set that cost against the selling price to see whether an extra unit is worth buying. Then solve backwards for the target:
target_units_per_day = available ÷ target_runway_days
target_spend_per_day = spend_before + (target_units_per_day - units_before)
× cost_per_extra_unit
Use loadAds (spend) and loadTraffic (units) for the two windows. State the
assumption: the relationship is locally linear over the spend range actually
observed — don't extrapolate to zero or past the maximum seen.
${CLAUDE_PLUGIN_ROOT}/docs/diagnosis-methods.md has the full method.
amzspapi_fbaInventory_v1__InventorySummary is keyed by seller SKU and
repeats a commingled FNSKU once per SKU pointing at it. inventoryPacing
counts each FNSKU once per merchant and marketplace, from its most recently
updated summary, the rule amzfact_fnsku_fbaInventory_latest is built with,
and each row holds one merchant's stock only. If you total units yourself, use
dbl-metrics-amazon-inventory (amzfact_fnsku_fbaInventory_latest); summing
the summary table overstates commingled stock.dbl-metrics-traffic velocity if a
call is close.inventoryPacing has no product filter: it returns every family in the
requested stores, so a family's answer is its row in that output, however
large the output is.${CLAUDE_PLUGIN_ROOT}/docs/schema/amazon/index.tsv and
then that table's .yaml beside it.Pair with dbl-metrics-amazon-inventory (true unit counts),
dbl-metrics-traffic (velocity) and dbl-metrics-ads (where the spend is).
What SKILL.md sets; muted values are Claude Code's defaults
19 skills in this plugin
/dbl-ask-sales-dropDiagnose why a store's sales dropped — decompose the change into traffic, conversion, and price, and flag ad-channel and ad-efficiency causes. Use when the user asks "why did sales drop / fall / decline", "sales are down", "revenue dropped", "why did orders fall", "what happened to sales (week-over-week)", or wants a sales-decrease diagnosis for a marketplace./dbl-brand-configEdit brand configuration — product families, the ontology category and variant layer, ASIN-to-family and ASIN-to-SKU mapping, and effective-dated cost, rate and planning attributes. Use when the user asks to set up or edit product families, map ASINs to families or SKUs, seed the ontology, recategorise or relabel a family, or set a cost per unit, VAT rate or lead time for a period. Do not use for reading brand configuration — that is dbl-db./dbl-dashboardDesign or construct a dashboard, report, chart, table, or recurring analysis from Databrill MCP or database data. Use when the user asks to explore their data visually, build a dashboard or artifact, chart trends, make a management report, export a reporting dataset, or compare several accounts/workspaces./dbl-dbAnswer Databrill data questions that do not fit a dedicated metric skill by selecting the right MCP tool or a safe read-only Deno/n8n database workflow. Use for arbitrary database exploration, table or column discovery, SQL, CSV exports, orders, listings, returns, reimbursements, fees, settlements, Walmart, The Fulfillment Lab data, or questions about what data is available./dbl-metrics-adsAnalyze Amazon PPC advertising performance metrics including impressions, clicks, orders, spend, sales, CTR, CR, CPC, ACOS, and ROAS. Use when the user asks about ad performance, PPC metrics, advertising efficiency, campaign analysis, ACOS/ROAS, or spend by ad type (SP/SB/SBV/SD)./dbl-metrics-amazon-inventoryReport how many units of Amazon FBA stock a store holds right now — on-hand, fulfillable, inbound, reserved, unfulfillable — by ASIN, FNSKU, or seller SKU. Use when the user asks how much Amazon inventory they have, what is in stock, what is inbound, how much is unsellable or damaged, or wants an FBA stock list for one marketplace. Do not use for stock on past days or past stockouts, for The Fulfillment Lab stock, or for an ads pacing decision.npx claudepluginhub databrill/databrill-core-agent-plugin --plugin databrill-coreOther plugins' skills for the same job