supplier-selection

द्वारा anthropic

किसी SKU के लिए आपूर्तिकर्ता को रैंक और चुनने का तरीका। इसे तब लोड करें जब किसी कार्य में आपूर्तिकर्ता चुनना, कोट्स की तुलना करना, या खरीद आदेश बनाना शामिल हो।

npx skills add https://github.com/anthropics/cwc-workshops --skill supplier-selection

Supplier Selection

Ranking suppliers is arithmetic, not judgment. Compute it in Python via code execution — do not reason about it in prose.

Method

For a given SKU:

  1. Read /mnt/user/data/supplier_catalog.csv and filter to rows matching the SKU. This gives you (supplier_id, unit_price, min_order_qty) for each candidate.
  2. Join with /mnt/user/data/suppliers.csv on supplier_id to get lead_time_days and reliability.
  3. Normalize price and lead time across the candidates (min-max to [0,1], where 0 is best). Reliability is already on [0,1] where higher is better.
  4. Score each candidate:
    score = 0.5 × (1 − norm_price) + 0.3 × (1 − norm_lead_time) + 0.2 × reliability
    
  5. Pick the highest score. Tie-breaks: lowest unit_price, then lowest lead_time_days, then alphabetical supplier_id.

Do this in code

Write and run a short Python script — don't call a tool per supplier, and don't compare quotes by describing them. Example shape:

import csv
sku = "SKU-0057"
catalog = [r for r in csv.DictReader(open("/mnt/user/data/supplier_catalog.csv")) if r["sku"] == sku]
suppliers = {r["supplier_id"]: r for r in csv.DictReader(open("/mnt/user/data/suppliers.csv"))}
# join, normalize, score, sort — print the winner as JSON

Supplier-specific overrides

These quirks are not in the catalog data. Apply them after computing the score; if one changes your pick, say so in the rationale.

SupplierOverride
SUP-01 Cascade DistributionOrders >500 units need 48h notice or they auto-split into two shipments — add to lead-time math for large POs.
SUP-02 Alpine WholesaleClosed Dec 20 – Jan 3. POs in that window aren't acknowledged until Jan 4. Land holiday replenishment before Dec 15.
SUP-03 Backcountry Supply CoTwo short-ships on Tents & Shelter this year. Prefer an alternate for that category if lead is comparable.
SUP-04 Sierra OutfittersUnlisted 3% price break at 250+ units. If recommended qty is 200–249, often worth rounding up.
SUP-05 Granite Gear PartnersWest-coast DC only. Add 2–3 days to catalog lead time for WH-EAST deliveries.
SUP-07 Ridgecrest ImportsImport-only; lead times are port-congestion sensitive. Don't rely on stated lead for an urgent order.
SUP-09 Summit SourceMOQ is enforced strictly — they reject (not round up) below-MOQ POs.
SUP-12 Trailhead MercantileNew on roster. Treat reliability as one notch lower than stated until 6 months of history.

Warehouse lead-time adjustments

  • WH-WEST (Reno): most suppliers ship from east-coast DCs — add +2 days to catalog lead time as a rule of thumb unless a supplier note says otherwise.
  • WH-EAST (Carlisle): two-shift receiving dock; best destination for an expedited PO that needs same-day inbound scheduling.
  • WH-CENTRAL (Kansas City): overflow / transfer hub. If you're sourcing an inter-warehouse transfer rather than a PO, WH-CENTRAL is almost always the origin.

Expedite override

If the reorder-policy skill flagged expedite, ignore the score and pick the supplier with the lowest lead_time_days whose min_order_qty ≤ your target order qty.

Output

Return {"supplier_id": "SUP-03", "unit_price": 21.40, "lead_time_days": 7, "score": 0.81} and use that supplier_id in the PO.

anthropic की और Skills

access
anthropic
Discord चैनल एक्सेस प्रबंधित करें — पेयरिंग स्वीकृत करें, अनुमति सूची संपादित करें, DM/ग्रुप नीति सेट करें। उपयोग तब करें जब उपयोगकर्ता पेयर करने, किसी को स्वीकृत करने, किसकी अनुमति है यह जाँचने के लिए कहे,…
official
session-report
anthropic
क्लाउड कोड सत्र उपयोग (टोकन, कैश, उप-एजेंट, कौशल, महंगे प्रॉम्प्ट) से ~/.claude/projects ट्रांसक्रिप्ट का एक अन्वेषणीय HTML रिपोर्ट तैयार करें।
official
build-mcp-server
anthropic
यह कौशल तब उपयोग किया जाना चाहिए जब उपयोगकर्ता "MCP सर्वर बनाएं", "MCP बनाएं", "MCP इंटीग्रेशन करें", "Claude के लिए API रैप करें", "टूल्स को एक्सपोज़ करें..." जैसी बात कहे।
official
cookbook-audit
anthropic
एन्थ्रोपिक कुकबुक नोटबुक का एक रूब्रिक के आधार पर ऑडिट करें। जब भी नोटबुक समीक्षा या ऑडिट का अनुरोध किया जाए, इसका उपयोग करें।
official
handle-complaint
anthropic
ग्राहक की शिकायत को शुरू से अंत तक संभालता है — संदर्भ खींचता है, प्रतिक्रिया का मसौदा तैयार करता है, और एक परिचालन सुधार सुझाता है। वैकल्पिक ईमेल या टिकट आईडी स्वीकार करता है…
official
use-case-triage
anthropic
शीघ्रता से निर्धारित करें कि किसी प्रसंस्करण गतिविधि के लिए PIA, अनिवार्य GDPR DPIA की आवश्यकता है या इसे आगे बढ़ाया जा सकता है — गोपनीयता नीति विरोधों को उजागर करता है और सही मार्ग पर ले जाता है…
official
board-minutes
anthropic
बोर्ड या समिति की बैठक के कार्यवृत्त आपके घरेलू प्रारूप में तैयार करता है। आपके कैलेंडर से आगामी बोर्ड और समिति की बैठकों का स्वतः पता लगाता है, एजेंडा मांगता है और…
official
renewal-tracker
anthropic
नवीनीकरण रजिस्टर से काम करते हुए, आगामी रद्दीकरण-द्वारा समय सीमा वाले अनुबंध दिखाएँ और नोटिस विंडो बंद होने से पहले चेतावनी दें। उपयोग तब करें जब उपयोगकर्ता पूछे…
official