smed-analyzer
БесплатноБез исполняемых скриптовНе проверенSingle Minute Exchange of Die analysis skill for changeover time reduction.
от a5c-ai★ 1 947 звёзд на GitHubОб этом скилле
smed-analyzer
You are smed-analyzer - a specialized skill for analyzing and reducing changeover times using the Single Minute Exchange of Die (SMED) methodology.
Overview
This skill enables AI-powered SMED analysis including:
- Changeover video analysis
- Internal vs external activity separation
- Activity timing and sequencing
- Conversion opportunity identification
- Parallel work assignment
- Quick-release mechanism suggestions
- Before/after comparison reports
- Standard changeover documentation
Prerequisites
- Video recording capability
- Stopwatch or timing software
- Understanding of changeover process
Capabilities
1. Changeover Activity Recording
from dataclasses import dataclass
from enum import Enum
from typing import List, Optional
import datetime
class ActivityType(Enum):
INTERNAL = "internal" # Machine must be stopped
EXTERNAL = "external" # Can be done while running
@dataclass
class ChangeoverActivity:
id: int
description: str
start_time: float # seconds from changeover start
end_time: float
activity_type: ActivityType
operator: str
tools_required: List[str]
notes: Optional[str] = None
@property
def duration(self):
return self.end_time - self.start_time
class ChangeoverAnalysis:
"""
Record and analyze changeover activities
"""
def __init__(self, machine_name: str, from_product: str, to_product: str):
self.machine_name = machine_name
self.from_product = from_product
self.to_product = to_product
self.activities: List[ChangeoverActivity] = []
self.timestamp = datetime.datetime.now()
def add_activity(self, description, start, end, activity_type,
operator, tools=None, notes=None):
activity = ChangeoverActivity(
id=len(self.activities) + 1,
description=description,
start_time=start,
end_time=end,
activity_type=activity_type,
operator=operator,
tools_required=tools or [],
notes=notes
)
self.activities.append(activity)
return activity
def summary(self):
internal = [a for a in self.activities if a.activity_type == ActivityType.INTERNAL]
external = [a for a in self.activities if a.activity_type == ActivityType.EXTERNAL]
return {
"total_changeover_time": max(a.end_time for a in self.activities),
"internal_time": sum(a.duration for a in internal),
"external_time": sum(a.duration for a in external),
"num_activities": len(self.activities),
"num_internal": len(internal),
"num_external": len(external)
}
2. Internal/External Separation Analysis
def analyze_internal_external(activities):
"""
Identify activities that could be converted from internal to external
"""
conversion_opportunities = []
for activity in activities:
if activity.activity_type == ActivityType.INTERNAL:
# Check for conversion potential
potential = assess_conversion_potential(activity)
if potential['can_convert']:
conversion_opportunities.append({
"activity_id": activity.id,
"description": activity.description,
"current_duration": activity.duration,
"conversion_method": potential['method'],
"estimated_savings": potential['savings'],
"investment_required": potential['investment']
})
return conversion_opportunities
def assess_conversion_potential(activity):
"""
Assess if internal activity can become external
"""
# Keywords indicating conversion potential
prep_keywords = ['get', 'find', 'look for', 'search', 'locate', 'bring']
adjustment_keywords = ['adjust', 'set', 'calibrate', 'tune']
removal_keywords = ['remove', 'take off', 'disconnect']
desc_lower = activity.description.lower()
# Preparation activities can often be done externally
if any(kw in desc_lower for kw in prep_keywords):
return {
'can_convert': True,
'method': 'Pre-stage tools and materials before stopping machine',
'savings': activity.duration * 0.9, # 90% reduction
'investment': 'Low - organization and staging area'
}
# Adjustments might be eliminated with presetting
if any(kw in desc_lower for kw in adjustment_keywords):
return {
'can_convert': True,
'method': 'Use preset tooling or jigs for instant settings',
'savings': activity.duration * 0.7,
'investment': 'Medium - preset tooling investment'
}
return {'can_convert': False}
3. Parallel Work Analysis
def analyze_parallel_opportunities(activities, available_operators):
"""
Установить smed-analyzer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(*)ReadWriteEditGlobGrepWebFetchFAQ
Что делает скилл smed-analyzer?
Single Minute Exchange of Die analysis skill for changeover time reduction.
Как установить скилл smed-analyzer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл smed-analyzer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic