spreadsheets
БесплатноБез исполняемых скриптовНе проверенCreate, read, edit, analyze, convert, chart, and validate spreadsheet files including XLSX, XLSM, XLS, CSV, and TSV. Use when a spreadsheet is a primary input…
от gabrielmoreira★ 23 звезды на GitHubОб этом скилле
Work with spreadsheets
Use openpyxl for XLSX/XLSM authoring, xlrd for legacy XLS reading, pandas for substantial data cleaning or analysis, and the standard csv module for simple CSV/TSV work. Preserve the source unless the user explicitly requests an in-place edit.
Choose the workflow
- For a read-only question, inspect only the relevant sheets, labels, values, formulas, tables, charts, and comments. Do not export a modified copy.
- For an existing workbook, study its structure and formatting before editing. Apply the smallest local change and extend nearby formulas, validation, conditional formatting, tables, and charts when the edited range requires it.
- For a new workbook, separate inputs, calculations, and outputs when the task contains derived values. Keep calculations visible and auditable.
- Save to a new file, reopen it, validate formulas and structure, and render every populated sheet when a renderer is available.
Use the bundled inspector before unfamiliar edits:
python <this-skill-directory>/scripts/inspect_workbook.py input.xlsx
Respect format boundaries
- Use
openpyxl.load_workbook(..., keep_vba=True)for XLSM files and preserve the.xlsmextension. Do not claim that macros were inspected or are safe merely because they were preserved. - Treat XLS as a legacy read-only source.
xlrdreads values and basic metadata but does not provide reliable modern editing. Convert the result to XLSX or CSV instead of overwriting the XLS file. - Preserve CSV/TSV delimiter, quoting, encoding, header order, and typed meaning. Keep identifiers such as ZIP codes and account numbers as text.
- Never change a workbook's file extension without actually converting its format.
Keep formulas auditable
- Write derived values as formulas rather than hardcoded results.
- Place assumptions and raw inputs in visible cells or dedicated sheets.
- Avoid magic numbers inside formulas. Reference an assumption cell instead.
- Use correct absolute and relative references for fill behavior.
- Quote every cross-sheet name:
='Revenue Model'!B4, even when the current name has no spaces. - Prefer bounded ranges over full-column references in calculation-heavy formulas.
- Use helper cells when a formula becomes difficult to understand or audit.
- Add comments to important assumptions and source-backed inputs.
- Check for
#REF!,#DIV/0!,#VALUE!,#NAME?,#NUM!,#NULL!, and unexpected circular references.
openpyxl writes formulas but does not calculate them. If formulas must be recalculated, open and save a copy with LibreOffice or Excel when available, then reopen the result with data_only=False and data_only=True. Never replace formulas with calculated constants merely to make validation pass. Read formulas.md for the detailed validation contract.
Format by meaning
Read formatting.md before creating or substantially redesigning a workbook.
- Store dates, numbers, currency, and percentages as typed values with explicit number formats.
- Distinguish title, header, input, calculation, output, note, and warning roles consistently.
- Prefer restrained fills and light structural borders. Do not decorate every populated cell with a border.
- Freeze useful headers, enable filters, and use named tables for editable datasets.
- Prefer conditional formatting over one-time manual fills when color represents a value or status.
- Use data validation for editable categorical fields when practical.
- Size columns and rows deliberately. Widen before wrapping, cap very wide columns, and avoid formatting unused ranges.
- Hide gridlines only when explicit formatting already provides structure.
Use charts deliberately
Read charts.md before creating or editing charts. Create a chart only when it improves comparison, trend, distribution, ranking, progress, or relationship understanding.
- Link chart series to worksheet ranges, not duplicated literal values.
- Keep units explicit and titles focused on one takeaway.
- Place charts in reserved areas without covering source data or controls.
- Verify categories, series orientation, source ranges, point counts, axes, and placement after saving.
- Prefer a compact table over a chart when exact values are the main point.
Convert CSV or TSV
Use the bundled converter for a clean, typed, filterable workbook:
python <this-skill-directory>/scripts/csv_to_xlsx.py input.csv output.xlsx
python <this-skill-directory>/scripts/csv_to_xlsx.py input.tsv output.xlsx --delimiter tab
The converter infers conservative scalar types, freezes the header, creates a table, applies number formats, and caps column widths. Inspect identifiers and locale-specific dates before accepting inferred types.
Validate and render
Run structural validation after every create or edit operation:
python <this-skill-directory>/scripts/validate_workbook.py output.x
Установить spreadsheets в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл spreadsheets?
Create, read, edit, analyze, convert, chart, and validate spreadsheet files including XLSX, XLSM, XLS, CSV, and TSV. Use when a spreadsheet is a primary input or deliverable, or when tabular data must remain editable and auditable in workbook form.
Как установить скилл spreadsheets?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spreadsheets запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic