用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ffsshhttiikk/opencode-agents-skills --skill mechanical命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | mechanical |
| description | Mechanical systems and applications |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"technicians, mechanics, students","category":"engineering"} |
| Component | Function | Selection Criteria |
|---|---|---|
| Bearing | Reduce friction, support load | Load, speed, alignment |
| Gear | Transmit power, change speed/ratio | Pitch, ratio, material |
| Belt | Transmit power over distance | HP, speed ratio |
| Chain | High torque transmission | Pitch, strength |
| Fastener | Join components | Shear, tension load |
# Bearing selection basics
BEARING_TYPES = {
"deep_groove": {
"load": "Radial and some axial",
"speed": "High",
"cost": "Low"
},
"angular_contact": {
"load": "Combined radial/thrust",
"speed": "High",
"cost": "Medium"
},
"tapered_roller": {
"load": "Heavy radial and thrust",
"speed": "Medium",
"cost": "Medium"
},
"thrust": {
"load": "Axial only",
"speed": "Medium",
"cost": "Low"
}
}
def bearing_life(L10, C, P):
"""L10 life in hours
L10 = (C/P)^3 × 10^6 / (60n)
"""
return (C / P)**3 * 10**6 / (60 * 3600)
# Bolt strength grades
BOLT_GRADES = {
"grade_2": {"tensile": 345, "yield": 190}, # MPa
"grade_5": {"tensile": 635, "yield": 420},
"grade_8": {"tensile": 855, "yield": 720},
"metric_8.8": {"tensile": 800, "yield": 640},
"metric_12.9": {"tensile": 1200, "yield": 1080}
}
def bolt_preload(F_bolt, A_t):
"""σ = F/A"""
return F_bolt / A_t
# Lubricant types
LUBRICANT_TYPES = {
"oil": {
"viscosity_grade": "ISO VG 32-680",
"applications": "Bearings, gears, hydraulics"
},
"grease": {
"nlgi_grade": "1-3",
"applications": "Bearings, sealed systems"
},
"dry_film": {
"types": ["graphite", "MoS2", "PTFE"],
"applications": "High temp, food grade"
}
}
# Viscosity temperature relationship
def viscosity_index(VI, v1, v2):
"""Higher VI = less viscosity change with temperature"""
pass
| Mechanism | Efficiency | Speed Range | Torque |
|---|---|---|---|
| Gear | 95-98% | Wide | High |
| Belt | 90-95% | Limited | Medium |
| Chain | 90-96% | Limited | High |
| Direct Drive | 98%+ | Limited | High |
MAINTENANCE_INTERVALS = {
"daily": [
"Visual inspection",
"Lubrication level check",
"Temperature check"
],
"weekly": [
"Vibration analysis",
"Noise inspection",
"Belt tension"
],
"monthly": [
"Lubricant analysis",
"Alignment check",
"Torque verification"
],
"annually": [
"Complete overhaul",
"Bearing replacement",
"System calibration"
]
}