charlieviettq/awesome-agent-skill / .claude/skills/biz-toc
"biz-toc"
Verified"Apply Theory of Constraints (TOC) to identify and manage system bottlenecks. Use this skill when the user needs to find what limits throughput, optimize a constrained process, apply the Five Focusing Steps, or implement Drum-Buffer-Rope scheduling — even if they say 'our output is stuck', 'what's the bottleneck', or 'why can't we produce more'.".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.8 KB |
| examples/sample_scenario.md | markdown | 6.0 KB |
| references/dbr-scheduling.md | markdown | 9.4 KB |
examples/sample_scenario.md
View on GitHub我來直接輸出 markdown 內容:
---
# Example: 醫療耗材製造商的產能瓶頸
## Scenario
**公司**: MedPack Taiwan(中部某醫療耗材 OEM,員工 320 人)
**問題陳述**(營運總監提問):
> 「我們接到一張大單——某連鎖醫院要每月 80,000 套無菌換藥包。我們現在每月只能出 52,000 套。產線五個站都有在跑,主管都說自己很忙,但整體產量就是上不去。我已經讓採購去詢價要買一台新的自動封口機(Station 4),報價 380 萬,老闆問我值不值得。」
### 當前產線資料(月產能 / 月需求對比)
| 站別 | 工序 | 月設計產能(套) | 實際月產出(套) | 利用率 | 站前 WIP(套) |
|------|------|----------------|----------------|--------|--------------|
| S1 | 裁切 & 折疊 | 95,000 | 93,000 | 98% | 1,200 |
| S2 | 物料組裝 | 88,000 | 85,000 | 97% | 8,400 |
| S3 | 環氧乙烷滅菌(EO)| **52,000** | **51,800** | **99.6%** | **14,700** |
| S4 | 自動封口 & 貼標 | 120,000 | 65,000 | 54% | 420 |
| S5 | 目視檢驗 & 裝箱 | 90,000 | 62,000 | 69% | 380 |
> 備註:S3 滅菌腔體每批次需 18 小時循環(進腔 2 hr → EO 曝露 8 hr → 排氣 8 hr),每月可跑 28 批,每批裝載上限 1,850 套。28 × 1,850 = 51,800 套。
---
## Analysis
### Step 1 — IDENTIFY 約束
**瓶頸:S3 環氧乙烷滅菌腔**
判斷依據:
- **利用率最高**:99.6%,幾乎無任何空閒時段
- **站前 WIP 最大**:14,700 套積壓(是 S2 一整周的產出)
- **產出直接等於系統產出**:S4、S5 的實際月產出(65,000 / 62,000)本可更高,但因 S3 只給出 51,800 套,下游同步受限
- **採購目標 S4 封口機的謬誤**:S4 目前利用率僅 54%,即便升級到 160,000 套/月,系統產出仍是 51,800 套。380 萬投資對產量零貢獻。
```
S1(93k) → S2(85k) → [S3 ★ 51.8k] → S4(65k→51.8k) → S5(62k→51.8k) → 出貨 51,800
↑ 瓶頸,決定全線輸出
```
---
### Step 2 — EXPLOIT 最大化現有瓶頸產能
目標:不增加設備,壓榨 S3 每一分鐘。
**現況分析**:
- 每批 18 hr 循環中,實際排程浪費約 2.5 hr(批次換腔清潔 1.5 hr + 等待裝載 1 hr)
- 平均每月只跑 28 批,而非理論上限 30 批(720 hr ÷ 24 hr/批 = 30 批)
**Exploit 行動**:
| 行動 | 現況 | 目標 | 預期增益 |
|------|------|------|---------|
| 清潔流程標準化(5S) | 1.5 hr/批 | 0.8 hr/批 | 節省 0.7 hr/批 |
| 裝載排程前置作業(下一批物料預備好在腔外) | 等待 1 hr | 0.3 hr | 節省 0.7 hr/批 |
| 合計每批循環縮短 | 18 hr | **16.6 hr** | 月批次:43 批 → 理論產出 **79,550 套** |
> ⚠️ 注意:滅菌腔裝載密度不可提高(法規規定每批最大 1,850 套,已達上限)。唯一可操作的變量是縮短非生產時間。
**Exploit 後月產出估算**:43 批 × 1,850 套 = **79,550 套** ≈ 滿足 80,000 套訂單需求(誤差 0.6%,可透過偶爾加班批次補足)。
---
### Step 3 — SUBORDINATE 其他站讓步於 S3
關鍵:S1、S2 **不應全力衝產**,否則繼續造成 S3 前的 WIP 積壓。
**DBR 設定**:
| 元素 | 設定值 | 說明 |
|------|--------|------|
| **Drum(鼓)** | 1,850 套 / 16.6 hr ≈ 111.4 套/hr | S3 的節奏,全線依此定速 |
| **Buffer(緩衝)** | S3 前維持 3,700 套(= 2 批備料)| 確保 S3 永不等料;目前 14,700 套 WIP 應逐步消化到此水位 |
| **Rope(繩)** | S1 投料速度設定為 115 套/hr(含 3% 餘量) | 綁住上游,避免過量投入 |
**S2 降速處理**:S2 目前月產 85,000 套,超出 S3 需求 33,000 套,造成 WIP 堆積。S2 應降至 82,000 套/月(≈ 每日運作 22 hr 而非 24 hr),多餘產能做預防維護。
---
### Step 4 — ELEVATE(條件性)
**結論:本次不需要 Elevate。**
Exploit + Subordinate 後預估月產出 79,550 套,已可滿足訂單需求(80,000 套)。
**380 萬 S4 封口機採購應暫緩**,理由:
1. S4 目前利用率 54%,升級後仍受 S3 限制
2. S3 瓶頸在 Exploit 階段已解決,無需動用資本支出
3. 若未來訂單超過 79,550 套,再評估第二台滅菌腔(估價約 620 萬,但 ROI 遠優於封口機)
---
### Step 5 — REPEAT(預警)
Exploit 行動落地後,S3 月產能提升至 ~79,550 套。此時需重新檢視全線:
- **新瓶頸候選**:S2 組裝(月設計產能 88,000,若訂單增至 90,000+ 套,S2 將成為新約束)
- **監控指標**:每月重跑一次利用率 & WIP 統計,發現哪站 WIP 開始累積即啟動新一輪五步驟
---
## Result
```markdown
# TOC Analysis: MedPack Taiwan 無菌換藥包產線
## System Map
S1裁切(93k) → S2組裝(85k) → **S3滅菌★(51.8k)** → S4封口(54%) → S5檢驗 → 出貨
## Constraint Identification
- 瓶頸:S3 環氧乙烷滅菌腔
- 證據:利用率 99.6%、站前 WIP 14,700 套(其他站均 < 1,300 套)
- 現有系統月產出:51,800 套(目標:80,000 套)
## Five Focusing Steps
| 步驟 | 行動 | 預期效益 |
|------|------|---------|
| 1. Identify | S3 滅菌腔為唯一瓶頸 | — |
| 2. Exploit | 標準化換腔清潔 + 預備裝載:循環 18 hr → 16.6 hr | +53% 月批次(28→43),產出 79,550 套 |
| 3. Subordinate | S1 投料限速 115 套/hr;S2 降至 82,000 套/月 | WIP 從 14,700 降至 3,700 套 |
| 4. Elevate | 暫不需要;若未來需求 > 80,000 套再評估第二台滅菌腔 | — |
| 5. Repeat | Exploit 落地後重跑利用率分析;S2 為下一候選瓶頸 | — |
## DBR Implementation
- Drum:S3,111.4 套/hr(每批 16.6 hr × 1,850 套)
- Buffer:S3 前維持 3,700 套(2 批備料)
- Rope:S1 投料速度 ≤ 115 套/hr
## 採購建議
- ❌ S4 封口機(380 萬):暫緩,S4 非瓶頸,投資無效
- ✅ S3 Exploit 改善(估計人力 + SOP 成本 < 15 萬):投資報酬率遠高於任何設備採購
```
---
以上是 `biz-toc/examples/sample_scenario.md` 的完整內容。請將此內容存入該檔案。
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |