control-ui

Drive and inspect local Web, IDE, or Electron UIs via a browser or CDP and provide evidence: suitable for UI regression tests, screenshots, accessibility snapshots, visual diffing, focus and keyboard interactions, scrolling, window resizing, and inspecting console/network/performance/heap. Not intended for backend-only changes or screenshot requests without specified actions.

Last repository push
GitHub Stars
218
Forks
33
Issues / PRs
5

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "control-ui" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b8a15918bc596339ed4a7a7ee6a68923be51d1f77176b908796a131cfd4d51c2. Verify the upstream source and version against https://github.com/AnastasiyaW/codex-claude-code-config before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Drive and inspect local Web, IDE, or Electron UIs via a browser or CDP and provide evidence: suitable for UI regression tests, screenshots, accessibility snapshots, visual diffing, focus and keyboard interactions, scrolling, window resizing, and inspecting console/network/performance/heap. Not intended for backend-only changes or screenshot requests without specified actions.

0 Downloads

Introduction source: third_party · AnastasiyaW · 0.0.1 Reference

SkillPi interpretation

Tasks
Operate and troubleshoot the OpenClaw Control UI: navigate connected clients, organize sessions, build session dashboards, and handle direct or Tailscale-hosted Gateways.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: control-ui
description: "Operate and troubleshoot the OpenClaw Control UI: navigate connected clients, organize sessions, build session dashboards, and handle direct or Tailscale-hosted Gateways."
user-invocable: true

Control UI

Use OpenClaw's typed UI tools for state and layout. Use browser automation only to inspect or interact with rendered pixels.

Mental model

  • A sidebar item is a session, not a dashboard page.
  • Each session owns one board. The board contains tabs and widgets.
  • Pinning a session keeps it in the sidebar. Sessions with a stored board appear in the /dashboards gallery.
  • screen changes connected Control UI layout and navigation. It does not read the page or take screenshots.
  • sessions_list finds sessions. sessions renames, groups, pins, or archives them. It does not edit board content.
  • dashboard reads and arranges the current session's board and registered plugin widgets. show_widget authors or updates custom HTML/SVG widgets.

Do not replace these operations with shell calls or raw Gateway RPC when the typed tool exists.

Start safely

  1. Identify the target session and whether the Control UI is local/direct or published through Tailscale or another HTTPS proxy.
    • If the user wants a dedicated sidebar dashboard, choose or create its visible session before authoring any widget. A tab is only a partition inside one session's board; it never creates a sidebar row.
    • If the current turn is running in a temporary or parent session, hand the dashboard task to the intended visible session first. Board widgets are keyed by session and cannot be moved to another session afterward.
  2. Read current state before changing it:
    • use sessions_list to resolve the session;
    • use dashboard with action: "read" for the current session;
    • inspect existing tabs, stable widget names, owners, sizes, and panel layout.
  3. If the task targets another session's board, move the work into that session. Dashboard tools intentionally operate on the current session.

Read hosting.md before opening or repairing a remote Control UI. Read dashboards.md before creating or restructuring a board. Use the visualize skill for widget composition, libraries, interactive code explanations, and dashboard content. Keep session and board organization here.

Navigate and arrange the UI

Use screen for deterministic client commands:

  • navigate to open a session by sessionKey;
  • sidebar_show / sidebar_hide for the session sidebar;
  • split_right / split_down, focus, and close_pane for panes;
  • terminal_show / terminal_hide and browser_show / browser_hide for docked panels.

screen broadcasts to every connected Control UI that advertises UI commands; it cannot select one browser tab. Confirm the blast radius when several clients may be open. If it reports no capable client, ask the user to open the Control UI and retry.

Use the in-app browser or an available browser-control tool when the task needs DOM inspection, clicking, typing, or screenshots. Reuse the existing signed-in Control UI tab when possible.

Build a session dashboard

  1. Call dashboard read. Reuse suitable tabs and widget names.
  2. Create or rename tabs with tab_create / tab_update; use short lowercase slug IDs.
  3. Add content with the correct owner:
    • native text, metrics, tables, charts, and links: show_widget with pin: true and report;
    • self-contained custom HTML/SVG or registered-source content: show_widget with pin: true;
    • trusted plugin widgets: dashboard widget_put with an advertised pluginKind. Do not embed Grafana or another external application in an <iframe> inside show_widget; widget sandboxes reject child-frame URLs and navigation. Use an ordinary user-clicked link to open the application, fetch an exact HTTPS API through declared capabilities.netOrigins, use a Gateway data binding, or install/use a trusted plugin widget instead.
  4. Use a stable name when calling show_widget. Reusing the same name with new widget_code updates the widget in place.
  5. Arrange with widget_move, widget_resize, and tab reordering. Prefer size presets and board order over pixel placement.
  6. Pin the current session with sessions patch when it should stay prominent.
  7. Call dashboard focus_tab to show the intended tab in the dashboard side panel. If no Control UI is connected, the command returns unavailable; have the user open the session and retry.
  8. Choose the presentation after focusing the tab. set_presentation with presentation: "expanded" expands the dashboard; "split" shows it beside chat in the current panel layout. The human can use Expand side panel for a full-width dashboard, Collapse to bring chat back, or close the panel for chat alone.

