Clawd Modifier技能使用说明
2026-04-01
新闻来源:网淘吧
围观:17
电脑广告
手机广告
Clawd 修改器
通过修改颜色和 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(提示):
▐▛███▜▌
▝▜█████▛▘
▘▘ ▝▝
工作流程
更改 Clawd 的颜色
使用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
添加手臂或修改艺术
使用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
提取当前Clawd状态
使用scripts/extract_clawd.py查看当前状态:
python scripts/extract_clawd.py
手动修改
对于脚本未涵盖的自定义更改,直接编辑cli.js:
- 备份:
cp cli.js cli.js.bak - 使用grep查找模式
- 使用sed或文本编辑器进行替换
- 通过运行进行测试
claude
模式示例:
# 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
资源
- Unicode参考:参见
references/unicode-blocks.md获取块字符信息 - 技术细节:参见
references/clawd-anatomy.md了解渲染内部原理 - 设计图库:请参阅
assets/clawd-variants.txt获取灵感
注意事项
- 修改内容会被
npm update - 覆盖
- 修改前务必创建备份
修改后使用claude --version - 进行测试
文章底部电脑广告
手机广告位-内容正文底部


微信扫一扫,打赏作者吧~