GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [DOCS]: Document ~/.claude/CLAUDE.md compatibility behavior · Issue #8265 · anomalyco/opencode

[DOCS]: Document ~/.claude/CLAUDE.md compatibility behavior #8265

New issue
Copy link
New issue
Copy link
Closed
#8268
Closed
[DOCS]: Document ~/.claude/CLAUDE.md compatibility behavior#8265
#8268
Copy link
Assignees
jayair
Labels
docs

Description

@zeke
zeke
opened on Jan 13, 2026
Issue body actions

Problem

OpenCode has Claude Code compatibility features that are inconsistently documented:

Feature Documented? Where?
~/.claude/skills/ Yes Skills docs
.claude/skills/ (project) Yes Skills docs
~/.claude/CLAUDE.md No -
Project-level CLAUDE.md No -
OPENCODE_DISABLE_CLAUDE_CODE* env vars Partially CLI docs (env var table only)

The Rules documentation mentions CLAUDE.md only as a comparison ("similar to CLAUDE.md or Cursor's rules") but doesn't explain that OpenCode actually reads these files.

Affected Code

  • packages/opencode/src/session/system.ts#L65-L73 - loads CLAUDE.md (project) and ~/.claude/CLAUDE.md (global)
  • packages/opencode/src/skill/skill.ts#L78-L79 - scans ~/.claude/skills/

Proposed Changes

Update the Rules documentation to:

  1. Mention that CLAUDE.md works as an alternative to AGENTS.md (project-level)
  2. Document ~/.claude/CLAUDE.md support (global)
  3. Add a "Claude Code Compatibility" section that consolidates all compatibility features
  4. Document all three OPENCODE_DISABLE_CLAUDE_CODE* environment variables
  5. Cross-reference the Skills documentation for ~/.claude/skills/

Related Issues

  • opencode doesn't respect CLAUDE_CONFIG_DIR environment variable #6551 - opencode doesn't respect CLAUDE_CONFIG_DIR environment variable
  • [FEATURE]: Support loading Claude Code plugins from .claude/ directory #8158 - Support loading Claude Code plugins from .claude/ directory
  • [FEATURE]: Add .claude/commands/ compatibility (like .claude/skills/) #6985 - Add .claude/commands/ compatibility

Activity

  1. github-actions
    assigned
    jayair
    on Jan 13, 2026
  2. github-actions
    added
    docs
    on Jan 13, 2026
  3. github-actions commented on Jan 13, 2026

    @github-actions
    github-actionsBot
    on Jan 13, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • [FEATURE]: Add instructions in docs for using a global AGENTS.md #7703: [FEATURE]: Add instructions in docs for using a global AGENTS.md - Requests documentation for global configuration file locations
    • docs: not clear that opencode picks up CLAUDE.md files automatically #1760: docs: not clear that opencode picks up CLAUDE.md files automatically - Notes that automatic CLAUDE.md pickup is not documented
    • opencode doesn't respect CLAUDE_CONFIG_DIR environment variable #6551: opencode doesn't respect CLAUDE_CONFIG_DIR environment variable - Related issue about CLAUDE.md/skills configuration and environment variable support

    Feel free to ignore if none of these address your specific case.

  4. rekram1-node
    closed this as completedin #8268on Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jayair
    jayair

Labels

docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.