opcua-client-ext-reverse-connectlisted
Install: claude install-skill php-opcua/ai-skills
# php-opcua/opcua-client-ext-reverse-connect — v4.4.0 skill
An optional extension of [`php-opcua/opcua-client`](https://github.com/php-opcua/opcua-client) implementing the **client side** of OPC UA Reverse Connect (Part 6 §7.1.2.3). In Reverse Connect the **server initiates the TCP connection** to the client and announces itself with a ReverseHello (`RHE`) frame; from there the normal UA-TCP handshake proceeds on the same socket. This package binds the listener, decodes and validates the RHE, and bridges the live socket into the standard `ClientBuilder` flow.
Everything lives under the `PhpOpcua\Client\ExtReverseConnect\*` namespace. Applications that do not need Reverse Connect take no extra dependency.
## When to use this skill
Activate when any of these apply:
- The task mentions **Reverse Connect**, **ReverseHello**, **`RHE`**, server-initiated OPC UA connections, or "the server connects to the client"
- An OPC UA **edge gateway / PLC behind NAT or a firewall** needs to "call home" to a central client over `opc.tcp://`
- A `ReverseConnectListener`, `ReverseHelloValidator`, `ReverseConnectClientFactory`, or `ReverseConnectSession` appears in code
- The task references OPC UA Part 6 §7.1.2.3, or the `StartReverseConnect` / `StopReverseConnect` test-suite methods
Do NOT activate for: ordinary client-initiated OPC UA connections (use the core `opcua-client` skill), generic PHP/networking work, or `opc.https://` transport (use `opcua-client-ext-transport-https`).
## The