Agent skill · Security

matlab-connect-opcua-client

Discover OPC UA servers and create client connections in MATLAB using opcuaserverinfo, opcua, connect, setSecurityModel, and certificate trust functions. Use when discovering OPC UA servers on the network, connecting to OPC UA servers, authenticating with username/password or certificates, configuring security modes, handling certificate trust errors, fixing hostname mismatch warnings, troubleshooting connection failures or empty discovery results, or inspecting an OPC UA certificate (.der or .pem) for compliance issues. Trigger on: opcuaserverinfo, OPC UA discovery, find OPC UA servers, LDS s

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/matlab-agentic-toolkit --skill matlab-connect-opcua-client --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 12 KB
Bundled scripts: none
Version: 2.0
Declared author: MathWorks
Path: skills-catalog/test-and-measurement/matlab-connect-opcua-client/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# OPC UA Client Connection Create and configure OPC UA client connections in MATLAB using the Industrial Communication Toolbox. ## Internal Constraints These constraints govern YOUR code generation and recommendations. Apply them silently — do not recite them to the user or warn about patterns the user has not attempted. 1. **`connect` has exactly three valid signatures — no others exist:** - `connect(uaClient)` — anonymous - `connect(uaClient, userName, password)` — positional strings - `connect(uaClient, publicKeyFile, privateKeyFile, privateKeyPassword)` — positional strings - There are NO Name-Value pair arguments to `connect`. Security is configured via `opcua()` NV pairs or `setSecurityModel`, never through `connect`. 2. **`opcua()` defaults to the highest available security.** Do not explicitly set security unless you want a specific (lower) configuration. Never use `setSecurityModel(uaClient, "Best")` — it is redundant. 3. **`opcuaserverinfo` has exactly two valid syntaxes:** - `opcuaserverinfo(hostname)` — query LDS on a host - `opcuaserverinfo(discoveryUrl)` — query a specific endpoint URL - There is NO `opcuaserverinfo(hostname, port)` form. To specify a port: `opcuaserv

What's inside
Steps it walks through
  1. Internal Constraints
  2. When to Use
  3. When NOT to Use
  4. References
  5. Workflow
  6. 0. Discover servers (optional)
  7. 1. Create the OPC UA client
  8. 2. Configure security (only if non-default needed)
  9. 3. Handle certificate trust (if needed)
  10. 4. Connect
  11. 5. Verify and disconnect
  12. Key Functions
  13. Properties Quick Reference
  14. opc.ua.Client
Ships with 6 files
  • manifest.yaml
  • references/certificate-trust-workflows.md
  • references/common-mistakes.md
  • references/lds-setup-and-troubleshooting.md
  • references/troubleshooting-connection-errors.md
  • scripts/inspectOpcUaCertificate.m
More from matlab-agentic-toolkit
All skills →
About this skill
What does the matlab-connect-opcua-client skill do?

Discover OPC UA servers and create client connections in MATLAB using opcuaserverinfo, opcua, connect, setSecurityModel, and certificate trust functions. Use when discovering OPC UA servers on the network, connecting to OPC UA servers, authenticating with username/password or certificates, configuring security modes, handling certificate trust errors, fixing hostname mismatch warnings, troubleshooting connection failures or empty discovery results, or inspecting an OPC UA certificate (.der or .pem) for compliance issues. Trigger on: opcuaserverinfo, OPC UA discovery, find OPC UA servers, LDS s

How do I install it?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-connect-opcua-client --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going