Claude Code guides

Claude Code is a terminal coding agent that works in your real repository.

All Claude Code & context guides

Claude Code & Context Engineering

How to Point Claude Code at a Free Gemini API Key (and What You Lose)

Claude Code has no official Gemini mode — but a local router can translate its requests to a free Gemini API key. The exact setup from Anthropic's env-var docs and the router's repo, what breaks in translation, and when the trade is worth it.

11 min read

Claude Code & Context Engineering

Aider: Terminal Pair Programming Where Every Edit Is a Git Commit

An Aider setup and workflow guide built from the official docs: installation, the repo map, architect mode's two-model split, the slash commands that matter, real costs, and who this open-source tool still suits.

10 min read

Claude Code & Context Engineering

Cursor vs Claude Code: Editor Agent or Terminal Agent?

Cursor vs Claude Code compared on working surface, Tab completions, context handling, long tasks, automation and pricing — with a winner per criterion and a decision worksheet.

13 min read

Claude Code & Context Engineering

Local LLMs for Coding: Ollama and LM Studio Set Up Honestly

Run coding models on your own hardware with Ollama or LM Studio: real memory requirements from published model data, the context-length trap and its fix, which agents connect, and what local models still cannot do.

12 min read

Claude Code & Context Engineering

Cursor, Set Up Properly: Rules, Codebase Indexing, and Agent Mode

A practical Cursor setup guide: rules files that actually constrain the agent, how codebase indexing works, agent mode habits, and the new X Subscription pricing explained plainly (checked November 2026).

12 min read

Claude Code & Context Engineering

Claude Code vs Codex: Pricing, Features and Workflow Compared

A sourced comparison of Claude Code and Codex — current plan pricing checked November 2026, how each tool's workflow is shaped, customisation depth, CI support, and a blank scorecard to run your own evaluation.

11 min read

Out of the box it is capable and wasteful in equal measure: the difference between the two is setup — the instruction files it loads, the hooks that guard it, the way work splits across subagents, and the settings that decide what a session costs. This page puts in order all of it, from your first CLAUDE.md to running the agent in CI.

Claude Code setup, in the right order

First, instruction files. Write your first CLAUDE.md short — project facts, commands, hard rules — then graduate to the version that survives a growing project, and split shared rules into AGENTS.md if other agents read the same repo; the head-to-head piece settles which rules live where so nothing is paid for twice. Second, permissions and sandboxing, before you develop the habit of approving everything. Third, hooks: learn the event map, then the deep dive, then the specific hooks that save real sessions. Fourth, delegation: subagents versus one long session, with briefs written to be acted on. Fifth, skills — the packaged procedures in the skills directory — and the discipline underneath everything, context engineering, which prices every choice above in tokens.

How to reduce Claude Code costs

Builders blame plans for bills that their context caused. Every always-loaded instruction is charged on every request; long wandering sessions carry their whole history forward; rework — the agent redoing a task a tight brief would have nailed once — is the quietest budget line of all. The cost material here is ordered accordingly: the audit that finds the waste, the settings that cut it, the habits that keep it cut, and only then the ladder for deciding between Pro, Max and API pricing. Most readers who run the audit find their plan was never the problem. If yours still is after the free rungs, the ladder shows exactly what each paid step buys.

Claude Code for teams and CI

Shared repos change the rules: nested CLAUDE.md files, personal overrides that stay personal, and conventions that survive more than one person's habits — the team guide covers that layer. Headless mode and GitHub Actions come last, because automating an agent whose local behaviour you have not stabilised just produces unsupervised versions of your local problems. When the local setup is boring and predictable, the CI guide wires it into pull requests and review automation safely. The packaged version of all of this is the Claude Code Workflow Pack; the free starting point is the CLAUDE.md template.