Asale

Buying with Claude Code

Route Claude Code through Asale — which file changes, what is backed up, and how to put it back.

Claude Code is the most straightforward tool to point at the market.

Turning it on

Buy → switch on Claude Code, then pick the models it may buy. Restart the app or terminal window.

What changes on disk

FileKeys
~/.claude/settings.jsonenv.ANTHROPIC_BASE_URL, env.ANTHROPIC_AUTH_TOKEN

That is the only file touched. The untouched original is captured before the first write and restored byte for byte when you switch off.

Models

Claude Code sends the model in the request, so your selection is enforced by the local proxy: a model you did not tick is refused on 127.0.0.1 with a 403, before anything leaves the machine. Nothing is charged for a refusal.

Things to watch

Not from inside a running session

Flipping this switch rewrites the config of the Claude Code you may be sitting in. Use a separate terminal window, or the session you are working in gets repointed underneath you.

  • Restart is required. Claude Code reads settings.json once at startup.
  • If something else rewrites settings.json afterwards — an upgrade, another config manager — Asale points it back automatically and tells you to restart. If it says it could not, sign in again and re-apply.
  • While this switch is on, the Claude account imported from this machine stops being offered for sale.