Skip to content
Skills Library
Personal productivity · Tool integration

workbuddy-theme-manager

/workbuddy-theme-manager

Convert portable .codex-theme packages or installed ~/.codexthemes/themes/<id> sources into self-contained .workbuddy-theme packages, inspect and list converted themes, and apply, verify, switch, or restore themes in the Tencent WorkBuddy desktop app through its loopback CDP endpoint. Use when a user wants to reuse a CodexThemes theme in WorkBuddy, continue after codex-theme-installer downloads a published theme, manage WorkBuddy theme exports, or diagnose whether a WorkBuddy theme is active.

Repository
skills ↗
Licence
Apache-2.0
Last repository change
21.07.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
6
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 21.07.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/self-test.mjs, scripts/workbuddy-theme.mjs

What it does and when to use it

Convert portable .codex-theme packages or installed ~/.codexthemes/themes/<id> sources into self-contained .workbuddy-theme packages, inspect and list converted themes, and apply, verify, switch, or restore themes in the Tencent WorkBuddy desktop app through its loopback CDP endpoint. Use when a user wants to reuse a CodexThemes theme in WorkBuddy, continue after codex-theme-installer downloads a published theme, manage WorkBuddy theme exports, or diagnose whether a WorkBuddy theme is active.

Original author description

Convert portable .codex-theme packages or installed ~/.codexthemes/themes/<id> sources into self-contained .workbuddy-theme packages, inspect and list converted themes, and apply, verify, switch, or restore themes in the Tencent WorkBuddy desktop app through its loopback CDP endpoint. Use when a user wants to reuse a CodexThemes theme in WorkBuddy, continue after codex-theme-installer downloads a published theme, manage WorkBuddy theme exports, or diagnose whether a WorkBuddy theme is active.

How it works

  1. Convert a Codex theme
  2. Apply a WorkBuddy theme
  3. Verify and restore
  4. Safety
Original SKILL.md headings · 76 lines, 432 words
SKILL.md preview
---
name: workbuddy-theme-manager
description: Convert portable .codex-theme packages or installed ~/.codexthemes/themes/<id> sources into self-contained .workbuddy-theme packages, inspect and list converted themes, and apply, verify, switch, or restore themes in the Tencent WorkBuddy desktop app through its loopback CDP endpoint. Use when a user wants to reuse a CodexThemes theme in WorkBuddy, continue after codex-theme-installer downloads a published theme, manage WorkBuddy theme exports, or diagnose whether a WorkBuddy theme is active.
---

# Manage WorkBuddy themes

Use the bundled Node.js runtime only. Do not install or invoke CodeDrobe, another theme CLI, an MCP server, or an application patcher. Never modify `WorkBuddy.app`, `app.asar`, or the WorkBuddy user profile.

Run commands from this skill directory.

## Convert a Codex theme

```bash
node scripts/workbuddy-theme.mjs convert /absolute/theme.codex-theme
```

After `codex-theme-installer` downloads a published theme into the local library, convert it directly by id without exporting an intermediate package:

```bash
node scripts/workbuddy-theme.mjs convert-installed <theme-id>
```

Also accept an absolute installed source directory in place of the id. Prefer `convert-installed` for the download-to-WorkBuddy chain.

The default output is `~/.codexthemes/workbuddy-exports/<theme-id>.workbuddy-theme`. Conversion carries over metadata, semantic palette, and embedded artwork, then generates WorkBuddy-specific CSS. It deliberately excludes Codex DOM selectors; report the conversion quality as “palette and artwork adapted,” not pixel-identical.

When the user asks to install a published CodexThemes theme in WorkBuddy, run the official `codex-theme-installer` first, then `convert-installed`, then `apply`. Do not activate it in Codex unless the user separately requested that target.

Use `--output /absolute/file.workbuddy-theme` to choose a destination. Existing output requires `--force`.

Inspect or list packages:

```bash
node scripts/workbuddy-theme.mjs inspect /absolute/theme.workbuddy-theme
node scripts/workbuddy-theme.mjs list
```

