Patch the Claude Code binary to get a custom companion (species, rarity, stats).
# Find a salt (default: Legendary Shiny Dragon)
bun ~/.claude/scripts/find-perfect-salt-bun.mjs| #!/usr/bin/env bash | |
| # patch-claude-thinking.sh | |
| # | |
| # Patches Claude Code CLI to replace adaptive thinking with fixed-budget | |
| # enabled thinking on ALL code paths. | |
| # | |
| # Main path: forces the else-branch which uses the model's default budget | |
| # with Math.min(max_tokens-1, budget) safety check. | |
| # | |
| # Subagent paths: uses a conservative fixed budget (default 10000) that |
The file ~/.claude.json (or ~/.claude-<oauth-suffix>.json) is the central persistent configuration file for Claude Code (internal codename: Tengu). It is read on every startup and written whenever state changes.
Important: Most fields are internal state, not user configuration. User-facing settings such as model, permissions, and hooks belong in ~/.claude/settings.json.
Source file: src/utils/config.ts — types GlobalConfig and ProjectConfig.
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net.Http.Headers; | |
| using System.Security.Claims; | |
| using System.Text; | |
| using System.Text.Encodings.Web; | |
| using System.Threading.Tasks; | |
| using Microsoft.AspNetCore.Authentication; | |
| using Microsoft.AspNetCore.Authorization; |
| #!/bin/bash | |
| if [ -z ${2+x} ]; then | |
| day=$(date +%d) | |
| day=$(echo $day | sed 's/^0*//') | |
| else | |
| day=$2 | |
| if [ "$day" = "all" ]; then | |
| today=$(date +%d) | |
| for i in $(seq $today); do | |
| $0 $1 $i |
| QorA | Value | Keep | Draw | Pick | Source | |
|---|---|---|---|---|---|---|
| Question | \34\Watson!\34\ Holmes exclaimed, \34\This man was obviously killed by _____!\34\ | Yes | BBG Suggestions | |||
| Question | _____ ain't nothin' to fuck with. | Yes | BBG Suggestions | |||
| Question | _____ gives a whole new meaning to _____. | Yes | 1 | 2 | BBG Suggestions | |
| Question | _____ good to the last drop. | Yes | BBG Suggestions | |||
| Question | _____ in the front seat; _____ in the back seat; gotta make my mind up, which seat do I take? | Yes | 1 | 2 | BBG Suggestions | |
| Question | _____ in the morning, sailors take warning. | Yes | BBG Suggestions | |||
| Question | _____ is a classic case of _____. | Yes | 1 | 2 | BBG Suggestions | |
| Question | _____ is a gateway to _____. | Yes | 1 | 2 | BBG Suggestions | |
| Question | _____ is a time-saving godsend for busy housewives. | Yes | BBG Suggestions |
| import com.intellij.openapi.project.Project; | |
| import com.intellij.openapi.roots.libraries.LibraryUtil; | |
| import com.intellij.util.containers.WeakHashMap; | |
| import java.lang.annotation.Annotation; | |
| import java.net.MalformedURLException; | |
| import java.net.URL; | |
| import java.net.URLClassLoader; | |
| import java.util.Arrays; | |
| import java.util.List; |
| # -*- coding: utf-8 -*- | |
| import argparse | |
| import time | |
| import urllib2 | |
| import os | |
| from PIL import Image | |
| import shutil | |
| from gmusicapi import Mobileclient, Webclient, CallFailure | |
| from mutagen.id3._frames import * |