excel
Read, write, edit, and format Excel files (.xlsx). Create spreadsheets, manipulate data, apply formatting, manage sheets, merge cells, find/replace, and export to CSV/JSON/Markdown. Use for any Excel file manipulation task.
Why use this skill?
Master your spreadsheet workflows with the OpenClaw Excel skill. Read, write, format, and convert Excel files via command line or AI automation.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dbhurley/excelWhat This Skill Does
The Excel skill for OpenClaw is a powerful, comprehensive utility designed to streamline spreadsheet manipulation directly within your terminal or via agent automation. It supports the full lifecycle of Excel (.xlsx) file handling, allowing you to read data, create new workbooks, edit specific cells, apply complex formulas, and format content dynamically. Whether you are generating reports, parsing large datasets, or performing quick data cleanup, this skill abstracts the complexity of working with the OpenPyXL library into a clean, intuitive command-line interface. It is perfect for users who need to transform data into structured Excel formats or extract insights from existing spreadsheets without opening a GUI.
Installation
To begin, ensure you have Python installed on your system. You can install the dependency via pip:
pip install openpyxl
For best results with OpenClaw, use the provided installation command:
clawhub install openclaw/skills/skills/dbhurley/excel
Use Cases
- Automated Reporting: Automatically convert daily JSON data exports into formatted Excel files with headers.
- Data Migration: Quickly convert massive CSV datasets into native .xlsx files, preserving layout preferences.
- Bulk Editing: Use scripts to perform find-and-replace operations across hundreds of cells in multiple workbooks simultaneously.
- Spreadsheet Auditing: Extract specific cell ranges or sheet metadata into machine-readable formats like JSON or Markdown for further analysis in downstream pipelines.
Example Prompts
- "Open 'Q3_Sales.xlsx', read the 'Summary' sheet, and export the content as a markdown table for my report."
- "Create a new workbook named 'Inventory.xlsx' with sheets for 'Hardware', 'Software', and 'Services', then populate 'Hardware' with this JSON data: {"headers": ["Item", "Count"], "rows": [["Laptop", 50], ["Mouse", 100]]}."
- "In the 'Budget.xlsx' file, update cell C12 with the formula =SUM(C2:C10) and then convert the whole file to CSV format for the accounting team."
Tips & Limitations
- Efficiency: When working with massive files, utilize the
--rangeparameter to read only the specific area of interest to save memory and processing time. - Formula Handling: While the tool supports writing formulas, ensure that syntax matches Excel standards, as invalid formulas will appear as strings inside the cells.
- Data Structure: When writing data, ensure your input matches the structure expected by the CLI (2D arrays vs. key-value objects) to avoid layout errors.
- Safety: As this skill performs file writes, ensure you have backups of critical data before running bulk automated modifications.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-dbhurley-excel": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read
Related Skills
daily-recap
Generate a daily recap image with your agent holding a posterboard of accomplishments. Cron-driven, weather-aware, customizable to any agent identity.
plex
Control Plex Media Server - browse libraries, search, play media, manage playback.
cloudflare
Cloudflare CLI - manage DNS records, purge cache, and control Workers routes.
grocery-list
Standalone grocery lists, recipes, and meal planning with local storage. No external service required.
otter
Otter.ai transcription CLI - list, search, download, and sync meeting transcripts to CRM.