MCPcopy Index your code
hub / github.com/zebbern/claude-code-guide

github.com/zebbern/claude-code-guide @main sqlite

repository ↗ · DeepWiki ↗
287 symbols 839 edges 27 files 65 documented · 23%
README

Claude Code Guide

For reference and contributions, visit the official Claude Code documentation

Claude Code Status License

Section Status Other Resources
Getting Started Claude-Code Docs
Configuration & Environment Variables Claude-Code via Discord
Commands & Usage Security Agents SKILL.md
Interface & Input Let Agent Create SKILL.md
Advanced Features 954+ Agent Skills
Automation & Integration No cost ai resources
Help & Troubleshooting 250+ Mermaid templates
Third-Party Integrations Discord Communication MCP


Contents

Fast paths: Install · Commands · Config · MCP · Agents · Troubleshoot

Area Start here Also useful
Getting Started Quick Start Initial Setup, System Requirements
Configuration Environment Variables Configuration Files
Commands Slash Commands CLI Quick Reference
Interface Keyboard Shortcuts Vim Mode
Advanced Features Plan Mode, Auto Mode, MCP Sub Agents, Skills, Hooks
Security Security & Permissions Dangerous Mode, Best Practices
Automation Automation & Scripting PR Review, Issue Triage
Help Troubleshooting Best Practices, Monitoring
Third-Party Integrations DeepSeek Integration Provider Setup Examples

Full content map


Getting Started

Enable sound alerts when claude completes the task:

claude config set --global preferredNotifChannel terminal_bell

Quick Start

[!TIP] Send claude or npx claude in terminal to start the interface

Go to Help & Troubleshooting to fix issues...

# Native Installer (preferred — no Node.js required) ⭐️
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Windows
/* Via CMD (native)      */ curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd
/* Via Powershell        */ irm https://claude.ai/install.ps1 | iex
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# macOS / Linux / WSL
/* Via Terminal          */ curl -fsSL https://claude.ai/install.sh | bash
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Arch
/* Via Terminal          */ yay -S claude-code*/
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

# Alternative (npm) — useful when your environment already standardizes on Node.js
# Requires Node.js 18+
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Windows
/* Via CMD (npm)         */ npm install -g @anthropic-ai/claude-code
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# macOS
/* Via Terminal          */ brew install node && npm install -g @anthropic-ai/claude-code
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Linux
/* Via Terminal          */ sudo apt update && sudo apt install -y nodejs npm
/* Via Terminal          */ npm install -g @anthropic-ai/claude-code
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# WSL/GIT
/* Via Terminal          */ npm install -g @anthropic-ai/claude-code
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Docker
/* Windows (CMD)         */ docker run -it --rm -v "%cd%:/workspace" -e ANTHROPIC_API_KEY="sk-your-key" node:20-slim bash -lc "npm i -g @anthropic-ai/claude-code && cd /workspace && claude"
/* macOS/Linux (bash/zsh)*/ docker run -it --rm -v "$PWD:/workspace" -e ANTHROPIC_API_KEY="sk-your-key" node:20-slim bash -lc 'npm i -g @anthropic-ai/claude-code && cd /workspace && claude'
/* No bash Fallback      */ docker run -it --rm -v "$PWD:/workspace" -e ANTHROPIC_API_KEY="sk-your-key" node:20-slim sh -lc 'npm i -g @anthropic-ai/claude-code && cd /workspace && claude'
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Check if claude is installed correctly
/* Linux                 */ which claude
/* Windows               */ where claude
/* Universal             */ claude --version
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# Common Management
/*claude config          */ Configure settings
/*claude mcp list        */ Setup MCP servers, you can also replace "list" with add/remove
/*claude agents          */ Open the agent/session dashboard
/*claude update          */ Run a manual update check

[!Tip] Open Project Via Terminal Into VS Code / Cursor

$ - cd /path/to/project

$ - code .

Make sure you have the (Claude Code extension) installed in your VS Code / Cursor


System Requirements

  • OS: macOS 10.15+, Ubuntu 20.04+/Debian 10+, or Windows 10/11 or WSL

  • Hardware: 4GB RAM minimum 8GB+ recommended

  • Software: Git 2.23+ is optional for PR/worktree workflows. Node.js 18+ is only required for npm-based installation; the native installer bundles its own runtime.

  • Internet: Connection for API calls


Initial Setup

[!Tip] Find API key from Anthropic Console

Do NOT commit real keys use git-ignored files, OS key stores, or secret managers

