AI-TwinCAT-Skill
PowerShell module that lets any AI coding tool automate the TwinCAT 3 IDE and PLC runtime: 81 cmdlets for project creation, build, deploy and live testing with zero dialog popups.
Summary rewritten from the vendor site because the catalog version did not match it.
What it does and how it connects
AI-TwinCAT-Skill is a PowerShell module that lets any AI coding tool (Claude Code, Codex, Antigravity, and others) fully automate the TwinCAT 3 IDE and PLC runtime, from project creation to live testing, with zero dialog popups. TwinCAT 3 has a COM-based Automation Interface, but the README states it is notoriously hard to script: modal dialogs block automation, COM type conflicts crash PowerShell, and the lifecycle has undocumented ordering requirements. The module provides 81 cmdlets that any AI tool can call to build, deploy, and test PLC programs autonomously.
Coverage spans connecting to VS2022 or the TwinCAT XAE Shell with smart instance selection, project management (create projects, add POUs, GVLs, DUTs, libraries), reading and writing Structured Text in any POU, building and activating configuration over ADS with no dialogs, login and download, runtime control (start, stop, reset PLC, system state), ADS communication (read and write any PLC variable at runtime, symbol enumeration), automated testing with JSON reports, and I/O configuration (scan EtherCAT devices, read the I/O tree, link variables to channels).
The documented flow connects to the IDE (auto-opening the solution if needed), sets the target (the target decides the platform, since a mismatched solution platform fails activation), builds, activates in one step (config, activate, wait for Run, login and download, PLC Run), connects ADS with the AmsNetId auto-detected from the IDE, then reads and writes variables. The repo also ships an MCP server bridge and a known-limitations document with an error code table, environment matrix, and real-hardware coverage.
Alternatives
Compare side by side- ai-for-structural-engineers
Claude Code skills for Eurocode calculations and BIM tools, rather than a PowerShell module automating the TwinCAT 3 IDE.
- zephyr-agent-skills
Agent skills for Zephyr embedded development, rather than a PowerShell module for TwinCAT 3 PLC automation.
- KiSkill
Claude Code skills plus a headless engine for KiCad control, rather than a PowerShell module for TwinCAT 3.
Recurring errors it addresses
Error Index entries this tool is built to reduce or work around.
- The MCP bridge reported success with empty content for symbol and multi-path variable reads, and reported code verified when every PLC project was skipped.Error Index
- With Force=true and AllowUnresolvedLibrary=true, the EnableConfig step treated a build with codeVerified=false as complete, cleared BUILD_REQUIRED, then went through Activate, Download, and PLC Run, returning success with a null top-level warning.Error Index
Sources
Not verified
- License: no LICENSE file in the repository, but the README has a License section stating MIT, so MIT is used from the README.
- No GitHub releases exist, so latest release fields are null.
- Pricing: none stated on the repo.
- Real user voices: recent issues are all by the owner.
- A standalone vendor website: repo only.
- The catalog one-liner says 36 cmdlets; the README states a generated count of 81 cmdlets, so the one-liner was rewritten.
Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.