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 cpu.selectgit 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/cpu.select)<a href="https://agentmods.dev/skills/renanlido/tia-harness/cpu.select"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/cpu.select/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/cpu.select"><img src="https://agentmods.dev/badge/skills/renanlido/tia-harness/cpu.select.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.00177 | $0.01712 |
| Opus 5 | $0.00088 | $0.00856 |
| Sonnet 5 | $0.00035 | $0.00342 |
| Haiku 4.5 | $0.00018 | $0.00171 |
Grade A, and why
cpu.select 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 8d 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cpu.select — heuristic CPU selection (class R, no MCP)
Map an engineering need to a concrete SIMATIC CPU recommendation: family →
sub-family/variant → a representative order number (MLFB) → the TIA
TypeIdentifier string. Follows the decision logic of the
SIMATIC CPU reference (§5) and the §2 hardware guidance of the TIA best-practices
baseline (both distilled into CPU-TABLE.md).
This is class R: a deterministic heuristic over the bundled reference table
(CPU-TABLE.md). It uses NO MCP tool and does not open TIA. The curated table is a
convenience reference, not ground truth — so the recommendation always ends with
a flag to resolve the concrete MLFB + firmware against GET /catalog on the target
machine before device.create (V21 has no catalog tree-browse; only Find by
text/order-number). This gives value early, before the MCP runtime milestones exist.
When to use
- The user describes requirements (I/O channels, scan time, memory, PN/DP ports, safety, redundancy, motion, PC-based) and wants a CPU choice.
- A project-spec needs a CPU
typeIdentifierand the user has criteria, not a model. - Right before
spec.validate/ scaffold, to filldevices[].typeIdentifier.
Inputs
- The need: any of — digital/analog I/O count, scan-time/performance target, program
- data memory size, number/type of fieldbus ports (PROFINET, PROFIBUS DP), safety (SIL/PL), redundancy/availability, motion class (basic positioning vs synchronized/cam/kinematics), PC-based/edge, on-board display, budget/engineering tool.
- The bundled reference:
CPU-TABLE.md(families, variants, representative MLFBs, the variant-letter decoder, and the decision order).
Outputs
A recommendation containing:
family—S7-1200orS7-1500(with the family rationale).model/subFamily— e.g.CPU 1516-3 PN/DP, sub-family letter (none/C/F/T/R/H/S).mlfb— a representative order number (e.g.6ES7 516-3AN02-0AB0).firmware— a representative/V<major>.<minor>(e.g./V2.9) — clearly marked as needing catalog confirmation.typeIdentifier— the assembledOrderNumber:<MLFB>/V<fw>string (slash, never:V).variant— for S7-1200, the power/output variant (DC/DC/DC vs relay) per the I/O need.justification— which criteria selected each axis (cite the decision step).resolveNote— always: "Confirm this MLFB + firmware exists viaGET /catalogand pass the returnedtypeIdentifierNormalizedtodevice.create; do not hand-build the string in production."capabilityNotes— any gates implied (e.g. relay variant ⇒ no on-board PTO; S7-1200 ⇒ no STL/GRAPH; F-CPU ⇒ safety logic is human-authored/gated, never autonomous).
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.
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.
- 8d ago First seen · 106 lines · 177 tokens per session scan A 7cf1adb56642
cpu.select is a skill published in the GitHub repository renanlido/tia-harness (5 stars, last pushed 1mo ago), licensed MIT. It adds 177 tokens to every session and 1,712 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.
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.
solidworks-fillet-chamfer-cnc
A SolidWorks skill for creating CNC parts with multiple rounded edges and chamfers, which are angled or softened edges used in manufacturing. It includes parameter checks, edge selection, and evidence after rebuilding the model.
solidworks-threaded-holes
A SolidWorks skill for creating and checking ISO metric internal threaded holes, such as M6, in new parts. It covers supported blind and through holes, chamfers, thread direction, and delivery evidence.
solidworks-vibecad
A planning guide for turning natural-language mechanical design requests into structured, parameterized SolidWorks plans that can be reviewed before execution.
eide
A build tool for EIDE projects, an embedded-development extension for Visual Studio Code. It finds EIDE project settings and builds firmware using ARM CC or GCC.
workflow
A workflow skill for embedded-device projects that plans and runs building, flashing, debugging, observing, and diagnosis tasks.