Snapshot-backed reference hub

Claude Code, explained from the codebase outward

This hub translates the local Claude Code source snapshot into practical guidance for developers: how the agent loop works, how context and memory are assembled, where permissions live, how MCP fits in, and why sessions and compaction matter for real-world workflows.

Deep dives
16

Phase 1 reference guides

Reference style
Code-backed

Readable summaries, not source dumps

Snapshot
2026-03-31

Local implementation baseline

System map

The codebase points to a simple operating model: context and memory feed the agent loop, permissions and tools constrain execution, MCP expands the capability surface, and sessions keep long-running work durable.

Context

CLAUDE.md, git snapshot, date, instructions

Agent Loop

Query, tool calls, follow-up reasoning, compaction

Permissions

Hooks, classifiers, dialogs, mode-sensitive rules

Integrations

MCP servers, plugins, external capabilities

Durability

Transcripts, resume, memory recall, long sessions

Suggested order after Phase 1

The next useful reading order is workflows first, comparisons second, then concept graph and diagrams. That matches the most natural expansion path for the current app architecture.

Workflows first

Turn the internals into practical debugging, review, onboarding, and long-context playbooks.

Comparisons next

Use sharper comparisons to reduce confusion between adjacent concepts and tools.

Then reference and maps

Once the workflows are stable, reinforce them with glossary pages and system maps.

Suggested paths

Pick the path that matches what you are trying to understand right now.

New to Claude Code

Start with the architecture overview, then read context and memory so the rest of the system makes sense.

Trying to work safely

Understand where tool permissions come from, how planning differs from execution, and how agent delegation is constrained.

Optimizing real workflows

Focus on sessions, MCP, and the command surface to understand how long-running work and integrations fit together.

Related directory resources

The hub is meant to connect concepts to real tools, docs, and integrations already listed in the directory.

documentationOfficial

Claude Code Getting Started Guide

Official getting started documentation for Claude Code

Comprehensive getting started guide for Claude Code. Covers installation, configuration, basic commands, MCP setup, and best practices for new users. The essential first read for anyone starting with Claude Code.

documentation

Claude Code Best Practices

Community-driven best practices for Claude Code

Collection of best practices learned from real-world Claude Code usage. Covers CLAUDE.md optimization, effective prompting, workflow organization, and common pitfalls to avoid. Continuously updated by the community.

documentationOfficial

MCP Protocol Documentation

Complete Model Context Protocol specification

Official documentation for the Model Context Protocol (MCP). Covers the protocol specification, server implementation, tool definitions, and integration patterns. Essential reading for MCP server developers.

mcp-serversOfficial

Filesystem MCP Server

Secure file system access with configurable permissions and sandboxing

Official MCP server providing controlled filesystem access. Read, write, and manage files within specified directories. Features include path sandboxing, configurable permissions, and support for common file operations. Perfect for local development workflows.

mcp-servers

Context7 MCP Server

Real-time documentation lookup for libraries and frameworks

Community MCP server that provides up-to-date documentation for popular libraries and frameworks. Instead of relying on potentially outdated training data, fetch current documentation directly. Supports npm packages, Python libraries, and more.

integrationsOfficial

VS Code Claude Extension

Integrate Claude Code directly into VS Code

Official VS Code extension bringing Claude Code capabilities into your editor. Features include inline assistance, file context awareness, and seamless integration with VS Code's interface. Perfect for developers who prefer IDE workflows.