copilot-mcp-tool: Instructions file for Gemini CLI

GEMINI.md

copilot-mcp-tool GEMINI.md is an instructions file for Gemini CLI from Poorgramer-Zack/copilot-mcp-tool. It costs 1,493 tokens per session, scanned B, original, MIT.

An MCP server that lets Gemini CLI use GitHub Copilot CLI for coding help, code explanations, debugging, refactoring, and shell, Git, or GitHub command suggestions.

In plain words
What is it for?
Use it to ask coding questions, explain or fix code, suggest commands, refactor code, and manage development sessions through Gemini CLI.
Why use it?
It puts several Copilot coding tasks behind callable tools, so another AI assistant can request focused help with code and development work.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions Codex; mentions Gemini CLI.

This is Poorgramer-Zack/copilot-mcp-tool's own configuration. It tells Gemini CLI how to work on copilot-mcp-tool itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copilot-mcp-tool configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Poorgramer-Zack/copilot-mcp-tool. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Poorgramer-Zack/copilot-mcp-tool/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/Poorgramer-Zack/copilot-mcp-tool

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for copilot-mcp-tool GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/poorgramer-zack/copilot-mcp-tool/gemini-md/github.svg)](https://agentmods.dev/instructions/poorgramer-zack/copilot-mcp-tool/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/poorgramer-zack/copilot-mcp-tool/gemini-md"><img src="https://agentmods.dev/badge/instructions/poorgramer-zack/copilot-mcp-tool/gemini-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for copilot-mcp-tool GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/poorgramer-zack/copilot-mcp-tool/gemini-md"><img src="https://agentmods.dev/badge/instructions/poorgramer-zack/copilot-mcp-tool/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,493 This file is loaded in full into every session.
When invoked 1,493 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01493 $0.01493
Opus 5 $0.00746 $0.00746
Sonnet 5 $0.00299 $0.00299
Haiku 4.5 $0.00149 $0.00149

Measured 8d ago against content hash d8a125332870, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

copilot-mcp-tool GEMINI.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- `allowAllTools` (optional): Allow all tools (default: true)
GEMINI.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Copilot MCP Server - Gemini CLI Extension

This extension integrates GitHub Copilot CLI with Gemini CLI through the Model Context Protocol (MCP), providing a comprehensive set of AI-powered coding tools.

Available Tools

Core Tools

  • ask-copilot: General-purpose coding assistant for help, debugging, and architecture questions.

    • prompt (required): Your question or request
    • context (optional): Additional context (code, error messages, etc.)
    • model (optional): AI model to use (default: claude-sonnet-4.6)
    • allowAllTools (optional): Allow all tools (default: true)
  • copilot-explain: Get detailed explanations of code snippets.

    • code (required): The code to explain
    • model (optional): AI model to use
  • copilot-suggest: Get CLI command suggestions for shell, git, or GitHub operations.

    • task (required): Natural language description of what you want to do
    • model (optional): AI model to use
  • copilot-debug: Debug code errors and get fix suggestions.

    • code (required): The buggy code
    • error (required): The error message
    • context (optional): Additional context
  • copilot-refactor: Get refactoring suggestions for code improvement.

    • code (required): The code to refactor
    • goal (optional): Specific refactoring goal (e.g., "improve performance", "add error handling")
  • copilot-review: Get code review feedback with focus areas.

    • code (required): The code to review
    • focusAreas (optional): Array of focus areas (e.g., ["security", "performance"])
  • copilot-test-generate: Generate unit tests for your code.

    • code (required): The code to generate tests for
    • framework (optional): Testing framework (e.g., "jest", "pytest", "mocha")

Session Management

  • copilot-session-start: Start a new conversation session for context tracking.

  • copilot-session-history: Get conversation history for a session.

    • sessionId (required): The session ID to retrieve history for

Read the full file on GitHub · 167 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 167 lines · 1,493 tokens per session scan B d8a125332870

Subscribe to this mod's changes

copilot-mcp-tool GEMINI.md is an instructions file published in the GitHub repository Poorgramer-Zack/copilot-mcp-tool (8 stars, last pushed 4mo ago), licensed MIT. It adds 1,493 tokens to every session, about $0.0075 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.