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 mokouliszt/iQRSimpCPUCommSkill --skill melsec-iqr-simple-cpu-comm-csvgit clone --depth 1 https://github.com/mokouliszt/iQRSimpCPUCommSkillWrote 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/mokouliszt/iqrsimpcpucommskill/melsec-iqr-simple-cpu-comm-csv)<a href="https://agentmods.dev/skills/mokouliszt/iqrsimpcpucommskill/melsec-iqr-simple-cpu-comm-csv"><img src="https://agentmods.dev/badge/skills/mokouliszt/iqrsimpcpucommskill/melsec-iqr-simple-cpu-comm-csv/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/mokouliszt/iqrsimpcpucommskill/melsec-iqr-simple-cpu-comm-csv"><img src="https://agentmods.dev/badge/skills/mokouliszt/iqrsimpcpucommskill/melsec-iqr-simple-cpu-comm-csv.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.00342 | $0.04013 |
| Opus 5.5 | $0.00137 | $0.01605 |
| Sonnet 5.5 | $0.00068 | $0.00803 |
| Haiku 4.5 | $0.00034 | $0.00401 |
Grade A, and why
melsec-iqr-simple-cpu-comm-csv 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 1mo 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 — 220 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MELSEC iQ-R シンプルCPU通信 設定CSV ジェネレータ
このSkillは、MELSEC iQ-RシリーズCPUユニットの シンプルCPU通信機能 (内蔵Ethernetポート部)の設定を、GX Works3 と完全互換の CSVファイル として生成・検証・逆解析する。
出典: MELSEC iQ-R Ethernetユーザーズマニュアル(応用編) 1.15節 (p.220-242)。
このSkillの守備範囲
| 扱う | 扱わない |
|---|---|
| シンプルCPU通信設定 (1.15節) のCSV生成・検証・解析 | 他のEthernet通信機能(MELSOFT接続、SLMP通信、ソケット通信、CC-Link IEFB Basic等) |
| 機器種別 16/17/18/19/20/22/23/25/26/30 の交信相手対応 | 安全CPU通信(RnSF/RnPSF)の安全デバイス通信 |
ヘッダー部 (ファイルバージョン/対象ユニット/自局IPアドレス/IPアドレス入力形式/デバイス割付方法/通信開始待ち時間/初回交信設定) |
自局CPU の Ethernet 自ノード設定/二重化設定(自ノード設定/B系IPアドレス等は別途設定) |
| 設定No.1~64 の各カラム(通信パターン/交信設定/実行間隔/IP/ポート/対象号機/ビット・ワードデバイス/タイムアウト/リトライ/異常監視時間/コメント) | リモートパスワード設定/セキュリティ設定 |
| デバイス種別の機器種別ごとの可否・範囲(PDF p.224-228 完全反映) | エンジニアリングツールGUIの操作手順 |
| ビット先頭16倍数チェック・1設定512ワード上限・全体8192ワード上限 | エラーコードCFB4H 等の異常応答コード解析(マニュアル参照) |
⚠️ iQ-Rプロジェクトの固定制約(重要)
GX Works3 のシンプルCPU通信設定画面で iQ-Rプロジェクト時に 編集不可(グレーアウト) な項目があり、それらに値を入れた CSV をインポートすると GX Works3 が該当行を破棄してデフォルト値の空行に置き換える。本スクリプトはこれらを違反した時点でバリデーションエラーで停止する。
| 項目 | iQ-R での値 | 備考 |
|---|---|---|
IPアドレス入力形式 (header.ip_format) |
"DEC" 固定 |
10進数のみ。HEX は GUI で選択不可 |
オプション(16進数) (settings[].target.option_hex) |
"" 固定 |
GUI で編集不可。SLMP 含めて全機器種別で空欄必須 |
これは MELSEC iQ-R Ethernetマニュアル本文には明記されていない、GX Works3 GUI実装上の制約。 他CPU(QnUDV等)では HEX 指定可能と推測されるが、本スキルは iQ-R 専用 のため上記を強制する。
根本原則
- GX Works3 が出力する CSV と完全バイト一致 を目標とする ── UTF-16LE+BOM/タブ区切り/CRLF/全セル
"..."囲み。手書きで編集して壊さないこと。 - 生成前に必ず
validateで検証する ── デバイス番号・点数・ポート規則・パターン制約は機器種別ごとに異なり、エラーがあると GX Works3 がインポートを拒否する。 - このスキルはCSV専用 ── ユニットパラメータ書込みやCPUリセット等の実機操作は別途エンジニアリングツールで行う必要がある。
ディレクトリ構成
melsec-iqr-simple-cpu-comm-csv/
├── SKILL.md ← 本ファイル
├── scripts/
│ ├── generate_csv.py ← メインCLI(generate / validate / parse)
│ └── device_ranges.json ← 機器種別ごとのデバイス範囲データ
├── examples/
│ └── example_config.json ← 添付サンプルと同等のCSVを再現する設定例
└── references/
├── csv_format.md ← CSVフォーマット仕様(バイト構造・カラム並び・基数)
└── validation_rules.md ← 全バリデーション規則の一覧
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago First seen · 220 lines · 342 tokens per session scan A be065d1fd889
melsec-iqr-simple-cpu-comm-csv is a skill published in the GitHub repository mokouliszt/iQRSimpCPUCommSkill (2 stars, last pushed 5mo ago), licensed MIT. It adds 342 tokens to every session and 4,013 once invoked, about $0.0014 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.
Other skills, from other repositories
melsec-iqr-device-specifications
A Japanese reference skill for Mitsubishi Electric MELSEC iQ-R programmable controllers, which control industrial machines. It documents the symbols, limits, formats, uses, and special rules for the controllers’ memory devices.
melsec-iqr-device-overview
A reference guide to devices in Mitsubishi MELSEC iQ-R programmable logic controllers (PLCs), which control industrial machines. It explains device categories, names, scopes, latching, indirect addressing, and transfer or backup behavior.
lab-hardware-cad
Designs custom laboratory hardware as parametric build123d models and exports fabrication artifacts as STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a…
opentrons-integration
Authors, reviews, migrates, simulates, and troubleshoots official Opentrons Python Protocol API v2 protocols for Flex and OT-2 robots. Use for robot-specific liquid handling, deck and labware setup, pipettes, modules, runtime parameters, liquid classes, and Opentrons App analysis. Use pylabrobot instead when one…
fictiv
Operates Fictiv (app.fictiv.com), the on-demand manufacturing platform, end to end in the user's browser. Covers uploading CAD parts, configuring process, material, finish, threads, tolerances and inspections, getting instant or manual quotes, reading and fixing DFM feedback, choosing lead time and region, checking…
pylabrobot
Develops and reviews PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Supports PyLabRobot protocols and API questions; keep physical execution behind an explicit operator safety gate.