mcp-windows: Instructions file for GitHub Copilot

.github/copilot-instructions.md

mcp-windows copilot-instructions.md is an instructions file for GitHub Copilot from sbroenne/mcp-windows. It costs 1,703 tokens per session, scanned A, original, MIT.

A set of coding guidelines for mcp-windows, a Windows-only MCP server that automates user-interface actions. It also covers related Excel and PowerPoint automation projects.

In plain words
What is it for?
Use it when developing or reviewing mcp-windows, especially for architecture, automation workflows, process management, command-line and MCP entry points, or reusable fixes across the project family.
Why use it?
It gives contributors shared design rules and points them to existing patterns for command-line tools, MCP servers, background processes, and checks. This reduces inconsistent fixes across related projects.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is sbroenne/mcp-windows's own configuration. It tells GitHub Copilot how to work on mcp-windows 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 mcp-windows configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sbroenne/mcp-windows. 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/sbroenne/mcp-windows/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/sbroenne/mcp-windows

Made for: GitHub Copilot.

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 mcp-windows copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sbroenne/mcp-windows/copilot-instructions/github.svg)](https://agentmods.dev/instructions/sbroenne/mcp-windows/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/sbroenne/mcp-windows/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/sbroenne/mcp-windows/copilot-instructions/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 mcp-windows copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sbroenne/mcp-windows/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/sbroenne/mcp-windows/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,703 This file is loaded in full into every session.
When invoked 1,703 The same file — it is already loaded in full.
Security scan A 0 findings. 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.01703 $0.01703
Opus 5.5 $0.00681 $0.00681
Sonnet 5.5 $0.00341 $0.00341
Haiku 4.5 $0.00170 $0.00170

Measured 28d ago against content hash f5bcb6c07242, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-windows copilot-instructions.md scanned grade A with 0 findings 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 28d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md · 130 lines

How it starts

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

Copilot Instructions for mcp-windows

Language and documentation

  • Use simple, jargon-free English in replies, README files, website pages, and other documentation written for users.
  • Write for someone who is new to the project. Explain what it does, how to install it, and how to complete a first useful task before giving technical details.
  • Use everyday words and short, direct sentences. Explain any necessary technical term when it first appears. Keep exact command names and options unchanged.
  • Describe the current product, not its development history or rejected experiments. Keep release history in the changelog, not in getting-started guides.
  • Put detailed settings, test methods, and implementation details in the relevant reference pages rather than the README introduction.
  • Say "MCP or the command line (CLI)" in introductory copy. Explain wincli as the program's name only where installation steps or exact commands need it.
  • Keep the website's user guides separate from developer manuals, agent instruction files, and release history. Do not paste those references into beginner pages.

Code Review

For pull request reviews and re-reviews, use the code-review skill for repository-specific checks and evidence standards.

Sister Projects

mcp-windows is one of a family of Windows-only MCP-server repos maintained by the same author (sbroenne). The family also includes:

  • mcp-server-excel (sbroenne/mcp-server-excel) — Excel COM automation. This is the authoritative architectural template for the family's general server-side patterns: layered architecture (Core → Service → CLI/MCP Server), the "two equal entry points" (MCP Server + CLI) principle, Unified Service Architecture (shared daemon/session registry), and its support/audit scripts (scripts/*.ps1) and CI Gate workflow. mcp-windows is UI-automation-focused (FlaUI/ pywinauto patterns) rather than COM/Office-interop-focused, so not every Excel pattern applies directly — but when solving a cross-cutting problem (session lifecycle, CLI/MCP parity, daemon process management, pre-commit audit tooling), check how Excel solved it first.
  • mcp-server-powerpoint (sbroenne/mcp-server-powerpoint) — PowerPoint COM automation, structurally mirrors mcp-server-excel.

Read the full file on GitHub · 130 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. 28d ago Changed · +35 lines · +535 tokens per session f5bcb6c07242
  2. 1mo ago Changed · +5 lines · +37 tokens per session 44e385e1cc53
  3. 2mo ago First seen · 90 lines · 1,131 tokens per session scan A 1bea59c2fe83

Subscribe to this mod's changes

mcp-windows copilot-instructions.md is an instructions file published in the GitHub repository sbroenne/mcp-windows (125 stars, last pushed yesterday), licensed MIT. It adds 1,703 tokens to every session, about $0.0068 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.