Token导航 LogoToken导航

Agent Skill · 研究检索

self-improving-supply-chain(自我完善的供应链)

self-improving-supply-chain 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

self-improving-supply-chain 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 28,589。

总安装 3,189周安装 129GitHub Stars 公开资料未说明下载 1,001核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.2.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:self-improving-supply-chain(自我完善的供应链)
来源仓库:https://github.com/jose-compu/self-improving-supply-chain
安装命令:
openclaw skills install self-improving-supply-chain
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install self-improving-supply-chain

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

监控预测误差与物流延误,识别供应商风险与库存不匹配问题。适用于供应链管理与库存优化,支持需求信号动态调整。通过 OpenClaw 集成,建议对接 ERP 或 WMS 系统验证数据一致性。自动化补货等操作需设置阈值与人工确认环节。

self-improving-supply-chain 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install self-improving-supply-chain;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

self-improving-supply-chain 怎么安装?

在终端执行 openclaw skills install self-improving-supply-chain。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

self-improving-supply-chain 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

self-improving-supply-chain 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

self-improving-supply-chain 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

self-improving-supply-chain 用的人多吗?

公开数据是累计安装 3,189 次,近一周安装 129 次,下载 1,001 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

self-improving-supply-chain 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
self-improving-supply-chain

自我完善的供应链 · 本页

3,189—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
self-improving-supply-chain
description
Captures forecast errors, supplier risks, logistics delays, inventory mismatches, quality deviations, and demand signal shifts to enable continuous supply chain improvement. Use when: (1) A stockout or backorder event occurs, (2) A delivery SLA is missed, (3) Supplier lead time increases, (4) Quality rejection rate spikes, (5) Demand forecast vs. actual variance exceeds 15%, (6) Warehouse capacity threshold is breached, (7) A procurement or routing decision needs documentation.

Self-Improving Supply Chain Skill

Log supply chain learnings, disruption patterns, and feature requests to markdown files for continuous improvement. Captures forecast errors, supplier risks, logistics delays, inventory mismatches, quality deviations, and demand signal shifts. Important learnings get promoted to supplier scorecards, safety stock policies, routing playbooks, demand planning models, or quality acceptance criteria.

First-Use Initialisation

Before logging anything, ensure the .learnings/ directory and files exist in the project or workspace root. If any are missing, create them:

mkdir -p .learnings
[ -f .learnings/LEARNINGS.md ] || printf "# Supply Chain Learnings\
\
Forecast errors, supplier risks, logistics delays, inventory mismatches, quality deviations, and demand signal shifts captured during operations.\
\
**Categories**: forecast_error | supplier_risk | logistics_delay | inventory_mismatch | quality_deviation | demand_signal_shift\
**Areas**: procurement | inventory | logistics | manufacturing | quality | demand_planning | warehousing\
\
---\
" > .learnings/LEARNINGS.md
[ -f .learnings/SUPPLY_CHAIN_ISSUES.md ] || printf "# Supply Chain Issues Log\
\
Stockouts, delivery delays, supplier failures, quality rejections, and capacity breaches.\
\
---\
" > .learnings/SUPPLY_CHAIN_ISSUES.md
[ -f .learnings/FEATURE_REQUESTS.md ] || printf "# Feature Requests\
\
Supply chain tools, automation capabilities, and operational improvements.\
\
---\
" > .learnings/FEATURE_REQUESTS.md

Never overwrite existing files. This is a no-op if .learnings/ is already initialised.

Do not log proprietary supplier pricing, negotiated contract terms, or customer-identifiable order data. Prefer aggregated metrics and redacted summaries over raw PO numbers or customer names. This skill is documentation-only: it does not execute purchases, place orders, trigger procurement transactions, or call external payment systems.

If you want automatic reminders, use the opt-in hook workflow described in Hook Integration.

Quick Reference

SituationAction
Stockout event detectedLog to .learnings/SUPPLY_CHAIN_ISSUES.md with category inventory_mismatch
Delivery late or SLA missedLog to .learnings/SUPPLY_CHAIN_ISSUES.md with category logistics_delay
Supplier lead time increasedLog to .learnings/LEARNINGS.md with category supplier_risk
Quality rejection or defect spikeLog to .learnings/SUPPLY_CHAIN_ISSUES.md with category quality_deviation
Demand forecast off by >15%Log to .learnings/LEARNINGS.md with category forecast_error
Warehouse at or above 90% capacityLog to .learnings/SUPPLY_CHAIN_ISSUES.md with category inventory_mismatch
Demand spike from external signalLog to .learnings/LEARNINGS.md with category demand_signal_shift
Recurring supply chain patternLink with **See Also**, consider priority bump
Broadly applicable patternPromote to scorecard, policy, playbook, or model
Reusable operational processPromote to skill extraction