# Universal
/* Authenticate via Anthropic account     */ claude auth login
/* Authenticate via Console/API billing   */ claude auth login --console
/* Switch accounts inside Claude          */ /login
----------------------------------------------------------------------------------------------------------------------------------
# Windows
/* Set-api-key        */ set ANTHROPIC_API_KEY=sk-your-key-here-here
/* cmd-masked-check   */ echo OK: %ANTHROPIC_API_KEY:~0,8%***
/* Set-persistent-key */ setx ANTHROPIC_API_KEY "sk-your-key-here-here"
/* cmd-unset-key      */ set ANTHROPIC_API_KEY=
----------------------------------------------------------------------------------------------------------------------------------
# Linux
/* Set-api-key        */ export ANTHROPIC_API_KEY="sk-your-key-here-here"
/* masked-check       */ echo "OK: ${ANTHROPIC_API_KEY:0:8}***"
/* remove-session     */ unset ANTHROPIC_API_KEY
----------------------------------------------------------------------------------------------------------------------------------
# Powershell
/* ps-session         */ $env:ANTHROPIC_API_KEY = "sk-your-key-here-here"
/* ps-masked-check    */ "OK: $($env:ANTHROPIC_API_KEY.Substring(0,8))***"
/* ps-persist         */ [Environment]::SetEnvironmentVariable("ANTHROPIC_API_KEY","sk-your-key-here-here","User")
/* ps-rotate          */ $env:ANTHROPIC_API_KEY = "sk-new-key"
/* ps-remove          */ Remove-Item Env:\ANTHROPIC_API_KEY
----------------------------------------------------------------------------------------------------------------------------------
# Other...
# persist-bash/*      */ echo 'export ANTHROPIC_API_KEY="sk-your-key-here-here"' >> ~/.bashrc && source ~/.bashrc
# persist-zsh /*      */ echo 'export ANTHROPIC_API_KEY="sk-your-key-here-here"' >> ~/.zshrc  && source ~/.zshrc
# persist-fish/*      */ fish -lc 'set -Ux ANTHROPIC_API_KEY sk-your-key-here-here'
----------------------------------------------------------------------------------------------------------------------------------

Configuration & Environment

Environment Variables

You can also set any of these in settings.json under the "env" key for automatic application.

[!Important] **Windows Users replace ex

Extension points exported contracts — how you extend this code

BucketConfig (Interface)
(no doc)
skills/r2-upload/src/index.ts
Config (Interface)
(no doc)
skills/r2-upload/src/index.ts

Core symbols most depended-on inside this repo

prompt
called by 16
skills/r2-upload/src/onboard.ts
_mid
called by 13
skills/code-to-diagram/scripts/analyze_codebase.py
close
called by 11
skills/database-scout/scripts/db_explorer.py
escape
called by 9
skills/timeline-builder/scripts/generate_timeline.py
parse
called by 9
skills/code-to-diagram/scripts/analyze_codebase.py
_get_color
called by 6
skills/data-viz-renderer/scripts/build_infographic.py
css_safe
called by 6
skills/timeline-builder/scripts/generate_timeline.py
_should_skip
called by 6
skills/route-to-openapi/scripts/generate_api_doc.py

Shape

Function 222
Method 49
Class 14
Interface 2

Languages

Python93%
TypeScript7%

Modules by API surface

skills/audit-flow/scripts/audit.py39 symbols
skills/database-scout/scripts/db_explorer.py26 symbols
skills/sql-insight/scripts/sql_query_helper.py24 symbols
skills/route-to-openapi/scripts/generate_api_doc.py24 symbols
skills/dataset-quality-audit/scripts/data_quality_checker.py19 symbols
skills/code-to-diagram/scripts/analyze_codebase.py19 symbols
skills/code-vuln-audit/scripts/security_scan.py15 symbols
skills/log-error-digest/scripts/analyze_logs.py14 symbols
skills/data-viz-renderer/scripts/build_infographic.py14 symbols
skills/http-load-profiler/scripts/http_benchmark.py11 symbols
skills/chart-image/scripts/chart.mjs11 symbols
skills/regression-modeler/scripts/regression_analyzer.py10 symbols

Dependencies from manifests, versioned

@aws-sdk/client-s33.699.0 · 1×
@aws-sdk/s3-request-presigner3.699.0 · 1×
@modelcontextprotocol/sdk1.0.4 · 1×
@types/js-yaml4.0.9 · 1×
@types/mime-types2.1.4 · 1×
@types/node22.10.5 · 1×
js-yaml4.1.0 · 1×
mime-types2.1.35 · 1×
sharp0.33.0 · 1×
tsx4.19.2 · 1×
typescript5.7.3 · 1×
vega5.30.0 · 1×

Datastores touched

(mysql)Database · 1 repos
(mongodb)Database · 1 repos
dbDatabase · 1 repos
myappDatabase · 1 repos
mydbDatabase · 1 repos
test_dbDatabase · 1 repos
testdbDatabase · 1 repos

For agents

$ claude mcp add claude-code-guide \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact