Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add industrial-aiops/industrial-aiops --skill iaiops-watergit clone --depth 1 https://github.com/industrial-aiops/industrial-aiopsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/industrial-aiops/industrial-aiops/iaiops-water)<a href="https://agentmods.dev/skills/industrial-aiops/industrial-aiops/iaiops-water"><img src="https://agentmods.dev/badge/skills/industrial-aiops/industrial-aiops/iaiops-water/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/industrial-aiops/industrial-aiops/iaiops-water"><img src="https://agentmods.dev/badge/skills/industrial-aiops/industrial-aiops/iaiops-water.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00162 | $0.03820 |
| Opus 5.5 | $0.00065 | $0.01528 |
| Sonnet 5.5 | $0.00032 | $0.00764 |
| Haiku 4.5 | $0.00016 | $0.00382 |
Grade A, and why
iaiops-water scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.
iaiops-water — 水处理 edition(Modbus + OPC-UA + HART + 脑)
启动:IAIOPS_MCP=water / iaiops-mcp-water(= modbus + opcua + hart + 脑;
等价显式写法 IAIOPS_MCP=modbus,opcua,hart)。HART 需 extra:
pip install iaiops[hart]。典型现场:加药撬/分析仪走 Modbus,全厂 SCADA 走
OPC-UA,pH/浊度/电导率/液位/流量变送器走 HART(经网关)。
工具
Modbus-TCP / Modbus-RTU(只读;加药撬、分析仪、流量计、泵站 RTU)
modbus_read_holdingmodbus_read_inputmodbus_read_coilsmodbus_read_discretemodbus_detect_byte_order— 字节/字序自动探测(分析仪浮点数常见坑)modbus_list_templates/modbus_apply_template— 厂商寄存器模板 → 命名 tagmodbus_health_summary— 寄存器 vs 阈值分类(如 pH 6.5-8.5 带)
OPC-UA(只读;全厂 SCADA / PLC 网关)
opcua_server_info/opcua_browse/opcua_read_node/opcua_read_manyopcua_subscribe_sampleopcua_read_alarmsopcua_alarm_events(A&C 带时间戳)opcua_read_history(HDA)opcua_diagnose_connection— 连接失败归因(证书/策略/认证/网络/配置)opcua_discover_tags— 发现点位并给出启发式语义建议(构筑物/工艺段/设备);不是已确认的role,不得据此填写tagsopcua_health_summary— tag vs 阈值分类;opcua_anomaly_scan— 有界统计异常扫描
HART-IP(只读;水质/过程变送器,经网关,端口 5094)
hart_device_identity— 通用设备身份(command 0)hart_primary_variable— 主变量 PV(如 pH 值、NTU)hart_dynamic_variables— PV/SV/TV/QV + 回路电流(command 3)hart_burst_sample— 主动采样 burst 变量;hart_burst_listen— 被动监听 burst publish(待核实)
水处理专属(edition 工具;仅随 water edition 加载,不进全局脑)
disinfection_ct— SWTR 消毒 CT 合规:CT = 余氯(mg/L)×有效接触时间 T10(min);逐个 接触池算 achieved CT 对比所需 CT(按州 CT 表按温度/pH/消毒剂查得,由调用方传入),给达标比与 worst-first。纯分析,不内嵌 CT 表(传 required_ct);每比值引用输入。water_quality_compliance— 出厂水质合规:逐采样点对浊度/余氯/pH 判限值(默认浊度 ≤1.0 NTU、 余氯 0.2–4.0 mg/L、pH 6.5–8.5;可按许可证覆盖),越界即 breach,worst-first,引用数值。
跨协议脑(永远随 server 暴露)
- 诊断:
diagnose_dataflowdowntime_root_causedowntime_root_cause_livedowntime_triagelearn_cause_weightsrca_corpus_from_maintenancehistorian_healthalarm_bad_actorstag_healthsubscription_healthheartbeat_healthalarm_flood_analysisalarm_cascadealarm_rationalization_worksheet - 告警事件聚类:
alarm_event_clusters—alarm_bad_actors按来源排名,回答的是「哪台仪表最吵」, 不是「哪个故障最吵」;一个把同一条件写成十种说法的厂会得到十个 bad actor。这个按事件说了什么分组。 合并规则是去掉大小写/标点/数字后的精确相等,不是相似度 —— 故意做笨,所以不需要模型、且可核对; 每个簇都列出被合并的原文与来源。它不主张两条措辞不同的告警是同一个故障,那由人判断。 - 数据质量:
data_quality_scorecarddata_quality_fleet_rollup(水质仪表重点: 电极老化 flatline / staleness / 量程外 —— 坏数据绝不静默插值) - 分析:
oee_computedowntime_eventsoee_multidimmonitor_changeshealth_summary(deprecated)anomaly_scan(deprecated) - 上下文基线:
baseline_learn_contextualbaseline_check_in_context—— 一个位号只学一条带, 在它有不止一个「正常」时就是错的(同一台干燥机 recipe A 走 180 °C、B 走 240 °C,一条带横跨两者, 于是两个工况都不可能出错)。上下文由人声明,绝不推断(D16);某个上下文历史太薄就拒学, 不借用别的上下文的样本;读数落在没学过的上下文里报unknown_context,绝不回落到全局带 —— 回落等于把「这个工况从没见过」说成「这个工况正常」。 - 上下游归因:
downtime_attribution—— RCA 只按时间加权,所以一次上游停机会让每台下游设备 各自给出一个自信的本地根因。方向来自声明的产线顺序(D25:产线上共现是必然,拿它挖边等于 制造因果),顺序来自时间戳,两者都要成立;没声明关系就报not_evaluable并给出补法。 - 资产:
asset_inventorycross_protocol_asset_modeladopt_alias_mapdiff_alias_map - 设备公告对照:
device_advisory_check——scan早就在读 vendor/model/firmware,却什么都没做。 这条把它接上,并刻意停在漏洞扫描器会继续往前走的地方:只报「落在公告声明的版本范围内」, 不说「可利用」、不给严重度 —— 可达性与补偿控制决定那件事,而只读扫描看不见它们。 不内置任何 CVE 库(过期却看着像最新的库比没有更糟),由现场挂载文件、离线可用,每条必须带来源。 读不出固件报version_unknown,读得出但排不了序报version_unparsed—— 都不算通过; 公告没提到的设备不出现在结果里,那是「未知」不是「没有」。 - 基线:
baseline_learnbaseline_checkbaseline_record_changebaseline_status(change-log 基线:拒学薄历史、只报持续越带、每次告警必引基线样本 —— 非黑盒异常检测) - 合规/信创:
compliance_mappingcompliance_frameworkscompliance_dengbao_levelscompliance_reportcompliance_evidence_bundlehistorian_pushexport_datahistorian_queryhistorian_coveragestream_publishuns_publishstream_publish_eventrca_narratefleet_statusfleet_incidentspdm_forecasthistorian_pushexport_data - 程序解读:
plc_program_outlineplc_program_xrefplc_program_sectionplc_program_visibilityplc_program_xref_config(解读导出的 ST/AWL/L5X 程序,只读文件,强制引用行号) - 导出来源守卫(#282):AWL/SCL 的
--live只允许 CLI 操作者显式给出--confirm-export-origin且 CPU 为 RUN;MCP 不能声明来源,故拒绝这类 live 读。S7 STOP/未知态也拒读。L5X/Logix 在线控制器名匹配仅是有限证据,不能证明导出来源。 - 程序变更基线:
plc_program_snapshotplc_program_driftplc_program_history— 把「认可的那一版」 的结构记下来(文件 SHA-256 + 每个 block 的结构指纹:声明/调用/分支条件/定时器,不含行号、注释、 block 顺序,所以在文件顶上加一行注释不会把整份程序报成变更),之后问某一次导出动没动。 三个判词咬得很紧:identical只由 SHA-256 相同得出;logic_changed逐 block 指出哪一类变了;changed_outside_extracted_structure= 字节变了而结构指纹全同 —— 多半是注释/排版,但这些 parser 是结构抽取不是文法,所以它不叫「仅文档」,也不构成放行。删历史只在 CLI(iaiops program forget): 删变更控制证据不该离 agent 只有一次调用。存的是 block 名 + 哈希 + 计数,不落声明、源码行和注释。 - 自证:
verify_determinism— 把「拿掉模型、断网、同一份数据重跑、输出逐字节相同」跑出来: 固定数据集过一遍分析层,规范化后取 SHA-256,在本进程跑两遍、再在两个不同 PYTHONHASHSEED 的 全新解释器里各跑一遍(这一臂才抓得到集合/字典迭代顺序渗进结果),全程 socket 抛异常。 给 CSV/验证团队的是一条能写进 IQ/OQ 的测试用例,不是一句形容词。 - 元:
protocols_supported(产品能做什么)·site_readiness(这个站点今天能跑什么、还差什么;零联网) ·onboarding_status(先判定路线:设备直读 / 已在 UNS broker,UNS 再按已存体检分 B1/B2;再给这条路上的下一步;零联网) ·onboarding_config_draft(把已存的 scan 变成 config.yaml 端点草稿 —— 只写连接事实:value: null的字段是扫描没确认的,照抄它的caution,别替人填也别删;tags永远是空的, 点位语义只能人来确认iaiops tags export|apply) - 调查层(§13,八步证据闭环):
investigation_readinessinvestigation_openinvestigation_showinvestigation_list— 「真出事时这个站能走到第几步、每个缺口还差什么」,以及对一个已过去的窗口 逐步走完并留档(不碰设备)。缺口分两种:你没供(给命令) 与 产品供不了。 - 产线关系与机制库:
line_relation_declareline_relations_listmechanism_library_checkmechanism_library_list— 上下游由人声明(D25:线上下游共现是必然,推不出因果); 机制库按 ISO 14224 分 mode/mechanism/cause,可排除、绝不确认, 库里没有这条原因 →nothing_known(不是「无异议」)。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 26d ago Changed · +3 lines ecebe753ee5f
- 1mo ago Changed 18984dd12044
- 1mo ago Changed · +4 lines abd4b23b32a9
- 2mo ago Changed e83ff705c403
- 2mo ago Changed · +4 lines 65c7bfa2005b
- 3mo ago Changed · +29 lines e0e7556dcebf
- 3mo ago First seen · 96 lines · 162 tokens per session scan A 94584e9c20a7
iaiops-water is a skill published in the GitHub repository industrial-aiops/industrial-aiops (16 stars, last pushed today), licensed MIT. It adds 162 tokens to every session and 3,820 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
iaiops-water compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| iaiops-waterindustrial-aiops/industrial-aiops | Skill | 16 | today | MIT | A | 162 | Claude Code, Codex |
| tiaportal-mcpbulaofen0036-coder/TIA_Portal_Openness_MCP | Skill | 472 | 21d ago | MIT | A | 103 | Claude Code |
| tia-reviewrenanlido/tia-harness | Skill | 13 | 3d ago | MIT | A | 190 | Claude Code |
| tia-verifyrenanlido/tia-harness | Skill | 13 | 3d ago | MIT | A | 242 | Claude Code |
| tia-handoffrenanlido/tia-harness | Skill | 13 | 3d ago | MIT | A | 189 | Claude Code |
| spec-planrenanlido/tia-harness | Skill | 13 | 3d ago | MIT | A | 186 | Claude Code |
| tia-backuprenanlido/tia-harness | Skill | 13 | 3d ago | MIT | A | 172 | Claude Code |