← ClaudeAtlas

opcua-clilisted

Interact with OPC UA servers from the terminal using php-opcua/opcua-cli. 11 single-shot commands — browse, read, write, watch values in real time, explore the address space with an interactive TUI, discover endpoints, manage server certificate trust, generate typed PHP classes from a NodeSet2.xml, dump a server's address space to NodeSet2.xml. Pipe-friendly JSON output, no framework dependencies. Use this skill whenever the user wants to script OPC UA from a shell, debug a server interactively, generate PHP from a vendor's NodeSet2.xml, or set up CI checks against an OPC UA endpoint.
php-opcua/ai-skills · ★ 0 · AI & Automation · score 68
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-*] │ ▼