Skip to content

Add Gemini CLI extension context file for improved tool usage guidance for CLI #709

Description

@LyalinDotCom

Is your feature request related to a problem? Please describe.

When using Chrome DevTools MCP with Gemini CLI, the AI doesn't have built-in knowledge of how to effectively use the available tools. Users interacting with Gemini CLI could get mixed results especially if similar MCP tools exists from other installed servers in the context.

Describe the solution you'd like

Add a gemini-extension.md context file that provides system-level instructions to Gemini CLI when this extension is installed. We'd also need to update the gemini-extension.json to reference the new file via the contextFileName property.

Describe alternatives you've considered

This is how Gemini CLI Extensions work best so there is not an alternative to suggest

Additional context

I'm from the Gemini CLI team and figured it would not hurt to add this feature, so will be submitting a PR as a starting point for this. But expert users of this MCP server might find additional instructions to include in the markdown that I'm not considering.

Activity

  1. OrKoN commented on Jan 7, 2026

    @OrKoN
    Collaborator
  2. natorion commented on Jan 8, 2026

    @natorion
    Contributor
  3. art-shen commented on Jan 17, 2026

    @art-shen

    A universal skill compatible with different AI agents (OpenCode, Gemini CLI, Claude Code) could be really helpful!

  4. Thebigboss1978 commented on Jan 17, 2026

    @Thebigboss1978

    Antigravity vs Cli Gemini ?

  5. natorion commented on Jan 20, 2026

    @natorion
    Contributor

    Antigravity vs Cli Gemini ?

    ?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions