# Excel Format Fidelity

> Your spreadsheets, untouched down to the last border

Excel Format Fidelity is a paid AI agent skill on Agensi by Esiz, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Esiz](https://www.agensi.io/creators/esiz)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-09-01
- Security: scan passed (2026-09-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/excel-format-fidelity
- Tags: ai-agents, python, openpyxl, excel-automation, reporting

## About this skill

Ever asked an AI to "just change one number" in your Excel report — and gotten back a file with broken merges, missing print areas, and the wrong font? That happens because AI rebuilds your spreadsheet instead of editing it. This skill fixes the problem at the root.

### What it does

🛡️ Copy, don't re-create. Enforces work paths that structurally preserve formatting — file copy for value edits, in-place sheet cloning for new monthly tabs, component-level style transfer only as a last resort.
🔍 Machine-verified delivery. Every output is fingerprint-diffed against the original across 6 dimensions: print area & page setup, merged cells, fill colors, row heights & column widths, fonts, and cell formatting (number format, borders, alignment). Zero unintended diffs, or it doesn't ship.
⚠️ Trap detection built in. One command (--inspect) flags elements openpyxl silently destroys — charts, images, VBA macros, pivot tables — before work starts, so you're never surprised.
📋 Battle-tested pitfall list. Encodes hard-won lessons: cross-workbook _style corruption, merge-then-style ordering, default-font (Normal style) mismatches, theme color quirks, LibreOffice number-format mangling.

How to use it: Drop the folder into your skills directory. It triggers automatically whenever an existing .xlsx/.xlsm is the input — no need to say "keep the formatting." Includes two ready-to-run scripts: verify_format.py (diff & inspect) and clone_format.py (full-fidelity sheet cloning, including page setup).

Who it's for: Anyone whose Excel files are documents — printed reports, official forms, monthly templates — where a shifted border or lost merge isn't cosmetic, it's a redo.

## Requires

- Python

## Known limitations

Does not support preservation of charts, images, or shapes during processing. Requires manual notification to users if these elements exist in the source file.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Excel Format Fidelity skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill prevent the typical formatting loss caused by other AI agents?

Standard AI agents often 'rebuild' spreadsheets from scratch, losing custom styling. This skill uses a 'copy-first' architecture and structural diffing to ensure borders, print areas, and merged cells remain identical to your original file.

### What exactly is included in the download?

The package includes the core logic for format-safe editing, the 'verify_format.py' diagnostic tool, and the 'clone_format.py' script for high-fidelity sheet replication. You also get a 'pitfall list' that the agent references to avoid known Excel corruption triggers.

### Does it support complex Excel features like VBA macros or Pivot Tables?

Yes. The skill includes a specific '--inspect' command that flags non-cell elements like macros (XLSM), pivot tables, and embedded charts, alerting you if a specific file contains elements that require special handling.

### Is there a complex setup process to get the formatting 'trap detection' working?

Simply drop the skill folder into your agent's directory. It is designed to trigger automatically when the agent detects an existing .xlsx or .xlsm file as an input, requiring no extra prompting from your end.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
