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.
npx agentmods add instructions/amanarneja/xspreadsheet/copilot-instructionsgit clone --depth 1 https://github.com/amanarneja/XSpreadsheetWrote 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.
[](https://agentmods.dev/instructions/amanarneja/xspreadsheet/copilot-instructions)<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>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.
| Model | Per session | Once 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 |
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 --> 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 fileswrite_excel_file- Write data to Excel filesget_worksheet_info- Get worksheet informationadd_worksheet- Add new worksheetsupdate_cell- Update specific cellsapply_formula- Apply Excel formulasformat_cells- Apply cell formattingcreate_chart- Create charts and graphs
Resources
The server provides these MCP resources:
excel://help- Help documentationexcel://examples- Usage examples
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.
- 2d ago First seen · 41 lines · 330 tokens per session scan C ac3d0a92c01d
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.
Other instructions, from other repositories
mcp-server-excel excel-com-interop.instructions.md
Instructions for sbroenne/mcp-server-excel, covering excel com interop, api selection, batch execution and exceptions, com lifetime and excel application state.
mcp-server-excel mcp-llm-guidance.instructions.md
Instructions for sbroenne/mcp-server-excel, a project described as: Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, charts, and 326 operations.
excel-mcp-server CLAUDE.md
Instructions for TangentDomain/excel-mcp-server, covering excel mcp server, 技术栈, 目录结构, mcp 工具 → python api 映射 and sql 核心原则.
excel-analyst-pro-skill-md CLAUDE.md
Claude Code instructions for jeremylongshore/excel-analyst-pro-skill-md, covering claude.md — excel analyst pro, what this repo is, architecture, conventions and validation.
fcp-sheets CLAUDE.md
Instructions for os-tack/fcp-sheets, covering fcp-sheets, project overview, architecture, key patterns and commands.
Excel-Power-Pivot-MCP CLAUDE.md
Instructions for back1ply/Excel-Power-Pivot-MCP, covering claude.md, project overview, build and test commands, build and debug build.