opencode
opencode copied to clipboard
feat(flags): allow disabling .claude prompt and skills loading
This PR adds opt-out flags for users who don't want OpenCode to load Claude-related local configuration.
-
OPENCODE_DISABLE_CLAUDE_PROMPT=1Skips loading~/.claude/CLAUDE.md. -
OPENCODE_DISABLE_CLAUDE_SKILLS=1Skips discovering skills from:-
<repo>/.claude/skills/**/SKILL.md -
~/.claude/skills/**/SKILL.md
-
Default behavior is unchanged when flags are not set.