Claude Code Complete Guide

From setup and commands to advanced workflows, agents, skills, and pro tips — the all-in-one reference for Claude Code.

Stars
★ 4.7k
Last updated
1d ago
FARS reviewed
Nov 07, 2026
License
MIT
Primary language
Python

At a glance

How it runs
CLI
Works with
Platform-specificClaude CodeClaude.ai (Partial support)
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.js 18+Git 2.23+Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A beginner setting up Claude Code for the first time can follow the Quick Start section to install and configure it on Windows, macOS, or Linux.
Not a fit if
  • Teams standardized on other AI coding agents, not Claude Code
  • Anyone without a paid Claude Pro/Max/Team/Enterprise or Console account
Maintenance
Commits in the last 30 dayslast commit 2026-12-02+1.9 ★/day over 7 days

What does this agent do, and when should you use it?

This community-maintained guide covers the full Claude Code toolchain, from installation to advanced usage. It includes native and npm install methods, environment variables and configuration files (CLAUDE.md, .claude/rules), a slash-command and CLI flag cheat sheet, keyboard shortcuts and Vim mode, MCP and Hooks integration, security and permissions settings, plus automation (PR review, issue triage) and troubleshooting. The manual uses tables and copy-paste command examples for fast lookup. It targets users of Anthropic's Claude Code CLI, helping them code more effectively in the terminal. The repository also references official docs and other ecosystem resources (e.g., Discord integration, skills collections), but contains no executable agent code itself; it relies entirely on the Anthropic Claude Code environment.

This repository is a documentation project, not runnable code, but it explains Claude Code's full workflow. It teaches how to install Claude Code via the native installer (curl scripts) or npm, how to set ANTHROPIC_API_KEY or authenticate with claude auth login, and lists every slash command (e.g., /init, /plan, /mcp, /agents, /compact) and CLI flag (e.g., -p, --output-format json, --allowedTools). It explains the four memory layers (enterprise CLAUDE.md, project CLAUDE.md, user ~/.claude/CLAUDE.md, and local CLAUDE.local.md) and their loading order, and covers MCP server configuration (claude mcp add/list) and the Hooks system. It also covers automation scenarios like using claude -p --json-schema for structured output, running background sessions with --bg, and using --auto-pr-review for PR review.

  1. A beginner setting up Claude Code for the first time can follow the Quick Start section to install and configure it on Windows, macOS, or Linux.
  2. A developer wants to enforce project conventions by defining architecture and coding standards in CLAUDE.md and generating it with /init.
  3. A security-conscious user needs to restrict Claude's file access using --allowedTools, --permission-mode plan, or a security manager (e.g., security audit policy).
  4. A team wants to integrate external services like Discord or GitHub via MCP servers, following the MCP section with claude mcp add.
  5. A developer reviews code in bulk using /code-review --comment for PR comments or /ultrareview for comprehensive cloud review.
  6. An organization standardizes development rules by modularizing them in .claude/rules/ and sharing via source control.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Environment variables
ANTHROPIC_API_KEY ANTHROPIC_MODEL
Runtime
Node.js 18+
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

This repository is documentation; no installation is needed. To use Claude Code itself, follow its installation methods:

- macOS/Linux: curl -fsSL https://claude.ai/install.sh | bash
- Windows (PowerShell): irm https://claude.ai/install.ps1 | iex

- Or via npm: npm install -g @anthropic-ai/claude-code (requires Node.js 18+).
After installing, verify with claude --version.

How do you use this agent?

  1. Run claude in your project directory to start an interactive session.
  2. On first use, run claude auth login to authenticate your Anthropic account, or set the ANTHROPIC_API_KEY environment variable.
  3. Configure environment variables as needed: e.g., export ANTHROPIC_MODEL="sonnet" or export CLAUDE_CODE_USE_BEDROCK=1.
  4. Create a CLAUDE.md file with project instructions, or use /init to generate it automatically.
  5. Use /plan, /compact, /mcp, etc. to manage sessions.
  6. Consult the Cheat Sheet and Slash Command tables in this guide for reference.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • Covers the full spectrum of Claude Code features, from installation to advanced capabilities like subagents, skills, and background tasks.
  • Provides countless copy-paste command examples, reducing trial-and-error and speeding up learning.
  • Explains environment variables and the memory hierarchy of configuration files for consistent cross-project behavior.
  • Includes MCP integration and Hooks extension mechanisms for expanding Claude Code's capabilities.