OpenClaw Setup (Recommended)

OpenClaw is the primary platform for this skill. It uses workspace-based prompt injection with automatic skill loading.

Installation

Via ClawdHub (recommended):

clawdhub install self-improving-supply-chain

Manual:

git clone https://github.com/jose-compu/self-improving-supply-chain.git ~/.openclaw/skills/self-improving-supply-chain

Workspace Structure

OpenClaw injects these files into every session:

~/.openclaw/workspace/
├── AGENTS.md          # Multi-agent workflows, delegation patterns
├── SOUL.md            # Behavioral guidelines, personality, principles
├── TOOLS.md           # Tool capabilities, integration gotchas
├── MEMORY.md          # Long-term memory (main session only)
├── memory/            # Daily memory files
│   └── YYYY-MM-DD.md
└── .learnings/        # This skill's log files
    ├── LEARNINGS.md
    ├── SUPPLY_CHAIN_ISSUES.md
    └── FEATURE_REQUESTS.md

Create Learning Files

mkdir -p ~/.openclaw/workspace/.learnings

Then create the log files (or copy from assets/):

  • LEARNINGS.md — forecast errors, supplier risks, demand signal shifts
  • SUPPLY_CHAIN_ISSUES.md — stockouts, delays, quality problems, capacity breaches
  • FEATURE_REQUESTS.md — supply chain tools, automation, operational capabilities

Promotion Targets

When supply chain learnings prove broadly applicable, promote them:

Learning TypePromote ToExample
Supplier performance patternsSupplier scorecards"Require dual-source for components >$50K annual spend"
Inventory buffer patternsSafety stock policies"Ocean-freight SKUs carry 3 weeks safety stock"
Routing optimizationsRouting playbooks"Divert to Nansha when Yantian queue >5 days"
Forecast accuracy patternsDemand planning models"Apply seasonal index for gift-category Q4 SKUs"
Quality failure patternsQuality acceptance criteria"100% inspection on first shipment from new suppliers"
Workflow patternsAGENTS.md"Run inventory reconciliation before reorder point calc"

Optional: Enable Hook

For automatic reminders at session start:

cp -r hooks/openclaw ~/.openclaw/hooks/self-improving-supply-chain
openclaw hooks enable self-improving-supply-chain

See references/openclaw-integration.md for complete details.


Generic Setup (Other Agents)

For Claude Code, Codex, Copilot, or other agents, create .learnings/ in the project or workspace root:

mkdir -p .learnings

Create the files inline using the headers shown above.

Add reference to agent files

Add to AGENTS.md, CLAUDE.md, or .github/copilot-instructions.md:

Self-Improving Supply Chain Workflow

When supply chain disruptions or patterns are discovered:

  1. Log to .learnings/SUPPLY_CHAIN_ISSUES.md, LEARNINGS.md, or FEATURE_REQUESTS.md
  2. Review and promote broadly applicable learnings to:

- Supplier scorecards — performance thresholds, risk tiers, qualification requirements - Safety stock policies — buffer calculations, service level targets, review cadence - Routing playbooks — contingency routes, mode-shift triggers, carrier selection - Demand planning models — seasonal indices, channel mix adjustments, event-driven overlays

Logging Format

Learning Entry [LRN-YYYYMMDD-XXX]

Append to .learnings/LEARNINGS.md:

## [LRN-YYYYMMDD-XXX] category

**Logged**: ISO-8601 timestamp
**Priority**: low | medium | high | critical
**Status**: pending
**Area**: procurement | inventory | logistics | manufacturing | quality | demand_planning | warehousing

### Summary
One-line description of the supply chain insight

### Details
Full context: what operational condition was observed, why it matters,
what the root cause is, and what the downstream impact was.
Include quantified metrics where possible (units, cost, days, fill rate).

### Impact
- Units affected: X
- Cost impact: $Y
- Duration: Z days
- Service level impact: from A% to B%

### Suggested Action
Specific policy change, process improvement, or operational adjustment to adopt

### Metadata
- Source: demand_forecast_review | supplier_communication | warehouse_audit | quality_inspection | order_management | logistics_tracking
- SKU/Component: identifier (if applicable)
- Supplier: name and code (if applicable)
- Related Files: path/to/file.ext
- Tags: tag1, tag2
- See Also: LRN-20250110-001 (if related to existing entry)
- Pattern-Key: forecast_error.seasonal_miss | supplier_risk.single_source (optional)
- Recurrence-Count: 1 (optional)
- First-Seen: 2025-01-15 (optional)
- Last-Seen: 2025-01-15 (optional)

---

Categories for learnings:

CategoryUse When
forecast_errorDemand forecast deviates significantly from actuals (MAPE >15%)
supplier_riskSupplier lead time increase, financial distress, capacity constraint, single-source exposure
logistics_delayShipment delay, port congestion, carrier failure, customs hold, routing inefficiency
inventory_mismatchWMS vs physical count variance, stockout, overstock, expired inventory, capacity breach
quality_deviationDefect rate spike, inspection failure, non-conformance, recall, specification drift
demand_signal_shiftUnexpected demand change from viral event, channel shift, competitor action, regulation

Supply Chain Issue Entry [SCM-YYYYMMDD-XXX]

Append to .learnings/SUPPLY_CHAIN_ISSUES.md:

## [SCM-YYYYMMDD-XXX] category

**Logged**: ISO-8601 timestamp
**Priority**: high
**Status**: pending
**Area**: procurement | inventory | logistics | manufacturing | quality | demand_planning | warehousing

### Summary
Brief description of the supply chain disruption or issue

### Details
What happened, when, where in the supply chain, and what triggered it.

### Impact
- Units affected: X
- Cost impact: $Y (direct + indirect)
- Duration: Z days
- Customer impact: fill rate drop, delayed orders, SLA breach

### Mitigation Steps
1. Immediate containment action
2. Short-term workaround
3. Root cause investigation
4. Long-term corrective action

### Root Cause
What in the supply chain caused this issue. Include contributing factors.

### Context
- Trigger: stockout_event | delivery_sla_miss | supplier_lead_time_increase | quality_rejection_spike | forecast_variance | capacity_breach
- Carrier/Supplier: name and code
- Route/Lane: origin → destination
- SKU/Component: identifiers affected

### Metadata
- Reproducible: yes | no | seasonal | event_driven
- Related Files: path/to/file.ext
- See Also: SCM-20250110-001 (if recurring)

---

Feature Request Entry [FEAT-YYYYMMDD-XXX]

Append to .learnings/FEATURE_REQUESTS.md:

## [FEAT-YYYYMMDD-XXX] capability_name

**Logged**: ISO-8601 timestamp
**Priority**: medium
**Status**: pending
**Area**: procurement | inventory | logistics | manufacturing | quality | demand_planning | warehousing

### Requested Capability
What supply chain tool, automation, or capability is needed

### User Context
Why it's needed, what workflow it improves, what operational problem it solves

### Complexity Estimate
simple | medium | complex

### Suggested Implementation
How this could be built: dashboard, integration, alert system, optimization model, workflow automation

### Metadata
- Frequency: first_time | recurring
- Related Features: existing_tool_or_system

---

ID Generation

Format: TYPE-YYYYMMDD-XXX

  • TYPE: LRN (learning), SCM (supply chain issue), FEAT (feature request)
  • YYYYMMDD: Current date
  • XXX: Sequential number or random 3 chars (e.g., 001, A7B)

Examples: LRN-20250415-001, SCM-20250415-A3F, FEAT-20250415-002

Resolving Entries

When an issue is resolved, update the entry:

  1. Change **Status**: pending → **Status**: resolved
  2. Add resolution block after Metadata:
### Resolution
- **Resolved**: 2025-01-16T09:00:00Z
- **Corrective Action**: policy change / supplier qualification / routing update / safety stock adjustment
- **Notes**: Description of what was done and verification of effectiveness

Other status values:

  • in_progress — Actively being investigated or mitigated
  • wont_fix — Accepted risk or not actionable (add reason in Resolution notes)
  • promoted — Elevated to scorecard, policy, playbook, or model
  • promoted_to_skill — Extracted as a reusable skill

