Siemens TIA Portal automation for agentic coding tools

Totally Integrated Claude

A routed skill framework that sends TIA Portal tasks to the right implementation path: Claude Code, Codex, Antigravity CLI, Python TIA Scripting, C# Openness, MCP, or Siemens PLC LSP workflows.

  • Python TIA Scripting
  • C# Openness
  • TIA Portal MCP
  • PLC language server
  • Add-In authoring

Use one task-oriented prompt. The routing skill chooses the API surface and loads the focused domain skill.

Below: install commands, prerequisites, skill map, safety rules, and prompts you can use immediately.

Quick start

Install it where your agent already works.

The plugin ships bundled skills and configuration for Claude Code, Antigravity CLI, and Codex. Clone the repository for local development or install from GitHub for daily use.

Claude Code

Add the marketplace repository from inside Claude Code.

/plugin marketplace add Czarnak/totally-integrated-claude

Codex

Codex reads the bundled plugin manifest, skills, MCP config, and LSP config.

codex plugin marketplace add Czarnak/totally-integrated-claude

Antigravity CLI

Antigravity CLI reads the plugin manifest, bundled skills, instructions, and MCP server configuration.

agy plugin install https://github.com/Czarnak/totally-integrated-claude

Why routing matters

Most TIA automation fails before coding starts.

The risky moment is path selection: wrong API, wrong language, wrong abstraction level. Totally Integrated Claude routes first, then loads the right focused skill.

  1. Describe the engineering task. Ask for PLC block analysis, HMI export, device traversal, Add-In authoring, or MCP-driven work.
  2. The roadmap skill selects the path. Routine workflows go to Python TIA Scripting; deeper object-model work goes to C# Openness.
  3. A domain skill narrows the work. Projects, devices, PLC, HMI, networks, drives, import/export, Add-Ins, MCP, or LSP workflows stay focused.
  4. The agent works with safer local context. Commands, prerequisites, safety tokens, and implementation constraints are handled by the selected route.

What users get

A TIA Portal automation stack built for agent workflows.

The repository combines routed skills, environment checks, MCP safety, and Siemens PLC source support into one installable workflow.

Automatic routing

tia-openness-roadmap selects Python or C# and loads the right domain skill.

Python TIA Scripting

Coverage for PLC blocks and tags, HMI, libraries, devices, and project lifecycle tasks.

C# Openness

Domain skills for the advanced Openness API areas that need object-model precision.

Add-In development

VS Code-oriented Siemens TIA Portal Add-In authoring workflow support.

PLC language server

Syntax highlighting, diagnostics, and code intelligence for Siemens PLC source files.

Environment diagnostics

tia-doctor checks TIA Portal, Openness, Python TIA Scripting, MCP, and LSP prerequisites.

Skill map

Focused skills for each TIA Portal domain.

The routing layer prevents one overloaded prompt from carrying the entire TIA Portal object model.

tia-openness-roadmap

Entry point that chooses Python, C#, MCP, LSP, or Add-In workflow.

tia-python

Python TIA Scripting for everyday project, PLC, HMI, library, and device operations.

tia-csharp-common

Shared C# Openness patterns, build guidance, and object-model conventions.

Project and devices

tia-project-general and tia-devices-general cover lifecycle and hardware traversal.

PLC and HMI

tia-plc-operations and tia-hmi-operations handle engineering artifacts and exports.

Networks, drives, import/export

Focused support for networks, SIMATIC drives, file exchange, and automation handoffs.

Prerequisites and safety

Local engineering tools stay explicit.

All implementation paths require a working TIA Portal installation. Each path adds its own local runtime, assemblies, or source-file support on top.

Baseline TIA Portal V17 or later.
Python path TIA Scripting Python package available.
C# path Openness assemblies, .NET environment, and Siemens TIA Openness user group access.
MCP path TIA Portal V21 plus the separate TIA Portal MCP server when direct TIA work is needed.
LSP path Siemens PLC source files available locally.

Environment diagnostics

Run tia-doctor when automation fails because of missing local prerequisites. It is a read-only PowerShell probe for TIA Portal, Openness assemblies, Windows group membership, Python TIA Scripting, tia-mcp, and the bundled Siemens PLC language server.

MCP write safety Claude Code blocks TIA Portal writes unless the call includes confirm=true and a server-issued safetyToken. Read-only exploration stays available without that write token.

Prompt examples

Ask in engineering terms.

These prompts map natural language to a concrete implementation path and focused domain skill.

PLC engineering

How do I read all PLC tag tables from an open TIA Portal project?

HMI export

Export all WinCC Unified screens and HMI tags from the current project.

Device hierarchy

Create a C# Openness workflow to traverse devices, device items, slots, and subslots.