Limitations
  • Exclusively targets Claude Code, not other AI coding agents, creating strong vendor lock-in.
  • Static documentation depends on Anthropic's updates and may lag behind the latest CLI changes.
  • No actual runnable agent code; it can't be directly integrated with other systems without the official CLI.
  • Some advanced features (like Agent Teams) require extra configuration or experimental toggles and may need manual testing.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Claude Code Complete Guide This agent 47 · Major gaps CLIFree + model costs ★ 4.7k 1d ago Python Claude Code
ZCF - Zero-Config Code Flow 71 · Some gaps CLIFree + model costs ★ 6.1k 12d ago TypeScript Codex · Claude Code
AgenC Core 76 · Good CLIFree + model costs ★ 147 3d ago TypeScript —
Pilot Shell 70 · Some gaps CLIPaid ★ 2.2k 1d ago TypeScript Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
47/ 100 5-point scale 2.4 / 5
Trust 10/29
Reliability 6/14
Adaptability 9/18
Convention 11/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust10 / 29 · 1.7/5

The README gives cross-platform setup and security-practice entry points and recommends storing credentials in a key store or secret manager. The R2 upload tool explicitly exposes upload, listing, deletion, and public-link operations; attack skills also show credential extraction and lateral movement. Least privilege, confirmation, and external-effect controls are therefore only partial. The files provide no deletion recovery or upload rollback safeguards, so rollback scores 0. Official documentation links and license attribution make source attribution relatively clear.

Reliability6 / 14 · 2.1/5

The README warns that commands and model mappings change quickly and points to official references. The sync workflow retries downloads, validates content, and exits on failures; the tool also returns errors for missing configuration and files. The sample does not show systematic cross-checking among the guide, skills, and code, so consistency and dependency availability receive partial scores.

Adaptability9 / 18 · 2.5/5

The README covers beginner through advanced users, multiple operating systems, and configuration scenarios. Skill descriptions provide trigger phrases, but some security skills have broad triggers and assume access to an attack platform, credentials, and network resources. Capability boundaries and authorization prerequisites are incomplete, limiting the scores.

Convention11 / 18 · 3.1/5

The README has navigation, quick paths, installation steps, troubleshooting links, and many command examples; naming is fairly stable and the LICENSE text is complete. The sample gives limited evidence about limitations, maintenance responsibility, or a formal release-version policy. Daily upstream release-note syncing shows an update path but does not establish broader maintenance governance.

Effectiveness7 / 13 · 2.7/5

Command references, troubleshooting steps, and structured skills can support practical lookup and workflows. The scope is broad, and some penetration-testing examples include credential theft, persistence, and destructive attack operations without adequate authorization and safety boundaries, so risk and cost controls are only partial.

Verifiability4 / 8 · 2.5/5

The README links to official documentation and identifies it as authoritative; the sync workflow makes upstream changes traceable. This sample provides little independent corroboration, and some skills assert vulnerability prevalence or expected outcomes without clearly separating fact from guidance, so these criteria receive partial scores.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • Some skills provide password spraying, credential extraction, ticket forgery, persistence, and destructive attack steps; use them only in explicitly authorized, controlled environments.
  • The R2/S3 tool supports deletion and public uploads; check the target bucket, object key, public-access setting, and credential permissions before use.
Evidence confidence: Low Reviewed Nov 07, 2026 Reviewed revision 3ae17b2c765e New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/claude-code-guide.svg)](https://followagents.com/en/agents/claude-code-guide)
<a href="https://followagents.com/en/agents/claude-code-guide"><img src="https://followagents.com/badge/claude-code-guide.svg" alt="FARS review"></a>

FAQ

Is this repository a copy of the official documentation?
No, it's a community-maintained guide that consolidates official docs and community experience, not a copy, with added examples and tips.
Do I need a paid subscription to use Claude Code?
Claude Code offers free trials and subscriptions, and can also be used with API billing. It depends on your Anthropic account type; this guide doesn't cover pricing details.
How can I ensure my code's security?
Restrict tool permissions (e.g., --allowedTools), use plan mode to preview changes, and follow security best practices like never committing real API keys.
What if I encounter MCP server connection issues?
Consult the Troubleshooting section; typically check MCP_TIMEOUT and network config, or use claude mcp list for diagnosis.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts