← Back to Skills Marketplace
symbolstar

Agent Tab Title

by SymbolStar · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
72
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install agent-tab-title
Description
Patch a locally installed OpenClaw Control UI so the browser tab title shows the active agent name (e.g. "Milly · OpenClaw") instead of the static "OpenClaw...
README (SKILL.md)

agent-tab-title

Local OpenClaw Control UI patch: rewrites document.title to \x3Cagent name> · OpenClaw.

agent-tab-title demo — multiple Control UI tabs disambiguated by agent name in the browser tab switcher

Mirrors PR openclaw/openclaw#80944 as an out-of-tree patch that edits the bundled Control UI index.html shipped inside the locally installed openclaw npm package. Survives gateway restarts; does not survive openclaw update (re-run apply after upgrades).

When to use

  • User wants per-agent browser tab titles for OpenClaw Control UI.
  • User has multiple Control UI tabs open across agents and can't tell them apart.
  • User wants to apply / remove / re-apply this patch.
  • User just ran openclaw update and the tab title went back to OpenClaw Control.

How it works

The Control UI is a static SPA shipped inside the npm package at:

\x3Cnpm-global>/openclaw/dist/control-ui/index.html

Gateway serves it as a static file. The patch injects a ~25-line \x3Cscript> block right before \x3C/body> that:

  1. Polls \x3Copenclaw-app> Lit element every 200 ms.
  2. Reads assistantName (preferred) or assistantAgentId (fallback) properties.
  3. Sets document.title to \x3Cname> · OpenClaw (U+00B7 middle dot), or OpenClaw Control if no agent.

No build, no dependencies, no gateway restart — just refresh the browser tab.

Apply / remove

# Apply (idempotent — safe to re-run after openclaw update)
bash scripts/apply.sh

# Remove (restores original index.html via .bak)
bash scripts/apply.sh --uninstall

# Custom Control UI path (auto-detect usually works)
bash scripts/apply.sh --target /path/to/openclaw/dist/control-ui/index.html

apply.sh auto-detects the Control UI index.html by probing, in order:

  1. OPENCLAW_CONTROL_UI_INDEX env var
  2. --target \x3Cpath> flag
  3. $(npm root -g)/openclaw/dist/control-ui/index.html
  4. Common nvm path ~/.nvm/versions/node/*/lib/node_modules/openclaw/dist/control-ui/index.html

On apply:

  • Creates index.html.bak once (never overwrites an existing backup; that backup is the rollback point).
  • Skips re-injection if the patch marker openclaw-tab-title local patch is already present.

After openclaw update

npm update overwrites the whole dist/ tree, including any prior backup. Re-run bash scripts/apply.sh — it will create a fresh backup off the new pristine file and inject the patch.

Verify

  1. Reload Control UI in browser (no gateway restart needed).
  2. Switch between agents (Milly / Sherry / etc.) — tab title should update live to \x3Cagent> · OpenClaw.
  3. With no agent selected, title falls back to OpenClaw Control.

If title doesn't change, check Service Worker cache: DevTools → Application → Service Workers → Unregister → reload.

Usage Guidance
This skill is reasonable to install if you want a local OpenClaw UI tab-title patch. Before running it, confirm that the target path is your intended OpenClaw Control UI index.html, understand that it modifies an installed package file, and keep the backup so you can undo the change.
Capability Analysis
Type: OpenClaw Skill Name: agent-tab-title Version: 0.1.1 The skill performs live patching of the OpenClaw Control UI by modifying the 'index.html' file within the global npm or NVM installation directories. While the injected JavaScript in 'scripts/apply.sh' appears limited to updating 'document.title', the mechanism of modifying application source code is a high-risk behavior that could be leveraged for XSS or persistence. The script requires write access to package distribution files to function as described in 'SKILL.md'.
Capability Assessment
Purpose & Capability
The stated purpose is to make OpenClaw Control UI browser tab titles show the active agent name, and the included script injects only a small title-updating JavaScript snippet.
Instruction Scope
The apply/remove workflow is user-directed and documented, including backup and uninstall behavior. The script also supports an explicit --target path, so users should verify the target file before running it.
Install Mechanism
There is no package install step, but the skill asks the user to run a local bash script. This is central to the stated patching purpose and the script source is included.
Credentials
The skill mutates a locally installed OpenClaw npm package file, which is proportionate to a local UI patch but still changes installed application assets.
Persistence & Privilege
The patch persists in the local Control UI file until removed or overwritten by an OpenClaw update. This persistence is disclosed and includes a documented uninstall path.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agent-tab-title
  3. After installation, invoke the skill by name or use /agent-tab-title
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
Add demo screenshot to SKILL.md (multi-agent Control UI tab switcher).
v0.1.0
Initial release: dynamic OpenClaw Control UI browser tab title (mirrors openclaw/openclaw#80944) as a local zero-build patch.
Metadata
Slug agent-tab-title
Version 0.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Agent Tab Title?

Patch a locally installed OpenClaw Control UI so the browser tab title shows the active agent name (e.g. "Milly · OpenClaw") instead of the static "OpenClaw... It is an AI Agent Skill for Claude Code / OpenClaw, with 72 downloads so far.

How do I install Agent Tab Title?

Run "/install agent-tab-title" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Agent Tab Title free?

Yes, Agent Tab Title is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Agent Tab Title support?

Agent Tab Title is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Agent Tab Title?

It is built and maintained by SymbolStar (@symbolstar); the current version is v0.1.1.

💬 Comments