← 返回 Skills 市场
75
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-theme-patcher
功能描述
Add, refine, calibrate, or migrate OpenClaw Control UI themes by patching the installed bundled frontend assets in dist/control-ui/assets. Use when a user wa...
安全使用建议
This skill appears coherent for patching OpenClaw UI themes, but it performs high-impact local edits to installed application bundles. Before installing or running it: 1) Review scripts (scripts/backup_theme_bundle.py) yourself and run them interactively rather than granting full autonomous execution. 2) Always create and keep backups (the script does this) and test in a staging VM or container if possible. 3) Limit privileges: avoid running as root; ensure agent/autonomous execution cannot modify unrelated system files. 4) Inspect any planned JS edits carefully — patch only the exact snippets the guidance identifies and verify recovery steps work before applying to production. 5) If you will let an agent run this autonomously, restrict that agent's file-system scope to avoid unwanted modifications.
功能分析
Type: OpenClaw Skill
Name: openclaw-theme-patcher
Version: 1.0.0
The skill bundle is designed to perform invasive, surgical patches on the minified JS and CSS assets of an active OpenClaw installation to apply or migrate UI themes. It includes a Python script (`scripts/backup_theme_bundle.py`) that uses `subprocess` to execute shell commands for locating the application and extracting code snippets. While the instructions in `SKILL.md` and `references/patch-points.md` are focused on benign UI customization, the capability to modify live application code and the use of shell execution for discovery represent a high-risk pattern that could be repurposed for unauthorized code injection or persistence.
能力评估
Purpose & Capability
The name/description (theme patching/migration) matches what the skill does: locating dist/control-ui/assets/index-*.js and index-*.css, extracting theme selectors/snippets, and guiding surgical edits. Required operations (which, readlink, reading node_modules and writing workspace backups) are appropriate and proportional to the stated purpose.
Instruction Scope
SKILL.md limits activity to resolving the active install, backing up live bundles, comparing structures, and making small targeted edits to theme-related JS/CSS. It does not instruct broad system scanning, network exfiltration, or reading unrelated credentials. The included helper script only reads local bundle files, extracts snippets, writes backup artifacts, and prints a JSON report.
Install Mechanism
There is no install spec (instruction-only) and the only shipped code is a small helper script. Nothing is downloaded or executed from external URLs and no archive extraction occurs.
Credentials
The skill requires no environment variables, no credentials, and no special config paths beyond the expected OpenClaw bundle paths. The script reads standard node_modules locations and the active openclaw binary location — all directly relevant to the task.
Persistence & Privilege
The skill is not marked always:true and does not modify other skills. However, its purpose inherently involves editing installed application bundles on the host. If an agent is given the ability to run this skill autonomously, it could modify live UI assets—this is expected for the task but is high-impact, so prefer manual review or limited privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-theme-patcher - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-theme-patcher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release. Adds installed-bundle theme patching, version-to-version custom theme migration workflow, theme migration checklist, and backup helper script for live bundle extraction.
元数据
常见问题
OpenClaw Theme Patcher 是什么?
Add, refine, calibrate, or migrate OpenClaw Control UI themes by patching the installed bundled frontend assets in dist/control-ui/assets. Use when a user wa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 75 次。
如何安装 OpenClaw Theme Patcher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-theme-patcher」即可一键安装,无需额外配置。
OpenClaw Theme Patcher 是免费的吗?
是的,OpenClaw Theme Patcher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
OpenClaw Theme Patcher 支持哪些平台?
OpenClaw Theme Patcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenClaw Theme Patcher?
由 ailough(@ailough)开发并维护,当前版本 v1.0.0。
推荐 Skills