Agent skill

Spreadsheet Analysis

by seb1n in seb1n/awesome-ai-agent-skills

Inspect, profile, clean, reconcile, analyze, visualize, and verify spreadsheet data while preserving formulas, formatting, types, and source files.

MITAuto-check passedDocuments & Office

Install Spreadsheet Analysis

skills CLI
$ npx skills add seb1n/awesome-ai-agent-skills --skill spreadsheet-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install seb1n/awesome-ai-agent-skills spreadsheet-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/seb1n/awesome-ai-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/documents-and-files/spreadsheet-analysis .claude/skills/spreadsheet-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spreadsheet-analysis
GitHub stars
206
Token cost
~2.5k tokens
SKILL.md length
1,216 words
Files
6 (incl. scripts, references, assets)
Skills in repo
92
Repo updated
First seen
Licence
MIT

At a glance

Inspect, profile, clean, reconcile, analyze, visualize, and verify spreadsheet data while preserving formulas, formatting, types, and source files.

  • Works in 8 steps: Preserve and inventory → Choose an available toolchain → Open or render a baseline → …
  • Working with .xlsx
  • SKILL.md covers Inputs, Output contract, Workflow and Safety and permission boundaries, plus 2 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Spreadsheet Analysis is an agent skill from seb1n/awesome-ai-agent-skills. Inspect, profile, clean, reconcile, analyze, visualize, and verify spreadsheet data while preserving formulas, formatting, types, and source files. Use when working with .xlsx, .xlsm, .xls, .ods, .csv, or .tsv files; answering questions from a workbook; auditing formulas or data quality; comparing sheets or versions; producing pivots, charts, forecasts, or summary workbooks; repairing malformed tables; or validating that spreadsheet edits and calculations are accurate.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/analysis-report-template.md` and `references/analysis-checklist.md`).

It sits in Documents & Office, covering Excel spreadsheets and CSV and tabular files. It works with Microsoft Excel. The repository describes itself as: 103 ready-to-use AI agent skills for Claude Code, OpenAI Codex, Gemini CLI, Cursor, GitHub Copilot, Windsurf, and other Agent Skills-compatible tools. Complete SKILL.md… The licence is MIT.

When your agent uses it

  • Working with .xlsx
  • Answering questions from a workbook
  • Auditing formulas
  • Comparing sheets

Example prompts

  • “/spreadsheet-analysis”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Preserve and inventory
  2. Choose an available toolchain
  3. Open or render a baseline
  4. Define the analytical grain
  5. Validate and reconcile before interpreting
  6. Analyze with explicit definitions
  7. Create outputs minimally
  8. Recalculate, re-open, and render

What it can do on your machine

Read from SKILL.md and the folder at commit 75865a5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spreadsheet Analysis loads about 2.5k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 124 tokens; SKILL.md has 1,216 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~124
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from seb1n/awesome-ai-agent-skills at commit 75865a5, republished under its MIT licence (© seb1n). 1,216 words, ~2,516 tokens.

Download SKILL.mdSave it as .claude/skills/spreadsheet-analysis/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
spreadsheet-analysis
description
Inspect, profile, clean, reconcile, analyze, visualize, and verify spreadsheet data while preserving formulas, formatting, types, and source files. Use when working with .xlsx, .xlsm, .xls, .ods, .csv, or .tsv files; answering questions from a workbook; auditing formulas or data quality; comparing sheets or versions; producing pivots, charts, forecasts, or summary workbooks; repairing malformed tables; or validating that spreadsheet edits and calculations are accurate.

Spreadsheet Analysis

Preserve the source workbook, distinguish stored values from formulas, and support every conclusion with reproducible checks.

Inputs

Collect or state:

  • Source file(s), business question, intended audience, output format, and acceptance criteria.
  • Relevant sheets/ranges, keys, units, currencies, date/time zones, accounting signs, and reporting period.
  • Whether formulas, formatting, comments, hidden content, macros, external links, pivots, charts, and protection must remain intact.
  • Authoritative totals or source systems for reconciliation.
  • Confidentiality constraints and whether local-only processing is required.

Do not guess the meaning of unlabeled fields or ambiguous blanks, zeros, percentages, dates, and IDs. Record assumptions.

Output contract

Return:

  1. Source path, hash, format, workbook/sheet inventory, and analysis scope.
  2. Findings with metric definition, formula or method, filters, units, period, denominator, and evidence location.
  3. Data-quality and formula issues separated from business conclusions.
  4. A new output workbook/data file when edits are requested; never silently overwrite the source.
  5. Reconciliation, recalculation, re-open, and visual inspection results with limitations.

Clearly label calculated, estimated, cached, missing, and externally sourced values. Do not claim a workbook was recalculated if only cached formula results were read.

Workflow

1. Preserve and inventory
  • Resolve exact paths, calculate source hashes, and work from a copy or new output path.
  • Do not open untrusted workbooks with macros enabled or refresh external connections.
  • Run the bundled read-only profiler from this skill directory for CSV, TSV, XLSX, or XLSM inventory:
bash
python3 scripts/profile_table.py /path/to/data.csv --pretty
python3 scripts/profile_table.py /path/to/workbook.xlsx --pretty
python3 scripts/profile_table.py /path/to/data.csv --output /path/to/profile.json --pretty

The script uses the Python standard library, streams logical CSV/TSV records (including quoted multiline fields), applies byte/row/field/member limits, does not calculate formulas, and does not modify the file. It does not emit profiled data-row cell values, but it does emit headers, sheet names, counts, numeric ranges, and structural metadata. With --output, it refuses input aliases and non-regular destinations, then atomically creates or replaces the report via a sibling temporary file. A partial, row_limit_reached, or skipped_* status means the inventory is incomplete; review the stated limit instead of treating the profile as a verdict.

2. Choose an available toolchain

Read tool-routing.md. Inventory the installed spreadsheet application, Python/JavaScript libraries, and converters before selecting one. Prefer a workbook-aware engine when formulas, styles, charts, pivots, macros, or named ranges matter. Prefer a dataframe/query engine for tabular analysis after the workbook semantics are understood.

Do not install dependencies, upload data, or convert formats without permission. Conversion can lose formulas, formats, macros, dates, comments, charts, or multiple sheets.

3. Open or render a baseline

Open the original in a trusted spreadsheet application when available. For an untrusted original, require the controls defined in step 8: protected/read-only input, macros/VBA/events/add-ins/DDE disabled, no link/query refresh, and no network. If those controls cannot be verified, retain the static profiler output as partial and stop before application open or recalculation. Capture a visual baseline for every relevant sheet and any dashboard, print layout, chart, or unusual formatting. Inventory:

  • Visible, hidden, and very-hidden sheets; used ranges; headers; merged cells; tables; filters; freezes; and defined names.
  • Formulas, cached values, errors, array/spill formulas, circular references, and calculation mode.
  • External links, data connections, queries, macros, validation rules, comments, and protection.
  • Units, number formats, date systems, locale assumptions, and blank/null conventions.

Treat hidden rows/sheets as in scope for integrity and security, not automatically as analysis data.

4. Define the analytical grain

Identify what one row represents, the primary key, allowed duplicates, dimensions, measures, period boundaries, and join cardinality. Build a data dictionary for ambiguous columns. Read analysis-checklist.md for profiling and reconciliation checks.

Create a normalized analysis copy when necessary; retain source row identifiers so every result can be traced back.

5. Validate and reconcile before interpreting

Check row counts, duplicate keys, missingness, type drift, invalid categories, date gaps, outliers, formula inconsistencies, hidden exclusions, and join multiplication. Reconcile key totals to an authoritative control or explain why no control exists.

Inspect formulas as formulas and values separately. Detect hard-coded constants inside formula regions, relative-reference drift, mixed signs, inconsistent ranges, and error suppression. Never replace a formula with a value silently.

6. Analyze with explicit definitions

State the metric definition before calculating. Use precise filters, denominators, period logic, units, and rounding. Preserve full precision in calculations and round only for presentation. Separate descriptive results from forecasts or causal claims. For forecasts, document horizon, method, training window, seasonality, uncertainty, and backtest performance.

7. Create outputs minimally

Write only requested changes to a new workbook or table. Preserve formats, formulas, names, hidden state, validations, macros, and charts unless intentionally changed. Use formulas when recipients need an auditable model; use fixed values only when requested and label them.

Use analysis-report-template.md for a standalone evidence record.

Show full SKILL.md (464 more words)Show less
8. Recalculate, re-open, and render

When formulas were added or changed, recalculate with an actual compatible calculation engine only inside a controlled profile. For an untrusted workbook, first verify that macros, VBA and workbook events, DDE, add-ins, external-link/data-connection refresh, network access, and automatic updates are disabled. Use an isolated low-privilege environment with no secrets and a read-only source. If those controls cannot be guaranteed, do not recalculate the untrusted file.

Re-open the saved output and verify formulas, stored values, errors, names, links, and sheet structure. Render or open every changed sheet plus representative unchanged sheets. Inspect headers, widths, number formats, clipped text, chart ranges, print areas, and conditional formatting. If any result depends on a macro, event handler, add-in, connection, or external link that remained disabled, label that result unverified—active dependency not executed; do not substitute cached values for verification.

Re-run reconciliations and spot-check source rows against final metrics. Record tool/version differences that could affect formulas or layout.

Safety and permission boundaries

  • Keep personal, financial, health, customer, and confidential data local unless a specific upload is approved.
  • Do not enable macros, DDE, external links, add-ins, queries, or refreshes from an untrusted workbook.
  • Treat formulas beginning with =, +, -, or @ in exported text as potential formula injection when reopened in spreadsheet software.
  • Do not change production workbooks, publish dashboards, send reports, or refresh live sources without explicit authorization.
  • Do not hide exclusions, data-quality failures, estimation, or manual overrides.
  • Do not present forecasts, financial calculations, or statistical associations as guaranteed outcomes.
  • Avoid logging raw sensitive cell values; use row IDs, ranges, aggregates, or redacted samples.

Recovery

If analysis or save fails, preserve the source and failed output, record the exact tool/version/error, and restart from the unchanged source. If a workbook was overwritten accidentally, stop further writes and recover from version history or backup; do not improvise destructive repair. If external connections or macros were activated, record what ran, preserve logs, and escalate potential data exposure.

Examples

Revenue reconciliation

Request: “Explain why the monthly revenue tab is $48,200 above the ledger export.”

Hash both files, define period/currency/sign rules, profile keys and duplicates, reconcile totals by entity and month, trace the variance to exact rows or formula ranges, and deliver a variance bridge with unresolved items—not a forced match.

Formula audit

Request: “Check this planning model for broken formulas before the board meeting.”

Open without refreshing links, inventory formulas and hidden sheets, find inconsistent formulas and hard-coded overrides, recalculate in a compatible engine, visually inspect dashboards, and provide cell-level findings with severity and correction options.

Clean survey results

Request: “Turn this CSV into a summary workbook with charts.”

Preserve the CSV, confirm encoding/delimiter/grain, prevent formula injection, document missing-value and category mappings, calculate reproducible aggregates, create a new workbook, re-open it, and verify chart ranges and totals against the cleaned table.

© seb1n, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references, assets) in documents-and-files/spreadsheet-analysis of seb1n/awesome-ai-agent-skills.

  • SKILL.md
  • agents/openai.yaml
  • assets/analysis-report-template.md
  • references/analysis-checklist.md
  • references/tool-routing.md
  • scripts/profile_table.py

Open the folder on GitHubat commit 75865a5

Compare with similar skills

Spreadsheet Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spreadsheet Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spreadsheet Analysis this skillseb1n/awesome-ai-agent-skills206—~2.5kAutomated safety check: PassMIT
Instrument Data To Allotropeaws-samples/amazon-bedrock-agents-healthcare-lifesciences2742 repos~2.7kAutomated safety check: PassApache-2.0
Convert Fileduckdb/duckdb-skills5991 repos~720Automated safety check: NotesMIT
Research Integrity Auditxuzhougeng/wisp-science1k—~2.6kAutomated safety check: PassAGPL-3.0
Jmh Benchmark Compareeclipse-rdf4j/rdf4j420—~804Automated safety check: PassBSD-3-Clause
Excel ParserHarryoung/efka104—~2.3kAutomated safety check: PassApache-2.0

Similar skills

  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed
  • Convert File

    duckdb/duckdb-skills

    Official

    Convert any data file to another format: CSV, Parquet, JSON, Excel, GeoJSON, and more.

    599 GitHub starsUsed in 1 repo~720 tokens
    Documents & OfficeAuto-check: notes
  • Research Integrity Audit

    xuzhougeng/wisp-science

    学术审查 / research-integrity screening of a manuscript's figures and reported numbers.

    1k GitHub stars~2.6k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Jmh Benchmark Compare

    eclipse-rdf4j/rdf4j

    Parse JMH result text by finding the first header line that starts with Benchmark and contains Mode and Score, build a structured table for all columns/rows, compare overlapping benchmarks across 2+…

    420 GitHub stars~804 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Excel Parser

    Harryoung/efka

    Smart Excel/CSV file parsing with intelligent routing based on file complexity analysis.

    104 GitHub stars~2.3k tokensUpdated 6 mo ago
    Documents & OfficeAuto-check passed
  • File Intel

    earlyaidopters/second-brain

    Run the Gemini file processor on any folder — extracts content from PDF, PPTX, XLSX, DOCX, CSV, JSON, and any text format, then generates Obsidian-ready summaries.

    193 GitHub stars~481 tokensUpdated 6 mo ago
    Documents & OfficeAuto-check passed

More from seb1n/awesome-ai-agent-skills

All 92 skills in this repo
  • Agent Red Teaming

    seb1n/awesome-ai-agent-skills

    Plan, execute, document, and retest authorized security assessments of AI agents and multi-agent workflows using safe adversarial cases, synthetic identities, canaries, and evidence-based findings.

    206 GitHub stars~2.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Eu AI Act Readiness

    seb1n/awesome-ai-agent-skills

    Build a preliminary, evidence-based EU AI Act readiness assessment across AI-system inventory, territorial scope, operator roles, prohibited-practice screening, risk classification, transparency…

    206 GitHub stars~3.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Human In The Loop

    seb1n/awesome-ai-agent-skills

    Design and verify auditable human oversight, approval gates, escalation paths, and safe state transitions for AI agent workflows.

    206 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • MCP Server Building

    seb1n/awesome-ai-agent-skills

    Design, implement, harden, and verify Model Context Protocol (MCP) servers with precise tool contracts, least-privilege authorization, safe transports, structured errors, and interoperability tests.

    206 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • PDF Processing

    seb1n/awesome-ai-agent-skills

    Inspect, extract, OCR, create, merge, split, reorder, rotate, annotate, fill, redact, compress, secure, and verify PDF documents while preserving source files and visual fidelity.

    206 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Skill Supply Chain Audit

    seb1n/awesome-ai-agent-skills

    Audit agent skills, plugins, prompts, manifests, scripts, dependencies, and bundled assets for provenance, prompt-injection, permission, execution, exfiltration, persistence, and update risk.

    206 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Spreadsheet Analysis

What does Spreadsheet Analysis do?

Inspect, profile, clean, reconcile, analyze, visualize, and verify spreadsheet data while preserving formulas, formatting, types, and source files. Spreadsheet Analysis is an agent skill from seb1n/awesome-ai-agent-skills. Inspect, profile, clean, reconcile, analyze, visualize, and verify spreadsheet data while preserving formulas, formatting, types, and source files.

When should I use Spreadsheet Analysis?

Spreadsheet Analysis fits situations like: working with .xlsx; answering questions from a workbook; auditing formulas; comparing sheets.

How do I install Spreadsheet Analysis in Claude Code?

Run `npx skills add seb1n/awesome-ai-agent-skills --skill spreadsheet-analysis -a claude-code`. Or copy the skill folder (documents-and-files/spreadsheet-analysis in seb1n/awesome-ai-agent-skills) into .claude/skills/spreadsheet-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Spreadsheet Analysis in Codex?

Run `npx skills add seb1n/awesome-ai-agent-skills --skill spreadsheet-analysis -a codex`. Or copy the skill folder (documents-and-files/spreadsheet-analysis in seb1n/awesome-ai-agent-skills) into .agents/skills/spreadsheet-analysis in your project. Codex loads it when a task matches its description.

Can I use Spreadsheet Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add seb1n/awesome-ai-agent-skills --skill spreadsheet-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spreadsheet-analysis, .gemini/skills/spreadsheet-analysis, .github/skills/spreadsheet-analysis and .opencode/skills/spreadsheet-analysis in your project.

What does Spreadsheet Analysis need to run?

Going by SKILL.md and its folder, Spreadsheet Analysis needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Spreadsheet Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Spreadsheet Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Spreadsheet Analysis use?

Spreadsheet Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spreadsheet Analysis use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Spreadsheet Analysis?

Skills that share tags, products or a category with Spreadsheet Analysis: Instrument Data To Allotrope (aws-samples/amazon-bedrock-agents-healthcare-lifesciences, 274 stars), Convert File (duckdb/duckdb-skills, 599 stars), Research Integrity Audit (xuzhougeng/wisp-science, 1k stars) and Jmh Benchmark Compare (eclipse-rdf4j/rdf4j, 420 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spreadsheet Analysis?

seb1n (a GitHub user) maintains it in seb1n/awesome-ai-agent-skills, which has 206 GitHub stars. The repository holds 92 skills in this directory. The repository was last updated on August 9, 2026.

Source: seb1n/awesome-ai-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.