studio-seventeen
WORKSHOP--:--
~/workshop/skills/modbus/build-custom-export.md

$build-custom-export

SKILL 19 / 20READ-ONLY

Build Custom Export

Create a repeatable text or CSV export that follows a documented example.

WHAT YOU GET

A clear result you can inspect

Give it one example file, a checked map, and the fields you want. It creates `rendered-output.txt` plus `format-config.json`, a small recipe that can produce the same text or CSV format again.

HOW IT RUNS

Learns the file shape without running supplied code

01 · GUIDESKILL.mdprocess + safety
02 · EXECUTEscripts/run.pybundled local Python

Learns the file shape without running supplied code. The script treats the example as data, not executable code. It creates a small format definition and renders the output in a fixed order. It checks special characters, line endings, and spreadsheet formulas before it finishes.

FILES AND REQUIREMENTS

Know what the skill creates and what you must install

The plugin includes the skill instructions and generator source. It does not install Python, field tools, or their packages.

OUTPUTFiles this skill creates
Import into your targetrendered-output.txt

The generated text or CSV-shaped data in the format of your example.

Keep for later runsformat-config.json

The reusable format recipe.

Keep for traceabilityevidence.json

The example and map that produced the output.

DEPENDENCIESInstalled separately
Plugin filesincluded

SKILL.md, the Python wrapper, and the generator source.

Python 3.11+install separately

Required to generate the files. Plugin installation does not install Python.

Target applicationinstall separately

Required only to import or use rendered-output.txt. This skill does not install or control it.

Direct repository use: Run python3 -m pip install -e . from the cloned repository. Plugin installation does not run this command.

WHERE IT FITS

Used in these workflows

EXAMPLE REQUEST

Ask for the result in your own words.

Use this example as a starting point. Replace the file names and details with your own.

CODEX$build-custom-export
CLAUDE CODE/modbus-skills:build-custom-export
CURSOR + OTHER CLIENTSUse the client’s native skill invocation.
$build-custom-export

Use `example-import.csv` as the format for a new export from `reviewed-map.json`. Include point name, unit ID, register area, offset, data type, scale, and units.
GitHub source ↗