Xpersona
P

PLC Skill

CLAWHUB · Unverified

General PLC development, explanation, review, refactoring, debugging, and troubleshooting skill across IEC 61131-3 style industrial control work. Use when th... Skill: PLC Skill Owner: migo-ovo Summary: General PLC development, explanation, review, refactoring, debugging, and troubleshooting skill across IEC 61131-3 style industrial control work. Use when th... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-06T09:40:59.623Z | user Initial release of plc-skill with structured PLC development and vendor-aware routing. - Provides general PLC logic, design, review, refacto

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17axpd6g93cpx7cam0a5x0mh584amv0:plc-skill
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-migo-ovo-plc-skill/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

53,318 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: plc-skill
description: General PLC development, explanation, review, refactoring, debugging, and troubleshooting skill across IEC 61131-3 style industrial control work. Use when the request involves PLC logic, sequence control, state machines, alarms, interlocks, timers, counters, I/O mapping, Structured Text (ST), Ladder Diagram (LD), Function Block Diagram (FBD), Sequential Function Chart (SFC), program structure, code review, maintainability, or commissioning/debugging. Route through the common PLC layer first, then prefer the matching vendor path when the user mentions Mitsubishi, Siemens, Omron, Allen-Bradley/Rockwell, Schneider, Delta, Keyence, Panasonic, Beckhoff, or Codesys ecosystems, software, CPU families, device models, or vendor-specific terminology. Do not prefer this skill for generic electronics, pure wiring-only work without logic context, broad industrial networking without control-program context, or high-confidence safety conclusions without confirmed field conditions.
metadata:
  {
    "openclaw":
      {
        "requires": { "bins": ["openclaw"] }
      },
    "version": "1.0.0",
    "author": "OpenClaw Community",
    "tags": ["plc", "iec61131-3", "st", "ladder", "siemens", "rockwell", "mitsubishi", "omron", "codesys", "beckhoff", "schneider", "delta", "keyence", "panasonic"]
  }
---

# PLC Skill

Treat this as a **general PLC skill with explicit vendor routing**, not as a vague all-brands encyclopedia.

Work in two layers:

1. **Common PLC layer**
2. **Vendor-specific layer** when the platform is identifiable

Always keep these layers separate.

## Operating model

First decide whether the request is actually a PLC/programming task.

Then classify it as one of:

- common PLC question with no confirmed vendor
- vendor-specific PLC question
- mixed / ambiguous vendor question
- out-of-scope non-PLC question

If the vendor is known, use the matching vendor references first for environment, terminology, program organization, instruction semantics, and tooling behavior.

If the vendor is unknown, answer from the common PLC layer first and explicitly mark which details depend on vendor, model, software, or language.

If the user mixes multiple vendor ecosystems or terms, point out the likely mismatch instead of silently merging them.

## Core boundaries

This skill covers:

- PLC logic design
- sequence / state-machine / step control
- alarms, latches, resets, interlocks
- timers, counters, edge-triggered behavior
- I/O mapping strategy
- program organization and modularity
- debugging and troubleshooting
- code review and refactoring
- IEC 61131-3 language-level reasoning
- ST / LD / FBD / SFC common concepts
- vendor-specific routing when the platform is known

This skill does not default to:

- generic electronics or PCB work
- pure wiring-only installation answers without control logic context
- broad industrial networking coverage with no PLC-program 

evals/README.md

# Eval index

Use this folder as a lightweight regression set for the skill.

## Current eval groups

- `eval-matrix.md`
- `generation-cases.md`
- `explanation-cases.md`
- `review-cases.md`
- `debugging-cases.md`
- `incomplete-input-cases.md`
- `non-trigger-cases.md`
- `routing-cases.md`
- `output-behavior-cases.md`

## Intended usage

When iterating the skill, check whether changes preserve:

1. trigger accuracy
2. output structure quality
3. conservative handling of missing information
4. conservative handling of safety-sensitive questions
5. stable review/debugging behavior

## Minimum regression checklist

Before accepting a major skill edit, verify:

- should-trigger cases still clearly trigger
- non-trigger cases do not over-expand the skill
- incomplete-input cases produce assumptions or clarification, not fake certainty
- debugging cases prioritize fault isolation over guesswork
- review cases prioritize ownership and structure, not cosmetic comments

README.md

# PLC_SKILL

> A general PLC engineering skill with a clear **common layer + vendor-specific layer** architecture. It handles cross-vendor PLC logic work without flattening all vendors into one blurry ruleset, and currently keeps **Mitsubishi FX3U / GX Works2 / Structured Project / ST** as the deepest vendor module.

[中文说明 / Read in Chinese](./README.zh-CN.md)

## Overview

`PLC_SKILL` is no longer positioned as a single-brand Mitsubishi-only skill.

It is now structured as:

- a **common PLC layer** for cross-vendor engineering patterns
- **vendor modules** for platform-specific terminology, software environments, organization rules, and official-document routing

