An OVOS skill that shows every OVOS-GUI-1 template and every other GUI-1 surface. Use it to drive a render backend (for example Visage) through a real intent pipeline, to test conformance, and to record wire fixtures.
The skill is a conforming GUI-1 producer (8.1, 8.2). There are two exceptions, and both are deliberate:
- The degradation demo breaks producer rules on purpose.
- The media player demo sends
SYSTEM_media_player, which only the media subsystem may send. The demo keeps it because no media subsystem on the test stack sends it, and a backend still needs a live source for that template.
The skill needs ovos-workshop and ovos-bus-client. The command below installs it into the isolated GUI-1 venv:
just install # uv pip install --python ~/.venvs/ovos-gui1/bin/python --no-deps -e .Restart the skills service after you install. ovos-core does not import a package that was installed after it started.
Skill id: ovos-skill-gui1-demo.oscillatelabs. Entry point group: opm.skill.
| Say | The skill does this |
|---|---|
| "show me the {template} demo", "demo the {template} template", "gui demo {template}" | Shows that one template with data in every key of the catalogue, says "Here is the {template} template.", waits 20 s, then clears the namespace. |
| "run the gui demo", "show every template" | Shows all 19 templates in catalogue order, 4 s each, except the text template (24 s, so its pages turn) and the media player (20 s, so its three views can be tapped through), then clears the namespace. |
| "show the broken gui demo" | Sends six faulty requests, 4 s each, then clears. Each title names its fault. |
| "show the gui update demo" | Shows SYSTEM_text. After 3 s it changes text. After 3 s more it removes title with an explicit null. After 3 s more it clears. |
| "show the notification demo" | Raises three notification popups (ovos.notification.api.set): two transient ones that time out into the display's stored list, and one sticky warning; sets the badge count to 3. After 14 s it clears the sticky one and the count. It shows no template. |
| "show the ambient demo" | Sends gui.ambient.weather and gui.ambient.notifications with count 3. After 5 s it sends count 0. It shows no template. |
| "stop the gui demo", or "stop" | Stops the running demo and clears the namespace. |
The {template} words are: text, image, animated image, list, grid, table, html, url, error, status, loading, clock, timer, weather, map, face, audio player, video player, media player.
Data details:
- Images are photographs from Wikimedia Commons, fetched by file name through
Special:FilePathand scaled server-side (templates.py,photo), so the demo needs the network;SYSTEM_animated_imageis the turning-Earth GIF. The weathericonis the Tango clear-sky icon, an SVG that Commons renders to PNG. The in-memory image makers (images.py) stay for the degradation demo and tests. No image is a file path (3.5). - The text demo sends about 160 words, so a display that pages long text shows it turning: on Visage that is five pages at 432 × 736, one every 10 s.
- The weather demo sends
condition_codeand a forecast of three entries. - The timer demo sends an
end_time120 s after the request. - The media player demo sends a playlist and search results. After 4 s it sends
media_position4000 in a newgui.value.set.
Degradation faults, in order:
SYSTEM_textwithout its requiredtext.SYSTEM_weatherwithcurrent_tempas a string.SYSTEM_imagewith a bare file path asimage.SYSTEM_tablewith a row that is shorter thancolumns.SYSTEM_weatherwith the unlistedcondition_codevolcanic_ash.- The unknown template
SYSTEM_hologram.
The skill uses self.gui, the GUIInterface from ovos-workshop. It calls show_page with spec template names, not the legacy helper names.
It sets all keys before show_page, so each template is one gui.value.set and one gui.page.show.
Before it shows a different template, it clears the namespace. This removes the keys of the previous template.
Two things GUIInterface cannot do. The skill adds them:
GUIInterfacesends each message without a context. The bus client then puts its owndefaultsession on the message. The skill givesGUIInterfacea bus proxy (OriginBus) that copies the context of the utterance onto each GUI message. The skill does not setsession_iditself.GUIInterfacehas no call for the ambient topics. The skill emitsgui.ambient.weatherandgui.ambient.notificationson the bus. They carry__from.
The skill speaks with speak_dialog. Demos run on a worker thread, and the worker keeps the utterance message as an argument, so speech also keeps the session.
If the intent pipeline gives no template slot, the skill finds the template word in the utterance and logs a WARNING.
Switchboard 1.1.0 gives no slots to skills that are not in its canonical schema. This skill is not in it.
just test # pytest with FakeBus: the exact GUI message sequence per intent, catalogue coverage, image rules
just lint # ruff, line length 130test/test_guiinterface_findings.py records what GUIInterface sends without the skill's help. If one of those tests fails, GUIInterface changed.
Start the isolated stack (gui1-upstream/stack/run_stack.sh and run_skills.sh) with this skill installed. Then:
scripts/record.sh weather 24 "show me the weather demo"The script connects the Visage adapter's tool/dump_client.py to ws://127.0.0.1:28182/gui1 as one more GUI-1 client. It sends the utterance with the stack's say.py.
It writes the frames that a client receives to fixtures/gui1/weather.jsonl. The welcome frame and the first snapshot are removed. The first line is a _note.
The Visage adapter's tool/replay_server.py can replay the file.
Environment overrides: GUI1_STACK, VISAGE_ADAPTER, GUI1_PYTHON, GUI1_URL.
Apache-2.0. Copyright 2026 OscillateLabs LLC.