Skip to content

Commit 2e034d6

Browse files
docs: update Claude Code documentation
1 parent 226c341 commit 2e034d6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
---
3030

31-
> **Last docs pull:** <!-- LAST_UPDATED -->2026-03-16 22:15 UTC / 15:15 PT / 18:15 ET / 23:15 CET / 03:45+1 IST / 07:15+1 JST<!-- /LAST_UPDATED -->
31+
> **Last docs pull:** <!-- LAST_UPDATED -->2026-03-16 23:12 UTC / 16:12 PT / 19:12 ET / 00:12 CET / 04:42+1 IST / 08:12+1 JST<!-- /LAST_UPDATED -->
3232
3333
A GitHub Actions workflow runs every hour, downloads the latest docs, and commits any changes automatically.
3434

‎claude-code-docs/env-vars.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Claude Code supports the following environment variables to control its behavior
2626
| `BASH_DEFAULT_TIMEOUT_MS` | Default timeout for long-running bash commands |
2727
| `BASH_MAX_OUTPUT_LENGTH` | Maximum number of characters in bash outputs before they are middle-truncated |
2828
| `BASH_MAX_TIMEOUT_MS` | Maximum timeout the model can set for long-running bash commands |
29+
| `CLAUDECODE` | Set to `1` in shell environments Claude Code spawns (Bash tool, tmux sessions). Not set in [hooks](/en/hooks) or [status line](/en/statusline) commands. Use to detect when a script is running inside a shell spawned by Claude Code |
2930
| `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE` | Set the percentage of context capacity (1-100) at which auto-compaction triggers. By default, auto-compaction triggers at approximately 95% capacity. Use lower values like `50` to compact earlier. Values above the default threshold have no effect. Applies to both main conversations and subagents. This percentage aligns with the `context_window.used_percentage` field available in [status line](/en/statusline) |
3031
| `CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR` | Return to the original working directory after each Bash command |
3132
| `CLAUDE_CODE_ACCOUNT_UUID` | Account UUID for the authenticated user. Used by SDK callers to provide account information synchronously, avoiding a race condition where early telemetry events lack account metadata. Requires `CLAUDE_CODE_USER_EMAIL` and `CLAUDE_CODE_ORGANIZATION_UUID` to also be set |

0 commit comments

Comments
 (0)