This keeps the skill useful for general PLC work while still preserving deeper, higher-quality behavior when the platform is known.

## What this skill is for

Use this repository for PLC-oriented agent work such as:

- logic design
- sequence / state-machine design
- alarms, latches, resets, and interlocks
- timers, counters, edge-trigger behavior
- I/O mapping strategy
- ST / LD / FBD / SFC reasoning at the engineering level
- code explanation, review, refactoring, debugging, and troubleshooting
- vendor-aware routing when the platform is identifiable

## Design goals

This skill is designed to satisfy four constraints at once:

1. support real **common PLC engineering**
2. preserve **deeper vendor-specific modules**
3. keep a **clean boundary** between common and vendor knowledge
4. avoid degrading into a giant low-confidence “everything PLC” prompt dump

## Current module maturity

| Layer / module | Status |
| --- | --- |
| Common PLC layer | Active |
| Mitsubishi module | Mature |
| Siemens module | Scaffolded |
| Omron module | Scaffolded |
| Rockwell / Allen-Bradley module | Scaffolded |
| Schneider module | Scaffolded |
| Delta module | Scaffolded |
| Keyence module | Scaffolded |
| Panasonic module | Scaffolded |
| Beckhoff module | Scaffolded |
| Codesys module | Scaffolded |

## Repository structure

```text
PLC_SKILL/
├─ SKILL.md
├─ references/
│  ├─ common/
│  ├─ vendors/
│  │  ├─ mitsubishi/
│  │  ├─ siemens/
│  │  ├─ omron/
│  │  ├─ rockwell/
│  │  ├─ schneider/
│  │  ├─ delta/
│  │  ├─ keyence/
│  │  ├─ panasonic/
│  │  ├─ beckhoff/
│  │  └─ codesys/
├─ templates/
│  ├─ common/
│  └─ vendors/
├─ examples/
│  ├─ common/
│  └─ vendors/
├─ evals/
└─ docs/
```

## Installation

You can install this skill easily using the [ClawHub CLI](https://clawhub.com/):

```bash
# Install ClawHub if you haven't already
npm install -g clawhub

# Install the PLC Skill
clawhub install plc-skill
```

For manual installation or usage with tools like Cursor, Claude Code, or Opencode, see the [INSTALL.md](INSTALL.md) guide.

## Routing model

The skill should behave like this:

1. decide whether the request is actually PLC/program logic work
2. decide whether the vendor is known
3. if vendor

_meta.json

{
  "ownerId": "kn74c1ca6f5xrmrybbcys7q1cd84b89s",
  "slug": "plc-skill",
  "version": "1.0.0",
  "publishedAt": 1775468459623
}

references/common/alarm-and-interlock-patterns.md

# Alarm and interlock patterns

Use this file when generating, reviewing, or debugging alarm logic, permissives, interlocks, and reset behavior.

## Why this matters

Current Mitsubishi safety text and PLCopen software-construction guidance both point in the same direction:

- critical behavior should be explicit
- hidden dependencies are dangerous
- safety-related assumptions must not be buried inside convenient code
- maintenance and troubleshooting must remain practical over the life cycle

## Core alarm pattern

Prefer alarm logic with clearly separated parts:

1. trigger condition
2. latch behavior
3. hold behavior if applicable
4. reset permissive condition
5. reset command handling
6. re-latch prevention check

This separation improves:
- readability
- online debugging
- review quality
- avoidance of immediate re-latch confusion

## Core interlock pattern

Prefer interlock logic with clearly separated parts:

1. run request
2. mode permissive
3. process permissive
4. fault / abnormal inhibit
5. output enable decision

Do not bury interlock decisions in many unrelated places.

## Reset behavior rules

For fault reset or alarm reset:

- make the reset command explicit
- make reset permissive explicit
- do not imply that pressing reset should always clear a condition
- if the root trigger still exists, say that re-latch is expected behavior

## Review questions

When reviewing alarm or interlock code, inspect:

- Is the set condition obvious?
- Is the reset condition obvious?
- Can the logic re-latch immediately after reset?
- Does another block force the same condition back on?
- Is there one clear owner for the alarm/output state?
- Are fault inhibits and process permissives mixed together in a confusing way?

## Debugging questions

When troubleshooting:

- Is the alarm source still true?
- Is reset permissive false?
- Is another section writing the same output or state bit?
- Is the current step/state preventing reset?
- Is the visible symptom actually field-side rather than logic-side?

## Safety boundary reminder

Do not confuse program interlocks with complete machine safety.
If the question touches emergency stop, guard circuits, hazardous motion, or protection against serious damage:

- require external circuit / fail-safe confirmation
- do not claim the ST logic alone is a complete safety answer

## Output preference

When producing answers in this area, prefer:

1. known conditions
2. assumptions
3. alarm / interlock structure
4. ST skeleton or review notes
5. likely failure paths
6. verification checklist

Sponsored

Ads related to PLC Skill and adjacent AI workflows.