XSpreadsheet copilot-instructions.md

XSpreadsheet copilot-instructions.md is an instructions file for GitHub Copilot from amanarneja/XSpreadsheet. It costs 330 tokens per session, scanned C, original, MIT.

A set of project instructions for an Excel file tool server. The server uses MCP, a standard way for AI assistants to call tools, to read, edit, format, and chart Excel workbooks.

In plain words
What is it for?
Use it when developing the Excel MCP server, including worksheet changes, cell updates, formulas, formatting, charts, error handling, and Python code style.
Why use it?
It gives a coding agent the project’s structure, development rules, and available tools in one place. This reduces guesswork when changing or extending the server.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/amanarneja/xspreadsheet/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/amanarneja/XSpreadsheet

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/amanarneja/xspreadsheet/copilot-instructions.svg)](https://agentmods.dev/instructions/amanarneja/xspreadsheet/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/amanarneja/xspreadsheet/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/amanarneja/xspreadsheet/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 330 This file is loaded in full into every session.
When invoked 330 The same file — it is already loaded in full.
Security scan C 1 finding. Scan, not verified.
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 $0.00330 $0.00330
Opus 5 $0.00165 $0.00165
Sonnet 5 $0.00066 $0.00066
Haiku 4.5 $0.00033 $0.00033

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

Security

Grade C, and why

XSpreadsheet copilot-instructions.md scanned grade C 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 2d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Use this file to provide workspace-specific custom instructions to Copilot. For more details, visit https://code.visualstudio.com/docs/copilot/copilot-customization#_use-a-githubcopilotinstructionsmd-file -->
.github/copilot-instructions.md · 41 lines

What it actually says

Excel MCP Server Project

This is an MCP (Model Context Protocol) Server project that provides Excel file manipulation capabilities.

Key Components

  • Excel Library (src/excel_mcp_server/excel_library.py): Core Excel manipulation functionality using openpyxl
  • MCP Server (src/excel_mcp_server/server.py): FastMCP server that exposes Excel operations as tools

Development Guidelines

  • Use type hints throughout the codebase
  • Follow Python best practices for error handling
  • Log errors appropriately using the logging module
  • Use openpyxl for Excel file manipulation
  • Follow MCP protocol standards

MCP Information

You can find more info and examples at https://modelcontextprotocol.io/llms-full.txt

Available Tools

The server provides the following MCP tools:

  • read_excel_file - Read data from Excel files
  • write_excel_file - Write data to Excel files
  • get_worksheet_info - Get worksheet information
  • add_worksheet - Add new worksheets
  • update_cell - Update specific cells
  • apply_formula - Apply Excel formulas
  • format_cells - Apply cell formatting
  • create_chart - Create charts and graphs

Resources

The server provides these MCP resources:

  • excel://help - Help documentation
  • excel://examples - Usage examples
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. 2d ago First seen · 41 lines · 330 tokens per session scan C ac3d0a92c01d

Subscribe to this mod's changes

XSpreadsheet copilot-instructions.md is an instructions file published in the GitHub repository amanarneja/XSpreadsheet (0 stars, last pushed 1y ago), licensed MIT. It adds 330 tokens to every session, about $0.0016 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.