opcua-clilisted
Install: claude install-skill php-opcua/ai-skills
# php-opcua/opcua-cli — v4.4.0 skill
A pure-PHP, no-framework CLI tool for OPC UA. Wraps `php-opcua/opcua-client` into 11 composable single-shot commands. Every command supports `--json` for piping into `jq` / Unix tools, every connection method (auth, security, cert paths) is the same across commands, and the `explore` command opens a full-screen TUI for ad-hoc address-space browsing.
## When to use this skill
Activate when the user wants to:
- **Probe an OPC UA server** from a shell (`opcua-cli endpoints opc.tcp://server:4840`)
- **Read / write / watch process variables** without writing PHP code
- **Browse / explore** the address space interactively (TUI) or scriptably (JSON)
- **Generate typed PHP classes** from a vendor's NodeSet2.xml (`generate:nodeset`)
- **Export a server's address space** to NodeSet2.xml (`dump:nodeset`)
- **Set up CI integration tests** that read a known node and assert a value
- **Manage the per-user trust store** (`trust`, `trust:list`, `trust:remove`)
- **Pipe OPC UA data** into `jq`, `awk`, Telegraf, monitoring scripts
Do NOT activate for: building a long-running OPC UA service (use `opcua-client` or `opcua-session-manager` directly), library-level integration (use `opcua-client`), or framework-bound integration (use `laravel-opcua` / `symfony-opcua`).
## The 60-second mental model
```
$ opcua-cli <command> <endpoint> [<nodeId> | <args>] [--security-policy=...] [--username=...] [--json] [--debug-*]
│
▼