名称: clawd-modifier
描述: 修改 Claude Code 的吉祥物 Clawd。当用户想要在 Claude Code CLI 中自定义 Clawd 的外观时使用此技能,包括更改颜色(蓝色 Clawd、绿色 Clawd、节日主题)、添加特征(手臂、帽子、配饰)或创建自定义 ASCII 艺术变体。触发词包括“更改 Clawd 颜色”、“给 Clawd 添加手臂”、“自定义吉祥物”、“修改 Clawd”、“让 Clawd 变成[颜色]”,或任何个性化 Claude Code 终端吉祥物的请求。
通过修改颜色和 ASCII 艺术,自定义 Claude Code 吉祥物的外观。
CLI 位置:/opt/node22/lib/node_modules/@anthropic-ai/claude-code/cli.js
Clawd 颜色:
- 身体:rgb(215,119,87) / ansi:redBright
- 背景:rgb(0,0,0) / ansi:black
小型 Clawd(提示符):
▐▛███▜▌
▝▜█████▛▘
▘▘ ▝▝
使用 scripts/patch_color.py:
# 列出可用颜色
python scripts/patch_color.py --list
# 应用预设
python scripts/patch_color.py blue
# 自定义 RGB
python scripts/patch_color.py --rgb 100,200,150
# 恢复原始颜色
python scripts/patch_color.py --restore
使用 scripts/patch_art.py:
# 列出变体
python scripts/patch_art.py --list
# 添加手臂
python scripts/patch_art.py --variant with-arms
# 单独修改
python scripts/patch_art.py --add-left-arm
python scripts/patch_art.py --add-right-arm
# 恢复原始艺术图
python scripts/patch_art.py --restore
使用 scripts/extract_clawd.py 查看当前状态:
python scripts/extract_clawd.py
对于脚本未涵盖的自定义更改,请直接编辑 cli.js:
cp cli.js cli.js.bakclaude 进行测试模式示例:
# 查找颜色定义
grep -o 'clawd_body:"[^"]*"' cli.js | head -5
# 替换颜色
sed -i 's/rgb(215,119,87)/rgb(100,149,237)/g' cli.js
references/unicode-blocks.md 了解块字符references/clawd-anatomy.md 了解渲染内部原理assets/clawd-variants.txt 获取灵感npm update 覆盖claude --version 进行测试