studio-seventeen
WORKSHOP--:--
~/workshop/skills/modbus/README.md

Modbus skills for coding agents.

Use one skill for one result, or follow a complete workflow from a register map to a field test.

Skills
20
Workflows
11
License
Apache-2.0

PRIMARY PATH

Turn an OEM map into the outputs you need.

$compile-user-map takes an OEM PDF or register file plus the values you need, such as temperatures, alarms, status, or power. It returns an organized user map, JSON, CSV, and optional field-tool files.

11 WORKFLOWSFollow a complete Modbus taskSee the ordered skills, one-device-read steps, and approval points ↓

INSTALL · VERSION 0.2.0 · Apache-2.0

Choose your coding agent

Open your client below. Copy the command, then follow the short note for that client.

Codex

Clone the public repository, add its local marketplace, and install the plugin.

git clone https://github.com/studioxvii/modbus-skills.git
cd modbus-skills
codex plugin marketplace add "$PWD"
codex plugin add modbus-skills@modbus-skills
Claude Code

Build the Claude package and load it for the current session. Invoke a skill as /modbus-skills:skill-name.

git clone https://github.com/studioxvii/modbus-skills.git
cd modbus-skills
python3 scripts/build_plugin_variants.py
claude --plugin-dir "$PWD/dist/plugins/claude"
Cursor

After marketplace publication, type this command in Cursor.

/add-plugin modbus-skills
Agent Plugins 1.0

Build the portable packages, then use dist/plugins/agent-plugin with your client’s installation process.

python3 scripts/build_plugin_variants.py
python3 scripts/validate_plugin_variants.py --output dist/plugins

Installation adds the plugin files only. It does not install Python, PyModbus, Node-RED, Modpoll (BETA), Witte Modbus Poll (BETA), or ModScan (BETA). Apache-2.0 license ↗

01 · SKILLS

Choose the result you need

Each skill starts with a clear engineering task and returns one useful result.

20 skills
01

Start here

Compile a complete user map from an OEM source, or ask which focused skill to use.

Start with $compile-user-map

02

Review register maps

Turn a PDF or register file into a checked draft and a short exception list. Use extraction or parsing only when you need that stage by itself.

Start with $review-map

03

Plan and run one read

Plan one safe read and use its raw result to determine byte order.

Start with $capture-sample

04

Create field-tool files

Create files for the Node-RED, Modpoll, or ModScan tool that you use.

Start with $build-tool-pack

05

Analyze read data

Find communication and signal problems in live or saved read data.

Start with $analyze-capture

02 · FIELD TOOLS

Create files for the field tool you use

Select one tool or create all three outputs. Each output uses the same validated map and hash-bound read plan.

03 · WORKFLOWS

Eleven complete Modbus tasks

A skill does one job. A workflow runs one or more skills and pauses for your approval or one device read. OEM work uses $compile-user-map; it does not expand into a field-tool specialist chain.

11 workflows
AUTOMATIC SKILLONE DEVICE READYOUR APPROVAL
01

Compile an OEM map into user outputs

Produce an organized user map and the requested offline outputs in one resumable run.

USES 1 SKILL

$compile-user-map

PAUSES

your approval

  1. 01$compile-user-map compile the requested user outputs
  2. 02answer one grouped source question when required

Pause rule: Stops only when one grouped source decision, device binding, or separate physical evidence is required.

02

Review a raw source map end to end

Review a PDF or structured register file and return a checked draft with a short exception list.

USES 2 SKILLS

$review-map$apply-review

PAUSES

your approval

  1. 01$review-map review the complete source map
  2. 02answer all open questions together
  3. 03$apply-review add the approved answers

Pause rule: A clean review continues without approval. Otherwise, answer every independent exception group together.

03

Extract PDF register evidence

Extract traceable rows and grouped exceptions from a PDF without performing a complete source-map review.

USES 2 SKILLS

$extract-pdf-map$review-evidence

PAUSES

your approval

  1. 01$extract-pdf-map extract the register evidence
  2. 02$review-evidence group the extraction exceptions
  3. 03confirm the complete bounded source once

Pause rule: Stops for an unreadable PDF, incomplete source coverage, or grouped extraction exceptions. It never asks page by page.

04

Confirm byte order from one sample

Evaluate all supported layouts from one saved sample, record your confirmation, and update the map.

USES 2 SKILLS

$check-byte-order$apply-review

PAUSES

your approval

  1. 01$check-byte-order calculate each supported layout
  2. 02confirm the matching layout
  3. 03$apply-review add the confirmed layout

Pause rule: Stops when raw words or sample identity are missing, or when the question concerns coil or packed-bit numbering.

05

Determine byte order from a one-read probe

Build one bounded probe, wait for one physical read, then run the byte-order confirmation workflow.

USES 1 SKILL

$capture-sample

PAUSES

confirm-byte-order workflow · one device read

  1. 01$capture-sample build one bounded probe pack
  2. 02run one device read
  3. 03confirm-byte-order confirm byte order from the saved sample

Pause rule: Stops at the live-read gate. The operator must save the raw words before byte-order confirmation begins.

06

Remap address notation

Convert a complete map between protocol offsets and 40001-style register numbers, then check the result.

USES 2 SKILLS

$remap-addresses$check-map

PAUSES

no required pause

  1. 01$remap-addresses convert the address notation
  2. 02$check-map check the converted map

Pause rule: Stops when the source convention is unknown, information would be lost, or the conversion creates a duplicate address.

07

Build a declarative custom export

Create a documented text or CSV export from a reviewed map without running code from the example file.

USES 2 SKILLS

$check-map$build-custom-export

PAUSES

no required pause

  1. 01$check-map check the map
  2. 02$build-custom-export build the custom export

Pause rule: Stops when the example format is unclear, the map has an error, or the requested file is an undocumented binary format.

08

Probe, resolve byte order, and finalize a tool pack

Use a selected tool to collect one sample, confirm byte order, then rebuild the final tool files.

USES 2 SKILLS

$plan-reads ×2$build-tool-pack ×2

PAUSES

confirm-byte-order workflow · one device read

09

Build a multi-target tool pack

Create Node-RED, Modpoll (BETA), and ModScan (BETA) files from one validated map and read plan.

USES 3 SKILLS

$check-map$plan-reads$build-tool-pack

PAUSES

no required pause

  1. 01$check-map check the map
  2. 02$plan-reads plan the reads
  3. 03$build-tool-pack build the selected files

Pause rule: The validated map and its hash-bound read plan must pass all checks.

10

Analyze bounded read data

Find communication and signal problems without a control command.

USES 1 SKILL

$analyze-capture

PAUSES

your approval

  1. 01$analyze-capture analyze the data
  2. 02review the findings

Pause rule: Review the limits, the sample period, and other possible causes.

11

Compare map revisions

See what changed between devices, documents, or firmware versions.

USES 1 SKILL

$compare-maps

PAUSES

2 review-source-map runs · your approval

  1. 01review-source-map review the first source map
  2. 02review-source-map review the second source map
  3. 03$compare-maps compare the maps
  4. 04review the changes

Pause rule: Review moved, added, removed, and changed points.