/social:demand-forecastingfrom social
Use when a retailer, pharmacy or distributor needs to know how fast stock sells, when items run out and what to reorder, or a sales-and-stock report duplicates products; produces the forecast by product and branch, stockout dates, reorder points and suggested orders; not for splitting the marketing budget (use `meta-budget-planner`).
Ships in social. 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.
Turns sales, inventory, branch and operational signals into demand forecasts and replenishment recommendations for the owner, buyer or branch manager. It is especially relevant when fixing SQL joins that duplicate products, deriving days until stockout, or documenting demand-driven planning assumptions.
meta-budget-planner for dividing the marketing budget and working back from a revenue target.social-commerce-strategy for catalogue, WhatsApp ordering and fulfilment content.| Artefact | Source/provider | Required? | If absent |
|---|---|---|---|
| The decision and horizon (stockout watch, reorder list, branch comparison) and the reporting grain | Owner, buyer or branch manager | Yes | Default to one row per product per branch for the stated horizon and confirm before reporting. |
| Sales lines with dates, branch and status (voided, refunded, cancelled, returns, internal transfers) | POS, ERP or supplied export | Yes | Stop and flag the gap; do not estimate demand from stock movements alone. |
| Stock balances and inbound quantities by product and branch | Inventory system or stock count | Yes | Report daily demand only; mark days until stockout and suggested orders not assessed. |
| Supplier lead times and the service goal for safety stock | Buyer or procurement lead | Conditional | Show reorder points without safety stock and label them provisional. |
| Stockout days, promotions and one-off events in the window | Branch managers, promotion calendar | Conditional | Flag the window as possibly distorted and prefer the longer averaging window. |
| Product, variant and branch master data | ERP or product catalogue | Yes | Report by id only and list unmatched keys. |
current_stock / daily_demand. If demand is zero, report "no active demand" rather than hiding the value as an unexplained N/A.daily_demand * horizon_days, reorder point as daily_demand * lead_time_days + safety_stock, and suggested order as max(0, forecast_consumption + safety_stock - current_stock - inbound_qty) (formulas and SQL pattern).sales_by_product_branch, stock_by_product_branch and inbound_by_product_branch.| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Forecast table by product and branch (daily demand by window, days until stockout, forecast consumption) | Owner, branch manager | One row per product plus branch; the driving window is named; zero demand reads "no active demand". |
| Reorder list (reorder point, safety stock, suggested order quantity) | Buyer or procurement lead | Every quantity shows its lead time, inbound quantity and service assumption, or is labelled provisional. |
| Duplicate-safe query or report fix | Developer or report owner | Aggregates before joining; the cardinality check returns zero rows. |
| Backtest summary | Owner, analyst | WAPE/MAPE, bias and missed-stockout counts stated for a named historical period. |
| Evidence | Format | Acceptance condition |
|---|---|---|
| Cardinality check result | Query and row count | Zero duplicate product plus branch rows before the report is accepted. |
| Exclusion and distortion log | Table: rule, rows affected, window | Voids, returns, transfers, stockout days and one-off events are counted, not silently dropped. |
| Input and assumption register | Table | Lead times, service level, windows and missing data are visible, not treated as passed. |
Read and search only; analysis is read-only. Publishing, spend, live account changes, outreach and personal-data processing need explicit, action-specific client authority. Queries run against supplied exports or read-only replicas; placing purchase orders, changing stock records or editing production reports needs the owner's authority.
Without complete, de-duplicated sales and stock history, return the narrowest qualified result and mark the affected checks not assessed. Daily demand ranges by available window, with the gaps listed, can still be delivered instead of a point forecast.
| Condition | Action | Failure or risk avoided |
|---|---|---|
| Data has duplicate joins, gaps, or too little history | Reconcile grain and return ranges with limitations instead of a point forecast | False precision and inventory decisions based on double-counted demand |
| Sales, stock or inbound figures contradict each other or are materially incomplete | Pause the affected product or branch recommendation and request the accountable source | Confident reorder advice built on an unresolved premise |
daily_demand <= 0 | Report no active demand and keep stockout risk low unless an expiry, commitment or minimum-stock rule applies | Unexplained N/A values or false stockout alarms |
| The item was out of stock for part of the window | Compute daily_demand = units_sold / in_stock_days, not over calendar days | Understating demand for items that sold out |
| Promotions or one-off events sit inside the window | Flag them separately and explain which window drives the forecast | A spike treated as the new baseline |
| The UI needs one product row per selected branch | Collapse variants after filtering by branch, not across all branches | Mixing other branches' stock into the selected branch |
| Authority is limited to analysis or planning | Deliver a read-only reorder recommendation and approval checklist | Unauthorised orders or changes to live stock records |
ai-marketing/anti-ai-slop during drafting and block release on an F from ai-marketing/ai-slop-audit.meta-budget-planner: read when the request is really about the marketing budget or a revenue target.social-commerce-strategy: read when the question is catalogue, WhatsApp ordering or fulfilment content.ai-slop-audit: read when drafting the client-facing report and at the release check.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/social-media-skills --plugin social112 skills in this plugin
/01-client-briefUse when a new client is signing on and you need the intake questions, a discovery-call guide and a written picture of their business, goals and gaps; produces the approved client brief and one-page client card; not for the production handover of an approved campaign (use `13-campaign-brief`)./02-platform-auditUse when a client's social profiles need reviewing before strategy, a free audit is offered to win a prospect, or bios, covers, handles and links need fixing; produces the scored platform audit, rival benchmark and prioritised quick wins; not for a deep study of rivals' content and positioning (use `meta-competitor-analysis`)./03-audience-personasUse when a client needs to know who its customers are and how they behave online, including synthetic personas when there is no research budget or an audience spanning several generations; produces persona cards and a comparison matrix; not for choosing target segments and positioning (use `marketing-foundations-stp-positioning`).Other plugins' skills for the same job