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

Closed
opened 2026-02-16 17:30:19 -05:00 by yindo · 6 comments
Owner

Originally created by @austinm911 on GitHub (Aug 13, 2025).

Originally assigned to: @thdxr on GitHub.

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.

Originally created by @austinm911 on GitHub (Aug 13, 2025). Originally assigned to: @thdxr on GitHub. 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.
yindo closed this issue 2026-02-16 17:30:19 -05:00
Author
Owner

@rekram1-node commented on GitHub (Aug 13, 2025):

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

@rekram1-node commented on GitHub (Aug 13, 2025): It almost feels like maybe it should ask first, some people want their CLAUDE.md separate but I like the idea
Author
Owner

@thdxr commented on GitHub (Aug 13, 2025):

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

@thdxr commented on GitHub (Aug 13, 2025): i honestly hate the `/init` feature i feel like i delete 90% of it always
Author
Owner

@rekram1-node commented on GitHub (Aug 13, 2025):

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

@rekram1-node commented on GitHub (Aug 13, 2025): 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
Author
Owner

@rekram1-node commented on GitHub (Aug 13, 2025):

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

@rekram1-node commented on GitHub (Aug 13, 2025): but my experience has also been poor w/ the AGENTS.md generations
Author
Owner

@austinm911 commented on GitHub (Aug 13, 2025):

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.

@austinm911 commented on GitHub (Aug 13, 2025): 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.
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

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

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1289