agentleFS
EmbeddedLLMEmbeddedLLM/nice-skills/skills/spreadsheets/SKILL.md

spreadsheets

Skill0 starsChanged 32 days agoMITView on GitHub

Create, inspect, analyze, and edit local spreadsheets while preserving formulas, formats, and data meaning, with explicit recalculation and cache checks. Use for XLSX, XLSM, CSV, and TSV work rather than a proprietary spreadsheet runtime.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use docx.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    docx

    Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 15 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use local openpyxl and optional LibreOffice.

    line 9
  2. Distinctive:

    Read local workflow before editing.

    line 15
  3. Distinctive:

    Keep source data and assumptions identifiable.

    line 21
  4. Distinctive:

    Keep adjustable assumptions in cells and use formulas for results that must respond to edits.

    line 24

“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spreadsheets

Use local openpyxl and optional LibreOffice. No Excel subscription, Google Sheets account, OpenAI artifact runtime, or paid analysis API is required. requirements.txt pins the Python dependencies.

The office workflow uses the approved Design Office Artifacts reference, adapted for this package. SOURCES.md records the selected guidance, replacement scope, and retained notices.

Inspect and choose the edit boundary

Read local workflow before editing. Identify sheets, ranges, types, formulas, cached values, named ranges, tables, charts, links, and macros. Read-only questions should leave the workbook unchanged. Preserve the original and update only the requested inputs and affected dependencies.

Load formulas with data_only=False and inspect caches separately with data_only=True; never save the cache-only load as the editable workbook. Use keep_vba=True when appropriate, but verify important macro/extension features with a compatible application. Legacy .xls needs a proper reader or conversion. CSV/TSV cannot preserve workbook formulas, styling, or multiple tabs.

Build understandable calculations

Keep source data and assumptions identifiable; let calculations feed outputs without duplicated logic. Roles can share one sheet. Use a separate audit area only when useful, and keep it independent of the calculations it checks.

  • Store dates, numbers, percentages, and currencies as typed values. Preserve identifiers and leading zeros. Label units, periods, populations, sources, and assumptions.
  • Keep adjustable assumptions in cells and use formulas for results that must respond to edits. Anchor references deliberately; quote sheet names and test copied formulas at boundaries.
  • Distinguish missing values, real zero, and not-applicable. Do not hide broken prerequisites with blanket IFERROR(...,0). Preserve deliberate zero overrides.
  • Aggregate amounts by sum, balances by period endpoint, and rates from their components. Do not average or sum incompatible percentages.
  • Choose functions supported by the actual target engine. Test missing/duplicate keys, thresholds, dates, and scenarios. For complex modeling use financial models; for charts read charts.
  • Preserve the existing layout on narrow edits. For new work, make inputs and outputs legible with restrained formatting, useful widths, and clear number formats.

Recalculate and verify

openpyxl writes formulas but does not calculate them. Calculation-on-open flags and old caches are not proof of fresh results.

python scripts/recalculate.py /absolute/input.xlsx --output /absolute/recalculated.xlsx --timeout 60
python scripts/recalculate.py /absolute/recalculated.xlsx --check-only

The helper uses an isolated LibreOffice profile and temporary copy, refuses existing outputs, and rejects external links/macros. Exit 0 means implemented cache checks passed; 2 reports formula errors/unverifiable caches; 1 reports refusal or execution failure. It does not certify preservation of every Excel feature.

Independently check representative results and totals, edit disposable test inputs to verify dependency updates, inspect formula locations before/after, and scan typed error cells. Review rendered/printed sheets where appearance changed. If LibreOffice or another compatible calculation engine is unavailable, deliver only with an explicit recalculation limitation; do not replace formulas with fabricated cached values.

Example: “Update monthly actuals and extend the forecast one quarter.” Preserve actuals, copy period-aware formulas, test the first new period and a changed assumption, reconcile totals, and report any unavailable native-feature checks.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.