{"id":"e736b94f-10db-4bb0-99fc-d88b5dfc7ea3","entityType":"agent","slug":"clawhub-zw008-iaiops-fab","name":"iaiops-fab","canonicalUrl":"https://www.xpersona.co/agent/clawhub-zw008-iaiops-fab","canonicalPath":"/agent/clawhub-zw008-iaiops-fab","generatedAt":"2026-10-10T06:44:18.451Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-10T02:15:21.897Z","emptyReason":null},"description":"Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the equipment's internal control layer, with the cross-protocol brain (downtime root-cause copilot, OEE, asset inventory, data quality). Use when the task mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a semiconductor / display fab tool. Read-first, MOC-gated writes. Skill: iaiops-fab Owner: zw008 Summary: Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the equipment's internal control layer, with the cross-protocol brain (downtime root-cause copilot, OEE, asset inventory, data quality). Use when the task mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, ME","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.8K downloads reported by the source. Last updated 10/10/2026.","installCommand":"clawhub skill install s171xgnmqse0nqvgqvqnaq5f9183kyre:iaiops-fab","sourceUrl":"https://clawhub.ai/zw008/iaiops-fab","homepage":"https://clawhub.ai/zw008/skills/iaiops-fab","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/zw008/iaiops-fab","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/zw008/skills/iaiops-fab","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":65,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the equipm"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-10T02:15:21.897Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-10T02:15:21.897Z","emptyReason":null},"stars":null,"forks":null,"downloads":1781,"packageName":null,"latestVersion":"0.28.0","tractionLabel":"1.8K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-10T02:15:21.897Z","emptyReason":null},"lastUpdatedAt":"2026-10-10T02:15:21.897Z","lastCrawledAt":"2026-10-10T02:15:21.897Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-11T02:15:21.897Z","lastVerifiedAt":null,"highlights":[{"version":"0.28.0","createdAt":"2026-09-16T05:09:04.463Z","changelog":"0.28.0: MQTT/Sparkplug collectable; onboard's two journeys (devices / uns with a B1/B2 namespace fork)","fileCount":3,"zipByteSize":7552},{"version":"0.27.0","createdAt":"2026-09-03T03:19:51.398Z","changelog":"router now routes to the pharma edition · contextual baselines · downtime attribution (D18) · alarm event-type clustering · device advisory matching · GxP crosswalk","fileCount":3,"zipByteSize":7379},{"version":"0.26.0","createdAt":"2026-09-01T12:28:55.117Z","changelog":"verify determinism (executed model-free claim) · PLC program change baseline · pharma edition","fileCount":3,"zipByteSize":6001},{"version":"0.23.1","createdAt":"2026-08-28T05:18:52.380Z","changelog":"- Removed the deprecated skill-card.md file. - Expanded the SKILL.md tool list: added `site_readiness`, investigation workflow tools (`investigation_readiness`, `investigation_open`, etc.), and line relation/mechanism library tools (`line_relation_declare`, `mechanism_library_list`, etc.). - Clarified that `protocols_supported` describes product capabilities and added zero-connectivity site readiness checks. - Updated documentation to reflect enhanced investigation workflows and explicit mechanism/cause exclusion logic.","fileCount":3,"zipByteSize":5415},{"version":"0.23.0","createdAt":"2026-08-25T04:32:25.597Z","changelog":"- Removed the file: skill-card.md. - Updated SKILL.md with minor edits and additions. - Added the tool: `uns_publish` to the cross-protocol section in SKILL.md.","fileCount":3,"zipByteSize":4966},{"version":"0.22.0","createdAt":"2026-08-02T13:09:01.302Z","changelog":"0.22.0 — asyncua 2.x floor; OPC-UA vs a third-party stack + cert trust; TDengine REST/WS; second MCP implementation; EtherNet/IP program scope","fileCount":3,"zipByteSize":4854},{"version":"0.21.1","createdAt":"2026-08-02T07:24:40.837Z","changelog":"0.21.1 — review round two: RCA window dilution, IoTDB header names, OPC-UA malformed-URL leak","fileCount":3,"zipByteSize":4795},{"version":"0.21.0","createdAt":"2026-08-02T03:07:22.403Z","changelog":"0.21.0 — verification sweep: 5 product fixes (IoTDB tag mislabelling, TDengine coverage, OPC-UA thread leak + interop verdict, PROFINET doc fields)","fileCount":3,"zipByteSize":4956}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s171xgnmqse0nqvgqvqnaq5f9183kyre:iaiops-fab","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T06:44:18.448Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-zw008-iaiops-fab/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-10T02:15:21.897Z","emptyReason":null},"readme":"Skill: iaiops-fab\n\nOwner: zw008\n\nSummary: Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the equipment's internal control layer, with the cross-protocol brain (downtime root-cause copilot, OEE, asset inventory, data quality). Use when the task mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a semiconductor / display fab tool. Read-first, MOC-gated writes.\n\nTags: latest:0.28.0\n\nVersion history:\n\nv0.28.0 | 2026-09-16T05:09:04.463Z | user\n\n0.28.0: MQTT/Sparkplug collectable; onboard's two journeys (devices / uns with a B1/B2 namespace fork)\n\nv0.27.0 | 2026-09-03T03:19:51.398Z | user\n\nrouter now routes to the pharma edition · contextual baselines · downtime attribution (D18) · alarm event-type clustering · device advisory matching · GxP crosswalk\n\nv0.26.0 | 2026-09-01T12:28:55.117Z | user\n\nverify determinism (executed model-free claim) · PLC program change baseline · pharma edition\n\nv0.23.1 | 2026-08-28T05:18:52.380Z | auto\n\n- Removed the deprecated skill-card.md file.\n- Expanded the SKILL.md tool list: added `site_readiness`, investigation workflow tools (`investigation_readiness`, `investigation_open`, etc.), and line relation/mechanism library tools (`line_relation_declare`, `mechanism_library_list`, etc.).\n- Clarified that `protocols_supported` describes product capabilities and added zero-connectivity site readiness checks.\n- Updated documentation to reflect enhanced investigation workflows and explicit mechanism/cause exclusion logic.\n\nv0.23.0 | 2026-08-25T04:32:25.597Z | auto\n\n- Removed the file: skill-card.md.\n- Updated SKILL.md with minor edits and additions.\n- Added the tool: `uns_publish` to the cross-protocol section in SKILL.md.\n\nv0.22.0 | 2026-08-02T13:09:01.302Z | user\n\n0.22.0 — asyncua 2.x floor; OPC-UA vs a third-party stack + cert trust; TDengine REST/WS; second MCP implementation; EtherNet/IP program scope\n\nv0.21.1 | 2026-08-02T07:24:40.837Z | user\n\n0.21.1 — review round two: RCA window dilution, IoTDB header names, OPC-UA malformed-URL leak\n\nv0.21.0 | 2026-08-02T03:07:22.403Z | user\n\n0.21.0 — verification sweep: 5 product fixes (IoTDB tag mislabelling, TDengine coverage, OPC-UA thread leak + interop verdict, PROFINET doc fields)\n\nv0.20.4 | 2026-08-02T00:28:36.353Z | user\n\nNATS egress 120s hang bounded to 5s; BACnet write now reports a read-back instead of claiming applied; MCP interface + egress sinks now driven by real counterparties\n\nv0.20.3 | 2026-08-01T04:32:06.864Z | user\n\naudit status now reflects real outcome; runaway guard sees retried denials; approval-gate contract over the real write surface\n\nv0.20.2 | 2026-07-31T14:46:01.201Z | user\n\ncredential redaction in audit log; retained mqtt_publish undo; pyopenssl resolver guard\n\nv0.20.1 | 2026-07-29T09:37:38.919Z | user\n\niaiops 0.20.1 — MCP tool annotations derived from the governance harness\n\nv0.19.0 | 2026-07-21T14:36:43.033Z | user\n\n0.19.0 — read-only gate removed; audit on both MCP+CLI; effect-based write risk\n\nv0.18.1 | 2026-07-19T17:13:26.649Z | auto\n\n- Removed the file skill-card.md.\n- No changes to functionality or existing features.\n\nv0.18.0 | 2026-07-19T11:30:14.026Z | auto\n\n- Removed the file skill-card.md.\n- No other changes or feature updates introduced in this version.\n\nv0.17.0 | 2026-07-19T09:22:29.333Z | auto\n\niaiops-fab v0.17.0\n\n- Added `opcua_alarm_events` tool for OPC-UA A&C event subscription with server timestamp.\n- Included new diagnostic tool `rca_corpus_from_maintenance` in the cross-protocol brain.\n- Clarified that `opcua_read_alarms` is untimed, and adjusted tool descriptions for accuracy.\n- Updated compatibility matrix notes to clarify design doc/internal usage.\n- Removed redundant `skill-card.md` file.\n\nv0.12.0 | 2026-07-13T01:08:52.946Z | user\n\niaiops 0.12.0 edition — aligns ClawHub with the current per-industry edition architecture\n\nArchive index:\n\nArchive v0.28.0: 3 files, 7552 bytes\n\nFiles: skill-card.md (2071b), SKILL.md (10616b), _meta.json (130b)\n\nFile v0.28.0:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 告警事件聚类：`alarm_event_clusters` — `alarm_bad_actors` 按**来源**排名,回答的是「哪台仪表最吵」,\n  不是「哪个故障最吵」;一个把同一条件写成十种说法的厂会得到十个 bad actor。这个按事件**说了什么**分组。\n  合并规则是**去掉大小写/标点/数字后的精确相等,不是相似度** —— 故意做笨,所以不需要模型、且可核对;\n  每个簇都列出被合并的原文与来源。**它不主张两条措辞不同的告警是同一个故障**,那由人判断。\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 上下文基线：`baseline_learn_contextual` `baseline_check_in_context` —— 一个位号只学一条带,\n  在它有不止一个「正常」时就是错的(同一台干燥机 recipe A 走 180 °C、B 走 240 °C,一条带横跨两者,\n  于是两个工况都不可能出错)。**上下文由人声明,绝不推断**(D16);某个上下文历史太薄就**拒学**,\n  不借用别的上下文的样本;读数落在没学过的上下文里报 `unknown_context`,**绝不回落到全局带** ——\n  回落等于把「这个工况从没见过」说成「这个工况正常」。\n- 上下游归因：`downtime_attribution` —— RCA 只按**时间**加权,所以一次上游停机会让每台下游设备\n  各自给出一个自信的本地根因。方向来自**声明的**产线顺序(D25:产线上共现是必然,拿它挖边等于\n  制造因果),顺序来自时间戳,**两者都要成立**;没声明关系就报 `not_evaluable` 并给出补法。\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 设备公告对照：`device_advisory_check` —— `scan` 早就在读 vendor/model/firmware,却什么都没做。\n  这条把它接上,并**刻意停在漏洞扫描器会继续往前走的地方**:只报「落在公告声明的版本范围内」,\n  **不说「可利用」、不给严重度** —— 可达性与补偿控制决定那件事,而只读扫描看不见它们。\n  **不内置任何 CVE 库**(过期却看着像最新的库比没有更糟),由现场挂载文件、离线可用,每条必须带来源。\n  读不出固件报 `version_unknown`,读得出但排不了序报 `version_unparsed` —— 都不算通过;\n  公告没提到的设备**不出现在结果里**,那是「未知」不是「没有」。\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `uns_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 程序变更基线：`plc_program_snapshot` `plc_program_drift` `plc_program_history` — 把「认可的那一版」\n  的结构记下来（文件 SHA-256 + 每个 block 的结构指纹：声明/调用/分支条件/定时器，**不含行号、注释、\n  block 顺序**，所以在文件顶上加一行注释不会把整份程序报成变更），之后问某一次导出**动没动**。\n  三个判词咬得很紧：`identical` **只**由 SHA-256 相同得出；`logic_changed` 逐 block 指出哪一类变了；\n  `changed_outside_extracted_structure` = 字节变了而结构指纹全同 —— 多半是注释/排版，但这些 parser\n  是结构抽取不是文法，**所以它不叫「仅文档」，也不构成放行**。删历史只在 CLI（`iaiops program forget`）：\n  删变更控制证据不该离 agent 只有一次调用。存的是 block 名 + 哈希 + 计数，**不落声明、源码行和注释**。\n- 自证：`verify_determinism` — 把「拿掉模型、断网、同一份数据重跑、输出逐字节相同」**跑出来**：\n  固定数据集过一遍分析层，规范化后取 SHA-256，在本进程跑两遍、再在两个不同 PYTHONHASHSEED 的\n  全新解释器里各跑一遍（这一臂才抓得到集合/字典迭代顺序渗进结果），全程 socket 抛异常。\n  给 CSV/验证团队的是一条能写进 IQ/OQ 的测试用例，不是一句形容词。\n- 元：`protocols_supported`(产品能做什么)· `site_readiness`(这个站点今天能跑什么、还差什么;零联网)\n  · `onboarding_status`(先判定路线：设备直读 / 已在 UNS broker，UNS 再按已存体检分 B1/B2；再给这条路上的下一步;零联网)\n  · `onboarding_config_draft`(把已存的 scan 变成 config.yaml 端点草稿 —— **只写连接事实**：\n    `value: null` 的字段是扫描没确认的，照抄它的 `caution`，别替人填也别删；`tags` 永远是空的，\n    点位语义只能人来确认 `iaiops tags export|apply`)\n- 调查层（§13，八步证据闭环）：`investigation_readiness` `investigation_open` `investigation_show`\n  `investigation_list` — 「真出事时这个站能走到第几步、每个缺口还差什么」，以及对一个**已过去的窗口**\n  逐步走完并留档（不碰设备）。缺口分两种:**你没供**(给命令) 与 **产品供不了**。\n- 产线关系与机制库：`line_relation_declare` `line_relations_list` `mechanism_library_check`\n  `mechanism_library_list` — 上下游由**人声明**（D25:线上下游共现是必然，推不出因果）；\n  机制库按 ISO 14224 分 mode/mechanism/cause，**可排除、绝不确认**，\n  库里没有这条原因 → `nothing_known`（不是「无异议」）。\n\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=2.0,<3` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.28.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.28.0\",\n  \"publishedAt\": 1789535344463\n}\n\nFile v0.28.0:skill-card.md\n\n## Description:\n\niaiops-fab helps agents work with semiconductor and display fab equipment over SECS/GEM and OPC-UA for status reads, diagnostics, root-cause analysis, OEE, asset inventory, and data-quality workflows, with read-first behavior and MOC-gated writes.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zw008](https://clawhub.ai/user/zw008)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers, fab automation engineers, and OT operators use this skill to inspect SECS/GEM and OPC-UA equipment data, triage downtime, review alarms, compute OEE, and prepare controlled actions for fab equipment workflows.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Industrial write and data-export style workflows may affect OT systems or expose fab data if they are used without consistent controls.\n\nMitigation: Run under least privilege and require explicit approval plus audit logging for historian writes, stream or UNS publishing, exports, and any PLC or equipment writes.\n\nRisk: Server-resolved import provenance is unavailable for this version.\n\nMitigation: Confirm the iaiops package version and provenance before installing or running the skill in any fab or OT-connected environment.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown with inline shell commands and structured operational guidance]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Outputs should preserve read-first behavior, bounded sampling, cited evidence, and MOC-gated treatment of write-capable workflows.]\n\n## Skill Version(s):\n\n0.28.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v0.27.0: 3 files, 7379 bytes\n\nFiles: skill-card.md (2388b), SKILL.md (10159b), _meta.json (130b)\n\nFile v0.27.0:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 告警事件聚类：`alarm_event_clusters` — `alarm_bad_actors` 按**来源**排名,回答的是「哪台仪表最吵」,\n  不是「哪个故障最吵」;一个把同一条件写成十种说法的厂会得到十个 bad actor。这个按事件**说了什么**分组。\n  合并规则是**去掉大小写/标点/数字后的精确相等,不是相似度** —— 故意做笨,所以不需要模型、且可核对;\n  每个簇都列出被合并的原文与来源。**它不主张两条措辞不同的告警是同一个故障**,那由人判断。\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 上下文基线：`baseline_learn_contextual` `baseline_check_in_context` —— 一个位号只学一条带,\n  在它有不止一个「正常」时就是错的(同一台干燥机 recipe A 走 180 °C、B 走 240 °C,一条带横跨两者,\n  于是两个工况都不可能出错)。**上下文由人声明,绝不推断**(D16);某个上下文历史太薄就**拒学**,\n  不借用别的上下文的样本;读数落在没学过的上下文里报 `unknown_context`,**绝不回落到全局带** ——\n  回落等于把「这个工况从没见过」说成「这个工况正常」。\n- 上下游归因：`downtime_attribution` —— RCA 只按**时间**加权,所以一次上游停机会让每台下游设备\n  各自给出一个自信的本地根因。方向来自**声明的**产线顺序(D25:产线上共现是必然,拿它挖边等于\n  制造因果),顺序来自时间戳,**两者都要成立**;没声明关系就报 `not_evaluable` 并给出补法。\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 设备公告对照：`device_advisory_check` —— `scan` 早就在读 vendor/model/firmware,却什么都没做。\n  这条把它接上,并**刻意停在漏洞扫描器会继续往前走的地方**:只报「落在公告声明的版本范围内」,\n  **不说「可利用」、不给严重度** —— 可达性与补偿控制决定那件事,而只读扫描看不见它们。\n  **不内置任何 CVE 库**(过期却看着像最新的库比没有更糟),由现场挂载文件、离线可用,每条必须带来源。\n  读不出固件报 `version_unknown`,读得出但排不了序报 `version_unparsed` —— 都不算通过;\n  公告没提到的设备**不出现在结果里**,那是「未知」不是「没有」。\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `uns_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 程序变更基线：`plc_program_snapshot` `plc_program_drift` `plc_program_history` — 把「认可的那一版」\n  的结构记下来（文件 SHA-256 + 每个 block 的结构指纹：声明/调用/分支条件/定时器，**不含行号、注释、\n  block 顺序**，所以在文件顶上加一行注释不会把整份程序报成变更），之后问某一次导出**动没动**。\n  三个判词咬得很紧：`identical` **只**由 SHA-256 相同得出；`logic_changed` 逐 block 指出哪一类变了；\n  `changed_outside_extracted_structure` = 字节变了而结构指纹全同 —— 多半是注释/排版，但这些 parser\n  是结构抽取不是文法，**所以它不叫「仅文档」，也不构成放行**。删历史只在 CLI（`iaiops program forget`）：\n  删变更控制证据不该离 agent 只有一次调用。存的是 block 名 + 哈希 + 计数，**不落声明、源码行和注释**。\n- 自证：`verify_determinism` — 把「拿掉模型、断网、同一份数据重跑、输出逐字节相同」**跑出来**：\n  固定数据集过一遍分析层，规范化后取 SHA-256，在本进程跑两遍、再在两个不同 PYTHONHASHSEED 的\n  全新解释器里各跑一遍（这一臂才抓得到集合/字典迭代顺序渗进结果），全程 socket 抛异常。\n  给 CSV/验证团队的是一条能写进 IQ/OQ 的测试用例，不是一句形容词。\n- 元：`protocols_supported`(产品能做什么)· `site_readiness`(这个站点今天能跑什么、还差什么;零联网)\n- 调查层（§13，八步证据闭环）：`investigation_readiness` `investigation_open` `investigation_show`\n  `investigation_list` — 「真出事时这个站能走到第几步、每个缺口还差什么」，以及对一个**已过去的窗口**\n  逐步走完并留档（不碰设备）。缺口分两种:**你没供**(给命令) 与 **产品供不了**。\n- 产线关系与机制库：`line_relation_declare` `line_relations_list` `mechanism_library_check`\n  `mechanism_library_list` — 上下游由**人声明**（D25:线上下游共现是必然，推不出因果）；\n  机制库按 ISO 14224 分 mode/mechanism/cause，**可排除、绝不确认**，\n  库里没有这条原因 → `nothing_known`（不是「无异议」）。\n\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=2.0,<3` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.27.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.27.0\",\n  \"publishedAt\": 1788405591398\n}\n\nFile v0.27.0:skill-card.md\n\n## Description:\n\niaiops-fab helps agents support semiconductor and display fab equipment diagnostics across SECS/GEM, OPC-UA, S7, and Modbus by reading equipment signals, analyzing downtime, OEE, assets, and data quality, and keeping write actions gated by management-of-change controls.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zw008](https://clawhub.ai/user/zw008)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers, controls engineers, and fab operations teams use this skill to guide read-first diagnostics for semiconductor and display fab equipment, including SECS/GEM and OPC-UA status checks, alarm analysis, downtime attribution, OEE analysis, and data-quality review. It is intended for environments where production-equipment access is governed by site change-control procedures.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill targets production fab and industrial equipment diagnostics, where incorrect guidance or unapproved actions can affect operations.\n\nMitigation: Run first in a non-production or read-only environment and require site change-control approval before enabling any S7 or Modbus write path.\n\nRisk: The artifact installs an external Python package for the fab profile.\n\nMitigation: Verify the package source and dependency chain before deployment.\n\nRisk: Runtime instructions in the artifact are Chinese-only.\n\nMitigation: Install only where reviewers and operators can accurately review the instructions and operational safeguards.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab)\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Shell commands, Configuration, Analysis, Markdown]\n\n**Output Format:** [Markdown with inline shell commands and structured diagnostic guidance]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Read-first posture for SECS/GEM and OPC-UA workflows; S7 and Modbus write paths require dry-run behavior, approval, undo values, and site change-control.]\n\n## Skill Version(s):\n\n0.27.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v0.26.0: 3 files, 6001 bytes\n\nFiles: skill-card.md (1910b), SKILL.md (7937b), _meta.json (130b)\n\nFile v0.26.0:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `uns_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 程序变更基线：`plc_program_snapshot` `plc_program_drift` `plc_program_history` — 把「认可的那一版」\n  的结构记下来（文件 SHA-256 + 每个 block 的结构指纹：声明/调用/分支条件/定时器，**不含行号、注释、\n  block 顺序**，所以在文件顶上加一行注释不会把整份程序报成变更），之后问某一次导出**动没动**。\n  三个判词咬得很紧：`identical` **只**由 SHA-256 相同得出；`logic_changed` 逐 block 指出哪一类变了；\n  `changed_outside_extracted_structure` = 字节变了而结构指纹全同 —— 多半是注释/排版，但这些 parser\n  是结构抽取不是文法，**所以它不叫「仅文档」，也不构成放行**。删历史只在 CLI（`iaiops program forget`）：\n  删变更控制证据不该离 agent 只有一次调用。存的是 block 名 + 哈希 + 计数，**不落声明、源码行和注释**。\n- 自证：`verify_determinism` — 把「拿掉模型、断网、同一份数据重跑、输出逐字节相同」**跑出来**：\n  固定数据集过一遍分析层，规范化后取 SHA-256，在本进程跑两遍、再在两个不同 PYTHONHASHSEED 的\n  全新解释器里各跑一遍（这一臂才抓得到集合/字典迭代顺序渗进结果），全程 socket 抛异常。\n  给 CSV/验证团队的是一条能写进 IQ/OQ 的测试用例，不是一句形容词。\n- 元：`protocols_supported`(产品能做什么)· `site_readiness`(这个站点今天能跑什么、还差什么;零联网)\n- 调查层（§13，八步证据闭环）：`investigation_readiness` `investigation_open` `investigation_show`\n  `investigation_list` — 「真出事时这个站能走到第几步、每个缺口还差什么」，以及对一个**已过去的窗口**\n  逐步走完并留档（不碰设备）。缺口分两种:**你没供**(给命令) 与 **产品供不了**。\n- 产线关系与机制库：`line_relation_declare` `line_relations_list` `mechanism_library_check`\n  `mechanism_library_list` — 上下游由**人声明**（D25:线上下游共现是必然，推不出因果）；\n  机制库按 ISO 14224 分 mode/mechanism/cause，**可排除、绝不确认**，\n  库里没有这条原因 → `nothing_known`（不是「无异议」）。\n\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=2.0,<3` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.26.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.26.0\",\n  \"publishedAt\": 1788265735117\n}\n\nFile v0.26.0:skill-card.md\n\n## Description:\n\niaiops-fab helps agents work with semiconductor and display fab equipment across SECS/GEM and OPC-UA for read-first diagnostics, status discovery, alarms, OEE, asset inventory, data quality, and root-cause analysis.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zw008](https://clawhub.ai/user/zw008)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nFab automation, manufacturing, and equipment-interface engineers use this skill to inspect SECS/GEM and OPC-UA equipment signals, analyze alarms and downtime, and prepare evidence-backed operational guidance while keeping production writes gated by change approval.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill is intended for fab and industrial-control environments and references write-capable factory tools, so unauthorized or poorly controlled production access could affect equipment operations.\n\nMitigation: Install only for authorized users and confirm MOC approval, dry-run behavior, and deployment safeguards before enabling production access.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown guidance with tool-call recommendations, command examples, and structured analysis summaries]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Read-first fab and industrial-control guidance; production writes require external MOC approval controls.]\n\n## Skill Version(s):\n\n0.26.0 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v0.23.1: 3 files, 5415 bytes\n\nFiles: skill-card.md (2450b), SKILL.md (6535b), _meta.json (130b)\n\nFile v0.23.1:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `uns_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 元：`protocols_supported`(产品能做什么)· `site_readiness`(这个站点今天能跑什么、还差什么;零联网)\n- 调查层（§13，八步证据闭环）：`investigation_readiness` `investigation_open` `investigation_show`\n  `investigation_list` — 「真出事时这个站能走到第几步、每个缺口还差什么」，以及对一个**已过去的窗口**\n  逐步走完并留档（不碰设备）。缺口分两种:**你没供**(给命令) 与 **产品供不了**。\n- 产线关系与机制库：`line_relation_declare` `line_relations_list` `mechanism_library_check`\n  `mechanism_library_list` — 上下游由**人声明**（D25:线上下游共现是必然，推不出因果）；\n  机制库按 ISO 14224 分 mode/mechanism/cause，**可排除、绝不确认**，\n  库里没有这条原因 → `nothing_known`（不是「无异议」）。\n\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=2.0,<3` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.23.1:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.23.1\",\n  \"publishedAt\": 1787894332380\n}\n\nFile v0.23.1:skill-card.md\n\n## Description:\n\niaiops-fab helps agents inspect semiconductor and display fab equipment across SECS/GEM, OPC-UA, and related industrial protocols for diagnostics, OEE, asset inventory, and data quality, with read-first workflows and MOC-gated writes.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zw008](https://clawhub.ai/user/zw008)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers, fab operations engineers, and reliability teams use this skill to triage equipment connectivity, alarms, downtime, OEE, data quality, asset inventory, SPC, and defect Pareto workflows across SECS/GEM, OPC-UA, and related industrial-control interfaces.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Fab equipment data, historian exports, baseline records, and investigation records can be operationally sensitive.\n\nMitigation: Install only in trusted fab environments, connect only to trusted iaiops MCP endpoints, and limit access to users authorized to inspect the relevant equipment data.\n\nRisk: Production write-capable S7 and Modbus tools can affect industrial equipment if used without change control.\n\nMitigation: Keep MOC approval, dry-run defaults, undo values, named approver confirmation, and review steps enabled before any non-dry-run production write.\n\nRisk: Diagnostics can be misleading when site readiness, connectivity, or source signal coverage is incomplete.\n\nMitigation: Run readiness and doctor checks first, prefer read-only SECS/GEM and OPC-UA evidence collection, and review advisory outputs before operational action.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab)\n\n## Skill Output:\n\n**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance]\n\n**Output Format:** [Markdown guidance with diagnostic summaries, tabular analyses, tool-use recommendations, and command snippets.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include evidence-based references to inspected equipment signals and approval-gated recommendations for production writes.]\n\n## Skill Version(s):\n\n0.23.1 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v0.23.0: 3 files, 4966 bytes\n\nFiles: skill-card.md (2546b), SKILL.md (5696b), _meta.json (130b)\n\nFile v0.23.0:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `uns_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 元：`protocols_supported`\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=2.0,<3` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.23.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.23.0\",\n  \"publishedAt\": 1787632345597\n}\n\nFile v0.23.0:skill-card.md\n\n## Description:\n\nFab edition of iaiops for semiconductor and display fab equipment over SECS/GEM and OPC-UA, supporting status reads, diagnostics, OEE, asset inventory, data quality checks, SPC, and defect Pareto analysis with read-first and MOC-gated writes.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zw008](https://clawhub.ai/user/zw008)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and fab engineers use this skill to guide agents through semiconductor or display equipment diagnostics, SECS/GEM and OPC-UA status reads, data quality checks, OEE analysis, root-cause triage, SPC checks, and defect Pareto analysis. The skill emphasizes read-first operation and change-management gates for write-capable fab profile tools.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Industrial data export, historian push, stream publish, and UNS publish capabilities may move sensitive fab data outside approved destinations.\n\nMitigation: Restrict export and publish destinations, credentials, and network egress; require explicit approval and audit logging before enabling these tools in production or regulated fab environments.\n\nRisk: Write-capable fab profile tools can affect production equipment if change controls are bypassed.\n\nMitigation: Keep write actions behind dry-run defaults, named approvals, pre-change value capture, rollback plans, and post-change audit records.\n\nRisk: Diagnostics and root-cause guidance may be incomplete or misleading if based on stale, unverified, or partial equipment signals.\n\nMitigation: Require responses to cite live or recorded signals, confirm GEM and OPC-UA connectivity first, and route production decisions through fab operating procedures.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab)\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Analysis, Shell commands, Configuration]\n\n**Output Format:** [Markdown with inline commands and tool names]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Agent responses should cite real signals for diagnostics and keep write actions behind dry-run, approval, audit, and rollback controls.]\n\n## Skill Version(s):\n\n0.23.0 (source: server release evidence)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nArchive v0.22.0: 3 files, 4854 bytes\n\nFiles: skill-card.md (2409b), SKILL.md (5682b), _meta.json (130b)\n\nFile v0.22.0:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 元：`protocols_supported`\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=2.0,<3` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.22.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.22.0\",\n  \"publishedAt\": 1785676141302\n}\n\nFile v0.22.0:skill-card.md\n\n## Description: <br>\nFab edition of iaiops for semiconductor and display fab equipment over SECS/GEM and OPC-UA, with cross-protocol support for downtime root-cause assistance, OEE, asset inventory, and data quality. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zw008](https://clawhub.ai/user/zw008) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers and fab automation engineers use this skill to guide agent work with SECS/GEM, OPC-UA, and related industrial data workflows for semiconductor or display equipment. It is intended for read-first diagnostics, quality analysis, OEE and downtime investigation, asset inventory, and controlled production-write workflows. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: The skill can guide access to fab equipment and plant data, which may expose sensitive operational information or affect production environments. <br>\nMitigation: Install and use it only where the agent is authorized to access the relevant equipment, systems, and plant data. <br>\nRisk: S7 or Modbus write paths can have production impact. <br>\nMitigation: Require documented approval, default dry-run behavior, undo information, and a named approver before any production write. <br>\nRisk: Diagnostic and root-cause outputs may be advisory rather than definitive. <br>\nMitigation: Ground findings in real equipment signals and require operator or engineering review before acting on recommendations. <br>\n\n\n## Reference(s): <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown with inline shell commands, configuration notes, and structured operational guidance] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Outputs should be grounded in observed tool data, cite signal sources when diagnosing equipment behavior, and keep production-write steps behind approval, dry-run, and undo controls.] <br>\n\n## Skill Version(s): <br>\n0.22.0 (source: server release metadata) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v0.21.1: 3 files, 4795 bytes\n\nFiles: skill-card.md (2197b), SKILL.md (5682b), _meta.json (130b)\n\nFile v0.21.1:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 元：`protocols_supported`\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=1.0,<2` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.21.1:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.21.1\",\n  \"publishedAt\": 1785655480837\n}\n\nFile v0.21.1:skill-card.md\n\n## Description: <br>\niaiops-fab helps agents monitor and analyze semiconductor or display fab equipment across SECS/GEM and OPC-UA, including downtime root-cause support, OEE, asset inventory, and data-quality workflows with a read-first, MOC-gated write posture. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zw008](https://clawhub.ai/user/zw008) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers, fab automation engineers, and operations teams use this skill to guide agent work on SECS/GEM, OPC-UA, PLC-adjacent diagnostics, downtime root-cause analysis, OEE, asset inventory, and fab data-quality tasks. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Export, stream-publishing, or PLC-write tools could affect production systems or move fab data to unintended destinations. <br>\nMitigation: Use the skill only where fab equipment access is intended, and confirm destination controls, MOC approval, dry-run defaults, undo capture, and named approvals before production use. <br>\nRisk: Operational recommendations for root-cause analysis or equipment health could be misleading if treated as automatic decisions. <br>\nMitigation: Review outputs against real equipment signals and site procedures before taking corrective action. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown text with inline commands and tool-selection guidance] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Read-first operational guidance; write-capable paths are described as MOC-gated with dry-run and undo expectations.] <br>\n\n## Skill Version(s): <br>\n0.21.1 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v0.21.0: 3 files, 4956 bytes\n\nFiles: skill-card.md (2702b), SKILL.md (5682b), _meta.json (130b)\n\nFile v0.21.0:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 元：`protocols_supported`\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=1.0,<2` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.21.0:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.21.0\",\n  \"publishedAt\": 1785640042403\n}\n\nFile v0.21.0:skill-card.md\n\n## Description: <br>\nFab edition of iaiops for semiconductor and display fab equipment diagnostics across SECS/GEM, OPC-UA, S7, Modbus, and cross-protocol analytics for downtime root cause, OEE, asset inventory, and data quality. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zw008](https://clawhub.ai/user/zw008) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nFab automation engineers, equipment integration teams, and operations engineers use this skill to inspect SECS/GEM and OPC-UA equipment signals, triage downtime, assess alarms and data quality, compute OEE, and prepare read-first diagnostics for semiconductor or display fab tools. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Production data export, historian push, or stream publishing could send fab data to unapproved destinations. <br>\nMitigation: Approve export and publishing destinations before use, disable or gate non-read-only historian and streaming functions by default, and require explicit operator authorization. <br>\nRisk: Use in a real fab environment could affect sensitive operational workflows if package provenance or credentials are weakly controlled. <br>\nMitigation: Install only from trusted package provenance, use least-privilege runtime credentials, and review the skill before deployment in production environments. <br>\nRisk: Fab profile write-capable tools exposed through related protocols could be used without sufficient change control. <br>\nMitigation: Keep production write paths dry-run by default, require named approval and change-control review, and retain undo information before any authorized write. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab) <br>\n- [ClawHub publisher profile](https://clawhub.ai/user/zw008) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown guidance with inline commands, tool-call recommendations, diagnostic summaries, tables, and configuration notes.] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Read-first fab diagnostics; any exposed production write path should remain dry-run, approval-gated, and explicitly authorized.] <br>\n\n## Skill Version(s): <br>\n0.21.0 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v0.20.4: 3 files, 4912 bytes\n\nFiles: skill-card.md (2558b), SKILL.md (5682b), _meta.json (130b)\n\nFile v0.20.4:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 元：`protocols_supported`\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=1.0,<2` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.20.4:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.20.4\",\n  \"publishedAt\": 1785630516353\n}\n\nFile v0.20.4:skill-card.md\n\n## Description: <br>\niaiops-fab helps agents work with semiconductor and display fab equipment over SECS/GEM and OPC-UA, with workflows for status reads, alarms, root-cause analysis, OEE, asset inventory, data quality, and read-first/MOC-gated change handling. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zw008](https://clawhub.ai/user/zw008) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers, automation engineers, and fab operations teams use this skill to inspect SECS/GEM and OPC-UA equipment signals, diagnose downtime and data-quality issues, compute operational metrics, and prepare controlled change workflows for fab equipment integrations. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: Industrial fab integrations can affect high-impact equipment if write-capable tools are exposed outside the intended controls. <br>\nMitigation: Install only in authorized fab or lab environments and keep write-capable tools behind MOC approval, dry-run, undo, and named approver requirements. <br>\nRisk: Incorrect or stale equipment signals could lead to misleading downtime, OEE, alarm, or data-quality guidance. <br>\nMitigation: Follow the read-first workflow, confirm live SECS/GEM and OPC-UA connectivity, and require advisory findings to cite real equipment signals. <br>\nRisk: Package substitution or untrusted installation sources could introduce behavior not represented by the reviewed artifact. <br>\nMitigation: Verify the provenance of the iaiops[fab] package before installation. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab) <br>\n- [Publisher profile](https://clawhub.ai/user/zw008) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance] <br>\n**Output Format:** [Markdown guidance with inline command examples and tool-call recommendations] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Advisory outputs should cite real equipment signals; write-capable actions are gated by MOC with dry-run, undo, and named approver requirements.] <br>\n\n## Skill Version(s): <br>\n0.20.4 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>\n\nArchive v0.20.3: 3 files, 4848 bytes\n\nFiles: skill-card.md (2316b), SKILL.md (5682b), _meta.json (130b)\n\nFile v0.20.3:SKILL.md\n\n---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated) `anomaly_scan` (deprecated)\n- 资产：`asset_inventory` `cross_protocol_asset_model` `adopt_alias_map` `diff_alias_map`\n- 基线：`baseline_learn` `baseline_check` `baseline_record_change` `baseline_status`\n  （change-log 基线：拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测）\n- 合规/信创：`compliance_mapping` `compliance_frameworks` `compliance_dengbao_levels`\n  `compliance_report` `compliance_evidence_bundle`\n  `historian_push` `export_data` `historian_query` `historian_coverage` `stream_publish` `stream_publish_event` `rca_narrate` `fleet_status` `fleet_incidents` `pdm_forecast`\n  `historian_push` `export_data`\n- 程序解读：`plc_program_outline` `plc_program_xref` `plc_program_section` `plc_program_visibility`（解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号）\n- 元：`protocols_supported`\n\n## Workflows\n\n1. **Doctor-first**：`protocols_supported` 看配置 → `iaiops doctor` 探活 →\n   `secsgem_equipment_status` 确认 GEM 链路（S1F1/F2 通了再谈其他）。\n2. **Read-first**：SVID/ECID namelist → 值 → `secsgem_list_alarms`；PLC 层用 OPC-UA\n   工具；停机问题直接 `downtime_root_cause_live`（advisory，引用真实信号）。\n3. **MOC 写**：本 edition 的 SECS/GEM 与 OPC-UA 工具均只读；fab profile 暴露的写工具\n   （如 `s7_write_db`）走统一 MOC：`risk=HIGH` + 默认 `dry_run=True` + 改前值 undo +\n   具名审批人 `iaiops approve` 双确认。未经授权绝不写生产设备。\n\n## 支持版本矩阵（内部 HLD §8，设计文档不随本仓发布；`待核实` 不得当既成事实）\n\n| 协议 | 库(pin) | 规范/版本 | 覆盖 | 传输 | 自测 |\n|---|---|---|---|---|---|\n| SECS/GEM | `secsgem>=0.3,<1` | SECS-II(E5) · GEM(E30) · HSMS(E37/TCP)；SECS-I(E4) 待核实 | 面板/半导体设备 ↔ MES（HOST 侧） | HSMS/TCP | ✅ host+equipment 全软件自测；真机 待核实 |\n| OPC-UA | `asyncua>=1.0,<2` | OPC UA 1.0x（DA+HA+AC 子集）；FX/TSN 在路线 | 任意合规 Server | opc.tcp | ✅ mock+HDA |\n\nFile v0.20.3:_meta.json\n\n{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.20.3\",\n  \"publishedAt\": 1785558726864\n}\n\nFile v0.20.3:skill-card.md\n\n## Description: <br>\nFab edition of iaiops for semiconductor and display fab equipment over SECS/GEM and OPC-UA, providing read-first diagnostics, downtime root-cause support, OEE, asset inventory, data quality checks, SPC, and defect Pareto analysis with MOC-gated writes. <br>\n\nThis skill is ready for commercial/non-commercial use. <br>\n\n## Publisher: <br>\n[zw008](https://clawhub.ai/user/zw008) <br>\n\n### License/Terms of Use: <br>\nMIT-0 <br>\n\n\n## Use Case: <br>\nDevelopers, fab automation engineers, and operations teams use this skill to inspect SECS/GEM and OPC-UA equipment signals, triage downtime, analyze alarms, OEE, data quality, SPC, and defect Pareto results, and prepare controlled change workflows for semiconductor or display fab tools. <br>\n\n### Deployment Geography for Use: <br>\nGlobal <br>\n\n## Known Risks and Mitigations: <br>\nRisk: High-impact industrial and data-export capabilities may be broader than the skill's read-only framing suggests. <br>\nMitigation: Before production fab installation, confirm that export, historian push, and stream publishing destinations are explicitly authorized. <br>\nRisk: PLC write tools exposed through the fab profile could affect production equipment if controls are bypassed. <br>\nMitigation: Verify write tools are blocked or enforce dry-run defaults, undo capture, named approval, and double confirmation before any production use. <br>\n\n\n## Reference(s): <br>\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab) <br>\n- [Publisher profile](https://clawhub.ai/user/zw008) <br>\n\n\n## Skill Output: <br>\n**Output Type(s):** [Guidance, Shell commands, Configuration, Analysis, Code] <br>\n**Output Format:** [Markdown with inline commands, tool names, configuration snippets, and analytical findings] <br>\n**Output Parameters:** [1D] <br>\n**Other Properties Related to Output:** [Read-first workflow guidance; industrial write paths require MOC controls when exposed by the fab profile.] <br>\n\n## Skill Version(s): <br>\n0.20.3 (source: server release evidence) <br>\n\n## Ethical Considerations: <br>\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>","readmeExcerpt":"Skill: iaiops-fab Owner: zw008 Summary: Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the equipment's internal control layer, with the cross-protocol brain (downtime root-cause copilot, OEE, asset inventory, data quality). Use when the task mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, ME","codeSnippets":[],"executableExamples":[],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: iaiops-fab\ndescription: >-\n  Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab\n  equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the\n  equipment's internal control layer, with the cross-protocol brain (downtime\n  root-cause copilot, OEE, asset inventory, data quality). Use when the task\n  mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES\n  equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a\n  semiconductor / display fab tool. Read-first, MOC-gated writes.\n---\n\n# iaiops-fab — 半导体/显示 fab edition（SECS/GEM + OPC-UA + 脑）\n\n启动：`IAIOPS_MCP=fab` / `iaiops-mcp-fab`（暴露 secsgem + opcua + s7 + modbus + 脑）。\n安装：`pip install iaiops[fab]`。我们是 **HOST（HSMS ACTIVE）**，设备是 equipment。\n\n> **Fab 分层认知**：一台 fab 设备是两层 —— **MES-facing** 的 SECS/GEM(HSMS) 接口，与\n> 设备**内部控制**（PLC，走 OPC-UA/S7/Modbus）。职责不同，别混。S7/Modbus 工具清单见\n> **iaiops-factory** skill（fab profile 已同时暴露）。\n\n## 工具\n\n### SECS/GEM（只读；设备 ↔ MES 标准，fab 入场券）\n- `secsgem_equipment_status` — 建立 GEM 链路 + Are-You-There（S1F1/F2）\n- `secsgem_list_status_variables` — SVID namelist（S1F11/F12）\n- `secsgem_read_status_variables` — SVID 值（S1F3/F4）\n- `secsgem_list_equipment_constants` — ECID namelist（S2F29/F30）\n- `secsgem_read_equipment_constants` — ECID 值（S2F13/F14）\n- `secsgem_list_alarms` — 告警表（S5F5/F6）：ALID、ALCD、text\n- `secsgem_list_process_programs` — PPID 目录（S7F19/F20）\n\n### OPC-UA（只读；设备内控层 / opc.tcp 端点）\n- `opcua_server_info` / `opcua_browse` / `opcua_read_node` / `opcua_read_many`\n- `opcua_subscribe_sample` — 有界采样后返回（绝不死循环）\n- `opcua_read_alarms` — best-effort 活动告警/condition（untimed）；`opcua_alarm_events` — A&C 事件订阅（带服务器时间戳）\n- `opcua_read_history` — HDA 历史读取（[start,end] 窗口）\n- `opcua_diagnose_connection` — 连不上时归因（证书/安全策略/认证/防火墙/DNS/端口/配置）\n- `opcua_discover_tags` — 自动发现 tag 并建语义资产模型\n- `opcua_health_summary` — tag vs 阈值分类；`opcua_anomaly_scan` — 有界统计异常扫描\n\n### Fab / 质量专属（edition 工具;仅随 fab edition 加载,不进全局脑）\n- `spc_check` — 统计过程控制:对一段量测序列套用 Western Electric / Nelson 控制图规则\n  (越 3σ、2/3 越 2σ、4/5 越 1σ、连续 8 点单侧、6 点趋势),逐条按点索引报违规;给 USL/LSL\n  则附 Cp/Cpk。判 in_control / out_of_control。纯分析,每违规引用触发点索引。\n- `defect_pareto` — **缺陷帕累托**:按缺陷类别计数排序,算各类占比与累计占比,标出到 80% 线的\n  **关键少数**(遏制/改善最有杠杆的类别)。纯分析,喂检验/缺陷记录,每占比引用计数。\n\n### 跨协议脑（永远随 server 暴露）\n- 诊断：`diagnose_dataflow` `downtime_root_cause` `downtime_root_cause_live` `downtime_triage`\n  `learn_cause_weights` `rca_corpus_from_maintenance` `historian_health` `alarm_bad_actors` `tag_health`\n  `subscription_health` `heartbeat_health` `alarm_flood_analysis` `alarm_cascade`\n  `alarm_rationalization_worksheet`\n- 告警事件聚类：`alarm_event_clusters` — `alarm_bad_actors` 按**来源**排名,回答的是「哪台仪表最吵」,\n  不是「哪个故障最吵」;一个把同一条件写成十种说法的厂会得到十个 bad actor。这个按事件**说了什么**分组。\n  合并规则是**去掉大小写/标点/数字后的精确相等,不是相似度** —— 故意做笨,所以不需要模型、且可核对;\n  每个簇都列出被合并的原文与来源。**它不主张两条措辞不同的告警是同一个故障**,那由人判断。\n- 数据质量：`data_quality_scorecard` `data_quality_fleet_rollup`\n- 分析：`oee_compute` `downtime_events` `oee_multidim` `monitor_changes`\n  `health_summary` (deprecated)"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7b067awq2s97bn3d7p5qfhw5827pxc\",\n  \"slug\": \"iaiops-fab\",\n  \"version\": \"0.28.0\",\n  \"publishedAt\": 1789535344463\n}"},{"path":"skill-card.md","content":"## Description:\n\niaiops-fab helps agents work with semiconductor and display fab equipment over SECS/GEM and OPC-UA for status reads, diagnostics, root-cause analysis, OEE, asset inventory, and data-quality workflows, with read-first behavior and MOC-gated writes.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[zw008](https://clawhub.ai/user/zw008)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers, fab automation engineers, and OT operators use this skill to inspect SECS/GEM and OPC-UA equipment data, triage downtime, review alarms, compute OEE, and prepare controlled actions for fab equipment workflows.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Industrial write and data-export style workflows may affect OT systems or expose fab data if they are used without consistent controls.\n\nMitigation: Run under least privilege and require explicit approval plus audit logging for historian writes, stream or UNS publishing, exports, and any PLC or equipment writes.\n\nRisk: Server-resolved import provenance is unavailable for this version.\n\nMitigation: Confirm the iaiops package version and provenance before installing or running the skill in any fab or OT-connected environment.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/zw008/skills/iaiops-fab)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown with inline shell commands and structured operational guidance]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Outputs should preserve read-first behavior, bounded sampling, cited evidence, and MOC-gated treatment of write-capable workflows.]\n\n## Skill Version(s):\n\n0.28.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the equipment's internal control layer, with the cross-protocol brain (downtime root-cause copilot, OEE, asset inventory, data quality). Use when the task mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, MES equipment interface, SVID, ECID, ALID, PPID / process program, recipe list, or a semiconductor / display fab tool. Read-first, MOC-gated writes. Skill: iaiops-fab Owner: zw008 Summary: Fab edition of iaiops — semiconductor / display (panel TFT-LCD/OLED) fab equipment over SECS/GEM (SEMI E5 SECS-II, E30 GEM, E37 HSMS) plus OPC-UA for the equipment's internal control layer, with the cross-protocol brain (downtime root-cause copilot, OEE, asset inventory, data quality). Use when the task mentions SECS/GEM, SECS-II, HSMS, GEM host, wafer, panel, fab equipment, ME","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1271,"uniquenessScore":53,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-10T02:15:21.897Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-10T02:15:21.897Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T06:44:18.451Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}