Mover

Claude Code setup: a template for real work

Claude Code setup for real work is an install, a short CLAUDE.md of rules you can check, and a committed .claude/settings.json for team permissions. Anthropic's pages describe each of those parts, and the first section below gives a CLAUDE.md you can copy. Settings docs Memory docs

The later sections cover the install, the settings files, where CLAUDE.md files go, and what people in a Reddit sample do when results get worse. The method note at the foot says what the Reddit counts cover.

What is the copy-paste template?

Copy this into a file named CLAUDE.md in the project root and replace each bracket with something you have run or checked yourself. The headings follow what Anthropic's memory page says belongs in the file, which is build and test commands, layout, conventions and rules concrete enough to verify. Memory docs

# [Project name]
[One sentence on what the project does.]

## Commands
- Build with [build command]
- Test with [test command]
- Lint with [lint command]

## Layout
- [path/to/dir] holds [what lives there]
- [path/to/dir] holds [what lives there]

## Conventions
- Use [2-space] indentation
- [One naming rule, written so a reviewer can check it]

## Rules
- Run [test command] before committing
- [A mistake Claude has made twice, rewritten as an instruction]

The last line follows Anthropic's advice to add an entry when Claude makes the same mistake a second time. Two other lines copy the docs' own examples of checkable wording, Use 2-space indentation and Run npm test before committing. The docs target under 200 lines per CLAUDE.md file, because longer files use more context and reduce adherence. Memory docs

Then work through these steps from the project folder.

  1. Run cd /path/to/your/project and then claude. Quickstart docs
  2. Optionally run /init, which analyzes your codebase and drafts a CLAUDE.md with the build commands, test instructions and conventions it finds. If a CLAUDE.md already exists, /init suggests improvements and does not overwrite it. Memory docs
  3. Run /context all and look under Memory files to confirm the file loaded. Memory docs

How do you install Claude Code?

Claude Code runs on macOS 13.0+, Windows 10 1809+ or Windows Server 2019+, Ubuntu 20.04+, Debian 10+ and Alpine Linux 3.19+. It needs 4 GB+ RAM, an x64 or ARM64 processor, an internet connection and a location in an Anthropic supported country. Setup docs

Anthropic marks the native install as recommended. On macOS, Linux and WSL the command is curl -fsSL https://claude.ai/install.sh | bash, and in Windows PowerShell it is irm https://claude.ai/install.ps1 | iex. The same page gives a CMD command, and says you can also install with apt, dnf or apk on Debian, Fedora, RHEL and Alpine. Setup docs

Open a new terminal window when the installer finishes and run claude --version. A working install prints a version number such as 2.1.211 (Claude Code), and claude doctor runs a more detailed check. Setup docs

Native installs update themselves in the background. Homebrew and WinGet installs do not, so run brew upgrade claude-code or winget upgrade Anthropic.ClaudeCode now and then. Homebrew's claude-code cask tracks the stable channel, which is typically about a week behind and skips releases with major regressions, while claude-code@latest gets new versions as soon as they ship. Setup docs

Signing in needs a Claude subscription (Pro, Max, Ultra, Team or Enterprise), a Claude Console account, or access through a supported cloud provider. Claude Code prompts you to log in on first use, and /login switches accounts later. Quickstart docs

On Windows, WSL 2 supports sandboxing and native Windows does not. Anthropic recommends Git for Windows on native Windows so Claude Code can use the Bash tool, and without it Claude Code uses PowerShell as the shell tool. Setup docs

Which settings file holds what?

Claude Code reads settings from four files, and the file a setting lives in decides who it applies to. Settings docs

ScopeFileWho it affects
User~/.claude/settings.json Settings docsYou, in every project on this machine. Suited to theme, editor mode, default model and your own permission rules. Settings docs
Shared project.claude/settings.json Settings docsEveryone working in the folder. In a git repository you commit it, and it suits team permissions, hooks, plugins and environment variables the project needs. Settings docs
Project local.claude/settings.local.json Settings docsYou, in this one project only. Claude Code keeps the file out of git when it creates it, and a file you create by hand needs a .gitignore entry from you. Settings docs
Managedmanaged-settings.json and other managed sources Settings docsEveryone your organization deploys it to, for security policy and compliance requirements. Settings docs

Installing Claude Code does not create any settings file. It writes ~/.claude/settings.json the first time you change a /config option that is stored in user settings, such as the theme. It writes .claude/settings.local.json the first time you give a standing approval on a permission prompt, such as Yes, and don't ask again for a Bash command. Settings docs

Claude Code applies the local file over the committed one. In the docs' example, the team file sets "model": "claude-sonnet-5", and a person who wants Opus puts "model": "claude-opus-5-5" in their local file so that only their sessions change. Some of what you commit waits until each teammate trusts the folder. Settings docs

The settings page has a precedence section for keys set in several places, and the copy read for this guide ended before it, so only the local-over-shared rule is stated here.

Where do CLAUDE.md files go?

Each Claude Code session begins with a fresh context window. Two mechanisms carry knowledge across sessions, which are CLAUDE.md files you write and auto memory that Claude writes from your corrections and preferences. Memory docs

