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.
npx skills add renanlido/tia-harness --skill tia-handoffgit clone --depth 1 https://github.com/renanlido/tia-harnessWrote 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.
[](https://agentmods.dev/skills/renanlido/tia-harness/tia-handoff)<a href="https://agentmods.dev/skills/renanlido/tia-harness/tia-handoff"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/tia-handoff/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.
<a href="https://agentmods.dev/skills/renanlido/tia-harness/tia-handoff"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/tia-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00189 | $0.03286 |
| Opus 5.5 | $0.00076 | $0.01314 |
| Sonnet 5.5 | $0.00038 | $0.00657 |
| Haiku 4.5 | $0.00019 | $0.00329 |
Grade A, and why
tia-handoff 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tia-handoff — prepare the gate, let a human act (class GATE)
The harness is an assistant up to the gate, never an autonomous commissioner. Anything
that touches the physical controller, the network, secrets, or safety stops here: this
skill assembles the approval envelope (requires_human_action) — what can be done, what
the human must do, the plan + hash, and the exact resume call — and then stops.
Errors and reporting
- First call
tia_ping: continue only if it reportsreachable:trueandactivated:true.activated:nullwith a busydetailmeans a job is still running: polltia_job_statuswith thejobIdyou hold, or wait and ping again. Otherwise stop, quote itsdetailandhintverbatim and say that nothing was changed (prerequisites:tia_guide {"topic":"gotchas"}). - If no
tia_*tool is available, thetiaMCP 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 itserrorandkindverbatim, relay itshint, 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_actionanswer verbatim and wait for the human. status:"running"orkind:"busy"is not a failure: polltia_job_status {jobId}. After atimeout, check the state before repeating anything.
When to use
- After
tia-verifyis clean and the user wants to download / deploy / go online / scan / commission. - Whenever a step needs a secret (master secret, UMAC, an upload / block / certificate password), a password-policy decision, or touches F (safety).
The gates (and the tool that fronts each)
| Gate | Action | Tool | What the human must approve |
|---|---|---|---|
| G1 | open/connect project (1st time) | tia_connect (+ tia_show_ui) |
confirm the TIA trust dialog on the serve host |
| G3 | download (CPU STOP → possible program delete → overwrite → restart) | tia_download |
the verified plan + software fingerprint + EVERY loadPreview.willConfirm entry: StopAll, ResetModule = DeleteAll (a different program on the CPU is deleted), OverwriteSystemData, ConsistentDownload of blocks and alarm text libraries, StartModule, and UpgradeTargetDevice (only if opted in; without it a CPU that needs it refuses the load) |
| G4 | go online (connect to live CPU) | tia_online |
it is safe to connect to the target machine |
| G4 | station upload (read CPU into project) | tia_upload |
it is safe to connect to the target machine AND the open project is a dedicated backup project (the upload adds a new station — skill tia-backup) |
| G7 | network scan (accessible devices) | tia_accessible_devices |
probing the local network via the PG/PC NIC |
| G6 | credentials: master secret / UMAC / upload read password / block know-how password / certificate password / password policy / local-session logon dialog | tia_mastersecret_set ({plc, password}), tia_mastersecret_reset, tia_connect (umacUser/umacPassword), tia_upload (password), tia_block_protect, tia_certificate_import, tia_password_policy_set, tia_local_session_open (a UMAC-protected session may wait on a Siemens logon dialog on the serve host) |
supply the secret / decide the policy / answer the logon dialog (human/credential vault); a reset only on the human's explicit request |
| G5 | safety/F author·modify·download | — | never autonomous; F deploy is a human, gated action |
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.
- 4d ago Changed · +3 lines 42ae90090ce7
- 7d ago Changed · +23 lines 56aaecb12352
- 10d ago First seen · 132 lines · 189 tokens per session scan A 166d1f2ad82f
tia-handoff is a skill published in the GitHub repository renanlido/tia-harness (11 stars, last pushed 4d ago), licensed MIT. It adds 189 tokens to every session and 3,286 once invoked, about $0.0008 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.
Other skills, from other repositories
tiaportal-mcp
A skill for controlling Siemens TIA Portal, the engineering software used to configure Siemens PLCs and HMIs. It works through an MCP server, a tool connection that lets an agent inspect and change projects.
iaiops-building
Building edition of iaiops — facility / HVAC / BMS / 厂务 over BACnet/IP (ASHRAE 135): Who-Is discovery, object/point lists, presentValue snapshots, COV capture, TrendLog reads, one MOC-gated property write; plus Modbus-TCP/RTU for meters/chillers and optional plain MQTT for IoT sensors, with the cross-protocol brain.…
iaiops-factory
Factory edition of iaiops — discrete-manufacturing lines: OPC-UA, Modbus-TCP/RTU, Siemens S7comm (S7-300/400/1200/1500), Mitsubishi MC/MELSEC, Omron FINS (CS/CJ/CP/NX), Allen-Bradley EtherNet/IP (ControlLogix/CompactLogix), EtherCAT (CoE/SOEM), PROFINET (DCP discovery), MTConnect (CNC machine tools), IO-Link (master…
iaiops-pharma
Pharmaceutical-manufacturing edition of iaiops — GMP drug/biologics plants as a distinct vertical from generic buildings and municipal water. BACnet/IP BMS+EMS (cleanroom pressure cascade, temperature/RH), Modbus (PW/WFI skids, stills, EDI, analysers), HART-IP (conductivity / TOC / level transmitters), OPC-UA (DCS…
iaiops-clinical
Clinical-facility edition of iaiops — hospital / healthcare facilities as a distinct vertical from generic building management, with patient-safety framing. BACnet/IP BMS (isolation-room pressurization + medical-gas source monitoring), Modbus (medical-gas alarm panels / energy meters), OPC-UA (plant SCADA), plus the…
iaiops-process
Process-industry edition of iaiops — chemical / pharma / food & beverage / oil & gas plants: HART-IP process instrumentation (transmitters, valve positioners, loop current), OPC-UA (DCS / gateway read), Modbus-TCP/RTU (skids, analyzers), optional MQTT/Sparkplug B UNS, plus the cross-protocol brain (downtime…