Loading...
Loading...
Reset Claude Code buddy/companion by changing the season seed (fk_) in cli.js and removing the companion field from ~/.claude.json, allowing re-hatching a new buddy. Triggers: buddy reset, reroll buddy, new buddy, change buddy, reset companion, reroll companion, buddy reroll
npx skill4agent add g4berolo/claude-skills buddy-resetfk_cli.jscli.jscompanion~/.claude.json/buddycli.js~/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.jsfk_grep -o 'fk_="[^"]*"' "$HOME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js"buddy-YYYYMMDD-XXXXXXYYYYMMDDXXXXXXNEW_SEED="buddy-$(date +%Y%m%d)-$(cat /dev/urandom | tr -dc 'a-z0-9' | head -c 6)"
echo "$NEW_SEED"sedcli.jssed -i "s/fk_=\"OLD_VALUE\"/fk_=\"NEW_VALUE\"/" "$HOME/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js"companionpython -c "
import json
path = '$HOME/.claude.json'.replace('$HOME', __import__('os').path.expanduser('~'))
with open(path, 'r', encoding='utf-8') as f:
data = json.load(f)
removed = data.pop('companion', None)
if removed:
print('Removed companion:', json.dumps(removed, ensure_ascii=False)[:200])
else:
print('No companion field found - already clean')
with open(path, 'w', encoding='utf-8') as f:
json.dump(data, f, indent=2, ensure_ascii=False)
f.write('\n')
"companionMutedpython -c "
import json, os
path = os.path.expanduser('~/.claude.json')
with open(path, 'r', encoding='utf-8') as f:
data = json.load(f)
data.pop('companionMuted', None)
with open(path, 'w', encoding='utf-8') as f:
json.dump(data, f, indent=2, ensure_ascii=False)
f.write('\n')
"OLDNEW/buddynpm update