网淘吧来吧,欢迎您!

Clawd Modifier技能使用说明

2026-04-01 新闻来源:网淘吧 围观:17
电脑广告
手机广告

Clawd 修改器

通过修改颜色和 ASCII 艺术来自定义 Claude Code 吉祥物的外观。

快速参考

CLI 位置/opt/node22/lib/node_modules/@anthropic-ai/claude-code/cli.js

Clawd Modifier

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:

  1. 备份:cp cli.js cli.js.bak
  2. 使用grep查找模式
  3. 使用sed或文本编辑器进行替换
  4. 通过运行进行测试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
  • 进行测试

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏

文章底部电脑广告
手机广告位-内容正文底部

相关文章

您是本站第393990名访客 今日有1篇新文章/评论