Replies: 2 comments
-
I would also agree with this, I use cursor and Gemini cli and it would be amazing to integrate this into Gemini. |
Beta Was this translation helpful? Give feedback.
-
It seems the sandbox that Gemini enforces makes the referencing of the documents in the home directory a challenge. I have now used this in two projects and each one runs into the same issue when the generic md file references the home directory copies Gemini won't seem to load it. I could have sworn this worked before....maybe I am thinking of a different tool or this was an update. An idea to get around this is a mcp that can load it or a script that the ai could call that would get the contents. This should allow Gemini to function the same way. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for what you have come up with.
I use Gemini pretty extensively in large part because of how much they offer on the free tier. I don't know you are aware or not but there is an /extensions option in Gemini CLI now. I played around with how to implement it and have it working. It was pretty straight forward by removing the mcpServer from the config and I had to copy all of the files to get it working initially. I don't know if after it is working it still works that way but I believe it is a limitation on Gemini not what you have done. So if you want like help working through that let me know.
Here is a sample that works for me for the analyze-product:
In your home directory (they indicate this would work in project as well but I wanted it for all of my projects)
~/.gemini/extensions/analyze-product/gemini-extensions.json
{ "name": "analyze-product", "version": "1.0.0", "contextFileName": ".agent-os/instructions/analyze-product.md" }
When this loads it the contextFileName is relative to the directory that I started the gemini cli.
Beta Was this translation helpful? Give feedback.
All reactions