{"route":"/skills/modbus/build-custom-export","title":"Build Custom Export","tab":"skills/modbus/build-custom-export.md","description":"Create a repeatable text or CSV export that follows a documented example.","updatedAt":"2026-08-28","enabled":true,"url":"https://studioseventeen.io/skills/modbus/build-custom-export","markdown":"# Build Custom Export\n\nREAD-ONLY\n\nCreate a repeatable text or CSV export that follows a documented example.\n\n## What you get\n\nGive 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.\n\n## How it runs\n\n**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.\n\n## Files this skill creates\n\n- **Import into your target:** `rendered-output.txt` — The generated text or CSV-shaped data in the format of your example.\n- **Keep for later runs:** `format-config.json` — The reusable format recipe.\n- **Keep for traceability:** `evidence.json` — The example and map that produced the output.\n\n## Requirements\n\n- **Plugin files (included):** SKILL.md, the Python wrapper, and the generator source.\n- **Python 3.11+ (install separately):** Required to generate the files. Plugin installation does not install Python.\n- **Target application (install separately):** Required only to import or use rendered-output.txt. This skill does not install or control it.\n\n## Example request\n\n```text\n$build-custom-export\n\nUse `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.\n```\n\n## Safety\n\nNo writes. No broadcasts. No discovery scans. No polls without a defined limit. Unknown values stay blank and remain visible for review.\n\n## Source\n\n- [Canonical SKILL.md](https://github.com/studioxvii/modbus-skills/blob/v0.2.2/plugins/modbus-skills/skills/build-custom-export/SKILL.md)\n- [Modbus Skills 0.2.2 release](https://github.com/studioxvii/modbus-skills/releases/tag/v0.2.2)\n- [All Modbus Skills](/skills/modbus.md)\n"}