tia.scaffold

tia.scaffold is a skill for Claude Code from renanlido/tia-harness. It costs 189 tokens per session (1,356 once invoked), scanned A, original, MIT.

A builder for Siemens TIA Portal automation projects that turns a validated project specification into configured project objects and compiles the result.

In plain words
What is it for?
Use it to build TIA projects from validated specifications, including devices, modules, network addresses, tags, program blocks, protection settings, and compilation.
Why use it?
It provides a repeatable way to create a project while checking prerequisites and stopping before the program is downloaded to a physical controller.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tia-harness plugin — 8 skills, 4 agents, 1 hook shipped together

Good fit Use it to build TIA projects from validated specifications, including devices, modules, network addresses, tags, program blocks, protection settings, and compilation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/renanlido/tia-harness/tia.scaffold
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.

Any agent
npx skills add renanlido/tia-harness --skill tia.scaffold
Clone the repo
git clone --depth 1 https://github.com/renanlido/tia-harness

Made for: Claude Code.

Or install tia-harness, the plugin that ships this one along with the rest of its 8 skills, 4 agents, 1 hook.

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.scaffold

README.md
[![agentmods](https://agentmods.dev/badge/skills/renanlido/tia-harness/tia.scaffold/github.svg)](https://agentmods.dev/skills/renanlido/tia-harness/tia.scaffold)
Your own site
<a href="https://agentmods.dev/skills/renanlido/tia-harness/tia.scaffold"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/tia.scaffold/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tia.scaffold

Your own site · 80×15
<a href="https://agentmods.dev/skills/renanlido/tia-harness/tia.scaffold"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/tia.scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00189 $0.01356
Opus 5 $0.00095 $0.00678
Sonnet 5 $0.00038 $0.00271
Haiku 4.5 $0.00019 $0.00136

Measured 12d ago against content hash 7b75b6c404df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

tia.scaffold 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 12d 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.

codex/skills/tia.scaffold/SKILL.md · 81 lines

How it starts

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

tia.scaffold — create a project from a spec (class M-off)

Execute the offline build pipeline that turns a validated project-spec into real TIA objects, compliant-by-construction (optimized access, symbolic, UDTs, naming) and ending compile-clean. It is class M-off: it mutates the project offline through the tia MCP, but it never touches the physical controller — it stops before download (G3).

Preconditions (do not skip)

  1. A project must be OPEN. Check tia_statushasProject:true. Opening/creating one is a GATE (G1, trust dialog) — use tia_project_create (new) or tia_connect (existing); if the first connect blocks on the trust dialog, that is the human handoff (tia.start headless → tia_show_ui → human confirms → tia_connect). Do not loop/retry.
  2. The spec must be VALID. Run spec.validate / tia_spec_validate first; never build an invalid spec. Then spec.plan to review the ordered steps.
  3. Resolve real order numbers. Each typeIdentifier should be confirmed against tia_catalog (OrderNumber:<MLFB>/V<fw>, slash not :V) — cpu.select proposes, catalog confirms.

Inputs / tools (class M-off + the M5 orchestrator)

  • tia_spec_apply — the orchestrator: validate → G5 → subnets → devices → modules → network → tag tables → tags → block shells → compile, stopping at the first error (dryRun:true returns the plan; continueOnError to push through). Preferred path.
  • Or the step-by-step M-off tools (when the spec maps imperfectly): tia_subnet_create, tia_device_create, tia_device_plug, tia_network_connect, tia_tagtable_create, tia_tag_create, tia_fb_create, tia_instancedb_create, tia_type_group_create; code via tia_source_put (SCL) / tia_import_xml (LAD/FBD/GRAPH) / tia_types_import (UDTs before the blocks that use them).
  • Protection recipe (RECIPES.md): tia_obj_roots/tia_obj_items → CPU handle → tia_obj_service (PlcMasterSecretConfigurator) → tia_obj_invoke Protect + tia_obj_set_attributes PlcProtectionAccessLevel=FullAccess.
  • tia_compile (verifier), tia_project_save.

Read the full file on GitHub · 81 lines

Files

What ships with it

1 file 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. 12d ago First seen · 81 lines · 189 tokens per session scan A 7b75b6c404df

Subscribe to this mod's changes

tia.scaffold is a skill published in the GitHub repository renanlido/tia-harness (5 stars, last pushed 1mo ago), licensed MIT. It adds 189 tokens to every session and 1,356 once invoked, about $0.0009 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-31.

Related

Other skills, from other repositories