You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
if CLAUDE.md exists, /init should modify it, not create AGENTS.md #1906
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.
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.
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
@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.
Activity
rekram1-node commentedon Aug 13, 2025
It almost feels like maybe it should ask first, some people want their CLAUDE.md separate but I like the idea
thdxr commentedon Aug 13, 2025
i honestly hate the
/initfeature i feel like i delete 90% of it alwaysrekram1-node commentedon 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 commentedon Aug 13, 2025
but my experience has also been poor w/ the AGENTS.md generations
austinm911 commentedon Aug 13, 2025
i don't disagree that
/initisn'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.[-]if `CLAUDE.md exists, `/init` should modify it, not create `AGENTS.md`[/-][+]if `CLAUDE.md` exists, `/init` should modify it, not create `AGENTS.md`[/+]rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
bengineerdavis commentedon Sep 10, 2026
@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.