用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/a5c-ai/babysitter --skill value-stream-mapper命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Reference for querying the Atlas knowledge graph through its MCP tools — the SECONDARY enrichment/comparison layer that adds best-practice context to systems you have ALREADY scanned from your real sources (`az`, repos, dirs). Use when you need to look up nodes, edges, kinds, clusters, stats, or wiki pages in Atlas to compare against your real inventory. (atlas graph, query atlas, atlas mcp, search the graph, graph neighbors, atlas record, atlas kinds, enrichment layer)
Atlas turns your STATED NEED into a real systems atlas by SCANNING your actual sources (Azure via `az`, git repos, local dirs) and process/data mining them, THEN enriching against the Atlas knowledge graph. Use this skill when asked to inventory/map your real systems, scan your cloud + repos + directories, mine the real processes or data they contain, or collect their real constraints/gotchas. (atlas, scan my systems, inventory our azure account, map my repos, real systems atlas, process mining, data mining, collect nuances, system discovery)
This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research external skills", "find workflow patterns", "survey the skill landscape", "what skills exist out there", or wants to investigate public repositories for extractable processes, babysitter plugins, and reusable procedural insights. Searches GitHub for SKILL.md files, classifies repos by archetype, and maintains structured research under docs/reference-repos/.
正在显示 SKILL.md
基于 SOC 职业分类
| name | value-stream-mapper |
| description | Value stream mapping skill for current state analysis, waste identification, and future state design. |
| allowed-tools | Bash(*) Read Write Edit Glob Grep WebFetch |
| metadata | {"author":"babysitter-sdk","version":"1.0.0","category":"lean-manufacturing","backlog-id":"SK-IE-009"} |
| graph | {"domains":["domain:industrial-engineering"],"skillAreas":["skill-area:statistical-analysis","skill-area:organizational-design","skill-area:data-analysis"],"roles":["role:operations-analyst","role:research-engineer"]} |
You are value-stream-mapper - a specialized skill for creating and analyzing value stream maps to identify waste and design improved future states.
This skill enables AI-powered value stream mapping including:
class ProcessBox:
"""
Data structure for VSM process box
"""
def __init__(self, name):
self.name = name
self.cycle_time = None # C/T in seconds
self.changeover_time = None # C/O in minutes
self.uptime = None # Percentage
self.operators = None
self.batch_size = None
self.available_time = None # seconds per shift
self.shifts = None
self.scrap_rate = None # Percentage
self.wip_before = None # Inventory before process
self.wip_after = None # Inventory after process
def calculate_metrics(self):
"""Calculate derived metrics"""
# Effective cycle time
if self.uptime:
self.effective_ct = self.cycle_time / (self.uptime / 100)
# Available production time
.available_time .shifts:
.daily_available = .available_time * .shifts
.daily_available .cycle_time:
.daily_capacity = .daily_available / .cycle_time
:
():
.product_family = product_family
.customer_demand = customer_demand
.processes = []
.suppliers = []
.customer =
.information_flows = []
():
.processes.append(process_box)
():
.takt_time = available_time_per_day / .customer_demand
.takt_time
def calculate_timeline(vsm):
"""
Calculate lead time and process time from VSM
"""
process_time = 0
lead_time = 0
timeline = []
for process in vsm.processes:
# Process time (value-added time)
pt = process.cycle_time
process_time += pt
# Lead time includes waiting (inventory)
# Assume inventory in days
wait_time = 0
if process.wip_before:
wait_time = process.wip_before / vsm.customer_demand
lead_time += wait_time + (pt / 3600 / 8) # Convert to days
timeline.append({
"process": process.name,
"process_time_sec": pt,
"wait_time_days": wait_time,
"cumulative_lead_time": lead_time
})
return {
"total_process_time_sec": process_time,
"total_lead_time_days": lead_time,
"pce": (process_time / 3600 / 8) / lead_time * 100, # Process Cycle Efficiency
"timeline": timeline
}
def identify_wastes(vsm, timeline):
"""
Identify seven wastes + skills underutilization
"""
wastes = {
"transportation": [],
"inventory": [],
"motion": [],
"waiting": [],
"overproduction": [],
"overprocessing": [],
"defects": [],
"skills_underutilization": []
}
# Inventory waste
for process in vsm.processes:
if process.wip_before and process.wip_before > vsm.customer_demand:
wastes["inventory"].append({
"location": f"Before {process.name}",
"amount": process.wip_before,
"days_supply": process.wip_before / vsm.customer_demand,
"impact": "Excess inventory ties up capital"
})
# Waiting waste
total_wait = sum(t['wait_time_days'] for t in timeline['timeline'])
if total_wait > timeline['total_lead_time_days'] * 0.5:
wastes["waiting"].append({
"description": "Significant waiting time",
"wait_percentage": total_wait / timeline['total_lead_time_days'] * 100,
"impact": "Low process cycle efficiency"
})
process vsm.processes:
process.scrap_rate process.scrap_rate > :
wastes[].append({
: process.name,
: process.scrap_rate,
:
})
process vsm.processes:
process.daily_capacity process.daily_capacity > vsm.customer_demand * :
wastes[].append({
: process.name,
: process.daily_capacity / vsm.customer_demand,
:
})
wastes
class FutureStateDesign:
"""
Design future state value stream
"""
def __init__(self, current_vsm, target_improvements):
self.current = current_vsm
self.targets = target_improvements
self.kaizen_bursts = []
self.supermarket_locations = []
self.pacemaker_process = None
def design_pull_system(self):
"""Design supermarkets and pull signals"""
# Identify pacemaker (process closest to customer that sets pace)
self.pacemaker_process = self.current.processes[-1]
# Supermarket locations - break continuous flow where needed
for i, process in enumerate(self.current.processes[:-1]):
next_process = self.current.processes[i+1]
# Supermarket if: different cycle times, changeovers, reliability issues
needs_supermarket = (
abs(process.cycle_time - next_process.cycle_time) / process.cycle_time > 0.2 or
(process.changeover_time and process.changeover_time > 10) or
(process.uptime and process.uptime < 90)
)
if needs_supermarket:
self.supermarket_locations.append({
: process.name,
: ,
: ._calculate_kanban(process)
})
():
daily_demand = .current.customer_demand
lead_time_days =
safety_factor =
container_size =
kanban_qty = (daily_demand * lead_time_days * safety_factor) / container_size
(kanban_qty) +
():
.kaizen_bursts.append({
: location,
: description,
: target_improvement,
:
})
def create_implementation_roadmap(future_state):
"""
Create phased implementation plan
"""
roadmap = {
"phase_1_foundation": {
"duration": "1-3 months",
"activities": [
"5S implementation at pacemaker",
"Standard work documentation",
"Basic visual management"
]
},
"phase_2_flow": {
"duration": "3-6 months",
"activities": [
"Implement supermarkets",
"Create kanban loops",
"Level production schedule"
]
},
"phase_3_pull": {
"duration": "6-12 months",
"activities": [
"Connect all pull signals",
"SMED on changeovers",
"TPM implementation"
]
}
}
# Prioritize kaizen bursts
for burst in future_state.kaizen_bursts:
if "changeover" in burst['description'].lower():
burst['priority'] = "phase_2_flow"
elif "quality" in burst['description'].lower():
burst['priority'] = "phase_1_foundation"
else:
burst['priority'] =
roadmap[] = future_state.kaizen_bursts
roadmap
Process Box: [========] Contains C/T, C/O, Uptime
| Name |
[========]
Inventory Triangle: /\ Shows quantity and days
/ \
/____\
Supermarket: [===] Pull inventory buffer
[===]
[===]
Kanban: [K] Pull signal
FIFO Lane: >>> First-in-first-out
Information Flow: ------> Electronic
~~~~~~> Manual
Push Arrow: ===> Push production
Kaizen Burst: *** Improvement opportunity
* K *
***
This skill integrates with the following processes:
value-stream-mapping-analysis.jskaizen-event-facilitation.jsstandard-work-development.js{
"vsm_summary": {
"product_family": "Widget A",
"customer_demand": 460,
"takt_time_sec": 62,
"total_processes": 5
},
"current_state": {
"lead_time_days": 23.5,
"process_time_min": 185,
"pce_percent": 0.55
},
"wastes_identified": {
"inventory": 3,
"waiting": 2,
"defects": 1
},
"future_state": {
"target_lead_time":