Read [references/package-format.md](references/package-format.md) only when editing the format, converter, or compatibility policy.

## Apply a WorkBuddy theme

Apply by absolute package path or by theme id from the default export directory:

```bash
node scripts/workbuddy-theme.mjs apply <theme-id-or-path>
```

When the loopback renderer is already available, this hot-swaps without restarting. If the command reports that port 9336 is unavailable, ask for explicit permission to restart WorkBuddy, then run:

```bash
node scripts/workbuddy-theme.mjs apply <theme-id-or-path> --launch
```

`--launch` schedules a detached helper because restarting WorkBuddy may terminate the invoking agent. Never add it before restart permission. Pass `--app-path` only for a nonstandard installation and `--port` only for an explicit port override.

## Verify and restore

After a scheduled launch, verify instead of treating scheduling as success:

```bash
node scripts/workbuddy-theme.mjs status
```

Only report success when every discovered WorkBuddy page has the expected theme id. Restore through the owned runtime:

```bash
node scripts/workbuddy-theme.mjs restore
```

The runtime owns one style element, one new-document registration per renderer, and root markers. A full WorkBuddy quit also drops the active CSS.

## Safety

- Bind CDP to `127.0.0.1` only.
- Treat theme packages as untrusted input; reject external CSS resources, scripts, traversal paths, oversized images, and invalid base64.
- Keep decorative layers noninteractive and preserve native navigation, menus, composer behavior, focus, and scrolling.
- Do not claim exact visual fidelity from automatic conversion. Hand-author a later CSS revision when route-specific polish is required.
- Do not restart WorkBuddy without explicit user authorization.
Files in this package (6)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB
  • assets/workbuddy.css.template 5 KB
  • references/package-format.md 2 KB
  • scripts/self-test.mjs 5 KB
  • scripts/workbuddy-theme.mjs 26 KB

Versions

The database has no other skills named workbuddy-theme-manager.

Database snapshot: 13.11.2026 · package version 13ea8466104d (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100codex-theme-switcher
    Apply, switch, and restore Codex desktop themes from the local ~/.codexthemes library with one command, and report which theme is currently active. Use when a user asks to apply or activate a theme they created or installed, switch between installed themes, restore the native…
  • 100codex-theme-finder
    Search and browse published Codex themes on codexthemes.ai through the themes API, anonymously within a free quota or with a CodexThemes API key for higher limits. Use when a user asks to find, search, browse, list, or discover Codex themes on CodexThemes, wants theme…
  • 95workbuddy-account-switch
    本机 WorkBuddy 多账号切换器。当用户提到"切换账号、切到XX号、换个账号、保存当前账号、建账号档案、看看有哪些账号"等本机 WorkBuddy 账号管理需求时使用此技能。AI 负责查询/确认/准备任务文件,用户双击桌面图标打开图形界面一键切换。
  • 100workbuddy-skin-change
    给 WorkBuddy 客户端换皮肤背景图。用户发来一张图片并说「换皮肤 / 换主题背景 / 用这张图做主题 / 换成这个背景」,或提到 workbuddy 皮肤、外观背景时使用。默认作用对象是「经典 QQ」主题,只改首页主区背景与配套的玻璃质感,不动左侧栏、不动应用包,全程可回滚。
  • 98workbuddy-auto-checkin
    配置 WorkBuddy 每日自动签到领积分。当用户说「帮我配置自动签到」「让签到全自动」「装一下自动签到」「每天自动领积分」「检查签到有没有在跑」,或提到本地/云端签到、计划任务、断签、连续签到天数时使用。本地方案通过 Windows 任务计划程序 + 本机登录态解密实现,全程本机、无需 GitHub 账号、无需授权、不耗 AI token。云端方案需要用户自己的 GitHub 账号与 Secrets,不能自动代劳,应引导到 README。
  • 100workbuddy-bridge-setup
    Use when setting up, repairing, or verifying the local WorkBuddy bridge that exposes WorkBuddy models to Hermes/other agents with a delivery layer.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.