Detection Triggers

Automatically log when you encounter:

Inventory Below Safety Stock (→ supply chain issue with inventory_mismatch):

  • Available stock drops below reorder point
  • Safety stock consumed with no inbound PO in transit
  • Allocation conflict between customer orders
  • WMS alerts for zero-available or negative-available

Delivery Tracking Shows Delay (→ supply chain issue with logistics_delay):

  • Carrier tracking shows ETA pushed beyond original commitment
  • Port congestion reports for origin or destination terminal
  • Customs hold or inspection delay notification
  • Mode conversion required (ocean → air) to meet deadline

Supplier Communication Indicating Lead Time Change (→ learning with supplier_risk):

  • Supplier notifies of capacity reduction or allocation
  • Lead time quoted on new PO exceeds historical average by >20%
  • Supplier financial health downgrade (D&B, credit report)
  • Force majeure notification from supplier

Quality Inspection Failure Rate >2% (→ supply chain issue with quality_deviation):

  • Incoming quality inspection rejection rate exceeds 2% threshold
  • Customer return rate for quality reasons exceeds 1%
  • Supplier corrective action request (SCAR) issued
  • Specification non-conformance on critical dimension

Demand Forecast MAPE >15% (→ learning with forecast_error):

  • Monthly MAPE exceeds 15% at SKU-family level
  • Bias consistently positive (underforecast) or negative (overforecast) for 3+ months
  • New product launch demand significantly different from analogous forecast
  • Promotional lift or cannibalization not captured in model

Warehouse Utilization >90% (→ supply chain issue with inventory_mismatch):

  • DC utilization exceeds 90% of total capacity
  • Receiving dock backlog exceeds 48 hours
  • Put-away queue growing faster than processing rate
  • Overflow to secondary or temporary storage required

Priority Guidelines

PriorityWhen to UseSupply Chain Examples
criticalProduction line stopped, customer order unfulfillable, safety/recall issueFactory shut down waiting for parts, complete stockout on top-10 SKU, product recall initiated
highStockout imminent, supplier failure likely, major SLA breachSafety stock below 3 days, sole-source supplier in financial distress, 50+ orders delayed
mediumForecast accuracy degradation, routing inefficiency, quality trendMAPE trending up over 3 months, suboptimal carrier selection, rejection rate at 1.5%
lowProcess documentation, minor optimization, data cleanupSOP update needed, rounding error in forecast, warehouse label format change

Area Tags

Use to filter learnings by supply chain domain:

AreaScope
procurementSupplier selection, PO management, contract negotiation, spend analysis, qualification
inventorySafety stock, reorder points, cycle counting, ABC classification, obsolescence
logisticsFreight, routing, carrier management, customs, last-mile, mode selection
manufacturingProduction planning, BOM management, capacity, yield, changeover
qualityInspection, SCAR, non-conformance, acceptance criteria, certification
demand_planningForecasting, seasonal decomposition, promotional planning, new product introduction
warehousingStorage, picking, packing, receiving, put-away, layout, capacity

Promoting to Permanent Operational Standards

When a learning is broadly applicable (not a one-off event), promote it to permanent operational standards.

When to Promote

  • Same supplier issue recurs across multiple quarters
  • Forecast error pattern appears for 3+ SKU families
  • Logistics delay from same lane or carrier happens 3+ times
  • Quality issue at same supplier or component recurs
  • Inventory mismatch pattern found in 2+ distribution centers

Promotion Targets

TargetWhat Belongs There
Supplier scorecardsPerformance thresholds, risk tier definitions, qualification requirements
Safety stock policiesBuffer calculations by sourcing mode, service level targets, review cadence
Routing playbooksContingency routes, mode-shift triggers, carrier escalation matrix
Demand planning modelsSeasonal indices, event overlays, channel mix assumptions
Quality acceptance criteriaInspection sampling plans, reject thresholds, first-article requirements
AGENTS.mdAutomated operational workflows, pre-reorder checks

How to Promote

  1. Distill the learning into a concise rule or policy statement
  2. Add to appropriate target (scorecard, policy, playbook, model)
  3. Update original entry:

- Change **Status**: pending → **Status**: promoted - Add **Promoted**: safety stock policy (or supplier scorecard, routing playbook, demand model, quality criteria)

Promotion Examples

Learning (verbose):

Ocean-freight SKUs experience 10-21 day lead time variability. Existing 2-week safety stock insufficient — caused 4 stockouts in 6 months.

As safety stock policy (concise):

## Ocean-Freight Safety Stock
- Buffer: 3 weeks of average weekly demand
- Review: quarterly against actual lead time data
- Trigger: adjust if lead time std dev changes >20%

Learning (verbose):

Port congestion at Yantian added 14 days to 12 containers. Diverting to Nansha saved 7 days on 4 containers. West Coast routing avoided congestion entirely.

As routing playbook (actionable):

## Yantian Congestion Response
1. Monitor Yantian vessel queue daily via CargoSmart
2. If berthing wait >5 days: divert new bookings to Nansha
3. If congestion >10 days: activate West Coast routing via Long Beach
4. Air-freight top 8 critical SKUs if customer SLA at risk
5. Notify customer service for affected order ETAs

Recurring Pattern Detection

If logging something similar to an existing entry:

  1. Search first: grep -r "keyword" .learnings/
  2. Link entries: Add **See Also**: SCM-20250110-001 in Metadata
  3. Bump priority if issue keeps recurring
  4. Consider systemic fix: Recurring supply chain issues often indicate:

- Missing safety stock buffer (→ adjust policy) - Supplier concentration risk (→ qualification of alternate) - Forecast model gap (→ add decomposition or overlay) - Process gap (→ add SOP or checklist)

Periodic Review

Review .learnings/ at natural breakpoints:

When to Review

  • Before finalizing replenishment plans
  • After month-end demand review
  • When the same disruption type appears again
  • Quarterly during S&OP planning cycle

Quick Status Check

