Files
Mike Swanson 75ce1c2fd5 feat: Add Sequential Thinking to Code Review + Frontend Validation
Enhanced code review and frontend validation with intelligent triggers:

Code Review Agent Enhancement:
- Added Sequential Thinking MCP integration for complex issues
- Triggers on 2+ rejections or 3+ critical issues
- New escalation format with root cause analysis
- Comprehensive solution strategies with trade-off evaluation
- Educational feedback to break rejection cycles
- Files: .claude/agents/code-review.md (+308 lines)
- Docs: CODE_REVIEW_ST_ENHANCEMENT.md, CODE_REVIEW_ST_TESTING.md

Frontend Design Skill Enhancement:
- Automatic invocation for ANY UI change
- Comprehensive validation checklist (200+ checkpoints)
- 8 validation categories (visual, interactive, responsive, a11y, etc.)
- 3 validation levels (quick, standard, comprehensive)
- Integration with code review workflow
- Files: .claude/skills/frontend-design/SKILL.md (+120 lines)
- Docs: UI_VALIDATION_CHECKLIST.md (462 lines), AUTOMATIC_VALIDATION_ENHANCEMENT.md (587 lines)

Settings Optimization:
- Repaired .claude/settings.local.json (fixed m365 pattern)
- Reduced permissions from 49 to 33 (33% reduction)
- Removed duplicates, sorted alphabetically
- Created SETTINGS_PERMISSIONS.md documentation

Checkpoint Command Enhancement:
- Dual checkpoint system (git + database)
- Saves session context to API for cross-machine recall
- Includes git metadata in database context
- Files: .claude/commands/checkpoint.md (+139 lines)

Decision Rationale:
- Sequential Thinking MCP breaks rejection cycles by identifying root causes
- Automatic frontend validation catches UI issues before code review
- Dual checkpoints enable complete project memory across machines
- Settings optimization improves maintainability

Total: 1,200+ lines of documentation and enhancements

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-17 16:23:52 -07:00

12 lines
121 KiB
JSON

