Claude Code Complete Guide
From setup and commands to advanced workflows, agents, skills, and pro tips — the all-in-one reference for Claude Code.
- Source repo
- zebbern/claude-code-guide
- Stars
- ★ 4.7k
- Last updated
- 1d ago
- FARS reviewed
- Nov 07, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 47/100 · Major gaps
At a glance
- How it runs
- 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
- 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
- Source review
- 47/100 · Major gaps 1 safety controls not found
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.
- 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.
- A developer wants to enforce project conventions by defining architecture and coding standards in CLAUDE.md and generating it with /init.
- 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).
- A team wants to integrate external services like Discord or GitHub via MCP servers, following the MCP section with
claude mcp add. - A developer reviews code in bulk using /code-review --comment for PR comments or /ultrareview for comprehensive cloud review.
- 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_KEYANTHROPIC_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?
- Run
claudein your project directory to start an interactive session. - On first use, run
claude auth loginto authenticate your Anthropic account, or set the ANTHROPIC_API_KEY environment variable. - Configure environment variables as needed: e.g.,
export ANTHROPIC_MODEL="sonnet"orexport CLAUDE_CODE_USE_BEDROCK=1. - Create a CLAUDE.md file with project instructions, or use /init to generate it automatically.
- Use /plan, /compact, /mcp, etc. to manage sessions.
- 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- 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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
FAQ
Is this repository a copy of the official documentation?
Do I need a paid subscription to use Claude Code?
How can I ensure my code's security?
What if I encounter MCP server connection issues?
claude mcp list for diagnosis.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.