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/iqr-device-skill --skill melsec-iqr-device-overviewgit clone --depth 1 https://github.com/mokouliszt/iqr-device-skillWrote 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/iqr-device-skill/melsec-iqr-device-overview)<a href="https://agentmods.dev/skills/mokouliszt/iqr-device-skill/melsec-iqr-device-overview"><img src="https://agentmods.dev/badge/skills/mokouliszt/iqr-device-skill/melsec-iqr-device-overview/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/iqr-device-skill/melsec-iqr-device-overview"><img src="https://agentmods.dev/badge/skills/mokouliszt/iqr-device-skill/melsec-iqr-device-overview.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.00236 | $0.04659 |
| Opus 5.5 | $0.00094 | $0.01864 |
| Sonnet 5.5 | $0.00047 | $0.00932 |
| Haiku 4.5 | $0.00024 | $0.00466 |
Grade A, and why
melsec-iqr-device-overview 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 — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MELSEC iQ-R デバイス総合知識
このSkillは、三菱電機MELSEC iQ-Rシリーズのデバイスに関する横断的・概念的な知識を提供する。個別デバイスの数値スペック(点数・範囲)は姉妹Skill melsec-iqr-device-specifications に集約してあるので、本Skillと併用すること。
このSkillの守備範囲
| 扱う | 扱わない |
|---|---|
| デバイス分類体系・命名規則 | 個々のデバイスの点数・範囲(→specifications) |
| グローバル/ローカル、ラッチ、インデックス修飾、間接指定 | 命令語の詳細(プログラミングマニュアル参照) |
| CPU機種ごとのデバイス差異 | ネットワーク・モーション等のユニット固有仕様 |
| バックアップ/リストア・トラッキング転送の対象判定 | 安全制御プログラムの設計手法 |
| デバイス選定の考え方 | エラーコード・診断(別資料参照) |
基本原則
iQ-Rのデバイスは**「分類 → 種別(ビット/ワード/ダブルワード) → 記号」**の三層で整理されている。回答の際は必ずこの構造に沿って説明すること。表記基数(10進/16進)も合わせて伝えると誤解が減る。
デバイス分類体系
iQ-Rのデバイスは大きく 8 分類 に分かれる。質問されたデバイスがどの分類に属するかを最初に特定すると、利用可否やバックアップ可否などが芋づる式に決まる。
| 分類 | 役割 | 代表デバイス |
|---|---|---|
| ユーザデバイス | ユーザが自由に使う一般用途デバイス | X, Y, M, L, B, F, SB, V, S, T, ST, LT, LST, C, LC, D, W, SW |
| システムデバイス | CPUの状態格納・サブルーチン引数受渡し | FX, FY, FD, SM, SD |
| リンクダイレクトデバイス | ネットワークユニットのリンクデバイスへ直接アクセス | Jn\X, Jn\Y, Jn\B, Jn\SB, Jn\W, Jn\SW |
| ユニットアクセスデバイス | インテリジェント機能ユニットのバッファメモリへ直接アクセス | Un\G |
| CPUバッファメモリアクセスデバイス | マルチCPU間/内蔵機能用メモリ | U3En\G, U3En\HG |
| インデックスレジスタ | デバイス番号のインデックス修飾用 | Z, LZ |
| ファイルレジスタ/リフレッシュデータレジスタ | 拡張ワードデバイス | R/ZR, RD |
| その他のデバイス | ポインタ・ネスティング等の制御用 | P, I, N, J, U, BL, TR |
加えて、SIL2プロセスCPU・安全CPUでのみ使用可能な 安全デバイス (SA\X, SA\Y, SA\M, SA\B, SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SM, SA\SD)が独立した体系で存在する。安全デバイスは安全プログラムでのみ使用可能で、一般プログラムからは使えない点に注意。
種別(データ幅)
| 種別 | 1点あたり | 該当デバイス |
|---|---|---|
| ビット | 1 bit | X, Y, M, L, B, F, SB, V, S, FX, FY, SM, ラッチリレー L 等 |
| ワード | 16 bit | D, W, SW, FD(4ワード), SD, R/ZR, RD, Z 等 |
| ダブルワード | 32 bit | LT, LST, LC, LZ |
| ビット/ワード両用 | - | T, ST, C (接点・コイル・現在値を持つ構造) |
| ビット/ダブルワード両用 | - | LT, LST, LC |
T/ST/LT/LST/C/LCは接点(S)・コイル(C)・現在値(N)を持つ構造体的デバイスで、ラベルではそれぞれ TIMER, RETENTIVETIMER, LTIMER, LRETENTIVETIMER, COUNTER, LCOUNTER 型に対応する。
デバイス番号の表記基数
デバイスごとに表記基数が決まっており、混在しないよう注意:
- 16進数表記: X, Y, B, SB, FX, FY, W, SW, Jn\X, Jn\Y, Jn\B, Jn\SB, Jn\W, Jn\SW, U
- 10進数表記: M, L, F, V, S, T, ST, LT, LST, C, LC, D, FD, SM, SD, Z, LZ, R, ZR, RD, N, P, I, J, BL, TR, Un\G, U3En\G, U3En\HG
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 · 186 lines · 236 tokens per session scan A 815b6d844d26
melsec-iqr-device-overview is a skill published in the GitHub repository mokouliszt/iqr-device-skill (1 stars, last pushed 5mo ago), licensed MIT. It adds 236 tokens to every session and 4,659 once invoked, about $0.0009 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-simple-cpu-comm-csv
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.
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.
pybamm
Simulates lithium-ion battery charge, discharge and rest experiments with PyBaMM, records parameter-set provenance, checks mesh and solver sensitivity, and compares predicted voltage curves with measured cycling data. Use for SPM or DFN electrochemical battery modeling, C-rate protocols, voltage cutoffs, parameter…