$npx -y skills add tkellogg/open-strix --skill example-ui-pluginThis skill is a reference implementation for open-strix ui.json plugins.
| 1 | # Example UI Plugin |
| 2 | |
| 3 | This skill is a reference implementation for open-strix `ui.json` plugins. |
| 4 | |
| 5 | It starts a tiny local aiohttp server and lets the harness reverse-proxy it at |
| 6 | `/ui/example-clock/`. |
| 7 | |
| 8 | The harness chooses a free port and passes it as `OPEN_STRIX_PORT`. |
| 9 | |
| 10 | It also passes `STATE_DIR` as this skill directory and `UI_NAME` as the declared |
| 11 | UI name. |
| 12 | |
| 13 | The page shows a live clock and calls `api/time` from inside the iframe, proving |
| 14 | same-origin fetches work through the harness proxy. |