Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

spreadsheet-validated-execution

Skill by HKUDS

Runs Python scripts for Excel and spreadsheet tasks, checking that source data exists before processing and falling back to alternate copies when it does not. Aimed at agents working with openpyxl or pandas on multi-step jobs.

  • Score 89
  • 8.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install spreadsheet-validated-execution

Built from the published package, never by AI.

git clone --depth 1 https://github.com/HKUDS/AgentPilot /tmp/AgentPilot && mkdir -p ~/.claude/skills && cp -r /tmp/AgentPilot/openspace/benchmarks/gdpval/skills/spreadsheet-direct-python-enhanced-enhanced ~/.claude/skills/spreadsheet-validated-execution

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install spreadsheet-validated-execution in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill guides an assistant through spreadsheet work by running Python scripts directly instead of relying on step-by-step shell commands. It covers reading and writing multi-sheet Excel files, applying formulas, formatting, and data transformations with openpyxl, pandas, and similar libraries.

The skill starts with a validation step. The assistant checks that the source file or URL is reachable, has the expected columns, and is not empty. If the primary source is missing, it tries backup, archived, or cached copies in priority order. If nothing works, it reports the exact errors and paths attempted. The source recommends writing scripts to a .py file first, which it says avoids heredoc parsing problems in shell_agent. It is aimed at users who run multi-step spreadsheet operations and need clear error handling.

Written from the project's SKILL.md and checked against it.

What it can do

  • Source validationChecks that a data file exists, is non-empty, and has required columns before processing starts.
  • Fallback source selectionTries backup, archived, and cached copies of a data file in priority order when the primary is missing.
  • File-based script executionWrites Python scripts to a .py file and runs them, instead of inline heredocs.
  • Excel transformationsApplies formulas, calculations, and data transformations with pandas and openpyxl.
  • Cell formattingApplies header fills, fonts, and alignment to spreadsheet cells using openpyxl styles.
  • Large file handlingSuggests processing data in chunks with the pandas chunksize parameter when memory runs out.

What you need

  • Python 3
  • openpyxl
  • pandas

Try asking

  • Check that input.xlsx has ID, Date and Value columns, then process it.
  • If wells_current.xlsx is missing, use the backup copy and report which file was used.
  • Apply bold white headers with a blue fill to report.xlsx and save a formatted copy.

Good to know

  • Not meant for simple single-cell reads or writes.
  • Not suited to operations that need interactive user input.
  • The source notes that heredoc syntax can fail when shell_agent is the executor, so script files are recommended.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: openspace/benchmarks/gdpval/skills/spreadsheet-direct-python-enhanced-enhanced/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • .skill_id57 B
  • SKILL.md13 KB

Alternatives to spreadsheet-validated-execution

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

spreadsheet-validated-execution: common questions

When should I use this skill instead of shell_agent?

The source says shell_agent can hit step limits, fail on intricate spreadsheet reads and writes, and mis-parse heredocs. It recommends direct Python execution for complex, multi-step spreadsheet work.

What happens if the data source is unavailable?

The skill checks alternative sources in priority order, such as backup copies and cached files. If none are found, it reports the errors and paths attempted and suggests next steps for a person to take.

Which libraries does it work with?

The source names openpyxl for xlsx reading, writing, and formatting, pandas for data manipulation, xlrd for older .xls files, and xlsxwriter for creating new files with advanced formatting.

How do I install spreadsheet-validated-execution?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is spreadsheet-validated-execution free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is spreadsheet-validated-execution safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, 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 spreadsheet-validated-execution?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

spreadsheet-validated-execution Install

Add to stack

Loading.