Skip to content

Repository files navigation

Scripts

Collection of utility scripts for development workflows.

Switching Claude Code between Claude and MiniMax

See RESTORE.md for a step-by-step guide to switching your Claude Code setup between a real Anthropic Claude model and MiniMax (and back), including which statusline to install for each.

One-shot script (run it yourself)

switch-to-claude.sh does the whole switch in one go — no agent required:

git clone https://github.com/immanwell/scripts.git
bash scripts/switch-to-claude.sh

It backs up your current config, removes the MiniMax env overrides, installs the Claude statusline, verifies, and tells you the one manual step left (/login). Idempotent and safe to re-run; works on Ubuntu/Debian, Fedora, Arch, and macOS.

Automated handoff for other machines

HANDOFF.md is the same process as a step-by-step runbook you can hand to a coding agent (Claude Code, etc.) instead of running the script yourself — with the reasoning behind each step and rollback notes.

Switching a remote machine over SSH

REMOTE-SSH.md drives the whole switch on a different box from your own laptop — every step wrapped in an ssh call. It also covers the two remote gotchas: the headless /login (copy the URL with c, approve in a browser on any signed-in machine, paste the code back) and the claude update permission fix for root-owned npm-global installs (sudo npm install -g @anthropic-ai/claude-code@latest).

Subfolders

Custom statusline for Claude Code on a standard Anthropic / Claude subscription setup. Shows folder, branch, context bar, model + effort level, native 5-hour and 7-day usage limits, and session cost. No external CLI required (just jq).

Custom statusline for Claude Code when using the MiniMax API. Includes quota tracking (via the mmx CLI), a China peak/off-peak hours indicator, and session cost.

Setup guide for routing Claude Code through MiniMax's Anthropic-compatible API.

About

Utility scripts including Claude Code statuslines for MiniMax and Anthropic

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages