← 返回 Skills 市场
masonc15

Clawd Modifier

作者 masonc15 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
2222
总下载
2
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install clawd-modifier
功能描述
Modify Clawd, the Claude Code mascot. Use this skill when users want to customize Clawd's appearance in their Claude Code CLI, including changing colors (blue Clawd, green Clawd, holiday themes), adding features (arms, hats, accessories), or creating custom ASCII art variants. Triggers include "change Clawd color", "give Clawd arms", "customize the mascot", "modify Clawd", "make Clawd [color]", or any request to personalize the Claude Code terminal mascot.
使用说明 (SKILL.md)

Clawd Modifier

Customize the Claude Code mascot's appearance by modifying colors and ASCII art.

Quick Reference

CLI location: /opt/node22/lib/node_modules/@anthropic-ai/claude-code/cli.js

Clawd colors:

  • Body: rgb(215,119,87) / ansi:redBright
  • Background: rgb(0,0,0) / ansi:black

Small Clawd (prompt):

 ▐▛███▜▌
▝▜█████▛▘
  ▘▘ ▝▝

Workflows

Change Clawd's Color

Use scripts/patch_color.py:

# List available colors
python scripts/patch_color.py --list

# Apply preset
python scripts/patch_color.py blue

# Custom RGB
python scripts/patch_color.py --rgb 100,200,150

# Restore original
python scripts/patch_color.py --restore

Add Arms or Modify Art

Use scripts/patch_art.py:

# List variants
python scripts/patch_art.py --list

# Add arms
python scripts/patch_art.py --variant with-arms

# Individual modifications
python scripts/patch_art.py --add-left-arm
python scripts/patch_art.py --add-right-arm

# Restore original
python scripts/patch_art.py --restore

Extract Current Clawd

Use scripts/extract_clawd.py to see current state:

python scripts/extract_clawd.py

Manual Modifications

For custom changes not covered by scripts, edit cli.js directly:

  1. Backup: cp cli.js cli.js.bak
  2. Find patterns with grep
  3. Use sed or text editor to replace
  4. Test by running claude

Pattern examples:

# Find color definitions
grep -o 'clawd_body:"[^"]*"' cli.js | head -5

# Replace color
sed -i 's/rgb(215,119,87)/rgb(100,149,237)/g' cli.js

Resources

  • Unicode reference: See references/unicode-blocks.md for block characters
  • Technical details: See references/clawd-anatomy.md for rendering internals
  • Design gallery: See assets/clawd-variants.txt for inspiration

Notes

  • Changes are overwritten by npm update
  • Always create backups before modifying
  • Test with claude --version after changes
  • Some terminals have limited Unicode support
安全使用建议
This skill does what it says (edits the Claude Code CLI mascot), but it modifies installed application files — including an option to patch compiled binaries — which is potentially dangerous. Before using: 1) Verify the skill's source and trustworthiness; avoid running unknown scripts as root. 2) Inspect the scripts yourself (they're included) and prefer patch_color.py / patch_art.py that edit cli.js over patch_binary.py unless you fully understand the binary format. 3) Always create and verify backups; test in an isolated VM/container or a non-production account. 4) Use the --dry-run flags where available and confirm the exact target path (do not rely on defaults). 5) Be aware npm updates will overwrite these changes; consider maintaining local patches or forking the package instead of in-place edits. If you are not comfortable with manual file and binary patching, do not install/run this skill.
功能分析
Type: OpenClaw Skill Name: clawd-modifier Version: 1.0.0 This skill is classified as suspicious due to its use of high-risk capabilities, specifically the direct modification of system-level files and a compiled binary. The scripts (`patch_art.py`, `patch_color.py`) modify the `cli.js` file, and `patch_binary.py` performs byte-level patching on the `claude` executable. While the stated purpose is benign (customizing a mascot's appearance), these actions involve powerful system modification techniques that carry inherent risks, even with included safeguards like backups and dry-run options. There is no clear evidence of malicious intent such as data exfiltration or persistence.
能力评估
Purpose & Capability
Name/description (modify Clawd appearance) aligns with the provided scripts and references: patch_color.py and patch_art.py edit cli.js to change colors and ASCII art, extract_clawd.py extracts the current art, and assets/references document the expected patterns and locations.
Instruction Scope
Runtime instructions explicitly tell the agent/user to locate and edit /opt/node22/lib/node_modules/@anthropic-ai/claude-code/cli.js (and provide grep/sed examples). That scope is appropriate for the stated purpose but broad: scripts read/write system-wide package locations and the SKILL.md encourages manual sed edits. The instructions do not attempt to exfiltrate data or call external endpoints, but they grant broad discretion to modify application code and instruct using shell commands that can be destructive if misapplied.
Install Mechanism
There is no install spec and all code to run is bundled in the skill (Python scripts and reference files). No remote downloads, package manager installs, or extracted archives are used, which reduces supply-chain risk. The script bundle will be executed on-host by the agent or user, so review before running is still required.
Credentials
The skill requests no credentials or environment variables, which is proportionate, but it accesses and modifies system paths (multiple candidate cli.js and binary locations under /opt, /usr/local, user home dirs). Modifying files in these locations typically requires elevated privileges and can affect the application's integrity and updates (the SKILL.md notes npm update will overwrite changes). The ability to edit compiled binaries (patch_binary.py) amplifies risk if search/replace patterns mismatch.
Persistence & Privilege
The scripts perform persistent, on-disk changes: they write backups and then overwrite cli.js or binaries. While the skill does not set always:true or change other skills' configs, binary/cli modifications are persistent across restarts and package updates and can break update integrity or introduce unexpected behavior. patch_binary.py carries particularly high persistence and privilege implications.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawd-modifier
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawd-modifier 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
## v1.0.0 - Change Clawd's color with presets (blue, green, purple, etc.) or custom RGB values - Add arms to Clawd (left, right, or both) - Apply variant ASCII art designs - Extract and inspect current Clawd state - Restore original appearance with `--restore` flag - Reference docs for Unicode block characters and rendering internals
元数据
Slug clawd-modifier
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Clawd Modifier 是什么?

Modify Clawd, the Claude Code mascot. Use this skill when users want to customize Clawd's appearance in their Claude Code CLI, including changing colors (blue Clawd, green Clawd, holiday themes), adding features (arms, hats, accessories), or creating custom ASCII art variants. Triggers include "change Clawd color", "give Clawd arms", "customize the mascot", "modify Clawd", "make Clawd [color]", or any request to personalize the Claude Code terminal mascot. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2222 次。

如何安装 Clawd Modifier?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawd-modifier」即可一键安装,无需额外配置。

Clawd Modifier 是免费的吗?

是的,Clawd Modifier 完全免费(开源免费),可自由下载、安装和使用。

Clawd Modifier 支持哪些平台?

Clawd Modifier 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Clawd Modifier?

由 masonc15(@masonc15)开发并维护,当前版本 v1.0.0。

💬 留言讨论