tia-python

tia-python is a skill for Claude Code, Codex from Czarnak/totally-integrated-claude. It costs 39 tokens per session (3,076 once invoked), scanned A, original, MIT.

A reference for Siemens' Python wrapper around TIA Portal Openness, the programming interface for automating TIA Portal engineering tasks. It documents the supported Python package, versions, manuals, examples, and known behavior limits.

In plain words
What is it for?
Use it when a task explicitly calls for Siemens TIA Scripting in Python, to check available APIs, supported environments, package behavior, and example workflows.
Why use it?
It helps developers use the Siemens-provided Python interface with the correct names, signatures, and supported Python versions. This reduces errors caused by guessing how the wrapper works or assuming that installation and live-project behavior are guaranteed.

Skill for Claude CodeCodex

Part of the totally-integrated-claude plugin — 19 skills, 1 hook, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/czarnak/totally-integrated-claude/tia-python
Any agent
npx skills add Czarnak/totally-integrated-claude --skill tia-python
Clone the repo
git clone --depth 1 https://github.com/Czarnak/totally-integrated-claude

Made for: Claude Code, Codex.

Or install totally-integrated-claude, the plugin that ships this one along with the rest of its 19 skills, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tia-python

README.md
[![agentmods](https://agentmods.dev/badge/skills/czarnak/totally-integrated-claude/tia-python.svg)](https://agentmods.dev/skills/czarnak/totally-integrated-claude/tia-python)
Your own site
<a href="https://agentmods.dev/skills/czarnak/totally-integrated-claude/tia-python"><img src="https://agentmods.dev/badge/skills/czarnak/totally-integrated-claude/tia-python.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,076 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.03076
Opus 5 $0.00019 $0.01538
Sonnet 5 $0.00008 $0.00615
Haiku 4.5 $0.00004 $0.00308

Measured 5d ago against content hash d5fb2a8155dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

tia-python scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tia-python/SKILL.md · 307 lines

How it starts

The opening of the file, as written. The whole thing — 307 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TIA Scripting Python V1.4.3

Library: siemens_tia_scripting (v1.4.3)

Use this skill for the Siemens-supplied Python wrapper around TIA Portal Openness. It is a reference-routed skill: do not select Python merely because a task mentions TIA Portal. If the implementation route is not already explicit, start with tia-openness-roadmap.

Evidence and qualification boundary

This package is aligned to the supplied Siemens V1.4.3 artifacts:

  • English manual 109742322_TIA_Scripting_Python_DOC_V143_en.pdf, entry ID 109742322, dated 06/2026.
  • The siemens_tia_scripting.pyi stub bundled identically in the CPython 3.12, 3.13, and 3.14 wheels.
  • Siemens package metadata, changelog, and example workflows distributed with V1.4.3.

The manual and stub are the authority for public names and signatures. The changelog is the authority for version-to-version behavior notes. Static package inspection does not prove import success, installed products, licensing, live portal behavior, or project mutation on a particular engineering station.

Supported environment

  • Python 3.12.x, 3.13.x, or 3.14.x only, using the matching Windows x64 wheel.
  • The V1.4.3 manual states TIA Portal V15.1 or newer and TIA Portal Openness V15.1 or newer.
  • Siemens manifest.json lists V18-V21, while the delivered package contains adapter assemblies from V15.1 through V21.1. Treat this as mixed Siemens compatibility metadata: verify the exact installed Portal and update before promising runtime support.
  • The Windows user must belong to the Siemens TIA Openness group. The first connection can display the Siemens Openness security prompt.

Installation

Do not install an unrelated package from PyPI. Use a wheel from the Siemens download or use the extracted-file import method.

Siemens wheel

Choose the wheel whose CPython tag matches the interpreter:

py -3.12 -m pip install .\install\siemens_tia_scripting-1.4.3-cp312-cp312-win_amd64.whl
py -3.13 -m pip install .\install\siemens_tia_scripting-1.4.3-cp313-cp313-win_amd64.whl
py -3.14 -m pip install .\install\siemens_tia_scripting-1.4.3-cp314-cp314-win_amd64.whl

Read the full file on GitHub · 307 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 307 lines · 39 tokens per session scan A d5fb2a8155dc

Subscribe to this mod's changes

tia-python is a skill published in the GitHub repository Czarnak/totally-integrated-claude (55 stars, last pushed 19d ago), licensed MIT. It adds 39 tokens to every session and 3,076 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

building-telegram-bots

Writes correct, version-aware Telegram bot code. Use when writing, extending, or debugging a Telegram bot in python-telegram-bot, aiogram, grammY, or Telegraf. Not for Telegram client API (TDLib), languages other than Python and Node.js, or non-Telegram platforms.

isvlasov/rageatc-oss · 68 tokens

milp-modeling-gurobi

When the user wants to build, solve, and debug mixed-integer linear programs in Python with Gurobi — creating variables, writing constraint-builder functions, setting objectives and parameters, handling solver status, and extracting solutions safely. Also use when the user mentions "gurobipy," "build a MIP model,"…

hajibabaie/combinatorial-optimization-skills · 141 tokens

numpy-vectorization-for-optimization

When the user wants to remove slow Python loops from metaheuristic or optimization code using NumPy — population-level operations, batch fitness evaluation, distance matrices, broadcasting, argsort/argpartition idioms, defaultrng, and memory layout. Also use when the user mentions "vectorize," "numpy broadcasting,"…

hajibabaie/combinatorial-optimization-skills · 125 tokens

backend-development

Use when building or structuring a Python backend on FastAPI + SQLAlchemy 2.0 (async) + Alembic + Pydantic v2. Provides the opinionated project layout, the standard kit (auth, async jobs, caching, storage, observability), and best practices.

martian56/claude-engineer · 63 tokens

odoo-python

Use when writing or reviewing any Python in an Odoo module — models, computes, overrides, controllers, wizards. Carries PSAE review-derived principles for ORM correctness, performance, style, and security, plus references for exact patterns. Invoke before writing logic in models/, controllers/, or wizard/.

omas-odoo/odoo-superpowers · 64 tokens

odoo-python

Use when writing or reviewing any Python in an Odoo module — models, computes, overrides, controllers, wizards. Carries PSAE review-derived principles for ORM correctness, performance, style, and security, plus references for exact patterns. Invoke before writing logic in models/, controllers/, or wizard/.

assoumaaa/odoo-superpowers · 64 tokens