Claude Code — AI Coding Agent

Complete guide to Claude Code, Anthropic's terminal-based AI coding agent. Covers installation, prompt engineering, configuration, CLAUDE.md patterns, and best practices.

claude-codeanthropicai-codingterminal-agentsetup

Claude Code — AI Coding Agent

Claude Code — AI Coding Agent

Claude Code is Anthropic's terminal-based AI coding agent. It reads your codebase, writes and edits files, runs terminal commands, and can autonomously complete multi-step engineering tasks.

  • Getting Started — Install, configure, and begin your first session
  • Prompt Engineering — Write effective prompts, master CLAUDE.md conventions, and use extended thinking
  • Configuration Reference — Complete reference for CLAUDE.md, hooks, and project settings
  • Patterns — Cross-tool workflows: driving Gemini with Ralph loops, using hooks with DeepSeek API
  • Tutorials — Cost optimization: cut Claude Code costs 70-95% with hook scripts, task routing, and model selection

Quick Start

npm install -g @anthropic-ai/claude-code
claude

Key Features

  • Extended thinking — Chain-of-thought reasoning for complex multi-step tasks
  • CLAUDE.md — Project-specific instructions and conventions
  • Hook scripts — Automate pre/post-command actions
  • MCP support — Full Model Context Protocol integration
  • Pricing — Pay-per-token via Anthropic API