The docs list four locations for CLAUDE.md files.

  • The project file, shared with your team through source control, is ./CLAUDE.md or ./.claude/CLAUDE.md. Memory docs
  • Your personal file for all projects is ~/.claude/CLAUDE.md. Memory docs
  • Your personal file for one project is ./CLAUDE.local.md, which you add to .gitignore. Memory docs
  • An organization-wide managed policy file is set by IT or DevOps, for example /etc/claude-code/CLAUDE.md on Linux and WSL. Memory docs

Files in the directory hierarchy above the working directory load at launch, and files in subdirectories load on demand. Auto memory loads the first 200 lines or 25KB each session. If your repository uses AGENTS.md instead, Claude can read it in place of CLAUDE.md. Memory docs

Anthropic says Claude treats CLAUDE.md files as context, and that a PreToolUse hook is the way to block an action regardless of what Claude decides. Claude Code hooks explained covers hooks, and how to write a CLAUDE.md or AGENTS.md goes further on the file itself. Memory docs

One Reddit post that reports on a study says agents followed a stale CLAUDE.md 90% of the time, even when they noticed the conflict. That post is the only source for the figure here, and the study itself was not read for this page. Stale CLAUDE.md thread

What do people do if Opus degrades?

15 of 320 distinct people across 2 threads said Opus 5.5 had got worse in the past week or so, with ignored docs, skipped work, small errors and burnt tokens. The count covers 320 people in 90 Reddit threads over the last 30 days in the Arctic Shift archive. Rant thread Nerfed thread

Opus is so degraded now that I'm afraid to have it touch my codebase today Rant thread

Whether the model changed is disputed by the posters themselves, and the Anthropic pages read for this guide say nothing on it. 6 of 320 distinct people across 2 threads said Opus is not nerfed and pointed to prompting habits, tone or an overcomplicated setup. Nerfed thread Rant thread

The model hasn't changed since release; the users' prompt engineering just got nerfed. Nerfed thread

Another group, 5 of 320 distinct people across 2 threads, switched to or ran alongside another model such as Astra, Fable or Codex. Rant thread Nerfed thread

Fixes on the setup side also appear in those threads. One commenter traced the trouble to an instruction in claude.md that conflicted with the system prompt. Rant thread Another, working on a 500k+ line project, said Opus does well as long as it is asked to plan properly before starting, and 3 of 320 distinct people across 3 threads described having Claude ask questions and write a plan before it implements anything. Rant thread Nerfed thread Voice thread For turning plan mode on, see Claude Code plan mode.

What do people add on top?

Beyond the files, the sample shows what people add once they run several sessions or leave sessions unattended. The counts below come from the same sample of 320 people and are posters' own practices, not Anthropic guidance.

  • On waiting sessions, 9 of 320 distinct people across 6 threads built popups, chimes, hooks or decision lists because sessions sat unnoticed on a permission prompt. Examples are a taskbar companion, a notch helper and a popup hook.
  • On isolation, 5 of 320 distinct people across 3 threads run Claude Code inside a container, VM or sandbox so it cannot touch the host or sensitive data. One wrote that they do not run it without isolation. Data protection thread Desktop app thread
  • On parallel agents, 5 of 320 distinct people across 3 threads gave each agent its own git worktree and a narrow set of files so agents do not overwrite each other. Voice thread Desktop app thread
  • On fresh sessions, 4 of 320 distinct people across 4 threads built hooks, handoffs and memory tools because a new session after /clear or the context limit starts from zero. SessionStart hook thread Knotlog thread

On sandboxing, Anthropic's setup page says WSL 2 supports it and native Windows does not. Setup docs

Common questions

Does Claude Code need a settings file to start?

No. Anthropic says installing Claude Code does not create one. Claude Code writes ~/.claude/settings.json the first time you change a /config option stored in user settings. Settings docs

How long should a CLAUDE.md be?

Anthropic's target is under 200 lines per CLAUDE.md file, because longer files consume more context and reduce adherence. Memory docs

Which account does Claude Code need?

The quickstart lists a Claude subscription (Pro, Max, Ultra, Team or Enterprise), a Claude Console account, or access through Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry. Quickstart docs

Does Claude Code run on Windows?

Yes, natively on Windows 10 1809+ or Windows Server 2019+, or inside WSL. Sandboxing is supported on WSL 2 and not on native Windows. Setup docs

How we checked

We read Anthropic's setup, quickstart, settings and memory pages on 8 November 2026 and used only what those pages say.

The forum counts come from 320 distinct people in 90 Reddit threads from the last 30 days (Arctic Shift archive), grouped by theme. Each count covers only the people in that sample who raised the theme, in the threads named beside it.

Last verified 8 November 2026. Checked against Anthropic's documentation and a 30-day Reddit sample on 8 November 2026.

Sources

  1. Anthropic, set up Claude Code checked 8 November 2026
  2. Anthropic, quickstart checked 8 November 2026
  3. Anthropic, Claude Code settings checked 8 November 2026
  4. Anthropic, how Claude remembers your project checked 8 November 2026

From the publisher

Mover (our product)

Copy the template into your project root, fill each bracket with a command you have run yourself, then run /context all to confirm it loaded.

Mover is a £100-a-month planning tool that runs inside Claude Code or Codex, keeps your plan in plain files on your own computer, and says so when your work drifts from it. It is the wrong choice if you want something that keeps running while your computer is off.

Cancel any time. 30-day money-back guarantee.