Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>GitHub Copilot CLI AgentsNew to Visual Studio Code? Get it now.
GitHub Copilot CLI Agents

GitHub Copilot CLI Agents

sbluemin

|
28 installs
| (0) | Free
GitHub Copilot extension for integrating multiple Code Agent CLIs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copilot CLI Agents

Copilot extension for integrating multiple Code Agent CLIs directly into VS Code Copilot Chat.

Introduction

Demo

Motivation

GitHub Copilot provides a highly structured and well-integrated development experience, offering fine-grained control for Agent Coding. However, as a product specialized for coding, its underlying models often come with restricted Context Windows.

On the other hand, pure models like Gemini and Claude (such as Sonnet 4.5 with its 1M context window) provide extensive context capabilities. Switching contexts or applications to leverage these large-context models creates unnecessary friction. This extension aims to bridge this gap, allowing developers to utilize these powerful CLIs without leaving the VS Code Copilot Agent environment.

Features

Chat Participants

This extension adds the following chat participants to GitHub Copilot:

  • @gemini: Google Gemini AI Assistant
  • @claude: Anthropic Claude AI Assistant

Note: Since Gemini and Claude are used directly as CLIs, Copilot's request processing is not used.

Commands

This extension provides the following commands:

  • Scaffold Code Agents: Creates the recommended project structure for Code Agent integration
    • Command ID: copilot-cli-agents.scaffold-llm
    • Creates .github/copilot-instructions.md and related directories (agents, prompts, instructions)
    • Sets up GEMINI.md and CLAUDE.md symlinks at the project root for agent-specific instructions

Usage

  1. Install and log in to Gemini CLI or Claude Code.
    • Gemini CLI
    • Claude Code
  2. Open GitHub Copilot Chat in VS Code.
  3. Type @gemini or @claude followed by your query.

Important Notes

  1. When the Participant is first called, a {workspaceFolder}/.github/copilot-cli-agents.json file is created.

    Note: This is used to restore the chat session between Copilot and the CLI. It is safe to add it to .gitignore.

  2. Even if you use GitHub Copilot's 'Add Context' feature, it is not attached.

    Note: This is intended to use the CLI cleanly without polluting its own features. If you wish to perform advanced tasks, please use the CLI directly after restoring the session.

  3. The working directory for all CLIs is the open path in VS Code.

    Note: This allows you to purely utilize the instruction files and capabilities within the project.

  4. The only available tool for the CLI is the 'Web Search' tool.

    Note: This project is intended to utilize other CLIs as 'auxiliary tools' using GitHub Copilot.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft