How to Use Claude Code with Ollama, Kimi and GLM

How to Use Claude Code with Ollama, Kimi and GLM

Running Claude Code against a non-Claude model works, and you do it on a path the providers document themselves rather than through a hack. Ollama, Moonshot and Z.ai all publish an Anthropic-compatible endpoint. Setup comes down to three environment variables. This guide covers the steps for all three providers, how to make the configuration stick, and the errors people hit most 🔌 The Short Answer Three providers, three addresses Provider ANTHROPIC_BASE_URL Ollama (local) http://localhost:11434 Moonshot / Kimi https://api.moonshot.ai/anthropic Z.ai / GLM https://api.z.ai/api/anthropic MiniMax https://api.minimax.io/anthropic Alibaba / Qwen depends on the plan Add ANTHROPIC_AUTH_TOKEN and a model name and that’s the whole setup. ...

August 8, 2026 ·  9 min ·  1728 words
How to Use Claude Code: Install, First Session and What It Costs

How to Use Claude Code: Install, First Session and What It Costs

Claude Code isn’t a chat window in your browser. It opens in your terminal, reads your project’s files on its own, edits them, runs the tests and commits. Say “fix that bug” and the expectation is that it finds the file and changes it. This guide walks the path from install to your first code change, and gives a straight answer on the free-version question 🧑‍💻 The Short Answer If you only have a minute Install (Windows PowerShell): irm https://claude.ai/install.ps1 | iex Install (macOS, Linux, WSL): curl -fsSL https://claude.ai/install.sh | bash Start it: cd into your project and type claude No free tier: you need a Claude subscription (Pro, Max, Team, Enterprise) or a prepaid Console account First move: run /init to generate a CLAUDE.md for the project What Is Claude Code? Claude Code is Anthropic’s coding agent for the terminal. What separates it from a regular AI assistant is that it doesn’t only produce text. It has tools for reading files, writing files, running commands and searching the web, and it decides on its own which to use and in what order. ...

August 8, 2026 ·  10 min ·  2021 words
Claude Code Slash Commands: The Complete List

Claude Code Slash Commands: The Complete List

The list that pops up when you hit / in Claude Code is intimidating at first. A hundred-odd commands, half of them named in a way that gives nothing away, and your own custom commands mixed in with the built-ins. You don’t need all of them. Ten commands cover almost everything you do day to day, and the rest is reference material you look up when the moment arrives. This page gives you both: the ten first, then the full list grouped by what it’s for 🧰 ...

August 6, 2026 ·  17 min ·  3528 words
Claude Code Skills, Subagents and Hooks Explained

Claude Code Skills, Subagents and Hooks Explained

If you have been using Claude Code for a while you have definitely run into three terms: skill, subagent and hook. All three live under “customizing Claude Code” and at first glance they look like they do the same job. They don’t. Each solves a different problem, and picking the wrong one means either needless complexity or a setup that never fires 🛠️ The Short Answer The decision rule Skill: when you keep writing the same instructions over and over Subagent: when a job produces so much output it floods your main conversation Hook: when you need a rule to hold without exception Slash Commands Are Skills Now The biggest change first, because most older guides miss it: custom slash commands have been merged into skills. ...

August 2, 2026 ·  9 min ·  1877 words
Extended Thinking vs Adaptive Thinking Explained

Extended Thinking vs Adaptive Thinking Explained

If you have hit extended thinking and adaptive thinking back to back in Claude’s docs and wondered whether they are the same thing, you are not alone. Short answer: they are not, and you are almost certainly using adaptive thinking already without realizing it 🧠 What Is “Thinking” in Claude? Before answering, Claude can use a scratchpad to reason through the problem on its own. It works step by step, rules out possibilities, does the math, then delivers the final answer. ...

August 1, 2026 ·  8 min ·  1571 words