[PR #7205] feat(flags): allow disabling .claude prompt and skills loading #12296

Closed
opened 2026-02-16 18:17:13 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7205

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7205 **State:** closed **Merged:** Yes --- 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.
yindo added the pull-request label 2026-02-16 18:17:13 -05:00
yindo closed this issue 2026-02-16 18:17:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12296