plc-code-analysis SKILL.md skillA

plc-code-analysis from czarnak/totally-integrated-claude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add czarnak/totally-integrated-claude/plc-code-analysis@git:20261003.5127062

Pins git:20261003.5127062 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
czarnak/totally-integrated-claude
Path
skills/plc-code-analysis/SKILL.md
Versions recorded
6
Latest version
git:20261003.5127062, committed Oct 3, 2026
First version recorded
May 4, 2026
Size
11,226 bytes
Repository stars
73
License
MIT

Standalone skill for multi-perspective PLC code security and quality analysis. Triggers on: "review", "audit", "analyze", "security check", "vulnerability scan", "code review", "check this code", "is this safe", "find issues" when combined with PLC, SCL, ST, LAD, FBD, Structured Text, or block context. Also triggers when the user pastes PLC code and asks for feedback, or uploads exported SimaticML XML files. This skill is independent of tia-openness-roadmap — it does not perform engineering…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# plc-code-analysis

## Goal

Perform structured, multi-perspective security and quality analysis of PLC code,
producing a severity-ranked findings report. Acts as an automated "second pair of eyes"
for automation engineers.

## Independence from tia-openness-roadmap

This skill is NOT routed by `tia-openness-roadmap`. It has its own trigger patterns and
operates independently. The Openness roadmap handles engineering automation (create, modify,
import/export via API). This skill handles analysis and review of existing code.

The skill consumes code exported through Openness/VCI or pasted by the user, but
it does not depend on a particular wrapper.

## Input recognition

PLC code commonly arrives in one of three ways. Identify the exact format and
provenance before analysis.

### Format 1 — Raw SCL / Structured Text

The user pastes or uploads `.scl`, `.st`, or plain-text PLC code. This is the simplest case.
Parse directly as text. Look for FUNCTION_BLOCK, FUNCTION, ORGANIZATION_BLOCK, DATA_BLOCK
headers to identify block boundaries.

### Format 2 — SIMATIC SD source documents (V21)

TIA Portal V21 can export S7-1200/S7-1500 SCL, LAD, FBD, DB, F-DB, UDT, and
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add czarnak/totally-integrated-claude/plc-code-analysis@sha256:4f4c9fe39aea176a

The line at the top of this page pins the label git:20261003.5127062, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5ti4s4xg3prfo2af.svg)](https://markdownregistry.com/a/art_5ti4s4xg3prfo2af)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between May 4, 2026 and Oct 3, 2026, about one every 30 days.

versioncommittedcommitsizeaudit
git:20261003.5127062 latest2026-10-03 5127062 11,226 BA view · diff
git:20260806.7fa81a92026-08-06 7fa81a9 12,400 BA view · diff
git:20260624.61b126a2026-06-24 61b126a 11,239 BA view · diff
git:20260508.b3cad2c2026-05-08 b3cad2c 11,226 BA view · diff
git:20260506.a8ed34b2026-05-06 a8ed34b 10,580 BB view · diff
git:20260504.aa4f1e92026-05-04 aa4f1e9 11,195 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (11226 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

czarnak/totally-integrated-claude · 73 stars · license MIT · pushed 2026-10-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_5ti4s4xg3prfo2af
GET https://markdownregistry.com/api/v1/resolve?ref=czarnak/totally-integrated-claude/plc-code-analysis
GET https://markdownregistry.com/api/v1/blob/4f4c9fe39aea176a8bfa51eacf860bdfb00a7fe23e71893b2aea7d331b2128b3

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from czarnak/totally-integrated-claude

addin-operations SKILL.md skill
czarnak/totally-integrated-claude · skills/addin-operations/SKILL.md · TIA Portal Add-In development in Visual Studio Code: creating Add-In C# projects, adding Add-In templates, compiling…
git:20260806.5cd3683 · audit A · 73 stars
tia-csharp-common SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-csharp-common/SKILL.md · Internal reference skill — do NOT load directly from user queries.
git:20261016.10acc15 · audit A · 73 stars
tia-devices-general SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-devices-general/SKILL.md · C# Openness implementation of device-level operations
git:20260806.4d61a00 · audit A · 73 stars
tia-doctor SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-doctor/SKILL.md · Manual, read-only prerequisite probe for TIA Portal V21 and its modular Openness API, with an optional Python TIA…
git:20261003.5127062 · audit A · 73 stars
tia-hmi-operations SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-hmi-operations/SKILL.md · C# Openness implementation of HMI engineering.
git:20260806.91c59d1 · audit A · 73 stars
tia-import-export SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-import-export/SKILL.md · C# Openness implementation of import/export and round-trip engineering.
git:20260806.4d61a00 · audit A · 73 stars
tia-mac-module-builder SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-mac-module-builder/SKILL.md · Siemens Modular Application Creator (MAC) and Module Builder development for TIA Portal V21. Use for TiaEquipmentModule…
git:20260816.0c5535f · audit A · 73 stars
tia-multiuser SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-multiuser/SKILL.md · TIA Portal Multiuser Engineering operations. Use for managing server projects, local sessions, and multiuser…
git:20260806.2ea77f3 · audit A · 73 stars
tia-networks SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-networks/SKILL.md · C# Openness implementation of topology and low-level network engineering.
git:20260806.4d61a00 · audit A · 73 stars
tia-openness-roadmap SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-openness-roadmap/SKILL.md · Entry point for TIA Portal engineering automation tasks. Routes to the requested or appropriate Python, C#, MAC Module…
git:20261003.5127062 · audit A · 73 stars
tia-plc-operations SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-plc-operations/SKILL.md · C# Openness implementation of PLC software engineering.
git:20260806.8a706fd · audit A · 73 stars
tia-project-general SKILL.md skill
czarnak/totally-integrated-claude · skills/tia-project-general/SKILL.md · C# Openness implementation of project, portal, and library lifecycle.
git:20261016.10acc15 · audit A · 73 stars

Every file in czarnak/totally-integrated-claude

Browse by kind, by grade A, or by owner.