melsec-iqr-simple-cpu-comm-csv

melsec-iqr-simple-cpu-comm-csv is a skill for Claude Code, Codex from mokouliszt/iQRSimpCPUCommSkill. It costs 342 tokens per session (4,013 once invoked), scanned A, original, MIT.

A tool for creating, checking, and analysing configuration CSV files for the Simple CPU Communication feature in Mitsubishi MELSEC iQ-R programmable controllers. GX Works3 is Mitsubishi’s software for configuring these controllers, and the files use a specific UTF-16 tab-separated format.

In plain words
What is it for?
Use it to generate or validate communication settings involving IP addresses, ports, devices, timing, retries, monitoring, and up to 64 configuration entries. It does not configure other Ethernet features.
Why use it?
It helps avoid invalid settings and import problems, including values that the iQ-R configuration screen does not allow and limits on devices, words, and communication settings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to generate or validate communication settings involving IP addresses, ports, devices, timing, retries, monitoring, and up to 64 configuration entries. It does not configure other Ethernet features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mokouliszt/iqrsimpcpucommskill/melsec-iqr-simple-cpu-comm-csv
Install

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.

Any agent
npx skills add mokouliszt/iQRSimpCPUCommSkill --skill melsec-iqr-simple-cpu-comm-csv
Clone the repo
git clone --depth 1 https://github.com/mokouliszt/iQRSimpCPUCommSkill

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for melsec-iqr-simple-cpu-comm-csv

README.md
[![agentmods](https://agentmods.dev/badge/skills/mokouliszt/iqrsimpcpucommskill/melsec-iqr-simple-cpu-comm-csv/github.svg)](https://agentmods.dev/skills/mokouliszt/iqrsimpcpucommskill/melsec-iqr-simple-cpu-comm-csv)
Your own site
<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.

agentmods 80×15 button for melsec-iqr-simple-cpu-comm-csv

Your own site · 80×15
<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>
Per session 342 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,013 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00342 $0.04013
Opus 5 $0.00171 $0.02006
Sonnet 5 $0.00068 $0.00803
Haiku 4.5 $0.00034 $0.00401

Measured 10d ago against content hash be065d1fd889, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_csv.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/melsec-iqr-simple-cpu-comm-csv/SKILL.md · 220 lines

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 専用 のため上記を強制する。

根本原則

  1. GX Works3 が出力する CSV と完全バイト一致 を目標とする ── UTF-16LE+BOM/タブ区切り/CRLF/全セル "..." 囲み。手書きで編集して壊さないこと。
  2. 生成前に必ず validate で検証する ── デバイス番号・点数・ポート規則・パターン制約は機器種別ごとに異なり、エラーがあると GX Works3 がインポートを拒否する。
  3. このスキルは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           ← 全バリデーション規則の一覧

Read the full file on GitHub · 220 lines

Files

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.

Changes

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.

  1. 10d ago First seen · 220 lines · 342 tokens per session scan A be065d1fd889

Subscribe to this mod's changes

melsec-iqr-simple-cpu-comm-csv is a skill published in the GitHub repository mokouliszt/iQRSimpCPUCommSkill (2 stars, last pushed 4mo ago), licensed MIT. It adds 342 tokens to every session and 4,013 once invoked, about $0.0017 per session on Opus 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.

Related

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.

mokouliszt/iqr-device-skill · 242 tokens

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.

mokouliszt/iqr-device-skill · 236 tokens

OT / ICS / SCADA Security

Operational Technology and industrial control system security — Purdue model segmentation, industrial protocol analysis (Modbus, DNP3, S7, EtherNet/IP), PLC/HMI exposure, IEC 62443 alignment, and MITRE ATT&CK for ICS, for authorized and safety-conscious assessments.

Masriyan/Claude-Code-CyberSecurity-Skill · 64 tokens

lab-hardware-cad

Design custom laboratory hardware as parametric build123d models and export fabrication-ready 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 research…

K-Dense-AI/scientific-agent-skills · 106 tokens

opentrons-integration

Author, review, migrate, simulate, and troubleshoot 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 workflow…

K-Dense-AI/scientific-agent-skills · 79 tokens

pylabrobot

Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Use for PyLabRobot protocols or API questions; keep physical execution behind an explicit operator safety gate.

K-Dense-AI/scientific-agent-skills · 49 tokens