tia-doctor · git:20260601.53a6a0a · 2026-06-01 · sha256 270da3397b01e73e

tia-doctor git:20260601.53a6a0aA

Immutable. This exact content never changes and is served at /api/v1/blob/270da3397b01e73e.

---
name: tia-doctor
description: Manual prerequisite probe for TIA Portal, Openness, Python TIA Scripting, TIA MCP, and Siemens LSP.
disable-model-invocation: true
---

# tia-doctor

Use this skill only when the user explicitly asks to diagnose, verify, or debug
the local TIA Portal automation environment.

## Run

```powershell
powershell.exe -NoProfile -ExecutionPolicy Bypass -File skills\tia-doctor\probe.ps1
```

For machine-readable output:

```powershell
powershell.exe -NoProfile -ExecutionPolicy Bypass -File skills\tia-doctor\probe.ps1 -Json
```

## Interpret Results

- `pass`: prerequisite is present and usable.
- `warn`: optional probe could not be completed, or a non-required item is missing.
- `fail`: required prerequisite is missing or unusable.

Report missing items with the remediation text from the probe output. Do not
invent installation commands if the probe already provided one.

## Checks

The probe checks:

- TIA Portal install and detected version.
- Openness assembly presence and version evidence.
- Current Windows user membership in the `Siemens TIA Openness` local group.
- `siemens_tia_scripting` importability through `py` or `python`.
- `tia-mcp` command or `TiaMcpServer` dotnet global tool.
- Bundled `bin/siemens-lsp.exe` and whether `serve` can start.

The probe is read-only. It must not create projects, open TIA Portal, modify
registry keys, install tools, or change user configuration.