Customize the Claude Code mascot's appearance by modifying colors and ASCII art.
CLI location: /opt/node22/lib/node_modules/@anthropic-ai/claude-code/cli.js
Clawd colors:
rgb(215,119,87) / ansi:redBrightrgb(0,0,0) / ansi:blackSmall Clawd (prompt):
▐▛███▜▌
▝▜█████▛▘
▘▘ ▝▝
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
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
Use scripts/extract_clawd.py to see current state:
python scripts/extract_clawd.py
For custom changes not covered by scripts, edit cli.js directly:
cp cli.js cli.js.bakclaudePattern 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
references/unicode-blocks.md for block charactersreferences/clawd-anatomy.md for rendering internalsassets/clawd-variants.txt for inspirationnpm updateclaude --version after changes共 1 个版本