From 542c9d53463f89ca75e5524c9fd6ddfa602d8b59 Mon Sep 17 00:00:00 2001 From: freespace8 Date: Thu, 8 Jan 2026 14:10:25 +0800 Subject: feat(flags): allow disabling .claude prompt and skills loading (#7205) --- packages/web/src/content/docs/cli.mdx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/web/src') diff --git a/packages/web/src/content/docs/cli.mdx b/packages/web/src/content/docs/cli.mdx index 9f3432b80..97c4a0702 100644 --- a/packages/web/src/content/docs/cli.mdx +++ b/packages/web/src/content/docs/cli.mdx @@ -566,6 +566,9 @@ OpenCode can be configured using environment variables. | `OPENCODE_DISABLE_LSP_DOWNLOAD` | boolean | Disable automatic LSP server downloads | | `OPENCODE_ENABLE_EXPERIMENTAL_MODELS` | boolean | Enable experimental models | | `OPENCODE_DISABLE_AUTOCOMPACT` | boolean | Disable automatic context compaction | +| `OPENCODE_DISABLE_CLAUDE_CODE` | boolean | Disable reading from `.claude` (prompt + skills) | +| `OPENCODE_DISABLE_CLAUDE_CODE_PROMPT` | boolean | Disable reading `~/.claude/CLAUDE.md` | +| `OPENCODE_DISABLE_CLAUDE_CODE_SKILLS` | boolean | Disable loading `.claude/skills` | | `OPENCODE_CLIENT` | string | Client identifier (defaults to `cli`) | | `OPENCODE_ENABLE_EXA` | boolean | Enable Exa web search tools | -- cgit v1.2.3