Claude Code
Practical guides to Claude Code: plan mode, hooks, skills, subagents, MCP servers, headless runs, costs and running it remotely.
89 posts · page 3 of 4
How to Build an MCP Server (TypeScript and Python)
Build a working Model Context Protocol server that gives Claude Code and other AI tools new abilities. Tools, resources and prompts explained, a TypeScript server with the official SDK and a Python one with FastMCP, connecting it to Claude Code, stdio vs HTTP transports, and designing tools agents use well.
The Best MCP Servers for Coding (and How to Choose Safely)
The MCP servers worth installing for everyday coding with Claude Code, Cursor or VS Code: GitHub, Playwright, your database, docs lookup, error monitoring and more. What each is for, how to add one, and the safety rules that matter more than the list.
AGENTS.md vs CLAUDE.md: Which One Do You Need?
AGENTS.md is the shared instruction file many AI coding agents read; CLAUDE.md is Claude Code's own. When Claude Code reads AGENTS.md, why it ignores it if a CLAUDE.md exists, and the simple setup that keeps one file for every tool.
Spec-Driven Development With Claude Code: Write the Spec, Then Let the Agent Build
Spec-driven development means agreeing on a written specification before an AI agent writes code. What a good spec contains, a practical workflow with Claude Code (spec → plan → tasks → implement → verify), templates, and when it's overkill.
Context Engineering for Coding Agents: Beyond Prompt Engineering
Context engineering is designing everything an agent sees — instructions, tools, files, history — not just the prompt. Why context is a finite budget, context rot, just-in-time retrieval, progressive disclosure with skills, note-taking and compaction, subagents, and how to apply it to Claude Code.
Claude Code on the Web, Desktop, or Terminal: Which One Should You Use?
Claude Code runs in a terminal, a desktop app, VS Code, and in the cloud at claude.ai/code. Where each version runs, what happens when you close your laptop, how --cloud and --teleport move work between them, and the limits of cloud sessions.
Claude Code in VS Code: Extension vs Terminal, Explained
Claude Code has a VS Code extension with a chat panel, inline diffs and @-mentions, and a terminal CLI with every command. How to install the extension, what each one can do, the PATH gotcha, and when to use which.
Claude Code vs GitHub Copilot: What's the Difference?
GitHub Copilot started as autocomplete and grew into agents; Claude Code started as an agent. How they compare on workflow, models, GitHub integration and pricing — and why Copilot can even run Claude for you.
Claude Code vs Cursor: Which Should You Use in 2026?
Cursor is an AI code editor; Claude Code is an AI agent that runs in your terminal, IDE, desktop app or browser. How they differ in workflow, models, pricing and where they run — and why plenty of people use both.
Claude Code vs OpenAI Codex: An Honest Comparison
Claude Code and OpenAI's Codex are the two big terminal-first coding agents. How they compare on where they run, which plans include them, models, cloud tasks and day-to-day workflow — without picking a winner for you.
Claude Code Tutorial for Beginners: Build Your First App, Step by Step
A start-to-finish Claude Code tutorial for complete beginners: set up a project folder, write a CLAUDE.md, plan before building, review changes, run the app, fix errors, commit with git, and avoid the mistakes most first-timers make.
Claude Code GitHub Actions: Set Up @claude on Issues and Pull Requests
How to set up the Claude Code GitHub Action so you can mention @claude on issues and PRs: quick setup with /install-github-app, manual setup, API key vs subscription token, interactive vs automation mode, scheduled runs, cost controls, and security.
Claude Code /compact vs /clear: Managing Context Without Losing Your Place
When to compact, when to clear, and when to let auto-compaction handle it. What /compact actually does, custom compaction instructions, the auto-compact window and /autocompact, why compacting a huge session is itself expensive, and a workflow that keeps sessions sharp.
How to Change the Model in Claude Code (and Which One to Pick)
Switch models in Claude Code with /model, the --model flag, an environment variable or settings.json. What the aliases mean — opus, sonnet, haiku, fable, opusplan, [1m] — which is the default, and how to choose for cost and quality.
What Is MCP? The Model Context Protocol for Beginners
MCP is a standard way to plug tools and data into AI apps — a USB-C port for AI. What the Model Context Protocol is, what servers and clients are, what tools, resources, and prompts do, real examples, and the safety questions to ask before connecting one.
What Is Claude Code? A Beginner's Guide
Claude Code is Anthropic's AI coding agent: instead of just suggesting code in a chat, it reads your project, edits files, runs commands, and checks its own work. What it is, where you can use it, what it costs, and how to get started without getting into trouble.
What Is an AI Coding Agent? (And How It's Different From a Chatbot)
AI coding tools come in three flavours: chatbots that answer, assistants that autocomplete, and agents that take actions — editing files, running commands, and checking their own work. What makes something an agent, why it matters, and what agents need to work well and safely.
Agent Hosting Is Becoming Free. Here's What Isn't.
Anthropic now ships ways to keep Claude Code running without your laptop — Remote Control, cloud sessions, scheduled Routines. That's good news, and it changes what's worth paying for. The session is becoming a commodity. The environment the work ships into is not.
A tmux Cheat Sheet for Long-Running Sessions (and AI Agents)
tmux keeps terminal sessions running after you disconnect — which is exactly what you want for a build, a dev server, or an AI agent working on a remote machine. The twenty commands that cover almost everything, a small config that makes it pleasant, and the habits for running agents inside it.
How to Run Claude Code on a Remote Server (and Keep It Running)
Running Claude Code on a server instead of your laptop means sessions survive a closed lid, a dropped connection, and a flat battery. A practical setup guide — the server, the session, the security — and what you take on by doing it yourself.
How to Resume a Claude Code Session (and What Resuming Can't Bring Back)
claude --continue and claude --resume reopen yesterday's conversation in seconds. But a resumed session restores the conversation, not the world it was working in. The commands, the habits that make resuming reliable, and the gap between conversation state and environment state.
Running Claude Code Agents in Parallel With Git Worktrees
Two agents in one checkout will overwrite each other's work. Git worktrees give each Claude Code session its own files and branch on the same repository. How to set it up, and the parts nobody warns you about: ports, databases, and dependencies.
How to Keep Claude Code Costs Down (Without Making It Worse)
Claude Code usage is driven less by how much you ask and more by how much context every request carries. Where the tokens actually go, how to see them, and the habits that cut usage — clearing between tasks, picking the right model, trimming CLAUDE.md, and planning before building.
How to Install Claude Code on Mac, Windows, and Linux
A step-by-step guide to installing Claude Code: the recommended native installer, Homebrew, WinGet, and npm; which account you need; signing in; checking it works with claude doctor; updating; and fixing the install problems beginners hit most often.