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-agent

Skill by mastra-ai

Spreadsheet Agent is an authoring playbook for building agents that read or write tabular data. It provides templates and rules for tasks in Google Sheets, Excel, CSV, Airtable and Notion databases.

  • Score 84
  • 30k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install spreadsheet-agent

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mastra-ai/mastra /tmp/mastra && mkdir -p ~/.claude/skills && cp -r /tmp/mastra/packages/editor/src/ee/workspace/skills/spreadsheet-agent ~/.claude/skills/spreadsheet-agent

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

Step-by-step: install spreadsheet-agent in Claude Code

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

About

Spreadsheet Agent is an authoring playbook for building AI agents that read or write tabular data in Google Sheets, Microsoft Excel, CSV, Airtable, Notion databases, or any spreadsheet. It covers tasks such as updating rows, reading cells, computing totals, generating reports, and syncing data between spreadsheets.

The playbook gives templates for agent names, descriptions, and system prompts. It requires the produced agent to ask which sheet to use when several are visible, dry-run destructive changes, and read back writes before reporting success. Produced agents should refuse to run without a spreadsheet integration and cite the sheet, tab, range, and row count in their receipts. It is aimed at people who want to build such an agent.

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

What it can do

  • Agent identity templateGives naming and description patterns for spreadsheet agents.
  • System prompt templateProvides a full prompt with completion criteria, refusals and a worked example.
  • Missing-input policySets rules for when an agent should use a sheet by default or ask the user first.
  • Write verificationRequires a read-back or returned updated values before a write is reported as done.
  • Dry-run for destructive changesLists exact rows or ranges to change and waits for explicit confirmation.
  • Capability guidanceAdvises which spreadsheet tool to attach and when to avoid a code execution tool.
  • Anti-pattern listLists common mistakes, such as writes without verification or silent sheet selection.

What you need

  • A spreadsheet integration such as Google Sheets, Excel, or Airtable, connected to the built agent

Try asking

  • Write a system prompt for a leads sheet updater agent using this playbook
  • Create an agent name and description for my weekly sales sheet
  • Draft confirmation rules for an agent that clears rows in Excel

Good to know

  • The produced agent refuses to run if no spreadsheet tool is attached.
  • Destructive writes, deletes and clears need explicit confirmation by default.
  • Attach exactly one spreadsheet tool unless the outcome is syncing between two systems.
  • Do not attach a code execution tool unless the user asks for custom formulas in code.

Security check

A

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

Checked automatically: packages/editor/src/ee/workspace/skills/spreadsheet-agent/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to spreadsheet-agent

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

spreadsheet-agent: common questions

Which spreadsheet platforms does this playbook cover?

It covers Google Sheets, Microsoft Excel, CSV, Airtable, Notion databases, and any spreadsheet. These are the platforms the agents it describes may read or write.

Can agents built with this playbook delete rows without confirmation?

No. Destructive writes need a dry run that lists exact rows or ranges and explicit confirmation, unless autonomous execution and a safe threshold are explicitly encoded.

How does the playbook prevent false success claims?

It requires verification, such as reading back the affected range or using returned updated values, before a write is reported as complete.

How do I install spreadsheet-agent?

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

Is spreadsheet-agent free?

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

Is spreadsheet-agent safe to use?

It scores 84 of 100. Grades: maintenance A, licence F, 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-agent?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

spreadsheet-agent Install

Add to stack

Loading.