opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat(flags): allow disabling .claude prompt and skills loading

Open freespace8 opened this issue 1 week ago • 2 comments

This PR adds opt-out flags for users who don't want OpenCode to load Claude-related local configuration.

  • OPENCODE_DISABLE_CLAUDE_PROMPT=1 Skips loading ~/.claude/CLAUDE.md.
  • OPENCODE_DISABLE_CLAUDE_SKILLS=1 Skips discovering skills from:
    • <repo>/.claude/skills/**/SKILL.md
    • ~/.claude/skills/**/SKILL.md

Default behavior is unchanged when flags are not set.

freespace8 avatar Jan 07 '26 13:01 freespace8