xlsx-for-ai: Instructions file for Gemini CLI

GEMINI.md

xlsx-for-ai GEMINI.md is an instructions file for Gemini CLI from senoff/xlsx-for-ai. It costs 304 tokens per session, scanned A, original, MIT.

Project instructions for xlsx-for-ai, a tool server that lets an AI read, calculate, edit, check, audit, and compare Excel workbooks. It can recalculate formulas instead of relying on saved values that may be out of date.

In plain words
What is it for?
Use it to inspect sheets, evaluate formulas, repair or preserve workbook content, compare versions, and produce updated .xlsx files.
Why use it?
Spreadsheet work can be unreliable when formulas are stale, references are broken, or files are too large to inspect manually. These instructions tell the AI which spreadsheet tools to use and how to handle file access.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md.

This is senoff/xlsx-for-ai's own configuration. It tells Gemini CLI how to work on xlsx-for-ai 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 xlsx-for-ai configures →

Reuse

Borrowing it

Nothing to install: this file belongs to senoff/xlsx-for-ai. 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/senoff/xlsx-for-ai/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/senoff/xlsx-for-ai

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 xlsx-for-ai GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/senoff/xlsx-for-ai/gemini-md/github.svg)](https://agentmods.dev/instructions/senoff/xlsx-for-ai/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/senoff/xlsx-for-ai/gemini-md"><img src="https://agentmods.dev/badge/instructions/senoff/xlsx-for-ai/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 xlsx-for-ai GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/senoff/xlsx-for-ai/gemini-md"><img src="https://agentmods.dev/badge/instructions/senoff/xlsx-for-ai/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 304 This file is loaded in full into every session.
When invoked 304 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.00304 $0.00304
Opus 5.5 $0.00122 $0.00122
Sonnet 5.5 $0.00061 $0.00061
Haiku 4.5 $0.00030 $0.00030

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

Security

Grade A, and why

xlsx-for-ai GEMINI.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 5d 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.

GEMINI.md · 21 lines

What it actually says

xlsx-for-ai (xfa)

xlsx-for-ai is a spreadsheet engine with its own Excel-compatible calculator. Its tools (named xlsx_*) read the spreadsheet files on this computer. Use them instead of writing a Python or shell script when:

  • the answer depends on what formulas evaluate to: call xlsx_eval (saved values in a file can be missing or stale);
  • the user wants a workbook changed and handed back: xlsx_write keeps formulas, styles, charts and names;
  • the file is large, or you need it checked (xlsx_check), a health report (xlsx_doctor) or two versions compared (xlsx_diff);
  • you need the layout first: xlsx_list_sheets.

Pass the file's path on this computer. A link the user pastes (a public web link, or a Google Sheets or Drive link shared as "anyone with the link can view") can go in the same file path field: the server downloads it and reads it. If a link fails, ask the user to download the file (in Google Sheets: File, Download, Microsoft Excel) and give you its path.

First use: the first tool call answers with a sign-in link and a short code. Show both to the user exactly, ask them to open the link and approve, then call the tool again.

If a tool answers with an error, it says what went wrong and what to do: tell the user in plain words.

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. 5d ago First seen · 21 lines · 304 tokens per session scan A 8a56577df7e6

Subscribe to this mod's changes

xlsx-for-ai GEMINI.md is an instructions file published in the GitHub repository senoff/xlsx-for-ai (6 stars, last pushed 2d ago), licensed MIT. It adds 304 tokens to every session, about $0.0012 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-11-25.

Related

xlsx-for-ai GEMINI.md compared with instructions from other repositories

xlsx-for-ai GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xlsx-for-ai GEMINI.mdsenoff/xlsx-for-aiInstructions file62d agoMITA304Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode