←back to thread

Gemini CLI

(blog.google)
1348 points sync | 8 comments | | HN request time: 1.681s | source | bottom
1. eisbaw ◴[] No.44381169[source]
Can't we standardize on AGENTS.md instead of all these specific CLAUDE.md and now GEMINI.md.

I just symlink now to AGENTS.md

replies(4): >>44384292 #>>44384792 #>>44388004 #>>44388340 #
2. 22c ◴[] No.44384292[source]
Hmm kinda makes sense to keep them separate because the agents perform differently, right?

You might want to tell Claude not to write so many comments but you might want to tell Gemini not to reach for Kotlin so much, or something.

A unified approach might be nice, but using the same prompt for all of the LLM "coding tools" is probably not going to be as nice as having prompts tailored for each specific tool.

replies(1): >>44386857 #
3. vincelt ◴[] No.44384792[source]
Agreed. If there are provider-specific differences then we should be able to add CLAUDE/GEMINI.md to take precedence, but most things in there are basic or general information and should apply to all providers (same for .cursor/, .windsurfrules/, ..)
4. seunosewa ◴[] No.44386857[source]
Put in the file:

Instructions for Claude:

- ...

- ...

Instructions for Gemini:

- ...

- ...

replies(2): >>44388102 #>>44388171 #
5. kaycebasques ◴[] No.44388004[source]
I agree that we should standardize on AGENTS.md but Gemini CLI does at least let you configure the filename: https://github.com/google-gemini/gemini-cli/blob/3a369ddec3b...

Claude Code seems to require the CLAUDE.md filename.

https://technicalwriting.dev/ai/agents/

6. breakingcups ◴[] No.44388102{3}[source]
But then the irrelevant instructions are just cluttering the context.
7. asadm ◴[] No.44388171{3}[source]
that just overloads the agents context and decreases performance.
8. luisrudge ◴[] No.44388340[source]
I think this whole thing sucks.. we should have a single way of setting these instructions that all agents will read. not sure why they feel they need to own that part. seems so petty. do you think something like this would be useful? https://github.com/luisrudge/dot-ai/ basically a cli that generates files for multiple AI tools based on a single source