Overview

Claude Code is Anthropic’s official command-line interface1 that brings Claude directly into the terminal as an agentic coding assistant. Unlike the web-based Claude chat, Claude Code operates within your local development environment — it can read and edit files, run shell commands, search codebases, interact with git, and manage complex multi-step engineering tasks autonomously.

Key Findings

  • Claude Code uses an agentic loop architecture2: the model receives context, decides which tools to invoke, observes results, and iterates until the task is complete.
  • A sophisticated permissions model gives users fine-grained control over what actions Claude can take automatically vs. requiring approval.
  • CLAUDE.md files provide persistent, project-scoped memory and instructions that survive across sessions.
  • MCP (Model Context Protocol)3 integration allows Claude Code to connect to arbitrary external tools and data sources.
  • Hooks enable users to inject custom shell commands at specific points in the agentic loop (before/after tool use, on session start, etc.).
  • Supports headless/CI mode4 for non-interactive use in pipelines and automation.

Footnotes

References

Contents

FileDescription
architectureAgentic loop, tool system, and context management
featuresCore features: slash commands, memory, permissions
configurationSettings, CLAUDE.md, hooks, and MCP servers
workflowsCommon usage patterns and best practices
sdk-and-automationClaude Code SDK, headless mode, and CI integration

Footnotes

  1. Claude Code Documentation

  2. Claude Code GitHub

  3. Model Context Protocol

  4. Claude Code SDK (npm)

5 items under this folder.