# Claude Code setup guide

Canonical: https://cwyn.com/setup/claude-code/
Last updated: 2026-11-18

[Claude Code 34 guides](https://cwyn.com/guides/claude-code/)

Short answer. Set up a shared repository so Claude Code can point a new teammate to the right files, explain which actions need approval, and identify the test to run first. Put the paths, conventions and verification commands a teammate needs in the root CLAUDE.md.

Last updated November 18, 2026. Not affiliated with Anthropic.

[Check your CLAUDE.md](https://cwyn.com/score/setup-file-checker/?profile=claude)

## 1. Write the project instructions

Put the paths, conventions and verification commands a teammate needs in the root CLAUDE.md. Use an @path import for a maintained companion file. Check the loaded instructions in /memory.

## 2. Choose who shares each setting

Use .claude/settings.json for reviewed team settings and .claude/settings.local.json for a personal trial. Inspect /permissions to see the effective rules before deciding which actions should prompt.

## 3. Give repeated work a home

Use a hook for an action tied to a session event, a skill for a reusable slash command, and a subagent for a delegated review. Project skills live in .claude/skills/ and project subagents in .claude/agents/.

## 4. Connect only the tools the project needs

If a task requires an external service, choose its MCP scope. Shared definitions belong in .mcp.json at the repository root. Review the server and its access before trying a harmless read.

[All Claude Code guides](https://cwyn.com/guides/claude-code/)

## Related guides

### Claude Code project setup

- [Claude Code settings.json precedence (managed first)](https://cwyn.com/pages/claude-code-guide-settings-json-precedence.html)
- [Create a Claude Code slash command with a project skill](https://cwyn.com/pages/claude-code-guide-first-project-skill.html)
- [Create a custom Claude Code output style](https://cwyn.com/pages/claude-code-guide-custom-output-style.html)
- [Create a read-only project subagent in Claude Code](https://cwyn.com/pages/claude-code-guide-first-project-subagent.html)
- [How to set up the Claude Code status line](https://cwyn.com/pages/claude-code-guide-status-line-setup.html)
- [Install Claude Code on Windows with PowerShell](https://cwyn.com/pages/claude-code-guide-windows-powershell-install.html)
- [Resume a previous Claude Code session](https://cwyn.com/pages/claude-code-guide-resume-local-session.html)
- [Claude Code headless print mode with claude -p](https://cwyn.com/pages/claude-code-guide-headless-print-mode.html)
- [Why does Claude Code still ask after I allow a command?](https://cwyn.com/pages/claude-code-guide-permission-allowlist-prompts.html)
- [Claude Code ignoring CLAUDE.md or not loading it?](https://cwyn.com/pages/claude-code-guide-claude-md-not-loading.html)
- [Why is my Claude Code hook not firing?](https://cwyn.com/pages/claude-code-guide-hooks-not-firing.html)
- [Why is my MCP server missing from Claude Code?](https://cwyn.com/pages/claude-code-guide-mcp-servers-not-loading.html)
- [CLAUDE.md vs AGENTS.md: which file each tool reads](https://cwyn.com/pages/claude-code-guide-claude-md-vs-agents-md.html)
- [Claude Code monthly cost by plan and API usage](https://cwyn.com/pages/claude-code-guide-cost-per-month.html)
- [Claude Code subscription vs API billing](https://cwyn.com/pages/claude-code-guide-subscription-vs-api.html)
- [Claude Code vs Codex cost per month and per token](https://cwyn.com/pages/claude-code-guide-claude-code-vs-codex-cost.html)
- [3 CLAUDE.md examples and a starter template](https://cwyn.com/pages/claude-code-guide-claude-md-template.html)
- [AGENTS.md examples and best practices](https://cwyn.com/pages/claude-code-guide-agents-md-examples.html)
- [How the 5-hour and weekly Claude Code usage limits work](https://cwyn.com/pages/claude-code-guide-usage-limits.html)
- [Claude Code commands list and CLI flags](https://cwyn.com/pages/claude-code-guide-commands-cheat-sheet.html)
- [Claude Code 529 overload and 429 rate limit fixes](https://cwyn.com/pages/claude-code-guide-529-429-errors.html)
- [Claude Code /compact vs /clear and what survives compaction](https://cwyn.com/pages/claude-code-guide-compact-vs-clear.html)
- [Claude Code plan mode vs accept edits vs auto mode](https://cwyn.com/pages/claude-code-guide-plan-mode.html)
- [Use /rewind to edit your last message in Claude Code](https://cwyn.com/pages/claude-code-guide-rewind-checkpoints.html)
- [Use Claude Code worktrees to run parallel sessions without edit collisions](https://cwyn.com/pages/claude-code-guide-worktrees.html)
- [Claude Code hooks examples for notifications, auto-formatting and protected files](https://cwyn.com/pages/claude-code-guide-hooks-examples.html)
- [How to add an MCP server in Claude Code and find its config file](https://cwyn.com/pages/claude-code-guide-mcp-setup.html)
- [When to use Claude Code skills vs subagents, hooks, MCP and plugins](https://cwyn.com/pages/claude-code-guide-skills-vs-subagents-hooks.html)
- [How to change or pin a model in Claude Code](https://cwyn.com/pages/claude-code-guide-models.html)
- [Claude Code vs Codex CLI for hooks and patch review](https://cwyn.com/pages/claude-code-guide-claude-code-vs-codex.html)
- [Set up Claude Code GitHub Actions](https://cwyn.com/pages/claude-code-guide-github-actions.html)
- [Install Claude Code on Windows with WSL](https://cwyn.com/pages/claude-code-guide-wsl-setup.html)
- [Codex hitting usage limits faster on GPT-6.2?](https://cwyn.com/pages/claude-code-guide-codex-gpt-6-2-usage-limits.html)
- [How much does a Claude Code session cost?](https://cwyn.com/pages/claude-code-guide-cost-per-session.html)

- [Manage Claude Code project memory](https://code.claude.com/docs/en/memory)
- [Find your Claude Code settings and templates](https://code.claude.com/docs/en/claude-directory)
- [Troubleshoot Claude CLI billing when using OpenClaw](https://cwyn.com/pages/openclaw-guide-claude-cli-api-billing.html)
- [Check MCP tool discovery when using OpenClaw](https://cwyn.com/pages/openclaw-guide-mcp-tools-missing.html)
- [Compare OpenClaw and Claude Code for your project](https://cwyn.com/pages/openclaw-guide-openclaw-vs-claude-code.html)

## Email me the CLAUDE.md + settings starter

Get the editable CLAUDE.md template and a project setting you can merge into .claude/settings.json.

Email address

Email me this file. Also send up to 4 short follow-up emails with tips and one related CWYN product. Unsubscribe any time. [Privacy policy](https://cwyn.com/pages/privacy.html)

## Set up your repository

Get editable instructions, permission presets, hooks, a reviewer, a handoff skill and a checklist for testing them together.

[Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html)

[Using more than one? Get all three for $29.95](https://cwyn.com/pages/pack-complete-ai-setup-bundle.html)
