xlsx-editor

Edit Excel workbooks while preserving formulas, formatting, and structure across multiple sheets.

49|7|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/Exploration-labs/Nates-Substack-Skills --skill xlsx-editor-exploration-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx-editor
Source: https://github.com/Exploration-labs/Nates-Substack-Skills/tree/main/xlsx-editor
Command: npx skills add https://github.com/Exploration-labs/Nates-Substack-Skills --skill xlsx-editor-exploration-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, pandas.

What problem does it solve?

Modifying existing Excel files often leads to broken formulas, lost formatting, or data inconsistencies, especially in complex, multi-tab workbooks. This Skill ensures all changes are made safely and correctly, preserving the integrity of your spreadsheets.

Core Features & Use Cases

  • Integrity-Preserving Edits: Safely update cell values, add rows/columns, and manage multi-tab data without breaking formula dependencies or formatting.
  • Mandatory Pre-Edit Analysis: Automatically analyzes sheet structures, formula dependencies, sort orders, and merged cells before any modifications to prevent errors.
  • Multi-Tab Consistency: Ensures that data appearing across multiple sheets is updated completely and consistently, preventing critical data inconsistencies.
  • Post-Edit Validation: Provides a comprehensive checklist to verify formula integrity, structural consistency, sort order, and formatting after all changes are applied.
  • Use Case: You need to add a new row of sales data to 'Q3_Report.xlsx' on the 'Sales' tab. This skill will ensure the new row is inserted in the correct chronological sort order, with matching formatting, and that any summary formulas referencing the range are updated correctly across all related tabs.

Quick Start

I need to add a new row of sales data for '2024-06-15, Sales, 1500' to 'Q3_Report.xlsx' on the 'Data' tab, ensuring it maintains the correct chronological sort order and formatting.

Frequently Asked Questions about xlsx-editor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I edit Excel files without breaking formulas?

Edit Excel files safely by using pre-edit analysis to map formula dependencies before making changes. This Skill automatically analyzes sheet structures and formula references, then applies updates while preserving all formulas, formatting, and cross-sheet integrity.

Can I modify multi-sheet Excel workbooks and keep data consistent across tabs?

Yes. Multi-tab consistency ensures that when you update data appearing across multiple sheets, all instances update completely and consistently, preventing data mismatches while maintaining merged cells and conditional formatting.

How do I add rows to an Excel file while maintaining sort order and formatting?

Insert rows with automatic formatting preservation by analyzing existing sort orders and cell styles before insertion. The Skill matches formatting to surrounding data and updates all dependent formulas across sheets after the row is added.

What validation happens after I edit an Excel file?

Post-edit validation provides a comprehensive checklist verifying formula integrity, structural consistency, sort order preservation, and formatting accuracy across all sheets to confirm no changes broke dependencies or data relationships.

Does this work with openpyxl and pandas Excel files?

Yes. The Skill uses openpyxl and pandas to handle existing Excel workbooks, supporting preservation of formulas, formatting, and multi-sheet structures in workbooks created or edited by either library.

Related Skills