Skip to content

if CLAUDE.md exists, /init should modify it, not create AGENTS.md #1906

Closed

Description

@austinm911

If you use CLAUDE.md so that you can also use also claude code, then /init will create a AGENTS.md file rather than just modifying the existing CLAUDE.md. My understand is that CLAUDE.md will be picked up nonetheless.

Activity

  1. rekram1-node commented on Aug 13, 2025

    @rekram1-node
    Contributor

    It almost feels like maybe it should ask first, some people want their CLAUDE.md separate but I like the idea

  2. thdxr commented on Aug 13, 2025

    @thdxr
    Member

    i honestly hate the /init feature i feel like i delete 90% of it always

  3. rekram1-node commented on Aug 13, 2025

    @rekram1-node
    Contributor

    I kinda wish /init just created opencode.jsonc and filled in instructions array w/ relevant file name(s) if I already have rules I manage

  4. rekram1-node commented on Aug 13, 2025

    @rekram1-node
    Contributor

    but my experience has also been poor w/ the AGENTS.md generations

  5. austinm911 commented on Aug 13, 2025

    @austinm911
    Author

    i don't disagree that /init isn't super reliable. certainly the first generation its fine for just getting something up and running but i've only manually reviewed it and adjusted it to my liking.

  6. changed the title [-]if `CLAUDE.md exists, `/init` should modify it, not create `AGENTS.md`[/-] [+]if `CLAUDE.md` exists, `/init` should modify it, not create `AGENTS.md`[/+] on Aug 13, 2025
  7. rekram1-node commented on Dec 28, 2025

    @rekram1-node
    Contributor

    [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

  8. bengineerdavis commented on Sep 10, 2026

    @bengineerdavis

    @rekram1-node I'll bump this if that's an option! I often have existing agent.md files and would appreciate an interactive way to resolve or evolve the file after receiving recommendations from opencode. Lmk if this makes more sense in a separate request, but this is how I see the modification option working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions