spreadsheets
Skill by AstrBotDevs
Creates, reads, edits, analyzes, converts, charts, and validates XLSX, XLSM, XLS, CSV, and TSV files for AI assistants. It suits cases where a spreadsheet is a primary input or deliverable and must stay editable and auditable.
Install spreadsheets
Built from the published package, never by AI.
git clone --depth 1 https://github.com/AstrBotDevs/AstrBot /tmp/AstrBot && mkdir -p ~/.claude/skills && cp -r /tmp/AstrBot/astrbot/builtin_stars/astrbot/skills/spreadsheets ~/.claude/skills/spreadsheetsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/AstrBotDevs/AstrBot /tmp/AstrBot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/AstrBot/astrbot/builtin_stars/astrbot/skills/spreadsheets ~/.gemini/antigravity-cli/skills/spreadsheetsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The spreadsheets skill helps an AI assistant create, read, edit, analyze, convert, chart, and validate XLSX, XLSM, XLS, CSV, and TSV files. It names openpyxl for XLSX and XLSM authoring, xlrd for legacy XLS reading, pandas for heavier data cleaning, and the standard csv module for simple CSV and TSV work. It asks the assistant to preserve the source file unless the user requests an in-place edit.
The workflow favors visible inputs, formulas instead of hardcoded results, and validation after each save. Bundled scripts inspect workbooks, convert CSV or TSV files to typed XLSX, validate structure, and render sheets when LibreOffice and a PDF renderer are available. It is aimed at tasks where tabular data must remain editable and auditable in workbook form.
Written from the project's SKILL.md and checked against it.
What it can do
- Inspect workbookRuns the bundled inspector to review sheets, labels, values, formulas, tables, charts, and comments.
- Edit existing workbooksApplies small local changes and extends nearby formulas, validation, formatting, tables, and charts.
- Create new workbooksSeparates inputs, calculations, and outputs so derived values stay visible and auditable.
- Convert CSV or TSVConverts CSV or TSV to a typed, filterable XLSX workbook with a frozen header and table.
- Validate workbookRuns structural validation on a workbook after each create or edit operation.
- Render workbookRenders workbook pages to PDF for visual review when LibreOffice and a PDF renderer are available.
- Check formulasChecks for formula errors such as #REF! and #DIV/0! and for unexpected circular references.
- Create chartsAdds charts linked to worksheet ranges when they improve comparison, trend, or ranking views.
What you need
- Python
- openpyxl
- xlrd
- pandas
- LibreOffice and a PDF renderer (optional, for recalculation and rendering)
Try asking
- Inspect this workbook and summarize its sheets, formulas and charts.
- Convert this TSV file to a typed XLSX workbook with a frozen header.
- Add a chart of monthly totals to this spreadsheet, linked to the data range.
Good to know
- Legacy XLS files are treated as read-only sources and should be converted to XLSX or CSV.
- Macros in XLSM files are preserved but not inspected or declared safe.
- openpyxl writes formulas but does not calculate them.
- Visual QA requires LibreOffice and a PDF renderer; otherwise only structural validation is done.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: astrbot/builtin_stars/astrbot/skills/spreadsheets/SKILL.md, astrbot/builtin_stars/astrbot/skills/spreadsheets/scripts/csv_to_xlsx.py, astrbot/builtin_stars/astrbot/skills/spreadsheets/scripts/inspect_workbook.py, astrbot/builtin_stars/astrbot/skills/spreadsheets/scripts/render_workbook.py, astrbot/builtin_stars/astrbot/skills/spreadsheets/scripts/validate_workbook.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/charts.md2 KB -
references/formatting.md3 KB -
references/formulas.md2 KB -
scripts/csv_to_xlsx.py9 KB
Show all 8 files
-
scripts/inspect_workbook.py6 KB -
scripts/render_workbook.py6 KB -
scripts/validate_workbook.py7 KB
Alternatives to spreadsheets
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
spreadsheets: common questions
Can this skill edit old .xls files?
The skill treats XLS as a legacy read-only source. It recommends converting the result to XLSX or CSV instead of overwriting the XLS file.
Does it keep macros in Excel macro files?
For XLSM files it uses openpyxl with keep_vba=True and preserves the extension. The skill states that preserving macros does not mean they were inspected or are safe.
Does it recalculate formulas?
openpyxl does not calculate formulas. The skill says to recalculate with LibreOffice or Excel on a copy when available, and never to replace formulas with constants.
How do I install spreadsheets?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is spreadsheets free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is spreadsheets safe to use?
It scores 92 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to spreadsheets?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