{"parentUuid":null,"isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","type":"user","message":{"role":"user","content":"Does Claude Code (the CLI tool) have any limits on CPU, GPU, or memory usage? Are there any resource constraints or limits documented for how Claude Code operates on the local machine?"},"uuid":"605acc3d-4b2a-465f-aa09-2f31987d5111","timestamp":"2026-01-11T16:45:42.100Z"}
{"parentUuid":"605acc3d-4b2a-465f-aa09-2f31987d5111","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","message":{"model":"claude-haiku-4-5-20251001","id":"msg_016pzWVZe51j7EZuqHkvEXJq","type":"message","role":"assistant","content":[{"type":"text","text":"Let me fetch the Claude Code documentation to check for any documented resource constraints."}],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":7376,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":7376,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}},"requestId":"req_011CX1vqR6hiMcEjobGRHgdW","type":"assistant","uuid":"9bb5d5cb-c13e-42bc-9ec4-5fdc456dea99","timestamp":"2026-01-11T16:45:43.704Z"}
{"parentUuid":"9bb5d5cb-c13e-42bc-9ec4-5fdc456dea99","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","message":{"model":"claude-haiku-4-5-20251001","id":"msg_016pzWVZe51j7EZuqHkvEXJq","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_012PSGxm4NK97jTb8sA3NEJJ","name":"WebFetch","input":{"url":"https://code.claude.com/docs/en/claude_code_docs_map.md","prompt":"What are the CPU, GPU, or memory usage limits and resource constraints for Claude Code?"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":3,"cache_creation_input_tokens":7376,"cache_read_input_tokens":0,"cache_creation":{"ephemeral_5m_input_tokens":7376,"ephemeral_1h_input_tokens":0},"output_tokens":123,"service_tier":"standard"}},"requestId":"req_011CX1vqR6hiMcEjobGRHgdW","type":"assistant","uuid":"f2ab57e4-92c2-4215-9653-444846af87fc","timestamp":"2026-01-11T16:45:44.294Z"}
{"parentUuid":"f2ab57e4-92c2-4215-9653-444846af87fc","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","type":"user","message":{"role":"user","content":[{"tool_use_id":"toolu_012PSGxm4NK97jTb8sA3NEJJ","type":"tool_result","content":"# null\n\n# Claude Code Documentation Map\n\nThis is a comprehensive map of all Claude Code documentation pages with their headings, designed for easy navigation by LLMs.\n\n> **Note:** This file is auto-generated by GitHub Actions. Do not edit manually.\n> Last updated: 2026-01-10 23:15:24 UTC\n\n## Document Structure\n\nThis map uses a hierarchical structure:\n\n* **##** marks documentation groups (e.g., 'Getting started')\n* **###** marks individual documentation pages\n* **Nested bullets** show the heading structure within each page\n* Each page title links to the full documentation\n\n## Getting started\n\n### [overview](https://code.claude.com/docs/en/overview.md)\n\n* Get started in 30 seconds\n* What Claude Code does for you\n* Why developers love Claude Code\n* Next steps\n* Additional resources\n\n### [quickstart](https://code.claude.com/docs/en/quickstart.md)\n\n* Before you begin\n* Step 1: Install Claude Code\n* Step 2: Log in to your account\n* Step 3: Start your first session\n* Step 4: Ask your first question\n* Step 5: Make your first code change\n* Step 6: Use Git with Claude Code\n* Step 7: Fix a bug or add a feature\n* Step 8: Test out other common workflows\n* Essential commands\n* Pro tips for beginners\n* What's next?\n* Getting help\n\n### [common-workflows](https://code.claude.com/docs/en/common-workflows.md)\n\n* Understand new codebases\n * Get a quick codebase overview\n * Find relevant code\n* Fix bugs efficiently\n* Refactor code\n* Use specialized subagents\n* Use Plan Mode for safe code analysis\n * When to use Plan Mode\n * How to use Plan Mode\n * Example: Planning a complex refactor\n * Configure Plan Mode as default\n* Work with tests\n* Create pull requests\n* Handle documentation\n* Work with images\n* Reference files and directories\n* Use extended thinking (thinking mode)\n * Per-request thinking with `ultrathink`\n * How extended thinking token budgets work\n* Resume previous conversations\n * Name your sessions\n * Use the session picker\n* Run parallel Claude Code sessions with Git worktrees\n* Use Claude as a unix-style utility\n * Add Claude to your verification process\n * Pipe in, pipe out\n * Control output format\n* Create custom slash commands\n * Create project-specific commands\n * Add command arguments with \\$ARGUMENTS\n * Create personal slash commands\n* Ask Claude about its capabilities\n * Example questions\n* Next steps\n\n### [changelog](https://code.claude.com/docs/en/changelog.md)\n\n* (No headings found)\n\n## Outside of the terminal\n\n### [claude-code-on-the-web](https://code.claude.com/docs/en/claude-code-on-the-web.md)\n\n* What is Claude Code on the web?\n* Who can use Claude Code on the web?\n* Getting started\n* How it works\n* Moving tasks between web and terminal\n * From terminal to web\n * Tips for background tasks\n * From web to terminal\n * Requirements for teleporting\n* Cloud environment\n * Default image\n * Checking available tools\n * Language-specific setups\n * Databases\n * Environment configuration\n * Dependency management\n * Local vs remote execution\n * Persisting environment variables\n* Network access and security\n * Network policy\n * GitHub proxy\n * Security proxy\n * Access levels\n * Default allowed domains\n * Anthropic Services\n * Version Control\n * Container Registries\n * Cloud Platforms\n * Package Managers - JavaScript/Node\n * Package Managers - Python\n * Package Managers - Ruby\n * Package Managers - Rust\n * Package Managers - Go\n * Package Managers - JVM\n * Package Managers - Other Languages\n * Linux Distributions\n * Development Tools & Platforms\n * Cloud Services & Monitoring\n * Content Delivery & Mirrors\n * Schema & Configuration\n * Security best practices for customized network access\n* Security and isolation\n* Pricing and rate limits\n* Limitations\n* Best practices\n* Related resources\n\n### [desktop](https://code.claude.com/docs/en/desktop.md)\n\n* Claude Code on desktop (Preview)\n* Features\n* Installation\n* Using Git worktrees\n * Copying files ignored with `.gitignore`\n * Launch Claude Code on the web\n* Bundled Claude Code version\n* Environment configuration\n * Custom environment variables\n* Enterprise configuration\n* Related resources\n\n### [chrome](https://code.claude.com/docs/en/chrome.md)\n\n* What the integration enables\n* Prerequisites\n* How the integration works\n* Set up the integration\n* Try it out\n* Example workflows\n * Test a local web application\n * Debug with console logs\n * Automate form filling\n * Draft content in Google Docs\n * Extract data from web pages\n * Run multi-site workflows\n * Record a demo GIF\n* Best practices\n* Troubleshooting\n * Extension not detected\n * Browser not responding\n * First-time setup\n* Enable by default\n* See also\n\n### [vs-code](https://code.claude.com/docs/en/vs-code.md)\n\n* Prerequisites\n* Install the extension\n* Get started\n* Customize your workflow\n * Change the layout\n * Switch to terminal mode\n* VS Code commands and shortcuts\n* Configure settings\n* Use third-party providers\n* VS Code extension vs. Claude Code CLI\n * Run CLI in VS Code\n * Switch between extension and CLI\n* Security considerations\n* Fix common issues\n * Extension won't install\n * Spark icon not visible\n * Claude Code never responds\n * Standalone CLI not connecting to IDE\n* Uninstall the extension\n* Next steps\n\n### [jetbrains](https://code.claude.com/docs/en/jetbrains.md)\n\n* Supported IDEs\n* Features\n* Installation\n * Marketplace Installation\n* Usage\n * From Your IDE\n * From External Terminals\n* Configuration\n * Claude Code Settings\n * Plugin Settings\n * General Settings\n * ESC Key Configuration\n* Special Configurations\n * Remote Development\n * WSL Configuration\n* Troubleshooting\n * Plugin Not Working\n * IDE Not Detected\n * Command Not Found\n* Security Considerations\n\n### [github-actions](https://code.claude.com/docs/en/github-actions.md)\n\n* Why use Claude Code GitHub Actions?\n* What can Claude do?\n * Claude Code Action\n* Setup\n* Quick setup\n* Manual setup\n* Upgrading from Beta\n * Essential changes\n * Breaking Changes Reference\n * Before and After Example\n* Example use cases\n * Basic workflow\n * Using slash commands\n * Custom automation with prompts\n * Common use cases\n* Best practices\n * CLAUDE.md configuration\n * Security considerations\n * Optimizing performance\n * CI costs\n* Configuration examples\n* Using with AWS Bedrock & Google Vertex AI\n * Prerequisites\n * For Google Cloud Vertex AI:\n * For AWS Bedrock:\n* Troubleshooting\n * Claude not responding to @claude commands\n * CI not running on Claude's commits\n * Authentication errors\n* Advanced configuration\n * Action parameters\n * Pass CLI arguments\n * Alternative integration methods\n * Customizing Claude's behavior\n\n### [gitlab-ci-cd](https://code.claude.com/docs/en/gitlab-ci-cd.md)\n\n* Why use Claude Code with GitLab?\n* How it works\n* What can Claude do?\n* Setup\n * Quick setup\n * Manual setup (recommended for production)\n* Example use cases\n * Turn issues into MRs\n * Get implementation help\n * Fix bugs quickly\n* Using with AWS Bedrock & Google Vertex AI\n* Configuration examples\n * Basic .gitlab-ci.yml (Claude API)\n * AWS Bedrock job example (OIDC)\n * Google Vertex AI job example (Workload Identity Federation)\n* Best practices\n * CLAUDE.md configuration\n * Security considerations\n * Optimizing performance\n * CI costs\n* Security and governance\n* Troubleshooting\n * Claude not responding to @claude commands\n * Job can't write comments or open MRs\n * Authentication errors\n* Advanced configuration\n * Common parameters and variables\n * Customizing Claude's behavior\n\n### [slack](https://code.claude.com/docs/en/slack.md)\n\n* Use cases\n* Prerequisites\n* Setting up Claude Code in Slack\n* How it works\n * Automatic detection\n * Context gathering\n * Session flow\n* User interface elements\n * App Home\n * Message actions\n * Repository selection\n* Access and permissions\n * User-level access\n * Workspace admin permissions\n* What's accessible where\n* Best practices\n * Writing effective requests\n * When to use Slack vs. web\n* Troubleshooting\n * Sessions not starting\n * Repository not showing\n * Wrong repository selected\n * Authentication errors\n * Session expiration\n* Current limitations\n* Related resources\n\n## Build with Claude Code\n\n### [sub-agents](https://code.claude.com/docs/en/sub-agents.md)\n\n* Built-in subagents\n* Quickstart: create your first subagent\n* Configure subagents\n * Use the /agents command\n * Choose the subagent scope\n * Write subagent files\n * Supported frontmatter fields\n * Choose a model\n * Control subagent capabilities\n * Available tools\n * Permission modes\n * Conditional rules with hooks\n * Disable specific subagents\n * Define hooks for subagents\n * Hooks in subagent frontmatter\n * Project-level hooks for subagent events\n* Work with subagents\n * Understand automatic delegation\n * Run subagents in foreground or background\n * Common patterns\n * Isolate high-volume operations\n * Run parallel research\n * Chain subagents\n * Choose between subagents and main conversation\n * Manage subagent context\n * Resume subagents\n * Auto-compaction\n* Example subagents\n * Code reviewer\n * Debugger\n * Data scientist\n * Database query validator\n* Next steps\n\n### [plugins](https://code.claude.com/docs/en/plugins.md)\n\n* When to use plugins vs standalone configuration\n* Quickstart\n * Prerequisites\n * Create your first plugin\n* Hello Command\n* Hello Command\n * Plugin structure overview\n * Develop more complex plugins\n * Add Skills to your plugin\n * Add LSP servers to your plugin\n * Organize complex plugins\n * Test your plugins locally\n * Debug plugin issues\n * Share your plugins\n * Convert existing configurations to plugins\n * Migration steps\n * What changes when migrating\n * Next steps\n * For plugin users\n * For plugin developers\n\n### [discover-plugins](https://code.claude.com/docs/en/discover-plugins.md)\n\n* How marketplaces work\n* Official Anthropic marketplace\n * Code intelligence\n * External integrations\n * Development workflows\n * Output styles\n* Try it: add the demo marketplace\n* Add marketplaces\n * Add from GitHub\n * Add from other Git hosts\n * Add from local paths\n* Install plugins\n* Manage installed plugins\n* Manage marketplaces\n * Use the interactive interface\n * Use CLI commands\n * Configure auto-updates\n* Configure team marketplaces\n* Troubleshooting\n * /plugin command not recognized\n * Common issues\n* Next steps\n\n### [skills](https://code.claude.com/docs/en/skills.md)\n\n* Create your first Skill\n* How Skills work\n * Where Skills live\n * When to use Skills versus other options\n* Configure Skills\n * Write SKILL.md\n * Available metadata fields\n * Update or delete a Skill\n * Add supporting files with progressive disclosure\n * Example: multi-file Skill structure\n * Restrict tool access with allowed-tools\n * Run Skills in a forked context\n * Define hooks for Skills\n * Control Skill visibility\n * When to use each setting\n * Example: model-only Skill\n * Skills and subagents\n * Give a subagent access to Skills\n * Run a Skill in a subagent context\n * Distribute Skills\n* Examples\n * Simple Skill (single file)\n * Use multiple files\n* Troubleshooting\n * View and test Skills\n * Skill not triggering\n * Skill doesn't load\n * Skill has errors\n * Multiple Skills conflict\n * Plugin Skills not appearing\n* Next steps\n\n### [output-styles](https://code.claude.com/docs/en/output-styles.md)\n\n* Built-in output styles\n* How output styles work\n* Change your output style\n* Create a custom output style\n * Frontmatter\n* Comparisons to related features\n * Output Styles vs. CLAUDE.md vs. --append-system-prompt\n * Output Styles vs. [Agents](/en/sub-agents)\n * Output Styles vs. [Custom Slash Commands](/en/slash-commands)\n\n### [hooks-guide](https://code.claude.com/docs/en/hooks-guide.md)\n\n* Hook Events Overview\n* Quickstart\n * Prerequisites\n * Step 1: Open hooks configuration\n * Step 2: Add a matcher\n * Step 3: Add the hook\n * Step 4: Save your configuration\n * Step 5: Verify your hook\n * Step 6: Test your hook\n* More Examples\n * Code Formatting Hook\n * Markdown Formatting Hook\n * Custom Notification Hook\n * File Protection Hook\n* Learn more\n\n### [headless](https://code.claude.com/docs/en/headless.md)\n\n* Basic usage\n* Examples\n * Get structured output\n * Auto-approve tools\n * Create a commit\n * Customize the system prompt\n * Continue conversations\n* Next steps\n\n### [mcp](https://code.claude.com/docs/en/mcp.md)\n\n* What you can do with MCP\n* Popular MCP servers\n* Installing MCP servers\n * Option 1: Add a remote HTTP server\n * Option 2: Add a remote SSE server\n * Option 3: Add a local stdio server\n * Managing your servers\n * Dynamic tool updates\n * Plugin-provided MCP servers\n* MCP installation scopes\n * Local scope\n * Project scope\n * User scope\n * Choosing the right scope\n * Scope hierarchy and precedence\n * Environment variable expansion in `.mcp.json`\n* Practical examples\n * Example: Monitor errors with Sentry\n * Example: Connect to GitHub for code reviews\n * Example: Query your PostgreSQL database\n* Authenticate with remote MCP servers\n* Add MCP servers from JSON configuration\n* Import MCP servers from Claude Desktop\n* Use Claude Code as an MCP server\n* MCP output limits and warnings\n* Use MCP resources\n * Reference MCP resources\n* Use MCP prompts as slash commands\n * Execute MCP prompts\n* Managed MCP configuration\n * Option 1: Exclusive control with managed-mcp.json\n * Option 2: Policy-based control with allowlists and denylists\n * Restriction options\n * Example configuration\n * How command-based restrictions work\n * How URL-based restrictions work\n * Allowlist behavior (`allowedMcpServers`)\n * Denylist behavior (`deniedMcpServers`)\n * Important notes\n\n### [troubleshooting](https://code.claude.com/docs/en/troubleshooting.md)\n\n* Common installation issues\n * Windows installation issues: errors in WSL\n * Linux and Mac installation issues: permission or command not found errors\n * Recommended solution: Native Claude Code installation\n * Windows: \"Claude Code on Windows requires git-bash\"\n * Windows: \"installMethod is native, but claude command not found\"\n* Permissions and authentication\n * Repeated permission prompts\n * Authentication issues\n* Configuration file locations\n * Resetting configuration\n* Performance and stability\n * High CPU or memory usage\n * Command hangs or freezes\n * Search and discovery issues\n * Slow or incomplete search results on WSL\n* IDE integration issues\n * JetBrains IDE not detected on WSL2\n * WSL2 networking modes\n * Reporting Windows IDE integration issues (both native and WSL)\n * Escape key not working in JetBrains (IntelliJ, PyCharm, etc.) terminals\n* Markdown formatting issues\n * Missing language tags in code blocks\n * Inconsistent spacing and formatting\n * Best practices for markdown generation\n* Getting more help\n\n## Deployment\n\n### [third-party-integrations](https://code.claude.com/docs/en/third-party-integrations.md)\n\n* Compare deployment options\n* Configure proxies and gateways\n * Amazon Bedrock\n * Microsoft Foundry\n * Google Vertex AI\n* Best practices for organizations\n * Invest in documentation and memory\n * Simplify deployment\n * Start with guided usage\n * Configure security policies\n * Leverage MCP for integrations\n* Next steps\n\n### [amazon-bedrock](https://code.claude.com/docs/en/amazon-bedrock.md)\n\n* Prerequisites\n* Setup\n * 1. Submit use case details\n * 2. Configure AWS credentials\n * Advanced credential configuration\n * Example configuration\n * Configuration settings explained\n * 3. Configure Claude Code\n * 4. Model configuration\n * 5. Output token configuration\n* IAM configuration\n* Troubleshooting\n* Additional resources\n\n### [google-vertex-ai](https://code.claude.com/docs/en/google-vertex-ai.md)\n\n* Prerequisites\n* Region Configuration\n* Setup\n * 1. Enable Vertex AI API\n * 2. Request model access\n * 3. Configure GCP credentials\n * 4. Configure Claude Code\n * 5. Model configuration\n* IAM configuration\n* 1M token context window\n* Troubleshooting\n* Additional resources\n\n### [microsoft-foundry](https://code.claude.com/docs/en/microsoft-foundry.md)\n\n* Prerequisites\n* Setup\n * 1. Provision Microsoft Foundry resource\n * 2. Configure Azure credentials\n * 3. Configure Claude Code\n* Azure RBAC configuration\n* Troubleshooting\n* Additional resources\n\n### [network-config](https://code.claude.com/docs/en/network-config.md)\n\n* Proxy configuration\n * Environment variables\n * Basic authentication\n* Custom CA certificates\n* mTLS authentication\n* Network access requirements\n* Additional resources\n\n### [llm-gateway](https://code.claude.com/docs/en/llm-gateway.md)\n\n* Gateway requirements\n* Configuration\n * Model selection\n* LiteLLM configuration\n * Prerequisites\n * Basic LiteLLM setup\n * Authentication methods\n * Static API key\n * Dynamic API key with helper\n * Unified endpoint (recommended)\n * Provider-specific pass-through endpoints (alternative)\n * Claude API through LiteLLM\n * Amazon Bedrock through LiteLLM\n * Google Vertex AI through LiteLLM\n* Additional resources\n\n### [devcontainer](https://code.claude.com/docs/en/devcontainer.md)\n\n* Key features\n* Getting started in 4 steps\n* Configuration breakdown\n* Security features\n* Customization options\n* Example use cases\n * Secure client work\n * Team onboarding\n * Consistent CI/CD environments\n* Related resources\n\n### [sandboxing](https://code.claude.com/docs/en/sandboxing.md)\n\n* Overview\n* Why sandboxing matters\n* How it works\n * Filesystem isolation\n * Network isolation\n * OS-level enforcement\n* Getting started\n * Enable sandboxing\n * Sandbox modes\n * Configure sandboxing\n* Security benefits\n * Protection against prompt injection\n * Reduced attack surface\n * Transparent operation\n* Security Limitations\n* Advanced usage\n * Custom proxy configuration\n * Integration with existing security tools\n* Best practices\n* Open source\n* Limitations\n* See also\n\n## Administration\n\n### [setup](https://code.claude.com/docs/en/setup.md)\n\n* System requirements\n * Additional dependencies\n* Standard installation\n* Windows setup\n* Alternative installation methods\n * Native installation options\n * NPM installation\n* Authentication options\n * For individuals\n * For teams and organizations\n* Running on AWS or GCP\n* Update Claude Code\n * Auto updates\n * Update manually\n* Uninstall Claude Code\n * Native installation\n * Homebrew installation\n * NPM installation\n * Clean up configuration files (optional)\n\n### [iam](https://code.claude.com/docs/en/iam.md)\n\n* Authentication methods\n * Claude for Teams or Enterprise (recommended)\n * Claude Console authentication\n * Cloud provider authentication\n* Access control and permissions\n * Permission system\n * Configuring permissions\n * Permission modes\n * Working directories\n * Tool-specific permission rules\n * Additional permission control with hooks\n * Managed settings\n * Settings precedence\n* Credential management\n\n### [security](https://code.claude.com/docs/en/security.md)\n\n* How we approach security\n * Security foundation\n * Permission-based architecture\n * Built-in protections\n * User responsibility\n* Protect against prompt injection\n * Core protections\n * Privacy safeguards\n * Additional safeguards\n* MCP security\n* IDE security\n* Cloud execution security\n* Security best practices\n * Working with sensitive code\n * Team security\n * Reporting security issues\n* Related resources\n\n### [data-usage](https://code.claude.com/docs/en/data-usage.md)\n\n* Data policies\n * Data training policy\n * Development Partner Program\n * Feedback using the `/bug` command\n * Session quality surveys\n * Data retention\n* Data access\n* Local Claude Code: Data flow and dependencies\n * Cloud execution: Data flow and dependencies\n* Telemetry services\n* Default behaviors by API provider\n\n### [monitoring-usage](https://code.claude.com/docs/en/monitoring-usage.md)\n\n* Quick start\n* Administrator configuration\n* Configuration details\n * Common configuration variables\n * Metrics cardinality control\n * Dynamic headers\n * Settings configuration\n * Script requirements\n * Refresh behavior\n * Multi-team organization support\n * Example configurations\n* Available metrics and events\n * Standard attributes\n * Metrics\n * Metric details\n * Session counter\n * Lines of code counter\n * Pull request counter\n * Commit counter\n * Cost counter\n * Token counter\n * Code edit tool decision counter\n * Active time counter\n * Events\n * User prompt event\n * Tool result event\n * API request event\n * API error event\n * Tool decision event\n* Interpreting metrics and events data\n * Usage monitoring\n * Cost monitoring\n * Alerting and segmentation\n * Event analysis\n* Backend considerations\n * For metrics\n * For events/logs\n* Service information\n* ROI measurement resources\n* Security/privacy considerations\n* Monitoring Claude Code on Amazon Bedrock\n\n### [costs](https://code.claude.com/docs/en/costs.md)\n\n* Track your costs\n * Using the `/cost` command\n * Additional tracking options\n* Managing costs for teams\n * Rate limit recommendations\n* Reduce token usage\n* Background token usage\n* Tracking version changes and updates\n * Current version information\n * Understanding changes in Claude Code behavior\n * When cost reporting changes\n\n### [analytics](https://code.claude.com/docs/en/analytics.md)\n\n* Access analytics\n * Required roles\n* Available metrics\n * Lines of code accepted\n * Suggestion accept rate\n * Activity\n * Spend\n * Team insights\n* Using analytics effectively\n * Monitor adoption\n * Measure productivity\n* Related resources\n\n### [plugin-marketplaces](https://code.claude.com/docs/en/plugin-marketplaces.md)\n\n* Overview\n* Walkthrough: create a local marketplace\n* Create the marketplace file\n* Marketplace schema\n * Required fields\n * Owner fields\n * Optional metadata\n* Plugin entries\n * Required fields\n * Optional plugin fields\n* Plugin sources\n * Relative paths\n * GitHub repositories\n * Git repositories\n * Advanced plugin entries\n* Host and distribute marketplaces\n * Host on GitHub (recommended)\n * Host on other git services\n * Test locally before distribution\n * Require marketplaces for your team\n * Managed marketplace restrictions\n * Common configurations\n * How restrictions work\n* Validation and testing\n* Troubleshooting\n * Marketplace not loading\n * Marketplace validation errors\n * Plugin installation failures\n * Files not found after installation\n* See also\n\n## Configuration\n\n### [settings](https://code.claude.com/docs/en/settings.md)\n\n* Configuration scopes\n * Available scopes\n * When to use each scope\n * How scopes interact\n * What uses scopes\n* Settings files\n * Available settings\n * Permission settings\n * Sandbox settings\n * Attribution settings\n * File suggestion settings\n * Hook configuration\n * Settings precedence\n * Key points about the configuration system\n * System prompt\n * Excluding sensitive files\n* Subagent configuration\n* Plugin configuration\n * Plugin settings\n * `enabledPlugins`\n * `extraKnownMarketplaces`\n * `strictKnownMarketplaces`\n * Managing plugins\n* Environment variables\n* Tools available to Claude\n * Bash tool behavior\n * Extending tools with hooks\n* See also\n\n### [terminal-config](https://code.claude.com/docs/en/terminal-config.md)\n\n* Themes and appearance\n* Line breaks\n* Notification setup\n * iTerm 2 system notifications\n * Custom notification hooks\n* Handling large inputs\n* Vim Mode\n\n### [model-config](https://code.claude.com/docs/en/model-config.md)\n\n* Available models\n * Model aliases\n * Setting your model\n* Special model behavior\n * `default` model setting\n * `opusplan` model setting\n * Extended context with \\[1m]\n* Checking your current model\n* Environment variables\n * Prompt caching configuration\n\n### [memory](https://code.claude.com/docs/en/memory.md)\n\n* Determine memory type\n* CLAUDE.md imports\n* How Claude looks up memories\n* Directly edit memories with `/memory`\n* Set up project memory\n* Modular rules with `.claude/rules/`\n * Basic structure\n * Path-specific rules\n * Glob patterns\n * Subdirectories\n * Symlinks\n * User-level rules\n* Organization-level memory management\n* Memory best practices\n\n### [statusline](https://code.claude.com/docs/en/statusline.md)\n\n* Create a custom status line\n* How it Works\n* JSON Input Structure\n* Example Scripts\n * Simple Status Line\n * Git-Aware Status Line\n * Python Example\n * Node.js Example\n * Helper Function Approach\n * Context Window Usage\n* Tips\n* Troubleshooting\n\n## Reference\n\n### [cli-reference](https://code.claude.com/docs/en/cli-reference.md)\n\n* CLI commands\n* CLI flags\n * Agents flag format\n * System prompt flags\n* See also\n\n### [interactive-mode](https://code.claude.com/docs/en/interactive-mode.md)\n\n* Keyboard shortcuts\n * General controls\n * Text editing\n * Theme and display\n * Multiline input\n * Quick commands\n* Vim editor mode\n * Mode switching\n * Navigation (NORMAL mode)\n * Editing (NORMAL mode)\n * Text objects (NORMAL mode)\n* Command history\n * Reverse search with Ctrl+R\n* Background bash commands\n * How backgrounding works\n * Bash mode with `!` prefix\n* See also\n\n### [slash-commands](https://code.claude.com/docs/en/slash-commands.md)\n\n* Built-in slash commands\n* Custom slash commands\n * Syntax\n * Parameters\n * Command types\n * Project commands\n * Personal commands\n * Features\n * Namespacing\n * Arguments\n * All arguments with `$ARGUMENTS`\n * Individual arguments with `$1`, `$2`, etc.\n * Bash command execution\n * File references\n * Thinking mode\n * Frontmatter\n * Define hooks for commands\n* Plugin commands\n * How plugin commands work\n * Plugin command structure\n * Invocation patterns\n* MCP slash commands\n * Command format\n * Features\n * Dynamic discovery\n * Arguments\n * Naming conventions\n * Managing MCP connections\n * MCP permissions and wildcards\n* `Skill` tool\n * What the `Skill` tool can invoke\n * Encourage Claude to use specific commands\n * Disable the `Skill` tool\n * Disable specific commands or Skills\n * `Skill` permission rules\n * Character budget limit\n* Skills vs slash commands\n * Use slash commands for\n * Use Skills for\n * Key differences\n * Example comparison\n * When to use each\n* See also\n\n### [checkpointing](https://code.claude.com/docs/en/checkpointing.md)\n\n* How checkpoints work\n * Automatic tracking\n * Rewinding changes\n* Common use cases\n* Limitations\n * Bash command changes not tracked\n * External changes not tracked\n * Not a replacement for version control\n* See also\n\n### [hooks](https://code.claude.com/docs/en/hooks.md)\n\n* Configuration\n * Structure\n * Project-Specific Hook Scripts\n * Plugin hooks\n * Hooks in Skills, Agents, and Slash Commands\n* Prompt-Based Hooks\n * How prompt-based hooks work\n * Configuration\n * Response schema\n * Supported hook events\n * Example: Intelligent Stop hook\n * Example: SubagentStop with custom logic\n * Comparison with bash command hooks\n * Best practices\n* Hook Events\n * PreToolUse\n * PermissionRequest\n * PostToolUse\n * Notification\n * UserPromptSubmit\n * Stop\n * SubagentStop\n * PreCompact\n * SessionStart\n * Persisting environment variables\n * SessionEnd\n* Hook Input\n * PreToolUse Input\n * Bash tool\n * Write tool\n * Edit tool\n * Read tool\n * PostToolUse Input\n * Notification Input\n * UserPromptSubmit Input\n * Stop and SubagentStop Input\n * PreCompact Input\n * SessionStart Input\n * SessionEnd Input\n* Hook Output\n * Simple: Exit Code\n * Exit Code 2 Behavior\n * Advanced: JSON Output\n * Common JSON Fields\n * `PreToolUse` Decision Control\n * `PermissionRequest` Decision Control\n * `PostToolUse` Decision Control\n * `UserPromptSubmit` Decision Control\n * `Stop`/`SubagentStop` Decision Control\n * `SessionStart` Decision Control\n * `SessionEnd` Decision Control\n * Exit Code Example: Bash Command Validation\n * JSON Output Example: UserPromptSubmit to Add Context and Validation\n * JSON Output Example: PreToolUse with Approval\n* Working with MCP Tools\n * MCP Tool Naming\n * Configuring Hooks for MCP Tools\n* Examples\n* Security Considerations\n * Disclaimer\n * Security Best Practices\n * Configuration Safety\n* Hook Execution Details\n* Debugging\n * Basic Troubleshooting\n * Advanced Debugging\n * Debug Output Example\n\n### [plugins-reference](https://code.claude.com/docs/en/plugins-reference.md)\n\n* Plugin components reference\n * Commands\n * Agents\n * Skills\n * Hooks\n * MCP servers\n * LSP servers\n* Plugin installation scopes\n* Plugin manifest schema\n * Complete schema\n * Required fields\n * Metadata fields\n * Component path fields\n * Path behavior rules\n * Environment variables\n* Plugin caching and file resolution\n * How plugin caching works\n * Path traversal limitations\n * Working with external dependencies\n* Plugin directory structure\n * Standard plugin layout\n * File locations reference\n* CLI commands reference\n * plugin install\n * plugin uninstall\n * plugin enable\n * plugin disable\n * plugin update\n* Debugging and development tools\n * Debugging commands\n * Common issues\n * Example error messages\n * Hook troubleshooting\n * MCP server troubleshooting\n * Directory structure mistakes\n* Distribution and versioning reference\n * Version management\n* See also\n\n## Resources\n\n### [legal-and-compliance](https://code.claude.com/docs/en/legal-and-compliance.md)\n\n* Legal agreements\n * License\n * Commercial agreements\n* Compliance\n * Healthcare compliance (BAA)\n* Security and trust\n * Trust and safety\n * Security vulnerability reporting\n\n\n---\n\n> To find navigation and other pages in this documentation, fetch the llms.txt file at: https://code.claude.com/docs/llms.txt"}]},"uuid":"cb7c7db7-fb8b-4639-baf7-cbd33eb128b0","timestamp":"2026-01-11T16:45:46.384Z","toolUseResult":{"bytes":30066,"code":200,"codeText":"OK","result":"# null\n\n# Claude Code Documentation Map\n\nThis is a comprehensive map of all Claude Code documentation pages with their headings, designed for easy navigation by LLMs.\n\n> **Note:** This file is auto-generated by GitHub Actions. Do not edit manually.\n> Last updated: 2026-01-10 23:15:24 UTC\n\n## Document Structure\n\nThis map uses a hierarchical structure:\n\n* **##** marks documentation groups (e.g., 'Getting started')\n* **###** marks individual documentation pages\n* **Nested bullets** show the heading structure within each page\n* Each page title links to the full documentation\n\n## Getting started\n\n### [overview](https://code.claude.com/docs/en/overview.md)\n\n* Get started in 30 seconds\n* What Claude Code does for you\n* Why developers love Claude Code\n* Next steps\n* Additional resources\n\n### [quickstart](https://code.claude.com/docs/en/quickstart.md)\n\n* Before you begin\n* Step 1: Install Claude Code\n* Step 2: Log in to your account\n* Step 3: Start your first session\n* Step 4: Ask your first question\n* Step 5: Make your first code change\n* Step 6: Use Git with Claude Code\n* Step 7: Fix a bug or add a feature\n* Step 8: Test out other common workflows\n* Essential commands\n* Pro tips for beginners\n* What's next?\n* Getting help\n\n### [common-workflows](https://code.claude.com/docs/en/common-workflows.md)\n\n* Understand new codebases\n * Get a quick codebase overview\n * Find relevant code\n* Fix bugs efficiently\n* Refactor code\n* Use specialized subagents\n* Use Plan Mode for safe code analysis\n * When to use Plan Mode\n * How to use Plan Mode\n * Example: Planning a complex refactor\n * Configure Plan Mode as default\n* Work with tests\n* Create pull requests\n* Handle documentation\n* Work with images\n* Reference files and directories\n* Use extended thinking (thinking mode)\n * Per-request thinking with `ultrathink`\n * How extended thinking token budgets work\n* Resume previous conversations\n * Name your sessions\n * Use the session picker\n* Run parallel Claude Code sessions with Git worktrees\n* Use Claude as a unix-style utility\n * Add Claude to your verification process\n * Pipe in, pipe out\n * Control output format\n* Create custom slash commands\n * Create project-specific commands\n * Add command arguments with \\$ARGUMENTS\n * Create personal slash commands\n* Ask Claude about its capabilities\n * Example questions\n* Next steps\n\n### [changelog](https://code.claude.com/docs/en/changelog.md)\n\n* (No headings found)\n\n## Outside of the terminal\n\n### [claude-code-on-the-web](https://code.claude.com/docs/en/claude-code-on-the-web.md)\n\n* What is Claude Code on the web?\n* Who can use Claude Code on the web?\n* Getting started\n* How it works\n* Moving tasks between web and terminal\n * From terminal to web\n * Tips for background tasks\n * From web to terminal\n * Requirements for teleporting\n* Cloud environment\n * Default image\n * Checking available tools\n * Language-specific setups\n * Databases\n * Environment configuration\n * Dependency management\n * Local vs remote execution\n * Persisting environment variables\n* Network access and security\n * Network policy\n * GitHub proxy\n * Security proxy\n * Access levels\n * Default allowed domains\n * Anthropic Services\n * Version Control\n * Container Registries\n * Cloud Platforms\n * Package Managers - JavaScript/Node\n * Package Managers - Python\n * Package Managers - Ruby\n * Package Managers - Rust\n * Package Managers - Go\n * Package Managers - JVM\n * Package Managers - Other Languages\n * Linux Distributions\n * Development Tools & Platforms\n * Cloud Services & Monitoring\n * Content Delivery & Mirrors\n * Schema & Configuration\n * Security best practices for customized network access\n* Security and isolation\n* Pricing and rate limits\n* Limitations\n* Best practices\n* Related resources\n\n### [desktop](https://code.claude.com/docs/en/desktop.md)\n\n* Claude Code on desktop (Preview)\n* Features\n* Installation\n* Using Git worktrees\n * Copying files ignored with `.gitignore`\n * Launch Claude Code on the web\n* Bundled Claude Code version\n* Environment configuration\n * Custom environment variables\n* Enterprise configuration\n* Related resources\n\n### [chrome](https://code.claude.com/docs/en/chrome.md)\n\n* What the integration enables\n* Prerequisites\n* How the integration works\n* Set up the integration\n* Try it out\n* Example workflows\n * Test a local web application\n * Debug with console logs\n * Automate form filling\n * Draft content in Google Docs\n * Extract data from web pages\n * Run multi-site workflows\n * Record a demo GIF\n* Best practices\n* Troubleshooting\n * Extension not detected\n * Browser not responding\n * First-time setup\n* Enable by default\n* See also\n\n### [vs-code](https://code.claude.com/docs/en/vs-code.md)\n\n* Prerequisites\n* Install the extension\n* Get started\n* Customize your workflow\n * Change the layout\n * Switch to terminal mode\n* VS Code commands and shortcuts\n* Configure settings\n* Use third-party providers\n* VS Code extension vs. Claude Code CLI\n * Run CLI in VS Code\n * Switch between extension and CLI\n* Security considerations\n* Fix common issues\n * Extension won't install\n * Spark icon not visible\n * Claude Code never responds\n * Standalone CLI not connecting to IDE\n* Uninstall the extension\n* Next steps\n\n### [jetbrains](https://code.claude.com/docs/en/jetbrains.md)\n\n* Supported IDEs\n* Features\n* Installation\n * Marketplace Installation\n* Usage\n * From Your IDE\n * From External Terminals\n* Configuration\n * Claude Code Settings\n * Plugin Settings\n * General Settings\n * ESC Key Configuration\n* Special Configurations\n * Remote Development\n * WSL Configuration\n* Troubleshooting\n * Plugin Not Working\n * IDE Not Detected\n * Command Not Found\n* Security Considerations\n\n### [github-actions](https://code.claude.com/docs/en/github-actions.md)\n\n* Why use Claude Code GitHub Actions?\n* What can Claude do?\n * Claude Code Action\n* Setup\n* Quick setup\n* Manual setup\n* Upgrading from Beta\n * Essential changes\n * Breaking Changes Reference\n * Before and After Example\n* Example use cases\n * Basic workflow\n * Using slash commands\n * Custom automation with prompts\n * Common use cases\n* Best practices\n * CLAUDE.md configuration\n * Security considerations\n * Optimizing performance\n * CI costs\n* Configuration examples\n* Using with AWS Bedrock & Google Vertex AI\n * Prerequisites\n * For Google Cloud Vertex AI:\n * For AWS Bedrock:\n* Troubleshooting\n * Claude not responding to @claude commands\n * CI not running on Claude's commits\n * Authentication errors\n* Advanced configuration\n * Action parameters\n * Pass CLI arguments\n * Alternative integration methods\n * Customizing Claude's behavior\n\n### [gitlab-ci-cd](https://code.claude.com/docs/en/gitlab-ci-cd.md)\n\n* Why use Claude Code with GitLab?\n* How it works\n* What can Claude do?\n* Setup\n * Quick setup\n * Manual setup (recommended for production)\n* Example use cases\n * Turn issues into MRs\n * Get implementation help\n * Fix bugs quickly\n* Using with AWS Bedrock & Google Vertex AI\n* Configuration examples\n * Basic .gitlab-ci.yml (Claude API)\n * AWS Bedrock job example (OIDC)\n * Google Vertex AI job example (Workload Identity Federation)\n* Best practices\n * CLAUDE.md configuration\n * Security considerations\n * Optimizing performance\n * CI costs\n* Security and governance\n* Troubleshooting\n * Claude not responding to @claude commands\n * Job can't write comments or open MRs\n * Authentication errors\n* Advanced configuration\n * Common parameters and variables\n * Customizing Claude's behavior\n\n### [slack](https://code.claude.com/docs/en/slack.md)\n\n* Use cases\n* Prerequisites\n* Setting up Claude Code in Slack\n* How it works\n * Automatic detection\n * Context gathering\n * Session flow\n* User interface elements\n * App Home\n * Message actions\n * Repository selection\n* Access and permissions\n * User-level access\n * Workspace admin permissions\n* What's accessible where\n* Best practices\n * Writing effective requests\n * When to use Slack vs. web\n* Troubleshooting\n * Sessions not starting\n * Repository not showing\n * Wrong repository selected\n * Authentication errors\n * Session expiration\n* Current limitations\n* Related resources\n\n## Build with Claude Code\n\n### [sub-agents](https://code.claude.com/docs/en/sub-agents.md)\n\n* Built-in subagents\n* Quickstart: create your first subagent\n* Configure subagents\n * Use the /agents command\n * Choose the subagent scope\n * Write subagent files\n * Supported frontmatter fields\n * Choose a model\n * Control subagent capabilities\n * Available tools\n * Permission modes\n * Conditional rules with hooks\n * Disable specific subagents\n * Define hooks for subagents\n * Hooks in subagent frontmatter\n * Project-level hooks for subagent events\n* Work with subagents\n * Understand automatic delegation\n * Run subagents in foreground or background\n * Common patterns\n * Isolate high-volume operations\n * Run parallel research\n * Chain subagents\n * Choose between subagents and main conversation\n * Manage subagent context\n * Resume subagents\n * Auto-compaction\n* Example subagents\n * Code reviewer\n * Debugger\n * Data scientist\n * Database query validator\n* Next steps\n\n### [plugins](https://code.claude.com/docs/en/plugins.md)\n\n* When to use plugins vs standalone configuration\n* Quickstart\n * Prerequisites\n * Create your first plugin\n* Hello Command\n* Hello Command\n * Plugin structure overview\n * Develop more complex plugins\n * Add Skills to your plugin\n * Add LSP servers to your plugin\n * Organize complex plugins\n * Test your plugins locally\n * Debug plugin issues\n * Share your plugins\n * Convert existing configurations to plugins\n * Migration steps\n * What changes when migrating\n * Next steps\n * For plugin users\n * For plugin developers\n\n### [discover-plugins](https://code.claude.com/docs/en/discover-plugins.md)\n\n* How marketplaces work\n* Official Anthropic marketplace\n * Code intelligence\n * External integrations\n * Development workflows\n * Output styles\n* Try it: add the demo marketplace\n* Add marketplaces\n * Add from GitHub\n * Add from other Git hosts\n * Add from local paths\n* Install plugins\n* Manage installed plugins\n* Manage marketplaces\n * Use the interactive interface\n * Use CLI commands\n * Configure auto-updates\n* Configure team marketplaces\n* Troubleshooting\n * /plugin command not recognized\n * Common issues\n* Next steps\n\n### [skills](https://code.claude.com/docs/en/skills.md)\n\n* Create your first Skill\n* How Skills work\n * Where Skills live\n * When to use Skills versus other options\n* Configure Skills\n * Write SKILL.md\n * Available metadata fields\n * Update or delete a Skill\n * Add supporting files with progressive disclosure\n * Example: multi-file Skill structure\n * Restrict tool access with allowed-tools\n * Run Skills in a forked context\n * Define hooks for Skills\n * Control Skill visibility\n * When to use each setting\n * Example: model-only Skill\n * Skills and subagents\n * Give a subagent access to Skills\n * Run a Skill in a subagent context\n * Distribute Skills\n* Examples\n * Simple Skill (single file)\n * Use multiple files\n* Troubleshooting\n * View and test Skills\n * Skill not triggering\n * Skill doesn't load\n * Skill has errors\n * Multiple Skills conflict\n * Plugin Skills not appearing\n* Next steps\n\n### [output-styles](https://code.claude.com/docs/en/output-styles.md)\n\n* Built-in output styles\n* How output styles work\n* Change your output style\n* Create a custom output style\n * Frontmatter\n* Comparisons to related features\n * Output Styles vs. CLAUDE.md vs. --append-system-prompt\n * Output Styles vs. [Agents](/en/sub-agents)\n * Output Styles vs. [Custom Slash Commands](/en/slash-commands)\n\n### [hooks-guide](https://code.claude.com/docs/en/hooks-guide.md)\n\n* Hook Events Overview\n* Quickstart\n * Prerequisites\n * Step 1: Open hooks configuration\n * Step 2: Add a matcher\n * Step 3: Add the hook\n * Step 4: Save your configuration\n * Step 5: Verify your hook\n * Step 6: Test your hook\n* More Examples\n * Code Formatting Hook\n * Markdown Formatting Hook\n * Custom Notification Hook\n * File Protection Hook\n* Learn more\n\n### [headless](https://code.claude.com/docs/en/headless.md)\n\n* Basic usage\n* Examples\n * Get structured output\n * Auto-approve tools\n * Create a commit\n * Customize the system prompt\n * Continue conversations\n* Next steps\n\n### [mcp](https://code.claude.com/docs/en/mcp.md)\n\n* What you can do with MCP\n* Popular MCP servers\n* Installing MCP servers\n * Option 1: Add a remote HTTP server\n * Option 2: Add a remote SSE server\n * Option 3: Add a local stdio server\n * Managing your servers\n * Dynamic tool updates\n * Plugin-provided MCP servers\n* MCP installation scopes\n * Local scope\n * Project scope\n * User scope\n * Choosing the right scope\n * Scope hierarchy and precedence\n * Environment variable expansion in `.mcp.json`\n* Practical examples\n * Example: Monitor errors with Sentry\n * Example: Connect to GitHub for code reviews\n * Example: Query your PostgreSQL database\n* Authenticate with remote MCP servers\n* Add MCP servers from JSON configuration\n* Import MCP servers from Claude Desktop\n* Use Claude Code as an MCP server\n* MCP output limits and warnings\n* Use MCP resources\n * Reference MCP resources\n* Use MCP prompts as slash commands\n * Execute MCP prompts\n* Managed MCP configuration\n * Option 1: Exclusive control with managed-mcp.json\n * Option 2: Policy-based control with allowlists and denylists\n * Restriction options\n * Example configuration\n * How command-based restrictions work\n * How URL-based restrictions work\n * Allowlist behavior (`allowedMcpServers`)\n * Denylist behavior (`deniedMcpServers`)\n * Important notes\n\n### [troubleshooting](https://code.claude.com/docs/en/troubleshooting.md)\n\n* Common installation issues\n * Windows installation issues: errors in WSL\n * Linux and Mac installation issues: permission or command not found errors\n * Recommended solution: Native Claude Code installation\n * Windows: \"Claude Code on Windows requires git-bash\"\n * Windows: \"installMethod is native, but claude command not found\"\n* Permissions and authentication\n * Repeated permission prompts\n * Authentication issues\n* Configuration file locations\n * Resetting configuration\n* Performance and stability\n * High CPU or memory usage\n * Command hangs or freezes\n * Search and discovery issues\n * Slow or incomplete search results on WSL\n* IDE integration issues\n * JetBrains IDE not detected on WSL2\n * WSL2 networking modes\n * Reporting Windows IDE integration issues (both native and WSL)\n * Escape key not working in JetBrains (IntelliJ, PyCharm, etc.) terminals\n* Markdown formatting issues\n * Missing language tags in code blocks\n * Inconsistent spacing and formatting\n * Best practices for markdown generation\n* Getting more help\n\n## Deployment\n\n### [third-party-integrations](https://code.claude.com/docs/en/third-party-integrations.md)\n\n* Compare deployment options\n* Configure proxies and gateways\n * Amazon Bedrock\n * Microsoft Foundry\n * Google Vertex AI\n* Best practices for organizations\n * Invest in documentation and memory\n * Simplify deployment\n * Start with guided usage\n * Configure security policies\n * Leverage MCP for integrations\n* Next steps\n\n### [amazon-bedrock](https://code.claude.com/docs/en/amazon-bedrock.md)\n\n* Prerequisites\n* Setup\n * 1. Submit use case details\n * 2. Configure AWS credentials\n * Advanced credential configuration\n * Example configuration\n * Configuration settings explained\n * 3. Configure Claude Code\n * 4. Model configuration\n * 5. Output token configuration\n* IAM configuration\n* Troubleshooting\n* Additional resources\n\n### [google-vertex-ai](https://code.claude.com/docs/en/google-vertex-ai.md)\n\n* Prerequisites\n* Region Configuration\n* Setup\n * 1. Enable Vertex AI API\n * 2. Request model access\n * 3. Configure GCP credentials\n * 4. Configure Claude Code\n * 5. Model configuration\n* IAM configuration\n* 1M token context window\n* Troubleshooting\n* Additional resources\n\n### [microsoft-foundry](https://code.claude.com/docs/en/microsoft-foundry.md)\n\n* Prerequisites\n* Setup\n * 1. Provision Microsoft Foundry resource\n * 2. Configure Azure credentials\n * 3. Configure Claude Code\n* Azure RBAC configuration\n* Troubleshooting\n* Additional resources\n\n### [network-config](https://code.claude.com/docs/en/network-config.md)\n\n* Proxy configuration\n * Environment variables\n * Basic authentication\n* Custom CA certificates\n* mTLS authentication\n* Network access requirements\n* Additional resources\n\n### [llm-gateway](https://code.claude.com/docs/en/llm-gateway.md)\n\n* Gateway requirements\n* Configuration\n * Model selection\n* LiteLLM configuration\n * Prerequisites\n * Basic LiteLLM setup\n * Authentication methods\n * Static API key\n * Dynamic API key with helper\n * Unified endpoint (recommended)\n * Provider-specific pass-through endpoints (alternative)\n * Claude API through LiteLLM\n * Amazon Bedrock through LiteLLM\n * Google Vertex AI through LiteLLM\n* Additional resources\n\n### [devcontainer](https://code.claude.com/docs/en/devcontainer.md)\n\n* Key features\n* Getting started in 4 steps\n* Configuration breakdown\n* Security features\n* Customization options\n* Example use cases\n * Secure client work\n * Team onboarding\n * Consistent CI/CD environments\n* Related resources\n\n### [sandboxing](https://code.claude.com/docs/en/sandboxing.md)\n\n* Overview\n* Why sandboxing matters\n* How it works\n * Filesystem isolation\n * Network isolation\n * OS-level enforcement\n* Getting started\n * Enable sandboxing\n * Sandbox modes\n * Configure sandboxing\n* Security benefits\n * Protection against prompt injection\n * Reduced attack surface\n * Transparent operation\n* Security Limitations\n* Advanced usage\n * Custom proxy configuration\n * Integration with existing security tools\n* Best practices\n* Open source\n* Limitations\n* See also\n\n## Administration\n\n### [setup](https://code.claude.com/docs/en/setup.md)\n\n* System requirements\n * Additional dependencies\n* Standard installation\n* Windows setup\n* Alternative installation methods\n * Native installation options\n * NPM installation\n* Authentication options\n * For individuals\n * For teams and organizations\n* Running on AWS or GCP\n* Update Claude Code\n * Auto updates\n * Update manually\n* Uninstall Claude Code\n * Native installation\n * Homebrew installation\n * NPM installation\n * Clean up configuration files (optional)\n\n### [iam](https://code.claude.com/docs/en/iam.md)\n\n* Authentication methods\n * Claude for Teams or Enterprise (recommended)\n * Claude Console authentication\n * Cloud provider authentication\n* Access control and permissions\n * Permission system\n * Configuring permissions\n * Permission modes\n * Working directories\n * Tool-specific permission rules\n * Additional permission control with hooks\n * Managed settings\n * Settings precedence\n* Credential management\n\n### [security](https://code.claude.com/docs/en/security.md)\n\n* How we approach security\n * Security foundation\n * Permission-based architecture\n * Built-in protections\n * User responsibility\n* Protect against prompt injection\n * Core protections\n * Privacy safeguards\n * Additional safeguards\n* MCP security\n* IDE security\n* Cloud execution security\n* Security best practices\n * Working with sensitive code\n * Team security\n * Reporting security issues\n* Related resources\n\n### [data-usage](https://code.claude.com/docs/en/data-usage.md)\n\n* Data policies\n * Data training policy\n * Development Partner Program\n * Feedback using the `/bug` command\n * Session quality surveys\n * Data retention\n* Data access\n* Local Claude Code: Data flow and dependencies\n * Cloud execution: Data flow and dependencies\n* Telemetry services\n* Default behaviors by API provider\n\n### [monitoring-usage](https://code.claude.com/docs/en/monitoring-usage.md)\n\n* Quick start\n* Administrator configuration\n* Configuration details\n * Common configuration variables\n * Metrics cardinality control\n * Dynamic headers\n * Settings configuration\n * Script requirements\n * Refresh behavior\n * Multi-team organization support\n * Example configurations\n* Available metrics and events\n * Standard attributes\n * Metrics\n * Metric details\n * Session counter\n * Lines of code counter\n * Pull request counter\n * Commit counter\n * Cost counter\n * Token counter\n * Code edit tool decision counter\n * Active time counter\n * Events\n * User prompt event\n * Tool result event\n * API request event\n * API error event\n * Tool decision event\n* Interpreting metrics and events data\n * Usage monitoring\n * Cost monitoring\n * Alerting and segmentation\n * Event analysis\n* Backend considerations\n * For metrics\n * For events/logs\n* Service information\n* ROI measurement resources\n* Security/privacy considerations\n* Monitoring Claude Code on Amazon Bedrock\n\n### [costs](https://code.claude.com/docs/en/costs.md)\n\n* Track your costs\n * Using the `/cost` command\n * Additional tracking options\n* Managing costs for teams\n * Rate limit recommendations\n* Reduce token usage\n* Background token usage\n* Tracking version changes and updates\n * Current version information\n * Understanding changes in Claude Code behavior\n * When cost reporting changes\n\n### [analytics](https://code.claude.com/docs/en/analytics.md)\n\n* Access analytics\n * Required roles\n* Available metrics\n * Lines of code accepted\n * Suggestion accept rate\n * Activity\n * Spend\n * Team insights\n* Using analytics effectively\n * Monitor adoption\n * Measure productivity\n* Related resources\n\n### [plugin-marketplaces](https://code.claude.com/docs/en/plugin-marketplaces.md)\n\n* Overview\n* Walkthrough: create a local marketplace\n* Create the marketplace file\n* Marketplace schema\n * Required fields\n * Owner fields\n * Optional metadata\n* Plugin entries\n * Required fields\n * Optional plugin fields\n* Plugin sources\n * Relative paths\n * GitHub repositories\n * Git repositories\n * Advanced plugin entries\n* Host and distribute marketplaces\n * Host on GitHub (recommended)\n * Host on other git services\n * Test locally before distribution\n * Require marketplaces for your team\n * Managed marketplace restrictions\n * Common configurations\n * How restrictions work\n* Validation and testing\n* Troubleshooting\n * Marketplace not loading\n * Marketplace validation errors\n * Plugin installation failures\n * Files not found after installation\n* See also\n\n## Configuration\n\n### [settings](https://code.claude.com/docs/en/settings.md)\n\n* Configuration scopes\n * Available scopes\n * When to use each scope\n * How scopes interact\n * What uses scopes\n* Settings files\n * Available settings\n * Permission settings\n * Sandbox settings\n * Attribution settings\n * File suggestion settings\n * Hook configuration\n * Settings precedence\n * Key points about the configuration system\n * System prompt\n * Excluding sensitive files\n* Subagent configuration\n* Plugin configuration\n * Plugin settings\n * `enabledPlugins`\n * `extraKnownMarketplaces`\n * `strictKnownMarketplaces`\n * Managing plugins\n* Environment variables\n* Tools available to Claude\n * Bash tool behavior\n * Extending tools with hooks\n* See also\n\n### [terminal-config](https://code.claude.com/docs/en/terminal-config.md)\n\n* Themes and appearance\n* Line breaks\n* Notification setup\n * iTerm 2 system notifications\n * Custom notification hooks\n* Handling large inputs\n* Vim Mode\n\n### [model-config](https://code.claude.com/docs/en/model-config.md)\n\n* Available models\n * Model aliases\n * Setting your model\n* Special model behavior\n * `default` model setting\n * `opusplan` model setting\n * Extended context with \\[1m]\n* Checking your current model\n* Environment variables\n * Prompt caching configuration\n\n### [memory](https://code.claude.com/docs/en/memory.md)\n\n* Determine memory type\n* CLAUDE.md imports\n* How Claude looks up memories\n* Directly edit memories with `/memory`\n* Set up project memory\n* Modular rules with `.claude/rules/`\n * Basic structure\n * Path-specific rules\n * Glob patterns\n * Subdirectories\n * Symlinks\n * User-level rules\n* Organization-level memory management\n* Memory best practices\n\n### [statusline](https://code.claude.com/docs/en/statusline.md)\n\n* Create a custom status line\n* How it Works\n* JSON Input Structure\n* Example Scripts\n * Simple Status Line\n * Git-Aware Status Line\n * Python Example\n * Node.js Example\n * Helper Function Approach\n * Context Window Usage\n* Tips\n* Troubleshooting\n\n## Reference\n\n### [cli-reference](https://code.claude.com/docs/en/cli-reference.md)\n\n* CLI commands\n* CLI flags\n * Agents flag format\n * System prompt flags\n* See also\n\n### [interactive-mode](https://code.claude.com/docs/en/interactive-mode.md)\n\n* Keyboard shortcuts\n * General controls\n * Text editing\n * Theme and display\n * Multiline input\n * Quick commands\n* Vim editor mode\n * Mode switching\n * Navigation (NORMAL mode)\n * Editing (NORMAL mode)\n * Text objects (NORMAL mode)\n* Command history\n * Reverse search with Ctrl+R\n* Background bash commands\n * How backgrounding works\n * Bash mode with `!` prefix\n* See also\n\n### [slash-commands](https://code.claude.com/docs/en/slash-commands.md)\n\n* Built-in slash commands\n* Custom slash commands\n * Syntax\n * Parameters\n * Command types\n * Project commands\n * Personal commands\n * Features\n * Namespacing\n * Arguments\n * All arguments with `$ARGUMENTS`\n * Individual arguments with `$1`, `$2`, etc.\n * Bash command execution\n * File references\n * Thinking mode\n * Frontmatter\n * Define hooks for commands\n* Plugin commands\n * How plugin commands work\n * Plugin command structure\n * Invocation patterns\n* MCP slash commands\n * Command format\n * Features\n * Dynamic discovery\n * Arguments\n * Naming conventions\n * Managing MCP connections\n * MCP permissions and wildcards\n* `Skill` tool\n * What the `Skill` tool can invoke\n * Encourage Claude to use specific commands\n * Disable the `Skill` tool\n * Disable specific commands or Skills\n * `Skill` permission rules\n * Character budget limit\n* Skills vs slash commands\n * Use slash commands for\n * Use Skills for\n * Key differences\n * Example comparison\n * When to use each\n* See also\n\n### [checkpointing](https://code.claude.com/docs/en/checkpointing.md)\n\n* How checkpoints work\n * Automatic tracking\n * Rewinding changes\n* Common use cases\n* Limitations\n * Bash command changes not tracked\n * External changes not tracked\n * Not a replacement for version control\n* See also\n\n### [hooks](https://code.claude.com/docs/en/hooks.md)\n\n* Configuration\n * Structure\n * Project-Specific Hook Scripts\n * Plugin hooks\n * Hooks in Skills, Agents, and Slash Commands\n* Prompt-Based Hooks\n * How prompt-based hooks work\n * Configuration\n * Response schema\n * Supported hook events\n * Example: Intelligent Stop hook\n * Example: SubagentStop with custom logic\n * Comparison with bash command hooks\n * Best practices\n* Hook Events\n * PreToolUse\n * PermissionRequest\n * PostToolUse\n * Notification\n * UserPromptSubmit\n * Stop\n * SubagentStop\n * PreCompact\n * SessionStart\n * Persisting environment variables\n * SessionEnd\n* Hook Input\n * PreToolUse Input\n * Bash tool\n * Write tool\n * Edit tool\n * Read tool\n * PostToolUse Input\n * Notification Input\n * UserPromptSubmit Input\n * Stop and SubagentStop Input\n * PreCompact Input\n * SessionStart Input\n * SessionEnd Input\n* Hook Output\n * Simple: Exit Code\n * Exit Code 2 Behavior\n * Advanced: JSON Output\n * Common JSON Fields\n * `PreToolUse` Decision Control\n * `PermissionRequest` Decision Control\n * `PostToolUse` Decision Control\n * `UserPromptSubmit` Decision Control\n * `Stop`/`SubagentStop` Decision Control\n * `SessionStart` Decision Control\n * `SessionEnd` Decision Control\n * Exit Code Example: Bash Command Validation\n * JSON Output Example: UserPromptSubmit to Add Context and Validation\n * JSON Output Example: PreToolUse with Approval\n* Working with MCP Tools\n * MCP Tool Naming\n * Configuring Hooks for MCP Tools\n* Examples\n* Security Considerations\n * Disclaimer\n * Security Best Practices\n * Configuration Safety\n* Hook Execution Details\n* Debugging\n * Basic Troubleshooting\n * Advanced Debugging\n * Debug Output Example\n\n### [plugins-reference](https://code.claude.com/docs/en/plugins-reference.md)\n\n* Plugin components reference\n * Commands\n * Agents\n * Skills\n * Hooks\n * MCP servers\n * LSP servers\n* Plugin installation scopes\n* Plugin manifest schema\n * Complete schema\n * Required fields\n * Metadata fields\n * Component path fields\n * Path behavior rules\n * Environment variables\n* Plugin caching and file resolution\n * How plugin caching works\n * Path traversal limitations\n * Working with external dependencies\n* Plugin directory structure\n * Standard plugin layout\n * File locations reference\n* CLI commands reference\n * plugin install\n * plugin uninstall\n * plugin enable\n * plugin disable\n * plugin update\n* Debugging and development tools\n * Debugging commands\n * Common issues\n * Example error messages\n * Hook troubleshooting\n * MCP server troubleshooting\n * Directory structure mistakes\n* Distribution and versioning reference\n * Version management\n* See also\n\n## Resources\n\n### [legal-and-compliance](https://code.claude.com/docs/en/legal-and-compliance.md)\n\n* Legal agreements\n * License\n * Commercial agreements\n* Compliance\n * Healthcare compliance (BAA)\n* Security and trust\n * Trust and safety\n * Security vulnerability reporting\n\n\n---\n\n> To find navigation and other pages in this documentation, fetch the llms.txt file at: https://code.claude.com/docs/llms.txt","durationMs":705,"url":"https://code.claude.com/docs/en/claude_code_docs_map.md"},"sourceToolAssistantUUID":"f2ab57e4-92c2-4215-9653-444846af87fc"}
{"parentUuid":"cb7c7db7-fb8b-4639-baf7-cbd33eb128b0","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","message":{"model":"claude-haiku-4-5-20251001","id":"msg_018w5iao5PXgV1NjQ3bfW1iN","type":"message","role":"assistant","content":[{"type":"text","text":"Now let me check the troubleshooting page for any specific information about resource constraints."}],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":6,"cache_creation_input_tokens":8169,"cache_read_input_tokens":7376,"cache_creation":{"ephemeral_5m_input_tokens":8169,"ephemeral_1h_input_tokens":0},"output_tokens":1,"service_tier":"standard"}},"requestId":"req_011CX1vqnUpuuejeDa885tHG","type":"assistant","uuid":"f6f72970-5b79-418e-b84b-09339efccb7a","timestamp":"2026-01-11T16:45:49.108Z"}
{"parentUuid":"f6f72970-5b79-418e-b84b-09339efccb7a","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","message":{"model":"claude-haiku-4-5-20251001","id":"msg_018w5iao5PXgV1NjQ3bfW1iN","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_018AdZvRt8atcjTxVMQtxGaz","name":"WebFetch","input":{"url":"https://code.claude.com/docs/en/troubleshooting.md","prompt":"What are the CPU, memory, and GPU resource limits or constraints for Claude Code? Are there performance issues related to resource usage?"}}],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":6,"cache_creation_input_tokens":8169,"cache_read_input_tokens":7376,"cache_creation":{"ephemeral_5m_input_tokens":8169,"ephemeral_1h_input_tokens":0},"output_tokens":131,"service_tier":"standard"}},"requestId":"req_011CX1vqnUpuuejeDa885tHG","type":"assistant","uuid":"c269d64d-847d-4574-9583-ac547b18d1d9","timestamp":"2026-01-11T16:45:49.652Z"}
{"parentUuid":"c269d64d-847d-4574-9583-ac547b18d1d9","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","type":"user","message":{"role":"user","content":[{"tool_use_id":"toolu_018AdZvRt8atcjTxVMQtxGaz","type":"tool_result","content":"# Troubleshooting\n\n> Discover solutions to common issues with Claude Code installation and usage.\n\n## Common installation issues\n\n### Windows installation issues: errors in WSL\n\nYou might encounter the following issues in WSL:\n\n**OS/platform detection issues**: If you receive an error during installation, WSL may be using Windows `npm`. Try:\n\n* Run `npm config set os linux` before installation\n* Install with `npm install -g @anthropic-ai/claude-code --force --no-os-check` (Do NOT use `sudo`)\n\n**Node not found errors**: If you see `exec: node: not found` when running `claude`, your WSL environment may be using a Windows installation of Node.js. You can confirm this with `which npm` and `which node`, which should point to Linux paths starting with `/usr/` rather than `/mnt/c/`. To fix this, try installing Node via your Linux distribution's package manager or via [`nvm`](https://github.com/nvm-sh/nvm).\n\n**nvm version conflicts**: If you have nvm installed in both WSL and Windows, you may experience version conflicts when switching Node versions in WSL. This happens because WSL imports the Windows PATH by default, causing Windows nvm/npm to take priority over the WSL installation.\n\nYou can identify this issue by:\n\n* Running `which npm` and `which node` - if they point to Windows paths (starting with `/mnt/c/`), Windows versions are being used\n* Experiencing broken functionality after switching Node versions with nvm in WSL\n\nTo resolve this issue, fix your Linux PATH to ensure the Linux node/npm versions take priority:\n\n**Primary solution: Ensure nvm is properly loaded in your shell**\n\nThe most common cause is that nvm isn't loaded in non-interactive shells. Add the following to your shell configuration file (`~/.bashrc`, `~/.zshrc`, etc.):\n\n```bash theme={null}\n# Load nvm if it exists\nexport NVM_DIR=\"$HOME/.nvm\"\n[ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\"\n[ -s \"$NVM_DIR/bash_completion\" ] && \\. \"$NVM_DIR/bash_completion\"\n```\n\nOr run directly in your current session:\n\n```bash theme={null}\nsource ~/.nvm/nvm.sh\n```\n\n**Alternative: Adjust PATH order**\n\nIf nvm is properly loaded but Windows paths still take priority, you can explicitly prepend your Linux paths to PATH in your shell configuration:\n\n```bash theme={null}\nexport PATH=\"$HOME/.nvm/versions/node/$(node -v)/bin:$PATH\"\n```\n\n<Warning>\n Avoid disabling Windows PATH importing (`appendWindowsPath = false`) as this breaks the ability to call Windows executables from WSL. Similarly, avoid uninstalling Node.js from Windows if you use it for Windows development.\n</Warning>\n\n### Linux and Mac installation issues: permission or command not found errors\n\nWhen installing Claude Code with npm, `PATH` problems may prevent access to `claude`.\nYou may also encounter permission errors if your npm global prefix is not user writable (for example, `/usr`, or `/usr/local`).\n\n#### Recommended solution: Native Claude Code installation\n\nClaude Code has a native installation that doesn't depend on npm or Node.js.\n\nUse the following command to run the native installer.\n\n**macOS, Linux, WSL:**\n\n```bash theme={null}\n# Install stable version (default)\ncurl -fsSL https://claude.ai/install.sh | bash\n\n# Install latest version\ncurl -fsSL https://claude.ai/install.sh | bash -s latest\n\n# Install specific version number\ncurl -fsSL https://claude.ai/install.sh | bash -s 1.0.58\n```\n\n**Windows PowerShell:**\n\n```powershell theme={null}\n# Install stable version (default)\nirm https://claude.ai/install.ps1 | iex\n\n# Install latest version\n& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) latest\n\n# Install specific version number\n& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 1.0.58\n\n```\n\nThis command installs the appropriate build of Claude Code for your operating system and architecture and adds a symlink to the installation at `~/.local/bin/claude` (or `%USERPROFILE%\\.local\\bin\\claude.exe` on Windows).\n\n<Tip>\n Make sure that you have the installation directory in your system PATH.\n</Tip>\n\n### Windows: \"Claude Code on Windows requires git-bash\"\n\nClaude Code on native Windows requires [Git for Windows](https://git-scm.com/downloads/win) which includes Git Bash. If Git is installed but not detected:\n\n1. Set the path explicitly in PowerShell before running Claude:\n ```powershell theme={null}\n $env:CLAUDE_CODE_GIT_BASH_PATH=\"C:\\Program Files\\Git\\bin\\bash.exe\"\n ```\n\n2. Or add it to your system environment variables permanently through System Properties → Environment Variables.\n\nIf Git is installed in a non-standard location, adjust the path accordingly.\n\n### Windows: \"installMethod is native, but claude command not found\"\n\nIf you see this error after installation, the `claude` command isn't in your PATH. Add it manually:\n\n<Steps>\n <Step title=\"Open Environment Variables\">\n Press `Win + R`, type `sysdm.cpl`, and press Enter. Click **Advanced** → **Environment Variables**.\n </Step>\n\n <Step title=\"Edit User PATH\">\n Under \"User variables\", select **Path** and click **Edit**. Click **New** and add:\n\n ```\n %USERPROFILE%\\.local\\bin\n ```\n </Step>\n\n <Step title=\"Restart your terminal\">\n Close and reopen PowerShell or CMD for changes to take effect.\n </Step>\n</Steps>\n\nVerify installation:\n\n```bash theme={null}\nclaude doctor # Check installation health\n```\n\n## Permissions and authentication\n\n### Repeated permission prompts\n\nIf you find yourself repeatedly approving the same commands, you can allow specific tools\nto run without approval using the `/permissions` command. See [Permissions docs](/en/iam#configuring-permissions).\n\n### Authentication issues\n\nIf you're experiencing authentication problems:\n\n1. Run `/logout` to sign out completely\n2. Close Claude Code\n3. Restart with `claude` and complete the authentication process again\n\nIf problems persist, try:\n\n```bash theme={null}\nrm -rf ~/.config/claude-code/auth.json\nclaude\n```\n\nThis removes your stored authentication information and forces a clean login.\n\n## Configuration file locations\n\nClaude Code stores configuration in several locations:\n\n| File | Purpose |\n| :---------------------------- | :------------------------------------------------------- |\n| `~/.claude/settings.json` | User settings (permissions, hooks, model overrides) |\n| `.claude/settings.json` | Project settings (checked into source control) |\n| `.claude/settings.local.json` | Local project settings (not committed) |\n| `~/.claude.json` | Global state (theme, OAuth, MCP servers, allowed tools) |\n| `.mcp.json` | Project MCP servers (checked into source control) |\n| `managed-settings.json` | [Managed settings](/en/settings#settings-files) |\n| `managed-mcp.json` | [Managed MCP servers](/en/mcp#managed-mcp-configuration) |\n\nOn Windows, `~` refers to your user home directory, such as `C:\\Users\\YourName`.\n\n**Managed file locations:**\n\n* macOS: `/Library/Application Support/ClaudeCode/`\n* Linux/WSL: `/etc/claude-code/`\n* Windows: `C:\\Program Files\\ClaudeCode\\`\n\nFor details on configuring these files, see [Settings](/en/settings) and [MCP](/en/mcp).\n\n### Resetting configuration\n\nTo reset Claude Code to default settings, you can remove the configuration files:\n\n```bash theme={null}\n# Reset all user settings and state\nrm ~/.claude.json\nrm -rf ~/.claude/\n\n# Reset project-specific settings\nrm -rf .claude/\nrm .mcp.json\n```\n\n<Warning>\n This will remove all your settings, allowed tools, MCP server configurations, and session history.\n</Warning>\n\n## Performance and stability\n\n### High CPU or memory usage\n\nClaude Code is designed to work with most development environments, but may consume significant resources when processing large codebases. If you're experiencing performance issues:\n\n1. Use `/compact` regularly to reduce context size\n2. Close and restart Claude Code between major tasks\n3. Consider adding large build directories to your `.gitignore` file\n\n### Command hangs or freezes\n\nIf Claude Code seems unresponsive:\n\n1. Press Ctrl+C to attempt to cancel the current operation\n2. If unresponsive, you may need to close the terminal and restart\n\n### Search and discovery issues\n\nIf Search tool, `@file` mentions, custom agents, and custom slash commands aren't working, install system `ripgrep`:\n\n```bash theme={null}\n# macOS (Homebrew) \nbrew install ripgrep\n\n# Windows (winget)\nwinget install BurntSushi.ripgrep.MSVC\n\n# Ubuntu/Debian\nsudo apt install ripgrep\n\n# Alpine Linux\napk add ripgrep\n\n# Arch Linux\npacman -S ripgrep\n```\n\nThen set `USE_BUILTIN_RIPGREP=0` in your [environment](/en/settings#environment-variables).\n\n### Slow or incomplete search results on WSL\n\nDisk read performance penalties when [working across file systems on WSL](https://learn.microsoft.com/en-us/windows/wsl/filesystems) may result in fewer-than-expected matches (but not a complete lack of search functionality) when using Claude Code on WSL.\n\n<Note>\n `/doctor` will show Search as OK in this case.\n</Note>\n\n**Solutions:**\n\n1. **Submit more specific searches**: Reduce the number of files searched by specifying directories or file types: \"Search for JWT validation logic in the auth-service package\" or \"Find use of md5 hash in JS files\".\n\n2. **Move project to Linux filesystem**: If possible, ensure your project is located on the Linux filesystem (`/home/`) rather than the Windows filesystem (`/mnt/c/`).\n\n3. **Use native Windows instead**: Consider running Claude Code natively on Windows instead of through WSL, for better file system performance.\n\n## IDE integration issues\n\n### JetBrains IDE not detected on WSL2\n\nIf you're using Claude Code on WSL2 with JetBrains IDEs and getting \"No available IDEs detected\" errors, this is likely due to WSL2's networking configuration or Windows Firewall blocking the connection.\n\n#### WSL2 networking modes\n\nWSL2 uses NAT networking by default, which can prevent IDE detection. You have two options:\n\n**Option 1: Configure Windows Firewall** (recommended)\n\n1. Find your WSL2 IP address:\n ```bash theme={null}\n wsl hostname -I\n # Example output: 172.21.123.456\n ```\n\n2. Open PowerShell as Administrator and create a firewall rule:\n ```powershell theme={null}\n New-NetFirewallRule -DisplayName \"Allow WSL2 Internal Traffic\" -Direction Inbound -Protocol TCP -Action Allow -RemoteAddress 172.21.0.0/16 -LocalAddress 172.21.0.0/16\n ```\n (Adjust the IP range based on your WSL2 subnet from step 1)\n\n3. Restart both your IDE and Claude Code\n\n**Option 2: Switch to mirrored networking**\n\nAdd to `.wslconfig` in your Windows user directory:\n\n```ini theme={null}\n[wsl2]\nnetworkingMode=mirrored\n```\n\nThen restart WSL with `wsl --shutdown` from PowerShell.\n\n<Note>\n These networking issues only affect WSL2. WSL1 uses the host's network directly and doesn't require these configurations.\n</Note>\n\nFor additional JetBrains configuration tips, see our [JetBrains IDE guide](/en/jetbrains#plugin-settings).\n\n### Reporting Windows IDE integration issues (both native and WSL)\n\nIf you're experiencing IDE integration problems on Windows, [create an issue](https://github.com/anthropics/claude-code/issues) with the following information:\n\n* Environment type: native Windows (Git Bash) or WSL1/WSL2\n* WSL networking mode (if applicable): NAT or mirrored\n* IDE name and version\n* Claude Code extension/plugin version\n* Shell type: Bash, Zsh, PowerShell, etc.\n\n### Escape key not working in JetBrains (IntelliJ, PyCharm, etc.) terminals\n\nIf you're using Claude Code in JetBrains terminals and the `Esc` key doesn't interrupt the agent as expected, this is likely due to a keybinding clash with JetBrains' default shortcuts.\n\nTo fix this issue:\n\n1. Go to Settings → Tools → Terminal\n2. Either:\n * Uncheck \"Move focus to the editor with Escape\", or\n * Click \"Configure terminal keybindings\" and delete the \"Switch focus to Editor\" shortcut\n3. Apply the changes\n\nThis allows the `Esc` key to properly interrupt Claude Code operations.\n\n## Markdown formatting issues\n\nClaude Code sometimes generates markdown files with missing language tags on code fences, which can affect syntax highlighting and readability in GitHub, editors, and documentation tools.\n\n### Missing language tags in code blocks\n\nIf you notice code blocks like this in generated markdown:\n\n````markdown theme={null}\n```\nfunction example() {\n return \"hello\";\n}\n```\n````\n\nInstead of properly tagged blocks like:\n\n````markdown theme={null}\n```javascript\nfunction example() {\n return \"hello\";\n}\n```\n````\n\n**Solutions:**\n\n1. **Ask Claude to add language tags**: Request \"Add appropriate language tags to all code blocks in this markdown file.\"\n\n2. **Use post-processing hooks**: Set up automatic formatting hooks to detect and add missing language tags. See the [markdown formatting hook example](/en/hooks-guide#markdown-formatting-hook) for implementation details.\n\n3. **Manual verification**: After generating markdown files, review them for proper code block formatting and request corrections if needed.\n\n### Inconsistent spacing and formatting\n\nIf generated markdown has excessive blank lines or inconsistent spacing:\n\n**Solutions:**\n\n1. **Request formatting corrections**: Ask Claude to \"Fix spacing and formatting issues in this markdown file.\"\n\n2. **Use formatting tools**: Set up hooks to run markdown formatters like `prettier` or custom formatting scripts on generated markdown files.\n\n3. **Specify formatting preferences**: Include formatting requirements in your prompts or project [memory](/en/memory) files.\n\n### Best practices for markdown generation\n\nTo minimize formatting issues:\n\n* **Be explicit in requests**: Ask for \"properly formatted markdown with language-tagged code blocks\"\n* **Use project conventions**: Document your preferred markdown style in [`CLAUDE.md`](/en/memory)\n* **Set up validation hooks**: Use post-processing hooks to automatically verify and fix common formatting issues\n\n## Getting more help\n\nIf you're experiencing issues not covered here:\n\n1. Use the `/bug` command within Claude Code to report problems directly to Anthropic\n2. Check the [GitHub repository](https://github.com/anthropics/claude-code) for known issues\n3. Run `/doctor` to check the health of your Claude Code installation\n4. Ask Claude directly about its capabilities and features - Claude has built-in access to its documentation\n\n\n---\n\n> To find navigation and other pages in this documentation, fetch the llms.txt file at: https://code.claude.com/docs/llms.txt"}]},"uuid":"829f7acb-e986-4fb4-bae0-5495a6eb1f97","timestamp":"2026-01-11T16:45:51.389Z","toolUseResult":{"bytes":14585,"code":200,"codeText":"OK","result":"# Troubleshooting\n\n> Discover solutions to common issues with Claude Code installation and usage.\n\n## Common installation issues\n\n### Windows installation issues: errors in WSL\n\nYou might encounter the following issues in WSL:\n\n**OS/platform detection issues**: If you receive an error during installation, WSL may be using Windows `npm`. Try:\n\n* Run `npm config set os linux` before installation\n* Install with `npm install -g @anthropic-ai/claude-code --force --no-os-check` (Do NOT use `sudo`)\n\n**Node not found errors**: If you see `exec: node: not found` when running `claude`, your WSL environment may be using a Windows installation of Node.js. You can confirm this with `which npm` and `which node`, which should point to Linux paths starting with `/usr/` rather than `/mnt/c/`. To fix this, try installing Node via your Linux distribution's package manager or via [`nvm`](https://github.com/nvm-sh/nvm).\n\n**nvm version conflicts**: If you have nvm installed in both WSL and Windows, you may experience version conflicts when switching Node versions in WSL. This happens because WSL imports the Windows PATH by default, causing Windows nvm/npm to take priority over the WSL installation.\n\nYou can identify this issue by:\n\n* Running `which npm` and `which node` - if they point to Windows paths (starting with `/mnt/c/`), Windows versions are being used\n* Experiencing broken functionality after switching Node versions with nvm in WSL\n\nTo resolve this issue, fix your Linux PATH to ensure the Linux node/npm versions take priority:\n\n**Primary solution: Ensure nvm is properly loaded in your shell**\n\nThe most common cause is that nvm isn't loaded in non-interactive shells. Add the following to your shell configuration file (`~/.bashrc`, `~/.zshrc`, etc.):\n\n```bash theme={null}\n# Load nvm if it exists\nexport NVM_DIR=\"$HOME/.nvm\"\n[ -s \"$NVM_DIR/nvm.sh\" ] && \\. \"$NVM_DIR/nvm.sh\"\n[ -s \"$NVM_DIR/bash_completion\" ] && \\. \"$NVM_DIR/bash_completion\"\n```\n\nOr run directly in your current session:\n\n```bash theme={null}\nsource ~/.nvm/nvm.sh\n```\n\n**Alternative: Adjust PATH order**\n\nIf nvm is properly loaded but Windows paths still take priority, you can explicitly prepend your Linux paths to PATH in your shell configuration:\n\n```bash theme={null}\nexport PATH=\"$HOME/.nvm/versions/node/$(node -v)/bin:$PATH\"\n```\n\n<Warning>\n Avoid disabling Windows PATH importing (`appendWindowsPath = false`) as this breaks the ability to call Windows executables from WSL. Similarly, avoid uninstalling Node.js from Windows if you use it for Windows development.\n</Warning>\n\n### Linux and Mac installation issues: permission or command not found errors\n\nWhen installing Claude Code with npm, `PATH` problems may prevent access to `claude`.\nYou may also encounter permission errors if your npm global prefix is not user writable (for example, `/usr`, or `/usr/local`).\n\n#### Recommended solution: Native Claude Code installation\n\nClaude Code has a native installation that doesn't depend on npm or Node.js.\n\nUse the following command to run the native installer.\n\n**macOS, Linux, WSL:**\n\n```bash theme={null}\n# Install stable version (default)\ncurl -fsSL https://claude.ai/install.sh | bash\n\n# Install latest version\ncurl -fsSL https://claude.ai/install.sh | bash -s latest\n\n# Install specific version number\ncurl -fsSL https://claude.ai/install.sh | bash -s 1.0.58\n```\n\n**Windows PowerShell:**\n\n```powershell theme={null}\n# Install stable version (default)\nirm https://claude.ai/install.ps1 | iex\n\n# Install latest version\n& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) latest\n\n# Install specific version number\n& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 1.0.58\n\n```\n\nThis command installs the appropriate build of Claude Code for your operating system and architecture and adds a symlink to the installation at `~/.local/bin/claude` (or `%USERPROFILE%\\.local\\bin\\claude.exe` on Windows).\n\n<Tip>\n Make sure that you have the installation directory in your system PATH.\n</Tip>\n\n### Windows: \"Claude Code on Windows requires git-bash\"\n\nClaude Code on native Windows requires [Git for Windows](https://git-scm.com/downloads/win) which includes Git Bash. If Git is installed but not detected:\n\n1. Set the path explicitly in PowerShell before running Claude:\n ```powershell theme={null}\n $env:CLAUDE_CODE_GIT_BASH_PATH=\"C:\\Program Files\\Git\\bin\\bash.exe\"\n ```\n\n2. Or add it to your system environment variables permanently through System Properties → Environment Variables.\n\nIf Git is installed in a non-standard location, adjust the path accordingly.\n\n### Windows: \"installMethod is native, but claude command not found\"\n\nIf you see this error after installation, the `claude` command isn't in your PATH. Add it manually:\n\n<Steps>\n <Step title=\"Open Environment Variables\">\n Press `Win + R`, type `sysdm.cpl`, and press Enter. Click **Advanced** → **Environment Variables**.\n </Step>\n\n <Step title=\"Edit User PATH\">\n Under \"User variables\", select **Path** and click **Edit**. Click **New** and add:\n\n ```\n %USERPROFILE%\\.local\\bin\n ```\n </Step>\n\n <Step title=\"Restart your terminal\">\n Close and reopen PowerShell or CMD for changes to take effect.\n </Step>\n</Steps>\n\nVerify installation:\n\n```bash theme={null}\nclaude doctor # Check installation health\n```\n\n## Permissions and authentication\n\n### Repeated permission prompts\n\nIf you find yourself repeatedly approving the same commands, you can allow specific tools\nto run without approval using the `/permissions` command. See [Permissions docs](/en/iam#configuring-permissions).\n\n### Authentication issues\n\nIf you're experiencing authentication problems:\n\n1. Run `/logout` to sign out completely\n2. Close Claude Code\n3. Restart with `claude` and complete the authentication process again\n\nIf problems persist, try:\n\n```bash theme={null}\nrm -rf ~/.config/claude-code/auth.json\nclaude\n```\n\nThis removes your stored authentication information and forces a clean login.\n\n## Configuration file locations\n\nClaude Code stores configuration in several locations:\n\n| File | Purpose |\n| :---------------------------- | :------------------------------------------------------- |\n| `~/.claude/settings.json` | User settings (permissions, hooks, model overrides) |\n| `.claude/settings.json` | Project settings (checked into source control) |\n| `.claude/settings.local.json` | Local project settings (not committed) |\n| `~/.claude.json` | Global state (theme, OAuth, MCP servers, allowed tools) |\n| `.mcp.json` | Project MCP servers (checked into source control) |\n| `managed-settings.json` | [Managed settings](/en/settings#settings-files) |\n| `managed-mcp.json` | [Managed MCP servers](/en/mcp#managed-mcp-configuration) |\n\nOn Windows, `~` refers to your user home directory, such as `C:\\Users\\YourName`.\n\n**Managed file locations:**\n\n* macOS: `/Library/Application Support/ClaudeCode/`\n* Linux/WSL: `/etc/claude-code/`\n* Windows: `C:\\Program Files\\ClaudeCode\\`\n\nFor details on configuring these files, see [Settings](/en/settings) and [MCP](/en/mcp).\n\n### Resetting configuration\n\nTo reset Claude Code to default settings, you can remove the configuration files:\n\n```bash theme={null}\n# Reset all user settings and state\nrm ~/.claude.json\nrm -rf ~/.claude/\n\n# Reset project-specific settings\nrm -rf .claude/\nrm .mcp.json\n```\n\n<Warning>\n This will remove all your settings, allowed tools, MCP server configurations, and session history.\n</Warning>\n\n## Performance and stability\n\n### High CPU or memory usage\n\nClaude Code is designed to work with most development environments, but may consume significant resources when processing large codebases. If you're experiencing performance issues:\n\n1. Use `/compact` regularly to reduce context size\n2. Close and restart Claude Code between major tasks\n3. Consider adding large build directories to your `.gitignore` file\n\n### Command hangs or freezes\n\nIf Claude Code seems unresponsive:\n\n1. Press Ctrl+C to attempt to cancel the current operation\n2. If unresponsive, you may need to close the terminal and restart\n\n### Search and discovery issues\n\nIf Search tool, `@file` mentions, custom agents, and custom slash commands aren't working, install system `ripgrep`:\n\n```bash theme={null}\n# macOS (Homebrew) \nbrew install ripgrep\n\n# Windows (winget)\nwinget install BurntSushi.ripgrep.MSVC\n\n# Ubuntu/Debian\nsudo apt install ripgrep\n\n# Alpine Linux\napk add ripgrep\n\n# Arch Linux\npacman -S ripgrep\n```\n\nThen set `USE_BUILTIN_RIPGREP=0` in your [environment](/en/settings#environment-variables).\n\n### Slow or incomplete search results on WSL\n\nDisk read performance penalties when [working across file systems on WSL](https://learn.microsoft.com/en-us/windows/wsl/filesystems) may result in fewer-than-expected matches (but not a complete lack of search functionality) when using Claude Code on WSL.\n\n<Note>\n `/doctor` will show Search as OK in this case.\n</Note>\n\n**Solutions:**\n\n1. **Submit more specific searches**: Reduce the number of files searched by specifying directories or file types: \"Search for JWT validation logic in the auth-service package\" or \"Find use of md5 hash in JS files\".\n\n2. **Move project to Linux filesystem**: If possible, ensure your project is located on the Linux filesystem (`/home/`) rather than the Windows filesystem (`/mnt/c/`).\n\n3. **Use native Windows instead**: Consider running Claude Code natively on Windows instead of through WSL, for better file system performance.\n\n## IDE integration issues\n\n### JetBrains IDE not detected on WSL2\n\nIf you're using Claude Code on WSL2 with JetBrains IDEs and getting \"No available IDEs detected\" errors, this is likely due to WSL2's networking configuration or Windows Firewall blocking the connection.\n\n#### WSL2 networking modes\n\nWSL2 uses NAT networking by default, which can prevent IDE detection. You have two options:\n\n**Option 1: Configure Windows Firewall** (recommended)\n\n1. Find your WSL2 IP address:\n ```bash theme={null}\n wsl hostname -I\n # Example output: 172.21.123.456\n ```\n\n2. Open PowerShell as Administrator and create a firewall rule:\n ```powershell theme={null}\n New-NetFirewallRule -DisplayName \"Allow WSL2 Internal Traffic\" -Direction Inbound -Protocol TCP -Action Allow -RemoteAddress 172.21.0.0/16 -LocalAddress 172.21.0.0/16\n ```\n (Adjust the IP range based on your WSL2 subnet from step 1)\n\n3. Restart both your IDE and Claude Code\n\n**Option 2: Switch to mirrored networking**\n\nAdd to `.wslconfig` in your Windows user directory:\n\n```ini theme={null}\n[wsl2]\nnetworkingMode=mirrored\n```\n\nThen restart WSL with `wsl --shutdown` from PowerShell.\n\n<Note>\n These networking issues only affect WSL2. WSL1 uses the host's network directly and doesn't require these configurations.\n</Note>\n\nFor additional JetBrains configuration tips, see our [JetBrains IDE guide](/en/jetbrains#plugin-settings).\n\n### Reporting Windows IDE integration issues (both native and WSL)\n\nIf you're experiencing IDE integration problems on Windows, [create an issue](https://github.com/anthropics/claude-code/issues) with the following information:\n\n* Environment type: native Windows (Git Bash) or WSL1/WSL2\n* WSL networking mode (if applicable): NAT or mirrored\n* IDE name and version\n* Claude Code extension/plugin version\n* Shell type: Bash, Zsh, PowerShell, etc.\n\n### Escape key not working in JetBrains (IntelliJ, PyCharm, etc.) terminals\n\nIf you're using Claude Code in JetBrains terminals and the `Esc` key doesn't interrupt the agent as expected, this is likely due to a keybinding clash with JetBrains' default shortcuts.\n\nTo fix this issue:\n\n1. Go to Settings → Tools → Terminal\n2. Either:\n * Uncheck \"Move focus to the editor with Escape\", or\n * Click \"Configure terminal keybindings\" and delete the \"Switch focus to Editor\" shortcut\n3. Apply the changes\n\nThis allows the `Esc` key to properly interrupt Claude Code operations.\n\n## Markdown formatting issues\n\nClaude Code sometimes generates markdown files with missing language tags on code fences, which can affect syntax highlighting and readability in GitHub, editors, and documentation tools.\n\n### Missing language tags in code blocks\n\nIf you notice code blocks like this in generated markdown:\n\n````markdown theme={null}\n```\nfunction example() {\n return \"hello\";\n}\n```\n````\n\nInstead of properly tagged blocks like:\n\n````markdown theme={null}\n```javascript\nfunction example() {\n return \"hello\";\n}\n```\n````\n\n**Solutions:**\n\n1. **Ask Claude to add language tags**: Request \"Add appropriate language tags to all code blocks in this markdown file.\"\n\n2. **Use post-processing hooks**: Set up automatic formatting hooks to detect and add missing language tags. See the [markdown formatting hook example](/en/hooks-guide#markdown-formatting-hook) for implementation details.\n\n3. **Manual verification**: After generating markdown files, review them for proper code block formatting and request corrections if needed.\n\n### Inconsistent spacing and formatting\n\nIf generated markdown has excessive blank lines or inconsistent spacing:\n\n**Solutions:**\n\n1. **Request formatting corrections**: Ask Claude to \"Fix spacing and formatting issues in this markdown file.\"\n\n2. **Use formatting tools**: Set up hooks to run markdown formatters like `prettier` or custom formatting scripts on generated markdown files.\n\n3. **Specify formatting preferences**: Include formatting requirements in your prompts or project [memory](/en/memory) files.\n\n### Best practices for markdown generation\n\nTo minimize formatting issues:\n\n* **Be explicit in requests**: Ask for \"properly formatted markdown with language-tagged code blocks\"\n* **Use project conventions**: Document your preferred markdown style in [`CLAUDE.md`](/en/memory)\n* **Set up validation hooks**: Use post-processing hooks to automatically verify and fix common formatting issues\n\n## Getting more help\n\nIf you're experiencing issues not covered here:\n\n1. Use the `/bug` command within Claude Code to report problems directly to Anthropic\n2. Check the [GitHub repository](https://github.com/anthropics/claude-code) for known issues\n3. Run `/doctor` to check the health of your Claude Code installation\n4. Ask Claude directly about its capabilities and features - Claude has built-in access to its documentation\n\n\n---\n\n> To find navigation and other pages in this documentation, fetch the llms.txt file at: https://code.claude.com/docs/llms.txt","durationMs":178,"url":"https://code.claude.com/docs/en/troubleshooting.md"},"sourceToolAssistantUUID":"c269d64d-847d-4574-9583-ac547b18d1d9"}
{"parentUuid":"829f7acb-e986-4fb4-bae0-5495a6eb1f97","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","message":{"model":"claude-haiku-4-5-20251001","id":"msg_01FZZR11xfGXA1fgfwEvH63t","type":"message","role":"assistant","content":[{"type":"text","text":"Let me also check the system requirements documentation for any hardware constraints."}],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":6,"cache_creation_input_tokens":3876,"cache_read_input_tokens":15545,"cache_creation":{"ephemeral_5m_input_tokens":3876,"ephemeral_1h_input_tokens":0},"output_tokens":3,"service_tier":"standard"}},"requestId":"req_011CX1vrA5r9eAppGet2S5hT","type":"assistant","uuid":"768641b0-eef4-4818-8695-a02737937af4","timestamp":"2026-01-11T16:45:53.617Z"}
{"parentUuid":"768641b0-eef4-4818-8695-a02737937af4","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","message":{"model":"claude-haiku-4-5-20251001","id":"msg_01FZZR11xfGXA1fgfwEvH63t","type":"message","role":"assistant","content":[{"type":"tool_use","id":"toolu_01HJogH7LLsc7SkYUZk3NBkb","name":"WebFetch","input":{"url":"https://code.claude.com/docs/en/setup.md","prompt":"What are the system requirements and hardware constraints (CPU, memory, GPU) for Claude Code?"}}],"stop_reason":"tool_use","stop_sequence":null,"usage":{"input_tokens":6,"cache_creation_input_tokens":3876,"cache_read_input_tokens":15545,"cache_creation":{"ephemeral_5m_input_tokens":3876,"ephemeral_1h_input_tokens":0},"output_tokens":116,"service_tier":"standard"}},"requestId":"req_011CX1vrA5r9eAppGet2S5hT","type":"assistant","uuid":"d04a14a9-01bc-4166-bfe7-1baf39540b57","timestamp":"2026-01-11T16:45:54.148Z"}
{"parentUuid":"d04a14a9-01bc-4166-bfe7-1baf39540b57","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","type":"user","message":{"role":"user","content":[{"tool_use_id":"toolu_01HJogH7LLsc7SkYUZk3NBkb","type":"tool_result","content":"# Set up Claude Code\n\n> Install, authenticate, and start using Claude Code on your development machine.\n\n## System requirements\n\n* **Operating Systems**: macOS 10.15+, Ubuntu 20.04+/Debian 10+, or Windows 10+ (with WSL 1, WSL 2, or Git for Windows)\n* **Hardware**: 4 GB+ RAM\n* **Software**: [Node.js 18+](https://nodejs.org/en/download) (only required for npm installation)\n* **Network**: Internet connection required for authentication and AI processing\n* **Shell**: Works best in Bash, Zsh or Fish\n* **Location**: [Anthropic supported countries](https://www.anthropic.com/supported-countries)\n\n### Additional dependencies\n\n* **ripgrep**: Usually included with Claude Code. If search fails, see [search troubleshooting](/en/troubleshooting#search-and-discovery-issues).\n\n## Standard installation\n\nTo install Claude Code, use one of the following methods:\n\n<Tabs>\n <Tab title=\"Native Install (Recommended)\">\n **macOS, Linux, WSL:**\n\n ```bash theme={null}\n curl -fsSL https://claude.ai/install.sh | bash\n ```\n\n **Windows PowerShell:**\n\n ```powershell theme={null}\n irm https://claude.ai/install.ps1 | iex\n ```\n\n **Windows CMD:**\n\n ```batch theme={null}\n curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd\n ```\n </Tab>\n\n <Tab title=\"Homebrew\">\n ```sh theme={null}\n brew install --cask claude-code\n ```\n </Tab>\n\n <Tab title=\"NPM\">\n If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):\n\n ```sh theme={null}\n npm install -g @anthropic-ai/claude-code\n ```\n </Tab>\n</Tabs>\n\n<Note>\n Some users may be automatically migrated to an improved installation method.\n</Note>\n\nAfter the installation process completes, navigate to your project and start Claude Code:\n\n```bash theme={null}\ncd your-awesome-project\nclaude\n```\n\n## Windows setup\n\n**Option 1: Claude Code within WSL**\n\n* Both WSL 1 and WSL 2 are supported\n\n**Option 2: Claude Code on native Windows with Git Bash**\n\n* Requires [Git for Windows](https://git-scm.com/downloads/win)\n* For portable Git installations, specify the path to your `bash.exe`:\n ```powershell theme={null}\n $env:CLAUDE_CODE_GIT_BASH_PATH=\"C:\\Program Files\\Git\\bin\\bash.exe\"\n ```\n\n## Alternative installation methods\n\nClaude Code offers multiple installation methods to suit different environments.\n\nIf you encounter any issues during installation, consult the [troubleshooting guide](/en/troubleshooting#linux-permission-issues).\n\n<Tip>\n Run `claude doctor` after installation to check your installation type and version.\n</Tip>\n\n### Native installation options\n\nThe native installation is the recommended method and offers several benefits:\n\n* One self-contained executable\n* No Node.js dependency\n* Improved auto-updater stability\n\nIf you have an existing installation of Claude Code, use `claude install` to migrate to the native binary installation.\n\nFor advanced installation options with the native installer:\n\n**macOS, Linux, WSL:**\n\n```bash theme={null}\n# Install stable version (default)\ncurl -fsSL https://claude.ai/install.sh | bash\n\n# Install latest version\ncurl -fsSL https://claude.ai/install.sh | bash -s latest\n\n# Install specific version number\ncurl -fsSL https://claude.ai/install.sh | bash -s 1.0.58\n```\n\n<Note>\n **Alpine Linux and other musl/uClibc-based distributions**: The native build requires `libgcc`, `libstdc++`, and `ripgrep`. For Alpine: `apk add libgcc libstdc++ ripgrep`. Set `USE_BUILTIN_RIPGREP=0`.\n</Note>\n\n**Windows PowerShell:**\n\n```powershell theme={null}\n# Install stable version (default)\nirm https://claude.ai/install.ps1 | iex\n\n# Install latest version\n& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) latest\n\n# Install specific version number\n& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 1.0.58\n```\n\n**Windows CMD:**\n\n```batch theme={null}\nREM Install stable version (default)\ncurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd\n\nREM Install latest version\ncurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd latest && del install.cmd\n\nREM Install specific version number\ncurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd 1.0.58 && del install.cmd\n```\n\n<Tip>\n Make sure that you remove any outdated aliases or symlinks before installing.\n</Tip>\n\n**Binary integrity and code signing**\n\n* SHA256 checksums for all platforms are published in the release manifests, currently located at `https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/{VERSION}/manifest.json` (example: replace `{VERSION}` with `2.0.30`)\n* Signed binaries are distributed for the following platforms:\n * macOS: Signed by \"Anthropic PBC\" and notarized by Apple\n * Windows: Signed by \"Anthropic, PBC\"\n\n### NPM installation\n\nFor environments where NPM is preferred or required:\n\n```sh theme={null}\nnpm install -g @anthropic-ai/claude-code\n```\n\n<Warning>\n Do NOT use `sudo npm install -g` as this can lead to permission issues and security risks.\n If you encounter permission errors, see [configure Claude Code](/en/troubleshooting#linux-permission-issues) for recommended solutions.\n</Warning>\n\n## Authentication options\n\n### For individuals\n\n1. **Claude Pro or Max plan** (recommended): Subscribe to Claude's [Pro or Max plan](https://claude.ai/pricing) for a unified subscription that includes both Claude Code and Claude on the web. Manage your account in one place and log in with your Claude.ai account.\n2. **Claude Console**: Connect through the [Claude Console](https://console.anthropic.com) and complete the OAuth process. Requires active billing in the Anthropic Console. A \"Claude Code\" workspace is automatically created for usage tracking and cost management. You can't create API keys for the Claude Code workspace; it's dedicated exclusively for Claude Code usage.\n\n### For teams and organizations\n\n1. **Claude for Teams or Enterprise** (recommended): Subscribe to [Claude for Teams](https://claude.com/pricing#team-&-enterprise) or [Claude for Enterprise](https://anthropic.com/contact-sales) for centralized billing, team management, and access to both Claude Code and Claude on the web. Team members log in with their Claude.ai accounts.\n2. **Claude Console with team billing**: Set up a shared [Claude Console](https://console.anthropic.com) organization with team billing. Invite team members and assign roles for usage tracking.\n3. **Cloud providers**: Configure Claude Code to use [Amazon Bedrock, Google Vertex AI, or Microsoft Foundry](/en/third-party-integrations) for deployments with your existing cloud infrastructure.\n\n<Note>\n Claude Code securely stores your credentials. See [Credential Management](/en/iam#credential-management) for details.\n</Note>\n\n## Running on AWS or GCP\n\nBy default, Claude Code uses the Claude API.\n\nFor details on running Claude Code on AWS or GCP, see [third-party integrations](/en/third-party-integrations).\n\n## Update Claude Code\n\n### Auto updates\n\nClaude Code automatically keeps itself up to date to ensure you have the latest features and security fixes.\n\n* **Update checks**: Performed on startup and periodically while running\n* **Update process**: Downloads and installs automatically in the background\n* **Notifications**: You'll see a notification when updates are installed\n* **Applying updates**: Updates take effect the next time you start Claude Code\n\n**Disable auto-updates:**\n\nSet the `DISABLE_AUTOUPDATER` environment variable in your shell or [settings.json file](/en/settings):\n\n```bash theme={null}\nexport DISABLE_AUTOUPDATER=1\n```\n\n### Update manually\n\n```bash theme={null}\nclaude update\n```\n\n## Uninstall Claude Code\n\nIf you need to uninstall Claude Code, follow the instructions for your installation method.\n\n### Native installation\n\nRemove the Claude Code binary and version files:\n\n**macOS, Linux, WSL:**\n\n```bash theme={null}\nrm -f ~/.local/bin/claude\nrm -rf ~/.local/share/claude\n```\n\n**Windows PowerShell:**\n\n```powershell theme={null}\nRemove-Item -Path \"$env:USERPROFILE\\.local\\bin\\claude.exe\" -Force\nRemove-Item -Path \"$env:USERPROFILE\\.local\\share\\claude\" -Recurse -Force\n```\n\n**Windows CMD:**\n\n```batch theme={null}\ndel \"%USERPROFILE%\\.local\\bin\\claude.exe\"\nrmdir /s /q \"%USERPROFILE%\\.local\\share\\claude\"\n```\n\n### Homebrew installation\n\n```bash theme={null}\nbrew uninstall --cask claude-code\n```\n\n### NPM installation\n\n```bash theme={null}\nnpm uninstall -g @anthropic-ai/claude-code\n```\n\n### Clean up configuration files (optional)\n\n<Warning>\n Removing configuration files will delete all your settings, allowed tools, MCP server configurations, and session history.\n</Warning>\n\nTo remove Claude Code settings and cached data:\n\n**macOS, Linux, WSL:**\n\n```bash theme={null}\n# Remove user settings and state\nrm -rf ~/.claude\nrm ~/.claude.json\n\n# Remove project-specific settings (run from your project directory)\nrm -rf .claude\nrm -f .mcp.json\n```\n\n**Windows PowerShell:**\n\n```powershell theme={null}\n# Remove user settings and state\nRemove-Item -Path \"$env:USERPROFILE\\.claude\" -Recurse -Force\nRemove-Item -Path \"$env:USERPROFILE\\.claude.json\" -Force\n\n# Remove project-specific settings (run from your project directory)\nRemove-Item -Path \".claude\" -Recurse -Force\nRemove-Item -Path \".mcp.json\" -Force\n```\n\n**Windows CMD:**\n\n```batch theme={null}\nREM Remove user settings and state\nrmdir /s /q \"%USERPROFILE%\\.claude\"\ndel \"%USERPROFILE%\\.claude.json\"\n\nREM Remove project-specific settings (run from your project directory)\nrmdir /s /q \".claude\"\ndel \".mcp.json\"\n```\n\n\n---\n\n> To find navigation and other pages in this documentation, fetch the llms.txt file at: https://code.claude.com/docs/llms.txt"}]},"uuid":"7dfa8e77-1dcb-4fd9-8798-62cc137fcf02","timestamp":"2026-01-11T16:45:55.971Z","toolUseResult":{"bytes":9740,"code":200,"codeText":"OK","result":"# Set up Claude Code\n\n> Install, authenticate, and start using Claude Code on your development machine.\n\n## System requirements\n\n* **Operating Systems**: macOS 10.15+, Ubuntu 20.04+/Debian 10+, or Windows 10+ (with WSL 1, WSL 2, or Git for Windows)\n* **Hardware**: 4 GB+ RAM\n* **Software**: [Node.js 18+](https://nodejs.org/en/download) (only required for npm installation)\n* **Network**: Internet connection required for authentication and AI processing\n* **Shell**: Works best in Bash, Zsh or Fish\n* **Location**: [Anthropic supported countries](https://www.anthropic.com/supported-countries)\n\n### Additional dependencies\n\n* **ripgrep**: Usually included with Claude Code. If search fails, see [search troubleshooting](/en/troubleshooting#search-and-discovery-issues).\n\n## Standard installation\n\nTo install Claude Code, use one of the following methods:\n\n<Tabs>\n <Tab title=\"Native Install (Recommended)\">\n **macOS, Linux, WSL:**\n\n ```bash theme={null}\n curl -fsSL https://claude.ai/install.sh | bash\n ```\n\n **Windows PowerShell:**\n\n ```powershell theme={null}\n irm https://claude.ai/install.ps1 | iex\n ```\n\n **Windows CMD:**\n\n ```batch theme={null}\n curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd\n ```\n </Tab>\n\n <Tab title=\"Homebrew\">\n ```sh theme={null}\n brew install --cask claude-code\n ```\n </Tab>\n\n <Tab title=\"NPM\">\n If you have [Node.js 18 or newer installed](https://nodejs.org/en/download/):\n\n ```sh theme={null}\n npm install -g @anthropic-ai/claude-code\n ```\n </Tab>\n</Tabs>\n\n<Note>\n Some users may be automatically migrated to an improved installation method.\n</Note>\n\nAfter the installation process completes, navigate to your project and start Claude Code:\n\n```bash theme={null}\ncd your-awesome-project\nclaude\n```\n\n## Windows setup\n\n**Option 1: Claude Code within WSL**\n\n* Both WSL 1 and WSL 2 are supported\n\n**Option 2: Claude Code on native Windows with Git Bash**\n\n* Requires [Git for Windows](https://git-scm.com/downloads/win)\n* For portable Git installations, specify the path to your `bash.exe`:\n ```powershell theme={null}\n $env:CLAUDE_CODE_GIT_BASH_PATH=\"C:\\Program Files\\Git\\bin\\bash.exe\"\n ```\n\n## Alternative installation methods\n\nClaude Code offers multiple installation methods to suit different environments.\n\nIf you encounter any issues during installation, consult the [troubleshooting guide](/en/troubleshooting#linux-permission-issues).\n\n<Tip>\n Run `claude doctor` after installation to check your installation type and version.\n</Tip>\n\n### Native installation options\n\nThe native installation is the recommended method and offers several benefits:\n\n* One self-contained executable\n* No Node.js dependency\n* Improved auto-updater stability\n\nIf you have an existing installation of Claude Code, use `claude install` to migrate to the native binary installation.\n\nFor advanced installation options with the native installer:\n\n**macOS, Linux, WSL:**\n\n```bash theme={null}\n# Install stable version (default)\ncurl -fsSL https://claude.ai/install.sh | bash\n\n# Install latest version\ncurl -fsSL https://claude.ai/install.sh | bash -s latest\n\n# Install specific version number\ncurl -fsSL https://claude.ai/install.sh | bash -s 1.0.58\n```\n\n<Note>\n **Alpine Linux and other musl/uClibc-based distributions**: The native build requires `libgcc`, `libstdc++`, and `ripgrep`. For Alpine: `apk add libgcc libstdc++ ripgrep`. Set `USE_BUILTIN_RIPGREP=0`.\n</Note>\n\n**Windows PowerShell:**\n\n```powershell theme={null}\n# Install stable version (default)\nirm https://claude.ai/install.ps1 | iex\n\n# Install latest version\n& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) latest\n\n# Install specific version number\n& ([scriptblock]::Create((irm https://claude.ai/install.ps1))) 1.0.58\n```\n\n**Windows CMD:**\n\n```batch theme={null}\nREM Install stable version (default)\ncurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd\n\nREM Install latest version\ncurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd latest && del install.cmd\n\nREM Install specific version number\ncurl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd 1.0.58 && del install.cmd\n```\n\n<Tip>\n Make sure that you remove any outdated aliases or symlinks before installing.\n</Tip>\n\n**Binary integrity and code signing**\n\n* SHA256 checksums for all platforms are published in the release manifests, currently located at `https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/{VERSION}/manifest.json` (example: replace `{VERSION}` with `2.0.30`)\n* Signed binaries are distributed for the following platforms:\n * macOS: Signed by \"Anthropic PBC\" and notarized by Apple\n * Windows: Signed by \"Anthropic, PBC\"\n\n### NPM installation\n\nFor environments where NPM is preferred or required:\n\n```sh theme={null}\nnpm install -g @anthropic-ai/claude-code\n```\n\n<Warning>\n Do NOT use `sudo npm install -g` as this can lead to permission issues and security risks.\n If you encounter permission errors, see [configure Claude Code](/en/troubleshooting#linux-permission-issues) for recommended solutions.\n</Warning>\n\n## Authentication options\n\n### For individuals\n\n1. **Claude Pro or Max plan** (recommended): Subscribe to Claude's [Pro or Max plan](https://claude.ai/pricing) for a unified subscription that includes both Claude Code and Claude on the web. Manage your account in one place and log in with your Claude.ai account.\n2. **Claude Console**: Connect through the [Claude Console](https://console.anthropic.com) and complete the OAuth process. Requires active billing in the Anthropic Console. A \"Claude Code\" workspace is automatically created for usage tracking and cost management. You can't create API keys for the Claude Code workspace; it's dedicated exclusively for Claude Code usage.\n\n### For teams and organizations\n\n1. **Claude for Teams or Enterprise** (recommended): Subscribe to [Claude for Teams](https://claude.com/pricing#team-&-enterprise) or [Claude for Enterprise](https://anthropic.com/contact-sales) for centralized billing, team management, and access to both Claude Code and Claude on the web. Team members log in with their Claude.ai accounts.\n2. **Claude Console with team billing**: Set up a shared [Claude Console](https://console.anthropic.com) organization with team billing. Invite team members and assign roles for usage tracking.\n3. **Cloud providers**: Configure Claude Code to use [Amazon Bedrock, Google Vertex AI, or Microsoft Foundry](/en/third-party-integrations) for deployments with your existing cloud infrastructure.\n\n<Note>\n Claude Code securely stores your credentials. See [Credential Management](/en/iam#credential-management) for details.\n</Note>\n\n## Running on AWS or GCP\n\nBy default, Claude Code uses the Claude API.\n\nFor details on running Claude Code on AWS or GCP, see [third-party integrations](/en/third-party-integrations).\n\n## Update Claude Code\n\n### Auto updates\n\nClaude Code automatically keeps itself up to date to ensure you have the latest features and security fixes.\n\n* **Update checks**: Performed on startup and periodically while running\n* **Update process**: Downloads and installs automatically in the background\n* **Notifications**: You'll see a notification when updates are installed\n* **Applying updates**: Updates take effect the next time you start Claude Code\n\n**Disable auto-updates:**\n\nSet the `DISABLE_AUTOUPDATER` environment variable in your shell or [settings.json file](/en/settings):\n\n```bash theme={null}\nexport DISABLE_AUTOUPDATER=1\n```\n\n### Update manually\n\n```bash theme={null}\nclaude update\n```\n\n## Uninstall Claude Code\n\nIf you need to uninstall Claude Code, follow the instructions for your installation method.\n\n### Native installation\n\nRemove the Claude Code binary and version files:\n\n**macOS, Linux, WSL:**\n\n```bash theme={null}\nrm -f ~/.local/bin/claude\nrm -rf ~/.local/share/claude\n```\n\n**Windows PowerShell:**\n\n```powershell theme={null}\nRemove-Item -Path \"$env:USERPROFILE\\.local\\bin\\claude.exe\" -Force\nRemove-Item -Path \"$env:USERPROFILE\\.local\\share\\claude\" -Recurse -Force\n```\n\n**Windows CMD:**\n\n```batch theme={null}\ndel \"%USERPROFILE%\\.local\\bin\\claude.exe\"\nrmdir /s /q \"%USERPROFILE%\\.local\\share\\claude\"\n```\n\n### Homebrew installation\n\n```bash theme={null}\nbrew uninstall --cask claude-code\n```\n\n### NPM installation\n\n```bash theme={null}\nnpm uninstall -g @anthropic-ai/claude-code\n```\n\n### Clean up configuration files (optional)\n\n<Warning>\n Removing configuration files will delete all your settings, allowed tools, MCP server configurations, and session history.\n</Warning>\n\nTo remove Claude Code settings and cached data:\n\n**macOS, Linux, WSL:**\n\n```bash theme={null}\n# Remove user settings and state\nrm -rf ~/.claude\nrm ~/.claude.json\n\n# Remove project-specific settings (run from your project directory)\nrm -rf .claude\nrm -f .mcp.json\n```\n\n**Windows PowerShell:**\n\n```powershell theme={null}\n# Remove user settings and state\nRemove-Item -Path \"$env:USERPROFILE\\.claude\" -Recurse -Force\nRemove-Item -Path \"$env:USERPROFILE\\.claude.json\" -Force\n\n# Remove project-specific settings (run from your project directory)\nRemove-Item -Path \".claude\" -Recurse -Force\nRemove-Item -Path \".mcp.json\" -Force\n```\n\n**Windows CMD:**\n\n```batch theme={null}\nREM Remove user settings and state\nrmdir /s /q \"%USERPROFILE%\\.claude\"\ndel \"%USERPROFILE%\\.claude.json\"\n\nREM Remove project-specific settings (run from your project directory)\nrmdir /s /q \".claude\"\ndel \".mcp.json\"\n```\n\n\n---\n\n> To find navigation and other pages in this documentation, fetch the llms.txt file at: https://code.claude.com/docs/llms.txt","durationMs":198,"url":"https://code.claude.com/docs/en/setup.md"},"sourceToolAssistantUUID":"d04a14a9-01bc-4166-bfe7-1baf39540b57"}
{"parentUuid":"7dfa8e77-1dcb-4fd9-8798-62cc137fcf02","isSidechain":true,"userType":"external","cwd":"C:\\Users\\MikeSwanson\\claude-projects","sessionId":"ffbb1d55-48d7-4643-9b87-12eb26d1bfa4","version":"2.1.3","gitBranch":"main","agentId":"a8de08b","slug":"mossy-growing-wreath","message":{"model":"claude-haiku-4-5-20251001","id":"msg_017q4RWZoGvh75ovwSfhLUw8","type":"message","role":"assistant","content":[{"type":"text","text":"Based on my review of the official Claude Code documentation, here's what I found about resource constraints:\n\n## Resource Constraints for Claude Code\n\n**Official documentation shows minimal documented limits:**\n\nClaude Code does NOT have formally documented CPU, GPU, or strict memory limits in its official documentation. However, there is important information about resource usage:\n\n### Hardware Requirements\n- **Minimum**: 4 GB RAM (the only hardware requirement listed)\n- **CPU & GPU**: No specific limits or recommendations documented\n- **Operating Systems**: macOS 10.15+, Ubuntu 20.04+/Debian 10+, or Windows 10+\n\n### Performance Considerations\n\nFrom the troubleshooting documentation, Claude Code is noted to:\n\n1. **Process large codebases with resource intensity**: The docs explicitly state \"Claude Code is designed to work with most development environments, but may consume significant resources when processing large codebases.\"\n\n2. **Recommended mitigations for resource-heavy operations:**\n - Use `/compact` regularly to reduce context size\n - Close and restart Claude Code between major tasks\n - Add large build directories to `.gitignore` to reduce search scope\n\n### What This Means\n\nWhile Claude Code doesn't enforce hard CPU, GPU, or memory limits, the design assumes:\n- Resource usage scales with codebase size\n- It's optimized for typical development workflows on systems with 4GB+ RAM\n- Performance degrades gracefully on resource-constrained systems\n- There are no GPU requirements (CPU-only operation)\n\nIf you need more specific resource constraints or want to suggest documentation improvements about resource limits, you can use `/feedback` to report this to Anthropic.\n\nSources:\n- [Claude Code Setup - System Requirements](https://code.claude.com/docs/en/setup.md)\n- [Claude Code Troubleshooting - Performance and Stability](https://code.claude.com/docs/en/troubleshooting.md)"}],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":6,"cache_creation_input_tokens":2845,"cache_read_input_tokens":19421,"cache_creation":{"ephemeral_5m_input_tokens":2845,"ephemeral_1h_input_tokens":0},"output_tokens":430,"service_tier":"standard"}},"requestId":"req_011CX1vrUdooRMrkr2i9KJ2b","type":"assistant","uuid":"d0ffcc19-5545-4c94-84a5-4c5ceab3d92a","timestamp":"2026-01-11T16:46:02.079Z"}