xlsx

Repair and validate Excel workbooks while preserving formulas and formatting.

2|1|Updated May 17, 2026
One-click install
npx skills add https://github.com/rakibulism/agent-skills-os --skill xlsx-rakibulism
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx
Source: https://github.com/rakibulism/agent-skills-os/tree/main/skills/xlsx
Command: npx skills add https://github.com/rakibulism/agent-skills-os --skill xlsx-rakibulism

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openpyxl, pandas, markitdown, and includes scripts (resource) components.

What problem does it solve?

This Skill helps you create, edit, validate, and repair spreadsheet files without breaking formulas, formatting, or workbook structure. It is designed for situations where the spreadsheet itself is the deliverable and correctness matters more than quick ad hoc edits.

Core Features & Use Cases

  • Create and edit workbooks: Build new spreadsheets or update existing .xlsx, .xlsm, .xltx, .csv, and .tsv files with formulas and formatting.
  • Validate workbook integrity: Check XML structure, relationships, content types, IDs, namespaces, and schema-related issues that can corrupt Office files.
  • Recalculate formulas safely: Use LibreOffice-based recalculation to detect formula errors before delivery.
  • Repair common issues: Fix whitespace preservation and invalid durable IDs in Office XML documents.
  • Use case: A user uploads a broken Excel model with formulas and wants a corrected workbook returned with no formula errors and the original conventions preserved.

Quick Start

Use the xlsx skill to inspect the attached spreadsheet, repair any workbook issues, and return a corrected file with formulas recalculated.

Frequently Asked Questions about xlsx

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

FAQPage Schema
How do I edit an Excel file without breaking existing formulas and formatting?

To edit an Excel file without breaking formulas, use a validation and recalculation process that checks Office XML structure and preserves workbook integrity. This approach safely updates .xlsx files while maintaining original conventions and formula correctness.

What is the best way to validate and repair a corrupted Excel workbook?

The best way to validate a corrupted Excel workbook is to inspect its XML structure, relationships, content types, and namespaces. This process detects schema-related issues and repairs common problems like invalid durable IDs to restore file integrity.

How do I recalculate spreadsheet formulas to detect errors before delivery?

You can recalculate spreadsheet formulas using LibreOffice-based recalculation to identify formula errors before delivery. This ensures the returned workbook contains no calculation errors and maintains structural correctness for end users.

Does openpyxl support checking Office XML schema and relationship issues?

While openpyxl handles basic workbook manipulation, comprehensive Office XML schema and relationship checking requires additional validation logic. This validates content types, IDs, and namespaces to prevent file corruption beyond standard openpyxl capabilities.

Can I create new .xlsx, .xlsm, and .csv deliverables with formulas intact?

Yes, you can create new .xlsx, .xlsm, .xltx, .csv, and .tsv deliverables with formulas and formatting intact. The process builds structured spreadsheets where the file itself is the deliverable and correctness is prioritized.

Why does my spreadsheet model show formula errors after editing?

Spreadsheet formula errors after editing often occur due to broken XML relationships or whitespace preservation issues. Validating workbook integrity and applying LibreOffice-based recalculation detects and fixes these structural problems safely.