tia-backup

tia-backup is a skill for Claude Code from renanlido/tia-harness. It costs 172 tokens per session (2,010 once invoked), scanned A, original, MIT.

A controlled procedure for copying a Siemens PLC's physical CPU into a separate, dated project and saving a restorable archive. A PLC is an industrial computer that controls machinery; the procedure requires a human approval step before reading it.

In plain words
What is it for?
Use it to back up, upload, or read out a live Siemens controller and verify the resulting archive.
Why use it?
It provides a safer backup before risky work and prevents the live working project from being overwritten. It also stops when the required connection or safety checks fail.

Skill for Claude Code

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

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

Good fit Use it to back up, upload, or read out a live Siemens controller and verify the resulting archive.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/renanlido/tia-harness/tia-backup/github.svg)](https://agentmods.dev/skills/renanlido/tia-harness/tia-backup)
Your own site
<a href="https://agentmods.dev/skills/renanlido/tia-harness/tia-backup"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/tia-backup/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-backup

Your own site · 80×15
<a href="https://agentmods.dev/skills/renanlido/tia-harness/tia-backup"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/tia-backup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 172 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,010 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.00172 $0.02010
Opus 5.5 $0.00069 $0.00804
Sonnet 5.5 $0.00034 $0.00402
Haiku 4.5 $0.00017 $0.00201

Measured 1mo ago against content hash d558244a850b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tia-backup 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 1mo 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-backup/SKILL.md · 108 lines

How it starts

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

tia-backup — read a physical CPU into a restorable archive (M-off up to G4)

The upload adds a new station to the open project — so the backup always goes into a dedicated, dated, EMPTY project, never the working project. The .zap21 archive is the restorable artifact.

Errors and reporting

  • First call tia_ping: continue only if it reports reachable:true and activated:true. activated:null with a busy detail means serve is occupied, not necessarily by an MCP job: poll tia_job_status only for a running job whose jobId is known. Without one, wait/recheck with tia_status; for connect_incomplete, follow the host-inspection handoff in tia_guide {"topic":"gui-gates"}, never retry connect. Otherwise stop, quote its detail and hint verbatim and say that nothing was changed (prerequisites: tia_guide {"topic":"gotchas"}).
  • If no tia_* tool is available, the tia MCP is not connected: say so and stop. Never continue from memory and never work around it with hand-made HTTP calls (they bypass the MCP's gate checks).
  • On a tool error (isError:true), quote its error and kind verbatim, relay its hint, and state what was done and what was not. Apply only the remedy the hint or this skill names, at most once; otherwise stop and ask.
  • Never report success after an error, never retry a refused call with changed arguments, and never cross a human gate: relay a requires_human_action answer verbatim and wait for the human.
  • status:"running" + jobId identifies a running job: poll tia_job_status {jobId} without repeating the original call. On kind:"busy", poll only for a running job whose jobId is known (e.g. details.jobId); without one, wait/recheck with tia_status. For connect_incomplete, follow the host-inspection handoff in tia_guide {"topic":"gui-gates"}, never retry connect. After a timeout, check the state before repeating anything.

Preconditions

  • The serve is running and G1 (trust dialog) is done.
  • The license has the deploy scope (tia_upload, the G4 step, is deploy-class).
  • The CPU's IP is known.
  • The PG/PC adapter/mode names: discover them with tia_pg_interfaces on the working project's PLC before switching projects (the adapter list is host-wide), or call tia_upload without confirm. Without a connectionMode the plan stays plan_blocked (connection_unresolved) and, when serve reports any, lists in connectionCandidates the {connectionMode, pcInterfaceName, pcInterfaceNumber} of each available mode (up to 8 modes, 32 candidates; #192). An empty connection.pcInterface.available there does NOT mean the host has no adapter. Repeat tia_upload without confirm with one candidate's exact fields, then relay the G4 handoff. Without connectionCandidates, repeat it without confirm with a connectionMode from connection.mode.available.

Read the full file on GitHub · 108 lines

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. 1mo ago Changed d558244a850b
  2. 1mo ago Changed · +5 lines d3bdef0c995e
  3. 1mo ago Changed · +9 lines a0b51045da1e
  4. 1mo ago First seen · 94 lines · 172 tokens per session scan A da71c390cbf4

Subscribe to this mod's changes

tia-backup is a skill published in the GitHub repository renanlido/tia-harness (13 stars, last pushed 3d ago), licensed MIT. It adds 172 tokens to every session and 2,010 once invoked, about $0.0007 per session on Opus 5.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-10-18.

Related

tia-backup compared with skills from other repositories

tia-backup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tia-backuprenanlido/tia-harnessSkill133d agoMITA172Claude Code
tiaportal-mcpbulaofen0036-coder/TIA_Portal_Openness_MCPSkill47221d agoMITA103Claude Code
iaiops-factoryindustrial-aiops/industrial-aiopsSkill16todayMITA200Claude Code, Codex
iaiops-buildingindustrial-aiops/industrial-aiopsSkill16todayMITA236Claude Code, Codex
iaiops-warehouseindustrial-aiops/industrial-aiopsSkill16todayMITA235Claude Code, Codex
iaiops-pharmaindustrial-aiops/industrial-aiopsSkill16todayMITA292Claude Code, Codex
iaiops-clinicalindustrial-aiops/industrial-aiopsSkill16todayMITA222Claude Code, Codex