Hey Reader,
Twelve reads this week, and most cover the parts of Claude Code you touch every day.
First, pointing Claude Code at Ollama, OpenRouter or your company's gateway, and what Anthropic supports when you do. Then two on keeping it in check: what it commits to git, and what rewind undoes inside a session. Then the CLI and VS Code guides last week's P.S. promised, and Code Mode, an experimental way for Claude to make many tool calls in one step. Six more at the end.
Claude Code with Ollama, OpenRouter or a gateway: two variables, and one dependable path
Claude Code talks to whatever answers at ANTHROPIC_BASE_URL, so two variables point it at your organization's LLM gateway, at OpenRouter or at Ollama: that base URL, and a credential in ANTHROPIC_AUTH_TOKEN. Know the limits first. Anthropic doesn't support routing Claude Code to non-Claude models through any gateway, OpenRouter guarantees it only with the Anthropic first-party provider, and Ollama says hosted web search and advanced tool controls aren't fully supported. So the dependable use is Claude models through a gateway or OpenRouter. Open models through Ollama are an experiment you run on your own terms, and /status shows which route a session is on.
Set up your route →
Claude Code and git: what it commits, and how to keep it in check
Claude Code runs git through its Bash tool, the way you would. Read-only git commands run without asking; git commit and git push ask first in Manual mode unless a permission rule allows them. Its commits carry a Co-Authored-By trailer naming the model, and its pull requests a "Generated with Claude Code" line, and the attribution setting changes or hides both. Three habits keep it in check: allow and deny rules for the git commands you care about, a commit before any large task, and a review of every pull request it opens.
Keep it in check →
Claude Code rewind: undo inside a session, and what it misses
Claude Code saves a checkpoint of your code before every prompt that starts a turn. Run /rewind (or /undo), or press Esc twice on an empty prompt, pick the prompt to go back to, and restore the code, the conversation or both. You can also summarize from that point instead of throwing it away. Checkpoints cover only the edits Claude's file editing tools make. A file only a shell command changed, an edit you made outside Claude Code and most subagent edits aren't covered, so keep committing with git.
See what rewind restores →
Claude Code CLI: the handful of things you'll type every day
You need only a few things to work in the CLI every day. Run claude in your project to start, claude -c to pick up where you left off, and claude -p "query" to run it from a script; claude -n names a session so /resume finds it later. Inside a session, type / for commands, @ to mention a file and ! to run a shell command. Shift+Tab changes the permission mode, and Esc twice rewinds.
See the daily set →
Claude Code in VS Code: the extension, the terminal, or both
There are two ways to run Claude Code in VS Code, and they share one engine. The extension gives you a chat panel with inline diffs you accept or reject, a plan you can comment on, and @-mentions of your selection. Running claude in the integrated terminal keeps the full CLI, and with the extension installed, diffs still open in the editor. The extension lacks three things: the ! shell shortcut, tab completion and the full set of commands and skills. Both use the same settings file and conversation history, so you can switch mid-task. It needs VS Code 1.94.0 or later and a paid Claude plan or a Console account, with no API key.
Set up both →
Claude Code Code Mode: many tool calls in one step
With Code Mode on, Claude stops asking for tool calls one at a time. It writes a piece of JavaScript that makes the calls, and Claude Code runs it in your session: commands run in parallel, one result feeds the next, and only the output Claude needs comes back. It suits tasks with many related tool calls, like a change repeated across many files or a search whose results need filtering. It's experimental, off by default, and may change or go away in any release. It needs Claude Code 2.1.323 or later in a terminal session, a session started in Code Mode resumes only in Code Mode, and in auto mode the classifier reviews the code rather than each call.
See when to turn it on →
Also this week
Four more for daily use. The statusline runs a script you choose at the bottom of the session, uses no API tokens, and /statusline can write the script for you. Slash commands groups the built-ins by when you need them and shows how a skill in .claude/skills/ becomes your own command. Resume covers claude -c, claude -r and the /resume picker, and the launch flags you have to pass again. Keyboard shortcuts picks the dozen worth learning, plus vim mode and your own bindings.
And two for setup. Output styles explains the four built-ins, Proactive, Concise, Explanatory and Learning, and how to write your own. Claude Code on Windows compares native Windows with WSL, and explains why sandboxing needs WSL 2.
Reply and tell me: what's the one command or shortcut you'd tell a new Claude Code user to learn first? I read every reply.
– Alex