/tia-harness:cpu-selectfrom TIA Portal Automation Harness
Recommends a Siemens S7-1500/S7-1200 CPU family, variant, and order number (MLFB) based on engineering needs like I/O count, scan time, memory, communication ports, safety, redundancy, or motion. Use when the user asks which CPU to use or provides selection criteria.
Ships in TIA Portal Automation Harness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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 with tia_catalog on the target
machine; this skill never calls tia_device_create itself (V21 has no catalog tree-browse;
only Find by text/order-number).
serve: if a bundled reference file is missing or the need is ambiguous, say so and state the assumption; never present an unconfirmed value as confirmed.typeIdentifier and the user has criteria, not a model.spec-validate / scaffold, to fill devices[].typeIdentifier.CPU-TABLE.md (families, variants, representative MLFBs,
the variant-letter decoder, and the decision order).A recommendation containing:
family — S7-1200 or S7-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 assembled OrderNumber:<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 with tia_catalog
and pass the returned typeIdentifierNormalized to tia_device_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).CPU-TABLE.md §family):
-3 PN/DP 1516/1517, -4 1518) → safety
(any safety function ⇒ an F CPU) → redundancy (R/H/HF) → motion
(synchronized/cam/kinematics ⇒ T/TF) → custom code/edge (MFP/ODK) → PC-based
(software 1505S/1507S/1508S or Open Controller).CPU-TABLE.md §1200): 1211C/1212C (very small) → 1214C
(workhorse) → 1215C (analog out, 2 PN, redundant 24 V) → 1217C (1 MHz differential
motion); FC models (1212FC/1214FC/1215FC) for machine safety. Then pick the power/
output variant: DC/DC/DC for transistor/high-speed PTO; AC/DC/Relay or DC/DC/Relay
for slow relay switching (no on-board high-speed pulses).OrderNumber:<MLFB>/V<fw> — forward slash before V,
never :V (known V21 drift bug). Treat MLFB and firmware as independent axes.resolveNote) and any capability
gates. If the need is ambiguous, state the assumption and offer the closest tier up
and down.tia_catalog; this skill recommends a candidate to resolve,
it does not instantiate anything.CPU-TABLE.md drift by catalog generation (every
⚠ in the reference) — the concrete MLFB + firmware must be confirmed against the live
installed catalog before tia_device_create (not run by this skill).See CPU-TABLE.md for the families, the MLFB/variant decoder, representative order
numbers, and the full decision criteria.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
siemens, simatic, plc-selection, tia-portal, cpu-recommendation
npx claudepluginhub renanlido/tia-harness --plugin tia-harness9 skills in this plugin
/spec-planTurn a VALIDATED TIA project-spec into the ordered, named sequence of offline build operations WITHOUT mutating anything (a dry plan). Use after spec-validate passes and before tia-scaffold — when the user asks to "plan / preview / dry-run the build", or wants to see exactly what scaffolding a spec would do and in what order. Class R: runs tia_spec_validate then tia_spec_plan, both PURE (no serve, no TIA Portal); with a project open it can add a read-only impact check (tia_crossrefs) for the existing objects the plan would write to. Output: the ordered M-off steps + assumptions + warnings (+ that impact); nothing is applied and no gate is crossed. Not for validating (spec-validate) or applying the build (tia-scaffold)./spec-validateValidate a TIA project-spec against the JSON Schema AND the deterministic cross-field engineering rules (same-subnet, unique names, OrderNumber:{MLFB}/V{fw} format, module limits, language-by-family, and the G5 safety rule). Use when the user provides or edits a project-spec, asks to "validate / check / lint my spec", or before scaffolding a project from a spec. Class R (deterministic, read-only, no serve or TIA Portal; its only tool is the pure tia_spec_validate) — rung 0 of the verification ladder, fully offline. Not for recommending a CPU (cpu-select) or planning the build (spec-plan)./tia-backupBack up a PHYSICAL CPU into a dedicated EMPTY project — save+archive the working project, create a dated backup project, station-upload (GATE G4) with human approval, verify, archive to .zap21. Use when the user asks to "back up / upload / read out the CPU" or before risky work on a live controller. Class M-off up to the gate; the upload itself is GATE G4 (+G6 if a read password is requested) and NEVER runs without an explicit human yes. Never uploads into the working project. Not for downloads to the CPU (tia-handoff)./tia-handoffPrepare a human-approval envelope for a GATED operation — download / CPU-STOP (G3), go-online (G4), network scan (G7), credentials (G6: master secret, UMAC, upload / block / certificate passwords, password policy), safety/F (G5). Use when the user wants to "download / deploy / go online / commission", or after tia-verify is clean and the next step touches the physical controller. Class GATE: this skill NEVER performs the gated action — it produces the plan + planHash + exactly what the human must approve, and the precise resume call. The AI never approves, never invents a secret, never deploys F autonomously. Not for building (tia-scaffold) or compiling (tia-verify)./tia-initInitialize or update the current project's CLAUDE.md with the TIA harness operating guide. Use when the user asks to "init / bootstrap / set up the TIA harness", "add the harness guidance to CLAUDE.md", or "update the TIA harness section / refresh the harness guide in this project". Idempotent: injects the guide between stable markers and re-running only refreshes that block, never touching the project's own content. Class R (deterministic, file-only, no serve/TIA — the only MCP call it may make is the pure, offline tia_guide). Not for building, verifying or deploying a project (tia-scaffold / tia-verify / tia-handoff)./tia-reviewAudit an EXISTING / open TIA project against the engineering baseline (optimized access, symbolic addressing, FB + instance-DB, UDT typing, per-task language, versioned library TYPEs, PLCopen naming) and the verification-ladder posture. Use when the user asks to "review / audit / lint my TIA project", check best-practices / code health / maintainability, or before a handoff. Class R (READ-ONLY): reads blocks/types/tags/devices via the `tia` MCP; never mutates. Output: findings by rule + severity + location + concrete fix, plus a separate informational list of unused-object candidates from the cross-references. Not for the compile / consistency ladder (tia-verify) or for validating a spec offline (spec-validate).Other plugins' skills for the same job