Find the perfect salt for your Claude Code companion
Found in ~/.claude.json → oauthAccount.accountUuid. If you have both accountUuid and userID, use accountUuid. grep -i accountUuid ~/.claude.json
Salt must be exactly 15 chars (same as "friend-2026-401"). Change prefix to search different salt spaces.
1. Backup your Claude Code binary
cp ~/.local/share/claude/versions/$(ls ~/.local/share/claude/versions/ | grep -E '^[0-9.]+$' | sort -V | tail -1) ~/.local/share/claude/versions/$(ls ~/.local/share/claude/versions/ | grep -E '^[0-9.]+$' | sort -V | tail -1).bak
2. Patch the salt string — click a result row above, or run manually:
sed -i 's/friend-2026-401/YOUR_SALT_HERE/g' ~/.local/share/claude/versions/$(ls ~/.local/share/claude/versions/ | grep -E '^[0-9.]+$' | sort -V | tail -1)
3. To restore — undo the patch or copy the backup back:
cp ~/.local/share/claude/versions/$(ls ~/.local/share/claude/versions/ | grep -E '^[0-9.]+$' | sort -V | tail -1).bak ~/.local/share/claude/versions/$(ls ~/.local/share/claude/versions/ | grep -E '^[0-9.]+$' | sort -V | tail -1)
Click any command to copy. Salt must be exactly 15 characters (same length as friend-2026-401).