
Claude Code Memory: CLAUDE.md and Persistent Context
Claude Code stores context in CLAUDE.md files and an auto-memory system. Here's the mental model and practical patterns for keeping it clean and useful across sessions.
tags
Click a filter to scope results to what I've built or knowledge hub.

Claude Code stores context in CLAUDE.md files and an auto-memory system. Here's the mental model and practical patterns for keeping it clean and useful across sessions.

MCP servers plug external tools into Claude Code — query your database, search Notion, browse Linear, control a browser. Here's how to add and configure them.

Claude Code subagents are independent AI workers for scoped tasks like search, planning, and security review. Here's when to use them and how to author your own.

Hooks in Claude Code fire shell commands at lifecycle events — before tool runs, after edits, on session start. The escape hatch for linting, formatting, and gating risky actions.

Claude Code is keyboard-first — the built-in shortcuts let you interrupt agents, paste multi-line prompts, scroll diffs, and switch modes. Full cheat sheet.

Slash commands are Claude Code's direct control surface for session state, memory management, and custom workflows. Full built-in reference plus how to author your own.

Claude Code is Anthropic's agentic CLI that reads your repo, edits files, and runs tests from the terminal. This guide covers installation, setup, and your first session.