codesys

codesys is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 27 tokens per session (1,913 once invoked), scanned B, original, MIT.

A guide to CODESYS, software for programming and operating industrial controllers such as PLCs. It covers Structured Text, automation scripts, industrial networks, and device communication.

In plain words
What is it for?
Use it to write PLC logic, automate CODESYS tasks with Python, check EtherCAT or PROFINET setups, and troubleshoot OPC UA or controller communication.
Why use it?
It gives developers a reference for building, testing, and diagnosing programs that control factory equipment and communicate with sensors or machines.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 7 plugins shipped together

Good fit Use it to write PLC logic, automate CODESYS tasks with Python, check EtherCAT or PROFINET setups, and troubleshoot OPC UA or controller communication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/codesys
Install

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.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill codesys
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 7 plugins.

Wrote 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.

agentmods badge for codesys

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/codesys/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/codesys)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/codesys"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/codesys/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.

agentmods 80×15 button for codesys

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/codesys"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/codesys.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,913 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01913
Opus 5 $0.00014 $0.00957
Sonnet 5 $0.00005 $0.00383
Haiku 4.5 $0.00003 $0.00191

Measured today against content hash c86563bfde4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

codesys scanned grade B with 1 finding 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 today.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| **"Communication error: Device not reachable"** | CODESYS Gateway service stopped or firewall blocking TCP port 1217 on target PLC. | 1. In Windows Services, verify **CODESYS Gateway SysService** is running.<br>2. On L
skills/codesys/SKILL.md · 158 lines

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.

CODESYS V3.5 IEC 61131-3 Industrial Automation AI Skill Guide (Claude)

Overview & Engine Architecture

CODESYS V3.5 is the global industry standard, hardware-agnostic IEC 61131-3 automation software and PLC programming platform powering over 400+ controller manufacturers (Beckhoff, WAGO, Festo, Schneider Electric, Eaton, Berghof). The platform combines the CODESYS Control V3 Real-Time Runtime, full IEC 61131-3 language support (Structured Text ST, Continuous Function Chart CFC, Function Block Diagram FBD, Sequential Function Chart SFC, Ladder Diagram LD), integrated Fieldbus protocol stacks (EtherCAT Master, PROFINET IO Controller, Modbus TCP/RTU, CANopen), an embedded OPC UA Server, and the CODESYS ScriptEngine (Python automation API). Claude operates as a Principal Industrial Automation Architect and Controls Software Engineer, specializing in Structured Text (ST) state machine authoring, ScriptEngine automated build pipelines, EtherCAT topology validation, and CODESYS Gateway communication diagnostics.

CODESYS Multi-Tier Architecture & Fieldbus Stack

┌─────────────────────────────────────────────────────────────┐
│                 CODESYS V3.5 Architecture                   │
│                                                             │
│  Engineering & ScriptEngine Tier                            │
│  ├── CODESYS Development System IDE (POUs, GVls, Data Types)│
│  ├── CODESYS ScriptEngine (Python Automation & CI/CD)       │
│  └── CODESYS Visualization (TargetVisu & WebVisu HTML5)     │
│                                                             │
│  IEC 61131-3 Execution & Real-Time Runtime                  │
│  ├── CODESYS Control V3 Runtime (Preemptive Task Scheduler) │
│  ├── Task Configuration (Cyclic, Event, Freewheeling Tasks) │
│  └── SoftMotion CNC & Robotics 3D Coordinate Transformer    │
│                                                             │
│  Industrial Communications & Fieldbus Core                  │
│  ├── Embedded OPC UA Server (Data Access & Methods)         │
│  ├── Fieldbus Masters (EtherCAT, PROFINET, Modbus TCP, CAN) │
│  └── CODESYS Gateway Service (SysService Communication:1217)│
└─────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 158 lines

Files

What ships with it

2 files 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.

Changes

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.

  1. today Changed · -29 tokens per session c86563bfde4c
  2. 6d ago First seen · 158 lines · 56 tokens per session scan B b110c60316e8

Subscribe to this mod's changes

codesys is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 1,913 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

triton-lang

Triton language skill for Python GPU kernel authoring. Use when writing Triton kernels with @triton.jit, tl.load/store, masking, atomics, benchmarking with triton.testing, or integrating kernels into PyTorch. Activates on queries about Triton, tl.constexpr, block pointers, Triton benchmarking, or PyTorch custom ops.

mohitmishra786/low-level-dev-skills · 76 tokens

home-assistant-integration

Use this skill when creating, scaffolding, reviewing, or maintaining Python Home Assistant custom integrations, including work on customcomponents, manifests, config flows, options flows, config entries, platforms/entities, DataUpdateCoordinator, integration automation triggers, diagnostics, repairs…

denysdovhan/agents · 76 tokens

cardputer-buddy

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…

anthropics/claude-plugins-official · 109 tokens

agent-framework-azure-ai-py

Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.

sickn33/agentic-awesome-skills · 24 tokens

async-python-patterns

Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.

sickn33/agentic-awesome-skills · 34 tokens

holoscan-install-wheel

Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.

NVIDIA/skills · 37 tokens