/pigment:solving-supply-chainfrom Pigment
Guides supply chain planning use cases: demand forecasting, inventory management, procurement planning, and S&OP alignment. Includes metric structure, version usage, and reporting patterns.
Ships in Pigment. 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.
Prerequisites: Version dimension exists (
skill:building-versions-and-planning-cycles). Calendar configured (skill:setting-up-calendar).
When: forecast product demand based on historical sales, seasonality, market signals, or sales team input.
Dimensions: Version, Month, Product (or SKU), Region (or Channel). Add Customer segment if demand varies by customer type.
Structure: historical demand metric (imported from ERP/WMS). Statistical forecast using FORECAST_ETS (seasonal) or FORECAST_LINEAR (trend-only) (see skill:forecasting-in-pigment). Judgmental adjustment metric (input) for sales team overrides on top of the statistical baseline. Final demand = statistical forecast + adjustment, or override-first using IFBLANK(adjustment, statistical).
Version usage: each planning cycle produces a demand plan version. Consensus demand (from S&OP) is a separate version or a dedicated metric combining inputs.
Reporting: Product (rows) × Month (columns) showing historical, statistical forecast, adjustments, and final demand. Chart widgets for demand trend with actuals overlay. Forecast accuracy = (Actual - Forecast) / Actual, tracked per version.
When: plan inventory levels, safety stock, reorder points, and days of supply by product and location.
Dimensions: Version, Month, Product (or SKU), Warehouse (or Location). Product properties: Lead Time (days or months), Unit Cost, Min Order Quantity, Safety Stock Target.
Structure: when both opening and closing balances must be visible (reporting, reorder analysis, drill-down), use separate beginning and ending balance metrics dimensioned by Product and Month. Link them with PREVIOUSOF over an iterative calculation cycle (see skill:iterating-with-previous-and-cycles). Do not collapse to a single balance metric with PREVIOUS(Month) unless the user only needs one output line.
Beginning balance = prior period ending balance (seed the first period from opening stock). Ending balance = beginning + supply/receipts − consumption/demand. Reorder logic is typically a flag plus quantity metric; supply can feed ending directly or via an intermediate receipts metric.
Build order:
Do not substitute [SELECT: Month - 1] for PREVIOUSOF on a separate ending balance; it does not join the cycle.
Reporting: Product × Month grid showing inventory levels, days of supply, reorder alerts. Conditional formatting: red when below safety stock. KPI widgets for total inventory value and average days of supply.
When: plan purchase orders, supplier allocation, and procurement spend based on demand and inventory targets.
Dimensions: Version, Month, Product (or SKU), Supplier. Product properties: Lead Time, Unit Cost, Min Order Quantity. Supplier properties: Lead Time Override, Preferred flag.
Structure: net requirements = demand plan - projected available inventory. Planned order quantity = net requirements adjusted to Min Order Quantity (round up using CEILING). Order timing = shift planned orders backward by lead time (SELECT: Month - Lead_Time). Supplier allocation: if single source, direct assignment; if multi-source, allocation weights by supplier. Procurement spend = quantity × unit cost.
Reporting: Supplier (rows) × Month (columns) showing planned orders and spend. Product-level detail in drill-down views. KPI widgets for total procurement spend by version.
When: align demand plan, supply plan, and financial plan into a consensus view for executive review.
Dimensions: Version, Month, Product (or Product Family). S&OP typically operates at a higher granularity (product family, quarter) than detailed planning.
Structure: demand plan (from demand planning, aggregated to product family). Supply plan (from inventory + procurement, aggregated). Revenue plan (demand × price). Gap analysis: demand vs supply capacity, revenue plan vs financial target. Use a Table block to combine demand, supply, revenue, and gap metrics into a single S&OP dashboard.
Cross-application: if demand, supply, and finance live in separate applications, use Libraries to share the relevant output metrics into an S&OP reporting app (see skill:sharing-data-between-applications). Keep detailed planning in domain apps; S&OP app consumes aggregated outputs only.
Reporting: Product Family (rows) × Month or Quarter (columns). One Board page per S&OP topic: demand review, supply review, financial reconciliation, executive summary. Use chart widgets for demand vs supply overlay (combined chart) and revenue gap waterfall.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
supply-chain, demand-planning, inventory-management, procurement, s&op
39 skills in this plugin
/aggregating-view-dataExecution skill. Use when a View needs totals or subtotals, when a value must roll up with something other than Sum (average, min, max, count, last), when a snapshot metric adds up across time instead of holding, or when a ratio, percentage, margin, growth or variance metric is added to a Table View or shows a wrong total (e.g. a row for margin as a percent of revenue). Covers metric default aggregators, pivot versus hidden-dimension aggregation, the aggregator reference per value type, and Advanced Aggregators on Table Views./architecting-multi-application-solutionsPlanning skill. Use when deciding how to split work across Pigment applications, designing Hub-and-spoke data flows, or planning Test & Deploy across environments./auditing-a-pigment-applicationExecution skill. Use when auditing, reviewing, or health-checking a Pigment application. Covers the structured audit checklist, severity classification, and output format. Also triggers on requests to clean up, find unused blocks, assess model quality, or find what is wrong with an application./building-a-full-applicationPlanning skill. Use when building a complete Pigment application from scratch or when the request spans multiple modeling phases. This skill, together with any other planning skill the request calls for, is sufficient to produce the full architecture spec; do not load execution skills until the spec is approved and you begin building blocks./building-pigment-framesUse this skill whenever you're building, updating, or troubleshooting a Pigment Frame — a full-page, custom-coded visualisation (JavaScript, canvas, or inline SVG) that reads Pigment data through the PigmentSDK. Reach for it any time a native View (Grid, Chart, KPI) or Board can't produce what's being asked for - a bespoke chart, a custom canvas drawing, an interactive widget, or a standalone page in the left navigation that behaves like a small app. Also use it if a Frame you've already built shows up blank or broken and needs debugging./building-versions-and-planning-cyclesExecution skill. Use when implementing versions, planning cycles, or actuals vs forecast separation, and whenever realized data is extended into a plan or budget — loading actuals then planning the remaining periods, forecasting forward from actuals, Actual/Budget/Plan layering, plan vs actual variance — even when the request never uses the word version. Covers Version Dimensions, Switchover patterns, Actual/Forecast layering, Native Scenarios, and Snapshots.npx claudepluginhub gopigment/ai-plugins --plugin pigmentOther plugins' skills for the same job