# Count pending supply chain issues
grep -h "Status\*\*: pending" .learnings/*.md | wc -l

# List pending high-priority issues
grep -B5 "Priority\*\*: high" .learnings/SUPPLY_CHAIN_ISSUES.md | grep "^## \["

# Find learnings for a specific area
grep -l "Area\*\*: logistics" .learnings/*.md

# Find all supplier risk entries
grep -B2 "supplier_risk" .learnings/LEARNINGS.md | grep "^## \["

Review Actions

  • Resolve mitigated issues
  • Promote recurring patterns to policies and playbooks
  • Link related entries across files
  • Extract reusable processes as skills

Simplify & Harden Feed

Ingest recurring supply chain patterns from simplify-and-harden into policies or playbooks.

  1. For each candidate, use pattern_key as the dedupe key.
  2. Search .learnings/LEARNINGS.md for existing entry: grep -n "Pattern-Key: <key>" .learnings/LEARNINGS.md
  3. If found: increment Recurrence-Count, update Last-Seen, add See Also links.
  4. If not found: create new LRN-... entry with Source: simplify-and-harden.

Promotion threshold: Recurrence-Count >= 3, seen in 2+ quarters or locations, within 12-month window. Targets: supplier scorecards, safety stock policies, routing playbooks, demand models, AGENTS.md.

Hook Integration

Enable automatic reminders through agent hooks. This is opt-in.

Quick Setup (Claude Code / Codex)

Create .claude/settings.json in your project:

{
  "hooks": {
    "UserPromptSubmit": [{
      "matcher": "",
      "hooks": [{
        "type": "command",
        "command": "./skills/self-improving-supply-chain/scripts/activator.sh"
      }]
    }]
  }
}

This injects a supply chain-focused learning evaluation reminder after each prompt (~50-100 tokens overhead).

Advanced Setup (With Disruption Detection)

{
  "hooks": {
    "UserPromptSubmit": [{
      "matcher": "",
      "hooks": [{
        "type": "command",
        "command": "./skills/self-improving-supply-chain/scripts/activator.sh"
      }]
    }],
    "PostToolUse": [{
      "matcher": "Bash",
      "hooks": [{
        "type": "command",
        "command": "./skills/self-improving-supply-chain/scripts/error-detector.sh"
      }]
    }]
  }
}

Enable PostToolUse only if you want the hook to inspect command output for stockouts, delays, shortages, defects, and other supply chain disruptions.

Available Hook Scripts

ScriptHook TypePurpose
scripts/activator.shUserPromptSubmitReminds to evaluate supply chain learnings after tasks
scripts/error-detector.shPostToolUse (Bash)Triggers on stockouts, delays, shortages, quality issues

See references/hooks-setup.md for detailed configuration and troubleshooting.

Automatic Skill Extraction

When a supply chain learning is valuable enough to become a reusable skill, extract it.

Skill Extraction Criteria

CriterionDescription
RecurringSame disruption pattern in 2+ quarters or locations
VerifiedStatus is resolved with effective corrective action
Non-obviousRequired investigation or cross-functional coordination
Broadly applicableNot specific to one SKU or supplier; useful across categories
User-flaggedUser says "save this as a skill" or similar

Extraction Workflow

  1. Identify candidate: Learning meets extraction criteria
  2. Run helper (or create manually):
   ./skills/self-improving-supply-chain/scripts/extract-skill.sh skill-name --dry-run
   ./skills/self-improving-supply-chain/scripts/extract-skill.sh skill-name
  1. Customize SKILL.md: Fill in template with supply chain-specific content
  2. Update learning: Set status to promoted_to_skill, add Skill-Path
  3. Verify: Read skill in fresh session to ensure it's self-contained

Extraction Detection Triggers

In conversation: "This delay keeps happening", "Save this process as a skill", "Every quarter we hit this issue", "We need a standard playbook for this".

In entries: Multiple See Also links, high priority + resolved, supplier_risk or logistics_delay with broad applicability, same Pattern-Key across quarters or DCs.

Multi-Agent Support

AgentActivationDetection
Claude CodeHooks (UserPromptSubmit, PostToolUse)Automatic via error-detector.sh
Codex CLIHooks (same pattern)Automatic via hook scripts
GitHub CopilotManual (.github/copilot-instructions.md)Manual review
OpenClawWorkspace injection + inter-agent messagingVia session tools

Best Practices

  1. Log immediately — operational context fades fast after disruption resolution
  2. Quantify impact — always include units, cost, days, and service level metrics
  3. Specify the supply chain node — supplier, DC, lane, or SKU family affected
  4. Track lead times weekly — detect trends before they cause stockouts
  5. Validate forecasts monthly — compare forecast vs. actual at SKU-family level using MAPE and bias
  6. Diversify suppliers — no single-source for components with >$50K annual spend
  7. Maintain safety stock — buffer by sourcing mode (ocean 3wk, air 1wk, domestic 1.5wk)
  8. Inspect at receiving — verify quantity and quality before receipting into WMS
  9. Document routing decisions — record why a lane or mode was chosen for future reference
  10. Promote aggressively — if a pattern recurs across 2+ quarters, it deserves a policy

Gitignore Options

Keep learnings local (per-team): add .learnings/ to .gitignore. Track learnings in repo (organization-wide): don't gitignore — learnings become shared operational knowledge. Hybrid: gitignore .learnings/*.md but keep .learnings/.gitkeep.

Stackability Contract (Standalone + Multi-Skill)

This skill is standalone-compatible and stackable with other self-improving skills.

Namespaced Logging (recommended for 2+ skills)

  • Namespace for this skill: .learnings/supply-chain/
  • Keep current standalone behavior if you prefer flat files.
  • Optional shared index for all skills: .learnings/INDEX.md

Required Metadata

Every new entry must include:

**Skill**: supply-chain

Hook Arbitration (when 2+ skills are enabled)

  • Use one dispatcher hook as the single entrypoint.
  • Dispatcher responsibilities: route by matcher, dedupe repeated events, and rate-limit reminders.
  • Suggested defaults: dedupe key = event + matcher + file + 5m_window; max 1 reminder per skill every 5 minutes.

Narrow Matcher Scope (supply-chain)

Only trigger this skill automatically for supply-chain signals such as:

  • lead time|stockout|safety stock|supplier delay|fill rate
  • forecast bias|otif|procurement|lane disruption|inventory
  • explicit supply-chain intent in user prompt

Cross-Skill Precedence

When guidance conflicts, apply:

  1. security
  2. engineering
  3. coding
  4. ai
  5. user-explicit domain skill
  6. meta as tie-breaker

Ownership Rules

  • This skill writes only to .learnings/supply-chain/ in stackable mode.
  • It may read other skill folders for cross-linking, but should not rewrite their entries.

平台分布

OpenClaw

75.48%
按下载量换算756

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills