Claude Code is Anthropic's AI coding agent: it reads your codebase, edits files, runs commands and does git work from a task you write in plain language. It runs in the terminal and is also available as an IDE extension, a desktop app and on the web (Anthropic, Claude Code overview, read 22 November 2026). It comes with paid plans from Pro ($17 a month billed annually) and not with the free plan.
It is more than smart autocomplete. Claude Code has a permission system, CLAUDE.md as project memory, hooks and skills. At the same time, several of the most talked-about features are not switched on by default: Agent Teams are experimental, and you have to enable the sandbox yourself. So everything in this guide carries the date I checked it against Anthropic's own documentation.
What is Claude Code?
Claude Code is an agentic coding tool. It is not just line-by-line suggestions but an agent that can:
- read and understand a whole codebase (all current Claude models have a 1M token context window, see the Opus 4.6 article)
- write new code from a description
- run tests, read the failures and fix them
- handle git (commit, branch, pull request)
- edit files across the project
- plan larger tasks step by step
You can use it in the terminal, in VS Code and JetBrains, in the desktop app and on the web. The model behind it changes: Anthropic's current lineup is Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.2, while Opus 4.6 is a legacy model (Anthropic, models overview, read 22 November 2026).
The difference from autocomplete is that Claude Code works on the whole project and not just the file you have open. It is the difference between a spell checker and a co-author.
Agent Teams: several agents in parallel, but still experimental
Agent Teams let you coordinate several Claude Code instances. One session is the team lead, and the teammates each work in their own context window and can message each other directly.
Two things often go wrong in what you read elsewhere:
- Teammates do not each get a tmux pane by default. The default is in-process: they run in your main terminal and you pick them in the agent panel. Split panes are a separate mode that requires tmux or iTerm2.
- Teammates do not inherit the lead's conversation. Each teammate loads the same project context as a normal session (
CLAUDE.md, MCP servers, skills) plus the prompt it is spawned with. Write the spawn prompt so it contains what the teammate needs to know.
What it costs
Anthropic says agent teams use significantly more tokens than one session, because each teammate has its own context window, and that usage grows linearly with the number of active teammates. Its guidance is to start with 3 to 5 teammates, and with 3 if you have 15 independent tasks. It can pay off for research, review and new features but is wasteful for routine tasks (same source).
Known limitations
No resuming in-process teammates with /resume and /rewind, task status can lag and block dependent tasks, shutdown can be slow, one team per session, no nested teams, and the lead is fixed for the life of the session. The documentation also says when not to use them: sequential tasks, edits to the same file and work with many dependencies are better handled by one session or subagents.
Key features
CLAUDE.md: project configuration
Every project folder can have a CLAUDE.md that gives Claude Code context about the project:
# CLAUDE.md## Commands- `pnpm dev`: start the development server- `pnpm build`: production build ## Architecture- Next.js 16 with App Router- Tailwind CSS v4 ## Conventions- Use `cn()` from `src/lib/utils.ts` for className merging- Translations in `src/messages/{da,en}.json`CLAUDE.md is read into context at session start, so every line costs tokens on every call in the session. Anthropic's cost guide recommends keeping the file under 200 lines and moving specialised workflows into skills (Anthropic, manage costs, read 22 November 2026).
Skills
You can define your own skills, reusable instructions for particular tasks:
# .claude/skills/wp-plugin.mdWhen creating a WordPress plugin:1. Follow WordPress Coding Standards2. Use WordPress hooks (actions/filters)3. Add PHPDoc comments4. Include uninstall.phpSkills load only when they are used. That is the difference from CLAUDE.md, which sits in context all the time.
Hooks
Hooks run shell commands automatically when Claude Code does something. Typical uses are running linting before a commit, running tests after a file edit or sending a notification. Hooks are also a documented way to save tokens: the example in the cost guide is a PreToolUse hook that trims test output to the last 100 lines, so the model does not read the whole log.
Memory and context
Claude Code has two kinds of memory: CLAUDE.md, which you write yourself, and auto memory, where Claude saves notes about your project as it works (Anthropic, memory, read 22 November 2026). Cost follows the size of the context, so use /clear between unrelated tasks, keep CLAUDE.md lean and let subagents take the noisy jobs (test runs, logs, fetched documentation).
Thinking
Claude Code uses extended thinking before it writes code. Anthropic documents:
- Thinking is on by default, because it improves results on complex planning tasks.
- Thinking tokens are billed as output tokens, and the default budget can run to tens of thousands of tokens per request.
- For simpler work you can lower effort with
/effortor turn thinking off in/config. - You cannot turn thinking off on Opus 5.5, Sonnet 5.5, Haiku 5.5 and the Fable models.
The security model
The permission system
Claude Code uses a tiered permission system (Anthropic, permissions, read 22 November 2026). In manual mode it asks before it runs shell commands (except a built-in set of read-only commands) and before it edits files. Reading in the working directory needs no approval. You see what it wants to do and approve or reject it. The other permission modes, including auto, where a classifier reviews actions instead of you, change what requires a question. The rules are enforced by Claude Code itself and not by the model, so an instruction in the prompt or in CLAUDE.md does not change them.
The sandbox is off by default
With the sandbox on, the limits are:
- Write access is limited to the working directory, a per-user temp directory and the directories you add with
--add-dir,/add-dirorpermissions.additionalDirectories. - Read access is not limited by default. It covers most of the machine, including credential files such as
~/.sshand~/.aws/credentials. Close that withsandbox.filesystem.denyReadorsandbox.credentials. - Network: the first time a command needs a new domain, Claude Code asks.
- Credentials can be blocked (
mode: "deny") or masked (mode: "mask"), so the command sees a placeholder and the sandbox proxy inserts the real value on outbound traffic to the hosts you allow.
The sandbox runs on macOS, Linux and WSL2. On native Windows, Claude Code runs commands without a sandbox, so on Windows you need a WSL2 distribution, and WSL1 gives no sandbox. On Linux and WSL2 it requires bubblewrap and socat.
What Anthropic does with your code
Your code is sent to Anthropic's API to get answers. On Free, Pro, Max and Ultra, model training is opt-out, and on Team and Enterprise it is off by default (Anthropic, plans and pricing, read 22 November 2026). Enterprise also has audit logs, a Compliance API and data retention settings. The practical risk is not training but that an agent without a sandbox can read your .env or your SSH keys. Permissions do not replace a human reading the diff.
Pricing
Claude Code is included in all paid plans and shares usage limits with the rest of the plan (Anthropic, plans and pricing, read 22 November 2026).
| Plan | Price | Claude Code |
|---|---|---|
| Free | $0 | No |
| Pro | $17 a month billed annually, $20 monthly | Yes |
| Max | $100 a month, 5 times Pro usage | Yes |
| Ultra | $200 a month, no 5-hour limit, 10 times Pro usage per week | Yes |
| Team, standard seat | $20 per seat billed annually, $25 monthly | Yes |
| Team, premium seat | $100 per seat billed annually, $125 monthly, 5 times a standard seat | Yes |
| Enterprise | $20 per seat a month billed annually (20 seat minimum) plus usage at API rates | Yes |
Usage resets on a rolling five-hour window, with weekly limits on top. How fast you reach them depends on the model, the length of the conversation and the size of the files, so there is no fixed number of messages. If you hit the limit you can wait, change plan or use usage credits at standard API prices.
For most freelancers Pro is a reasonable starting point, and Max makes sense if Claude Code is your main tool all day. For companies, the key figure from Anthropic's cost guide is:
Across enterprise deployments, the average cost is around $13 per developer per active day and $150-250 per developer per month, with costs remaining below $30 per active day for 90% of users.
The biggest lever on the bill is model choice. Sonnet handles most coding tasks and costs less than Opus, so save Opus for the complex decisions.
Examples for WordPress developers
Understand an unfamiliar codebase
claude "Explain the architecture of this WordPress theme.Which custom post types are there? Which hooks are used?Where are the most important template files?"It is indispensable when you take over a project from another developer.
A plugin from scratch
claude "Build a WordPress plugin that adds a custom REST APIendpoint /wp-json/my-plugin/v1/latest-posts that returnsthe latest 5 blog posts with title, excerpt and featured image URL.Add caching with transients (1 hour) and rate limiting."Debugging WooCommerce
claude "My WooCommerce checkout fails with a 500 error afteran update. Analyse the error log inwp-content/debug.log and find the cause."Claude Code reads the log, finds the error and proposes the fix. First check what the sandbox lets it read: a debug.log can contain more than you want to send into a prompt.
Git and performance
claude "Review my changes, write a commit message followingconventional commits, and open a PR with a summary."If you have a slow site, it also finds the usual suspects such as N+1 queries, missing caching and large images. The method for making a WordPress site fast is in the speed guide.
Limitations
- Agent Teams are experimental and off until you enable them.
- The sandbox is off until you enable it, and without its dependencies commands run without it.
- Read access is broad by default, so credentials are not protected until you say so.
- Context: 1M tokens is a lot, but large monorepos can still exceed it. A long session sends the whole history on every call.
- Mistakes in code: Claude Code can write code that looks right and has a subtle bug. Always read the diff.
- Platform: the sandbox does not work on native Windows.
- WordPress knowledge: the model knows WordPress well, but not your own post types, your host's quirks or which plugin versions you run.
Tips for effective use
- Turn the sandbox on deliberately with
/sandbox, and setfailIfUnavailableif it must be a requirement. - Close read access to
~/.aws,~/.sshand similar, or mask them. - Keep
CLAUDE.mdunder 200 lines and put workflows in skills. - Be specific: "add Zod validation of email and Danish phone number" beats "add validation".
- Use plan mode for big tasks, so Claude Code plans before it codes.
- Always review the code like any other code.
- Let subagents take tests and logs, so they do not fill your context.
Claude Code, Copilot or Cursor?
I do not compare prices or security in a table here. Every vendor changes its prices and features, and a comparison of claims is not a comparison of behaviour. Check claude.com/pricing, github.com/features/copilot/plans and cursor.com/pricing for current figures. My rule of thumb:
- Claude Code if you want an agent that acts on the whole project: runs the tests, opens the pull request and follows the project's conventions.
- GitHub Copilot if you want quick suggestions without leaving your IDE.
- Cursor if you want AI built into the whole editor.
Conclusion
Claude Code is an AI co-developer that understands context, plans and acts, but what it may touch is largely your own decision. The security is real and documented: permissions, sandbox, protected paths, credential masking and control over data retention. Almost all of it you have to enable or configure yourself, though. A sandbox that quietly falls back to running without a sandbox is a warning in a log and not a security boundary.
For WordPress developers with complex themes, plugins and WooCommerce customisations it can save hours every week, as long as you check the result yourself.
If you don't have a developer
Most people reading this are not choosing a coding tool. They run a business and discover that the site, the hosting and the integrations now have an opinion about which AI runs on them.
The tool is the easy choice. The hard part is deciding what the AI may touch, who reviews the result, what happens when a plugin update breaks an integration it wrote, and what the fallback is when a dependency is down on the morning a campaign goes live. That is responsibility for a production system, and the security model above only protects you if someone configures it.
That is the work I do as a technical partner. Prices are on the pricing page, or tell me what you are running into and I will say whether it is worth fixing.
Sources
Everything version-specific was checked against these pages on 22 November 2026:
- Anthropic, Plans and pricing: plan prices, usage limits, training settings
- Anthropic, Claude Code overview: where Claude Code runs
- Anthropic, Agent teams: experimental status, enabling, team size, limitations
- Anthropic, Manage costs: cost averages,
CLAUDE.mdunder 200 lines, thinking tokens, effort - Anthropic, Sandboxing: opt-in, read and write scope, credentials, platforms
- Anthropic, Permissions and Memory
- Anthropic, Models overview: current lineup
I removed figures and comparisons I could not source: a task-time figure, a comparison with CodeWP, a security ranking against OpenClaw, the price row in the comparison table and a figure for how many times more tokens Agent Teams use, which the documentation no longer states.
