AlexandrG539/claude-code-setup-guide

5 stars · Last commit 2026-10-19

Complete Claude Code configuration guide — permissions, MCP, hooks, skills, subagents, agent teams (July 2026)

README preview

# Claude Code: Complete Configuration Guide (October 2026)

> A comprehensive, tech-stack-agnostic guide for configuring Claude Code from scratch — written to be **executed by a Claude agent** as well as read by humans (see [For Agents](#for-agents-self-configuration-procedure)).
> Verified against official Anthropic documentation, the official changelog, and live package registries on **2026-10-19** (Claude Code **2.1.303**; default model is **Claude Opus 5.5** on every plan and provider except Microsoft Foundry (Sonnet 4.5); **auto mode** is the built-in starting permission mode since 2.1.283).

The guide is split into chapters. Each chapter's YAML frontmatter states what it covers, when to read it, and the version it was verified against. Machine-readable index: [`llms.txt`](llms.txt).

## Table of Contents

**Phase 1: Foundation (Universal — Every Project)**

| # | Chapter | What it covers | Read when |
|---|---------|----------------|-----------|
| 1 | [Architecture Overview & File Layout](chapters/01-architecture.md) | Extension layers, context costs, directory structure, loading precedence | **Always** — read first |
| 2 | [CLAUDE.md & Memory](chapters/02-claude-md-memory.md) | Content rules, 2026-style templates, imports, native AGENTS.md support, auto memory, `/init`, `/doctor prompt-audit` | **Always** |
| 3 | [Rules](chapters/03-rules.md) | Modular guidelines, path-scoped rules, symlink sharing, recommended rule files | Standards span several domains, or CLAUDE.md outgrows ~60 lines |
| 4 | [Permissions, Modes & Sandboxing](chapters/04-permissions.md) | Which mode a session starts in (**auto** by default), rule syntax and limits, `ask` checkpoints, plan mode, auto-mode classifier config, headless flags, workspace trust, sandbox | **Always** — before installing anything |

**Phase 2: Core Tooling**

View full repository on GitHub →