Never create a fake top-level page for a dashboard. For a dedicated dashboard, use a dedicated session, pin that session, and build its board from inside it.

Update without breaking the board

  • Read first and mutate the smallest unit.
  • Keep stable tab IDs and widget names unless replacement is intentional.
  • Do not change a widget's content owner in place. Remove it, then recreate it with the new owner or registered kind.
  • Capability grants are bound to exact widget bytes and revision. Changed content may require approval again.
  • Resetting a conversation preserves its board. Deleting the session deletes the board.

Verify the result

Use two layers of proof:

  1. State: dashboard read shows the expected tabs, widgets, names, owners, order, and sizes; sessions_list shows the expected session metadata.
  2. Rendered UI: open the actual Control UI, confirm the correct session and dashboard panel, then inspect or screenshot the widget frame. Exercise any important controls.

An HTTP 200 for the shell or widget route is transport proof, not visual proof. Do not claim the dashboard works until the sandboxed frame renders. For widgets that fetch live data, exercise that fetch from the rendered frame. A host-side curl does not prove the browser received the required capability grant or accepted the endpoint's CORS and mixed-content policy. If no browser-control or connected-client inspection is available, report the dashboard as published but visually unverified instead of claiming success.

Recovery order

When a widget is blank or stale:

  1. confirm the expected session, tab, widget name, and revision with dashboard read;
  2. classify the hosting path using hosting.md;
  3. verify the Control UI origin, the separate widget sandbox origin, and the protocol used on every reverse-proxy hop;
  4. if widget JavaScript reports Failed to fetch, verify its exact HTTPS origin is declared and granted in capabilities.netOrigins, then check browser CORS and mixed-content errors;
  5. after a Gateway restart or routing change, republish/update the widget so the browser receives a fresh ticketed frame URL;
  6. reload the Control UI and verify the rendered frame, not only route status.

Version history

  1. v2026.10.24 GitHub ↗
    Original release notes

    Three ideas from this month's agent-harness news, adopted as checks rather than prompts. ## New - **Output legibility** — [`docs/output-legibility.md`](https://github.com/AnastasiyaW/codex-claude-code-config/blob/main/docs/output-legibility.md). Karpathy's readability ladder (STE-style text, diagram, HTML, video), plus the two ASD-STE100 rules that need no licensed dictionary: one concept keeps one term, and sentences stay short. - **`scripts/term_drift_check.py`** — checks agent output against a project glossary. It flags synonyms of your terms (`stem*` covers inflection, so it works in Russian too) and overlong sentences, and skips code, URLs and HTML comments. Exit `0` clean, `1` findings, `2` not checked. It ships with a self-test whose must-fail controls catch six deliberate breaks of the logic. - **Bounded harness-improvement pilot** — [`docs/harness-improvement-pilot.md`](https://github.com/AnastasiyaW/codex-claude-code-config/blob/main/docs/harness-improvement-pilot.md). The method behind Google Research's Harness², without the auto-patcher: a frozen suite with a held-out case, one change per candidate, strict improvement and no safety regression. - **Dead-code sweep** — a new reference in the `refactoring-safely` skill, after OpenAI's GPT-6 maintenance guide. It covers a read-only audit with production evidence and one small draft PR per removal, and keeps killswitches and safeguards out of scope. ## Changed - `rules/quality-code.md`: when you change code, update or delete the comment next to it in the same commit. Research suggests a wrong or stale comment misleads a model more than a missing one. - `CLAUDE.md`: new Harness² and Output Legibility sections. Full changelog: [`UPDATES.md`](https://github.com/AnastasiyaW/codex-claude-code-config/blob/main/UPDATES.md) · PRs #18, #19

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value95/100

Highlights

  • Skill 针对 OpenClaw Control UI 提供高价值的操作与排错能力,直接解决用户核心任务痛点
  • 功能涵盖会话管理、仪表板构建、UI 自动化等高实用性场景
Trigger Precision95/100

Highlights

  • description 清晰准确,触发词覆盖全面,边界清晰无歧义
Structure and Standards98/100

Highlights

  • 文档结构清晰,分为多个逻辑阶段,每个阶段有明确步骤和出口条件
  • 提供了端到端示例和最佳实践,frontmatter 完整
Execution Reliability96/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常情况
  • 不可逆操作有确认机制,提供了详细的恢复顺序和验证方法
Evidence Verifiability (mean of the first four)96/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.