# Claude Code project setup and troubleshooting guides

Canonical: https://cwyn.com/guides/claude-code/
Last updated: 2026-11-28T20:47:49-05:00

Free operator guides

Claude Code 34 guides

Set up Claude Code project skills, subagents, settings and the terminal status line. Troubleshoot CLAUDE.md, hooks, MCP servers and permissions.

Search guides

34 guides

## Start here

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

### Free tools for Claude Code

- [Setup-file checker](https://cwyn.com/score/setup-file-checker/)
  - [Check your Claude Code CLAUDE.md](https://cwyn.com/score/setup-file-checker/?profile=claude)
- [AI cost calculator](https://cwyn.com/score/ai-cost-calculator/)
- [AI model comparison](https://cwyn.com/score/ai-model-comparison/)
- [AI instruction builder](https://cwyn.com/build/ai-instructions/)
- [AI tell checker](https://cwyn.com/score/ai-tell-checker/)
- [Will it run on my Mac?](https://cwyn.com/tools/will-it-run/)

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

## Claude Code project setup

34 guides

- Claude Code

### [Claude Code settings.json precedence (managed first)](https://cwyn.com/pages/claude-code-guide-settings-json-precedence.html)

From highest to lowest, Claude Code uses managed settings, command-line --settings, project local settings, shared project settings, then user settings.
- Claude Code

### [Create a Claude Code slash command with a project skill](https://cwyn.com/pages/claude-code-guide-first-project-skill.html)

Build a project SKILL.md, run it by slash command with an argument, and share the workflow with teammates.
- Claude Code

### [Create a custom Claude Code output style](https://cwyn.com/pages/claude-code-guide-custom-output-style.html)

Save a project output style in .claude/output-styles and select it in the Claude Code terminal to shape how replies are written.
- Claude Code

### [Create a read-only project subagent in Claude Code](https://cwyn.com/pages/claude-code-guide-first-project-subagent.html)

Create a read-only Claude Code subagent in .claude/agents, invoke it by name, and confirm it handled your first task.
- Claude Code

### [How to set up the Claude Code status line](https://cwyn.com/pages/claude-code-guide-status-line-setup.html)

Use /statusline to show the model and context usage in Claude Code, then check the script if the status line stays blank.
- Claude Code

### [Install Claude Code on Windows with PowerShell](https://cwyn.com/pages/claude-code-guide-windows-powershell-install.html)

Run irm https://claude.ai/install.ps1 | iex in Windows PowerShell to install Claude Code. In a new window, run claude --version to see the version number.
- Claude Code

### [Resume a previous Claude Code session](https://cwyn.com/pages/claude-code-guide-resume-local-session.html)

Continue your latest local Claude Code conversation, pick an older session, or reopen one by name.
- Claude Code

### [Claude Code headless print mode with claude -p](https://cwyn.com/pages/claude-code-guide-headless-print-mode.html)

Run claude -p "your prompt" to print a reply and exit. Plain text is the default (--output-format text). Add --output-format json to read the result field.
- Claude Code

### [Why does Claude Code still ask after I allow a command?](https://cwyn.com/pages/claude-code-guide-permission-allowlist-prompts.html)

Trace a repeated Bash permission prompt to its settings file, compare the exact command with the allow rule, and test a project-local correction.
- Claude Code

### [Claude Code ignoring CLAUDE.md or not loading it?](https://cwyn.com/pages/claude-code-guide-claude-md-not-loading.html)

CLAUDE.md not loading? Check which files Claude Code read at startup, how to load a nested file, and where to look for conflicting project rules.
- Claude Code

### [Why is my Claude Code hook not firing?](https://cwyn.com/pages/claude-code-guide-hooks-not-firing.html)

Open /hooks in Claude Code. For a formatter under PostToolUse, match both Edit and Write. Ask Claude to edit a scratch file, then inspect the formatting.
- Claude Code

### [Why is my MCP server missing from Claude Code?](https://cwyn.com/pages/claude-code-guide-mcp-servers-not-loading.html)

Run claude mcp list in your project directory. If a shared server is missing, check .mcp.json. If it needs authentication, open /mcp and sign in.
- Claude Code

### [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 prefers CLAUDE.md by default. Codex reads AGENTS.md. To share project rules, keep them in AGENTS.md and import that file from CLAUDE.md.
- Claude Code

### [Claude Code monthly cost by plan and API usage](https://cwyn.com/pages/claude-code-guide-cost-per-month.html)

Claude Code costs $20 on Pro, $100 on Max or $200 on Ultra per month, plus optional extra usage. With an API key, you pay per token at your model’s rates.
- Claude Code

### [Claude Code subscription vs API billing](https://cwyn.com/pages/claude-code-guide-subscription-vs-api.html)

Sign in to Claude Code with an eligible subscription to use your plan allowance. With an Anthropic API key, you pay separately for the tokens you use.
- Claude Code

### [Claude Code vs Codex cost per month and per token](https://cwyn.com/pages/claude-code-guide-claude-code-vs-codex-cost.html)

Claude Pro and ChatGPT Plus cost $20/month. Codex has a free tier. Per 1M tokens, API input/output costs $3/$15 on Sonnet 4.6 and $2/$10 on GPT-6.2 Sol.
- Claude Code

### [3 CLAUDE.md examples and a starter template](https://cwyn.com/pages/claude-code-guide-claude-md-template.html)

Copy a CLAUDE.md example for a TypeScript app, Python package or monorepo. See what each section does, where to save the file and how @path imports work.
- Claude Code

### [AGENTS.md examples and best practices](https://cwyn.com/pages/claude-code-guide-agents-md-examples.html)

Copy an AGENTS.md for a web app, Python scripts or a monorepo. Keep shared commands at the root and package rules in the AGENTS.md closest to your code.
- Claude Code

### [How the 5-hour and weekly Claude Code usage limits work](https://cwyn.com/pages/claude-code-guide-usage-limits.html)

On Pro and Max, the Claude Code session usage limit resets five hours after your first message. Open Settings > Usage for session and weekly reset times.
- Claude Code

### [Claude Code commands list and CLI flags](https://cwyn.com/pages/claude-code-guide-commands-cheat-sheet.html)

Look up built-in slash commands and CLI flags in the Claude Code commands list. Resume a session, manage context, switch models or set tool permissions.
- Claude Code

### [Claude Code 529 overload and 429 rate limit fixes](https://cwyn.com/pages/claude-code-guide-529-429-errors.html)

A Claude Code 529 means the API is overloaded. Let retries finish. For a 429 rate limit, run /status to see which API key or cloud project to check.
- Claude Code

### [Claude Code /compact vs /clear and what survives compaction](https://cwyn.com/pages/claude-code-guide-compact-vs-clear.html)

In Claude Code, /compact keeps a summary for the same task. Use /clear to start a new conversation. Both reload CLAUDE.md from your project root.
- Claude Code

### [Claude Code plan mode vs accept edits vs auto mode](https://cwyn.com/pages/claude-code-guide-plan-mode.html)

Compare accept edits vs auto mode in Claude Code. See when file edits and shell commands need approval and how to switch between modes with Shift+Tab.
- Claude Code

### [Use /rewind to edit your last message in Claude Code](https://cwyn.com/pages/claude-code-guide-rewind-checkpoints.html)

Run /rewind in Claude Code. Choose Restore conversation to edit and resend a prompt, or Restore code to undo tracked file edits and keep the conversation.
- Claude Code

### [Use Claude Code worktrees to run parallel sessions without edit collisions](https://cwyn.com/pages/claude-code-guide-worktrees.html)

Run claude --worktree with a different name in each terminal. Each Claude Code session gets its own branch and checkout, so edits stay separate.
- Claude Code

### [Claude Code hooks examples for notifications, auto-formatting and protected files](https://cwyn.com/pages/claude-code-guide-hooks-examples.html)

Copy three Claude Code hooks to get a desktop notification, format edits with Prettier and block changes to protected files. Check each one with /hooks.
- Claude Code

### [How to add an MCP server in Claude Code and find its config file](https://cwyn.com/pages/claude-code-guide-mcp-setup.html)

Use claude mcp add to connect a server to Claude Code. Find the config file for each scope, share .mcp.json with your team, and check the connection.
- Claude Code

### [When to use Claude Code skills vs subagents, hooks, MCP and plugins](https://cwyn.com/pages/claude-code-guide-skills-vs-subagents-hooks.html)

Use a skill for a checklist, a subagent to review many files and a hook to enforce a rule. See where MCP, plugins and custom commands fit in Claude Code.
- Claude Code

### [How to change or pin a model in Claude Code](https://cwyn.com/pages/claude-code-guide-models.html)

Use /model to change models in Claude Code or start with claude --model sonnet. Pin a version across sessions with a full model name in settings.json.
- Claude Code

### [Claude Code vs Codex CLI for hooks and patch review](https://cwyn.com/pages/claude-code-guide-claude-code-vs-codex.html)

Use Claude Code hooks to block edits to protected files. Use Codex CLI to review an uncommitted diff without changing files or send a task to the cloud.
- Claude Code

### [Set up Claude Code GitHub Actions](https://cwyn.com/pages/claude-code-guide-github-actions.html)

Set up Claude Code GitHub Actions for @claude mentions and PR reviews. Choose an API key or subscription token, check permissions and control run costs.
- Claude Code

### [Install Claude Code on Windows with WSL](https://cwyn.com/pages/claude-code-guide-wsl-setup.html)

Install Claude Code on Windows with WSL 2. Set up Ubuntu, run the Linux installer, choose a project folder, and fix download, PATH, and sign-in errors.
- Claude Code

### [Codex hitting usage limits faster on GPT-6.2?](https://cwyn.com/pages/claude-code-guide-codex-gpt-6-2-usage-limits.html)

Find out why GPT-6.2 Astra and Sol reach Codex limits sooner, which plans get a banked reset, and what OpenAI still lists for a five-hour window.
- Claude Code

### [How much does a Claude Code session cost?](https://cwyn.com/pages/claude-code-guide-cost-per-session.html)

Estimate the cost of one Claude Code session from its turns, repeated input and cached tokens. Use the Coding agent preset to price your own workload.

## Related guides

- [Compare OpenClaw and Claude Code for your project](https://cwyn.com/pages/openclaw-guide-openclaw-vs-claude-code.html)

## Watch: CLAUDE.md being ignored? 3 checks

[Watch on YouTube](https://youtube.com/shorts/Wdw8ndSwPIE)[Read the full guide](https://cwyn.com/pages/claude-code-guide-claude-md-not-loading.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)

Claude Code Complete Setup Pack $12.95

Set up project instructions, permission rules, hooks, a reviewer skill and subagent, and MCP connections for Claude Code.

Buying for 2+ people? [Team plans](https://cwyn.com/business/)
