Claude Code .claude/ Folder Explained — Full Map
CLAUDE.md
project rules, persistent memory
Read docs
CLAUDE.local.md
personal overrides, gitignored
Read docs
.mcp.json
MCP servers, must be at project root
Read docs
.claude/
where Claude Code looks first for config
Read docs
hooks/
deterministic shell scripts that fire on lifecycle events
Read docs
PostToolUse.sh / SessionStart.sh / PreCompact.sh
hook event types
Read docs
commands/
slash commands (legacy, still works)
Read docs
skills/
canonical home for model-invokable workflows (SKILL.md)
Read docs
agents/
subagents with isolated context windows
Read docs
output-styles/
custom response formats
Read docs
plugins/
first-class in 2026, bundle commands, agents, MCP, skills
Read docs
rules/
path-scoped instructions, load on glob match
Read docs
statusline
bottom-bar display config
Read docs
settings.json
permissions, model, hook registry, plugins
Read docs
settings.local.json
personal settings, gitignored
Read docs
Plugin marketplaces (bonus)
distribute plugins via git repos
Read docs
Features overview (bonus)
when to use what
Read docs
