spreadsheet

Create, edit, analyze, and format spreadsheet files with Python libraries.

24.7k|1.7k|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/openai/skills --skill spreadsheet-openai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spreadsheet
Source: https://github.com/openai/skills/tree/main/skills/.curated/spreadsheet
Command: npx skills add https://github.com/openai/skills --skill spreadsheet-openai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the creation, editing, analysis, and formatting of spreadsheet files, streamlining data management and reporting tasks.

Core Features & Use Cases

  • Workbook Creation & Editing: Build new spreadsheets or modify existing ones, preserving formulas and formatting.
  • Data Analysis & Visualization: Analyze tabular data using pandas and create charts with openpyxl.
  • Use Case: Generate a monthly sales report by analyzing raw sales data, applying custom formatting, and embedding key performance indicator charts.

Quick Start

Create a new spreadsheet named 'sales_report.xlsx' with columns for 'Date', 'Product', and 'Revenue', and populate it with today's sales data.

Frequently Asked Questions about spreadsheet

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

FAQPage Schema
How do I automate Excel report generation with Python?

You can automate Excel report generation by using Python libraries like pandas and openpyxl to analyze raw tabular data, apply custom formatting, and embed KPI charts into .xlsx workbooks. This streamlines repetitive reporting tasks by programmatically building spreadsheets with formulas and visualizations.

Can Python edit an existing xlsx file without losing formulas and formatting?

Yes, Python can edit an existing xlsx file without losing formulas and formatting. By using openpyxl, the spreadsheet automation process preserves existing formulas and formatting while modifying the workbook, ensuring original cell styles and calculations remain intact.

Does openpyxl support data visualization with charts in spreadsheets?

Yes, openpyxl supports data visualization with charts in spreadsheets. You can use openpyxl alongside pandas to analyze tabular data and create visual charts directly within .xlsx files, enabling clear reporting and information visualization for datasets like monthly sales.

What is the best way to analyze CSV or TSV files using Python?

The best way to analyze CSV or TSV files using Python is through the pandas library. Pandas reads these tabular data formats efficiently, allowing you to perform data analysis, clean records, and prepare the dataset for export or visualization in a formatted spreadsheet.

What Python libraries do I need to create and format spreadsheets programmatically?

To create and format spreadsheets programmatically, you need the pandas and openpyxl Python libraries. Pandas handles data analysis and manipulation of tabular data, while openpyxl builds the .xlsx workbooks, applies custom formatting, and inserts charts for reporting.