ModbusPilot Studio
AI-ready · AI kit

Make any AI an expert
in ModbusPilot

ModbusPilot comes with everything an AI assistant needs to run your Modbus bench: an Agent Skill, a custom agent, project instructions, an MCP server and a one-file guide written for language models. Install one, then just ask "Is the power board healthy?"

Set up in one command

Six ways to teach your AI

Pick the one that matches your AI tool, or combine them. All of them carry the same rules: use --json, check ok, and never write to a device without your OK.

Recommended
1

Agent Skill SKILL.md

The open Agent Skills format. The AI loads it automatically whenever you talk about Modbus, registers or your device, and reads reference.md for every detail.

For GitHub Copilot (CLI, VS Code, cloud agent, app), Claude Code, OpenAI Codex and other skill-aware agents.
Put in .github/skills/modbuspilot/, .claude/skills/modbuspilot/ or .agents/skills/modbuspilot/ (personal: ~/.copilot/skills/).
2

MCP server

The AI calls ModbusPilot tools directly: get_values, read_device, read_registers, scan_devices, get_usage_guide and more. Read-only unless you add --allow-write.

For VS Code + Copilot, Copilot CLI, Claude Desktop, Claude Code, Cursor, Codex, Windsurf and any MCP client.
Get the config modbuspilot-cli ai mcp-config --client vscode
3

Custom agent

A ready "ModbusPilot bench engineer" you pick from the agent list. It explains values in plain words, flags anything out of range and suggests the next check.

For GitHub Copilot custom agents (VS Code, CLI, github.com).
Put in .github/agents/modbuspilot.agent.md
4

Project instructions

A short always-on section that tells every AI working in your repository how ModbusPilot is used and what it must never do.

For AGENTS.md (Codex, Cursor, Copilot, Gemini, Jules ...), CLAUDE.md, .github/copilot-instructions.md.
5

One file for any chat: llms-full.txt

The complete manual in one plain-text file, written for language models (llms.txt standard). Upload it or paste its link, and the chat knows every command.

For ChatGPT, Claude.ai, Gemini, Copilot Chat, local LLMs, and anyone writing test scripts with AI.
DownloadView
6

Self-learning in the terminal

An agent that can run commands teaches itself in one step. The same guide is built into the program, so it always matches the version you have.

For any terminal agent. Tell it: "Run modbuspilot-cli ai guide and use ModbusPilot." MCP clients can call get_usage_guide or read modbuspilot://guide.

Set it up in one command

Run this in your project folder. ModbusPilot writes the skill, agent, instructions and MCP config for your AI tool, merges with files you already have, and fills in the right path to modbuspilot-cli. Add -p COM20 -b 115200 -P psu.json so the AI also knows your default device.

modbuspilot-cli ai setup --for copilot -p COM20 -b 115200 -P psu.json

  created  .github/skills/modbuspilot/SKILL.md        Agent Skill (loads automatically)
  created  .github/skills/modbuspilot/reference.md    full guide the skill reads on demand
  created  .github/agents/modbuspilot.agent.md        "modbuspilot" in the agent picker
  merged   .vscode/mcp.json                           MCP server for VS Code

All AI commands

ai guidePrint the full guide for AI (Markdown). --brief for the short version, -o file.md to save.
ai setupInstall for copilot, claude, codex, cursor or all; --user for personal folders.
ai mcp-configPrint the MCP config for vscode, copilot-cli, claude-code, claude-desktop, cursor, codex.
ai export DIRWrite every file of the kit (skill zip included) to a folder to share with your team.

Inside the MCP server

  • Tool get_usage_guide: the AI learns ModbusPilot on its own
  • Resources modbuspilot://guide and modbuspilot://profile
  • Prompts health_check and explain_register for one-click questions
  • Write tools only with --allow-write; the port is freed after each call

The AI kit files

Plain text, no secrets, generated from the program itself so they always match the real commands. Download them here or run modbuspilot-cli ai export ./ai-kit.

FileWhat it isWhere it goes
modbuspilot-skill.zipAgent Skill folder: SKILL.md + reference.mdUnzip into .github/skills/, .claude/skills/, .agents/skills/; or upload as a custom skill in Claude.ai
SKILL.mdSkill instructions with name and description front matter<skills>/modbuspilot/SKILL.md
View
modbuspilot.agent.mdCopilot custom agent.github/agents/ or ~/.copilot/agents/
View
AGENTS.mdAlways-on project sectionAppend to AGENTS.md, CLAUDE.md or .github/copilot-instructions.md
View
mcp.jsonExample MCP server entry (VS Code format).vscode/mcp.json; change the port and paths
View
llms.txtIndex for AI crawlers and toolsWebsite root
llms-full.txtThe complete guide for AI in one fileUpload to any chat, or paste the link
View

Using a chat app? Paste one prompt.

For ChatGPT, Claude.ai, Gemini or Copilot Chat: attach llms-full.txt (or use the link once the website is online) and start with this briefing.

You will help me with Modbus devices using ModbusPilot. First read llms-full.txt and follow its rules.

Then just ask

Click a prompt to copy it. The AI picks the right ModbusPilot command and answers in plain words.

Which one should I use?

WaySet-upAI talks to the deviceBest when
Agent SkillOne folderYes, runs modbuspilot-cliYou use Copilot, Claude Code or Codex in a project
MCP serverOne config entryYes, through toolsChat apps without a terminal (Claude Desktop) or you want tool-level control
Custom agentOne fileYesYou want a dedicated "ModbusPilot engineer" in the agent picker
AGENTS.md sectionPaste a sectionYesA team repository where every AI should know the rules
llms-full.txtUpload or linkNo, it writes commands and scripts for youWeb chats, writing test scripts, learning ModbusPilot
ai guideNothingYesAny terminal agent, right now

Safe by design

  • Every file tells the AI: reads are free, writes need your explicit OK
  • MCP write tools exist only with --allow-write
  • One program per serial port; the AI is told to ask before taking it

Private by design

  • ModbusPilot runs on your PC; nothing is uploaded by ModbusPilot
  • Only what your AI tool reads (values you ask for) goes to that AI provider
  • Use a local model with any MCP client for fully offline AI

Your bench, now with an AI co-pilot