Token导航 LogoToken导航

Agent Skill · 研究检索

spreadsheet-automation(电子表格自动化)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

spreadsheet-automation 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 3,423。

总安装 44,274周安装 1,791GitHub Stars 公开资料未说明下载 13,898核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:spreadsheet-automation(电子表格自动化)
来源仓库:https://github.com/jk-0001/spreadsheet-automation
安装命令:
openclaw skills install spreadsheet-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install spreadsheet-automation

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

将 Google Sheets 转化为可编程数据库,支持公式编写与脚本集成。适合构建财务模型、数据看板或自动化报表生成工作流。通过 Apps Script 实现单元格操作、图表绘制与外部服务联动。需授予 Google Workspace 账号编辑权限才能修改表格内容。

spreadsheet-automation 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install spreadsheet-automation;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

spreadsheet-automation 怎么安装?

在终端执行 openclaw skills install spreadsheet-automation。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

spreadsheet-automation 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

spreadsheet-automation 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

spreadsheet-automation 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

spreadsheet-automation 用的人多吗?

公开数据是累计安装 44,274 次,近一周安装 1,791 次,下载 13,898 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

spreadsheet-automation 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
spreadsheet-automation

电子表格自动化 · 本页

44,274—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
spreadsheet-automation
description
Turn Google Sheets into a powerful database and workflow engine using formulas, Apps Script, and integrations. Use when building systems in Sheets, automating data entry, creating dashboards, or replacing expensive tools with spreadsheet-based solutions. Covers advanced formulas, Apps Script basics, integration strategies, and real workflow examples. Trigger on "automate spreadsheet", "Google Sheets automation", "Apps Script", "spreadsheet workflow", "Sheets as database", "automate data entry".

Spreadsheet Automation

Overview

Google Sheets isn't just for budgets and lists. With the right formulas, Apps Script, and integrations, it becomes a database, CRM, project tracker, analytics dashboard, and workflow engine — all in one free tool. This playbook shows you how to build production-grade systems in Sheets that replace $50-500/month SaaS tools.


Step 1: Identify What to Automate in Sheets

Not every workflow belongs in Sheets. Here's when Sheets is the right tool.

Good use cases for Sheets automation:

  • Data collection from multiple sources (form responses, API data, manual input) → centralize in one place
  • Lightweight databases (customer lists, inventory, project tracker) → under 10K rows, basic relationships
  • Dashboards and reporting (pull data from other tools, visualize, share)
  • Workflow triggers (when row added/updated → send email, create task, update another sheet)
  • Data transformation (clean, format, enrich data from messy sources)

Bad use cases (use a real database or tool instead):

  • Heavy computation (millions of rows, complex queries) → use BigQuery, Airtable, or SQL database
  • Real-time collaboration with 10+ concurrent users → use Airtable, Notion, or dedicated project management tool
  • Mission-critical data that can't afford accidental deletion → use a real database with backups and version control
  • Complex relational data (many-to-many relationships) → use Airtable or proper database

Audit your current manual work (10 min):

  1. List tasks you do in Sheets manually (copy/paste, data entry, formatting, updating other sheets)
  2. Which tasks are repetitive? (daily, weekly, triggered by an event)
  3. Which tasks take 5+ minutes each time?
  4. Which tasks have clear logic? ("If this, then that")

Low-hanging fruit checklist:

  • [ ] Auto-populate cells based on other cells (formulas)
  • [ ] Pull data from external sources (APIs, other sheets, web scraping)
  • [ ] Auto-format or clean data (remove duplicates, standardize dates, extract values)
  • [ ] Send notifications when conditions are met (email alerts, Slack messages)
  • [ ] Create charts or dashboards that update automatically
  • [ ] Sync data between Sheets and other tools (CRM, project management, accounting)

Step 2: Master Advanced Formulas (No Code Required)

Most Sheets automation starts here. Master these formulas and you can build 80% of what you need without Apps Script.

Core Formula Reference

QUERY (SQL-like queries in Sheets):

=QUERY(A1:D100, "SELECT A, B, C WHERE D > 1000 ORDER BY C DESC")
  • Use for: Filter, sort, group, and summarize data
  • Syntax: SELECT [columns] WHERE [condition] ORDER BY [column] LIMIT [number]
  • Example: Pull all customers with orders > $1,000, sorted by date

IMPORTRANGE (pull data from other sheets):

=IMPORTRANGE("spreadsheet_url", "Sheet1!A1:D100")
  • Use for: Centralize data from multiple sheets into one master sheet
  • Setup: First time, you need to approve access (click "Allow access" when prompted)
  • Example: Pull sales data from regional team sheets into one master dashboard

ARRAYFORMULA (apply formula to entire column):

=ARRAYFORMULA(IF(A2:A="",,B2:B*C2:C))
  • Use for: Auto-calculate for all rows (no dragging formulas down)
  • Example: Auto-multiply quantity × price for every new row added

VLOOKUP / XLOOKUP (lookup values from another table):

=VLOOKUP(A2, Sheet2!A:B, 2, FALSE)
  • Use for: Match and pull related data (e.g., customer name → pull their email)
  • XLOOKUP (newer): More flexible, can search left-to-right or right-to-left

FILTER (dynamic filtering):

=FILTER(A2:D100, D2:D100>1000, C2:C100="Active")
  • Use for: Show only rows that meet criteria (updates automatically when data changes)
  • Example: Show only active customers with revenue > $1,000

UNIQUE (remove duplicates):

=UNIQUE(A2:A100)
  • Use for: Extract unique values from a list (auto-updates when source changes)

REGEXEXTRACT (extract patterns from text):

=REGEXEXTRACT(A2, "[0-9]{3}-[0-9]{3}-[0-9]{4}")
  • Use for: Pull phone numbers, emails, URLs, or any pattern from messy text
  • Example: Extract domain from email addresses

IMPORTXML / IMPORTHTML (scrape web data):

=IMPORTXML("https://example.com", "//h1")
  • Use for: Pull live data from websites (prices, headlines, tables)
  • Example: Track competitor pricing automatically

Step 3: Build Multi-Sheet Systems

Single-sheet solutions are limited. Real power comes from connecting multiple sheets into a system.

System architecture pattern:

SHEET 1: Data Entry (input form or manual entry)
  ↓
SHEET 2: Master Database (cleaned, validated, enriched)
  ↓
SHEET 3: Dashboard (charts, summaries, insights)
  ↓
SHEET 4: Exports/Reports (formatted for sharing)

Example: Simple CRM in Sheets

Sheet 1: Lead Entry Form

  • Columns: Name, Email, Company, Source, Date Added
  • Use: Google Form → auto-populates this sheet
  • Validation: Email format check, required fields

Sheet 2: Master Lead Database

  • Pulls from Sheet 1 using IMPORTRANGE or direct reference
  • Adds enrichment: Status (New/Contacted/Qualified/Closed), Last Contact Date, Notes
  • Formula example: =IF(ISBLANK(D2), "New", D2) (auto-set status to "New" if empty)

Sheet 3: Dashboard

  • Total leads: =COUNTA(MasterDB!A2:A)
  • Leads this week: =COUNTIF(MasterDB!E2:E, ">="&TODAY()-7)
  • Conversion rate: =COUNTIF(MasterDB!D2:D, "Closed")/COUNTA(MasterDB!A2:A)
  • Chart: Leads by source (pie chart)

Sheet 4: Weekly Report

  • Formula: =FILTER(MasterDB!A2:E, MasterDB!E2:E>=TODAY()-7)
  • Auto-pull this week's leads for review meeting

Key principles:

  • One sheet = one purpose (don't mix input, storage, and display)
  • Use formulas to connect sheets (avoid manual copy/paste)
  • Protect important sheets (prevent accidental edits)

Step 4: Learn Apps Script Basics (Google's JavaScript for Sheets)

Apps Script lets you do things formulas can't: send emails, make API calls, create custom menus, run code on a schedule.

When to use Apps Script:

  • Formulas can't do it (sending emails, hitting APIs, complex logic)
  • You need automation to run on a schedule (every hour, daily, weekly)
  • You want custom functions or menu items

How to access Apps Script:

  1. Open your Google Sheet
  2. Extensions → Apps Script
  3. Write code in the editor

Example 1: Send Email Alert When New Row Added

function onEdit(e) {
  var sheet = e.source.getActiveSheet();
  
  // Only run on "Lead Entry" sheet
  if (sheet.getName() !== "Lead Entry Form") return;
  
  // Get edited row and column
  var row = e.range.getRow();
  var col = e.range.getColumn();
  
  // If new row added (row > 1 to skip header)
  if (row > 1 && col === 1) {
    var name = sheet.getRange(row, 1).getValue();
    var email = sheet.getRange(row, 2).getValue();
    
    // Send email notification
    MailApp.sendEmail({
      to: "you@example.com",
      subject: "New Lead: " + name,
      body: "Name: " + name + "\
Email: " + email
    });
  }
}

How to set up:

  1. Paste code into Apps Script editor
  2. Save (Ctrl/Cmd + S)
  3. Set up trigger: Triggers (clock icon) → Add Trigger → onEdit → From spreadsheet → On edit → Save
  4. Authorize permissions when prompted

Example 2: Fetch Data from API and Write to Sheet

function fetchAPIData() {
  var url = "https://api.example.com/data";
  var options = {
    "method": "GET",
    "headers": {
      "Authorization": "Bearer YOUR_API_KEY"
    }
  };
  
  var response = UrlFetchApp.fetch(url, options);
  var data = JSON.parse(response.getContentText());
  
  var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("API Data");
  
  // Clear existing data
  sheet.clear();
  
  // Write headers
  sheet.appendRow(["ID", "Name", "Value"]);
  
  // Write data rows
  data.forEach(function(item) {
    sheet.appendRow([item.id, item.name, item.value]);
  });
}

How to set up:

  1. Paste code, replace url and YOUR_API_KEY
  2. Run once manually to test (click Run button)
  3. Set up time-based trigger: Triggers → Add Trigger → fetchAPIData → Time-driven → Hour timer → Every hour

Example 3: Auto-Archive Old Rows

function archiveOldRows() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sourceSheet = ss.getSheetByName("Active Tasks");
  var archiveSheet = ss.getSheetByName("Archive");
  
  var data = sourceSheet.getDataRange().getValues();
  var today = new Date();
  var cutoffDate = new Date(today.getTime() - (30 * 24 * 60 * 60 * 1000)); // 30 days ago
  
  // Start from row 2 (skip header)
  for (var i = data.length - 1; i >= 1; i--) {
    var rowDate = new Date(data[i][3]); // Column D = date
    
    if (rowDate < cutoffDate) {
      // Copy row to archive
      archiveSheet.appendRow(data[i]);
      
      // Delete from source
      sourceSheet.deleteRow(i + 1);
    }
  }
}

Common Apps Script patterns:

  • Get data: sheet.getRange("A1:D10").getValues()
  • Write data: sheet.getRange("A1").setValue("Hello")
  • Append row: sheet.appendRow([val1, val2, val3])
  • Send email: MailApp.sendEmail(to, subject, body)
  • Make HTTP request: UrlFetchApp.fetch(url, options)
  • Get current date: new Date()

Apps Script resources:

  • Official docs: https://developers.google.com/apps-script
  • ChatGPT or Claude: "Write Apps Script to [do X]" → copy/paste/test

Step 5: Connect Sheets to Other Tools (Zapier, Make, n8n)

Sheets becomes 10x more powerful when integrated with other tools.

Integration strategies:

Strategy 1: Sheets as Database (write-only)

Use case: Collect data from forms, webhooks, or other tools → write to Sheets for storage

Example workflow (Zapier/Make):

TRIGGER: New Typeform submission
ACTION 1: Add row to Google Sheets
ACTION 2: Send email confirmation (optional)

Example workflow (Webhook → Sheets):

TRIGGER: Webhook received (from website, Stripe, etc.)
ACTION: Parse JSON → Write to Google Sheets

Strategy 2: Sheets as Trigger (read-only)

Use case: When row added/updated in Sheets → trigger action elsewhere

Example workflow:

TRIGGER: New row in Google Sheets (check every 15 min)
CONDITION: Status column = "Approved"
ACTION: Create task in Asana / Send email / Post to Slack

Strategy 3: Sheets as Middleman (read + write)

Use case: Sheets pulls data from Tool A, processes it, pushes to Tool B

Example workflow (sync CRM to email tool):

TRIGGER: New row in Google Sheets (CRM export)
CONDITION: Email column not empty + Tag column = "Newsletter"
ACTION: Add contact to ConvertKit / Mailchimp

Best tools for Sheets integration:

  • Zapier: Easiest, widest app support, $20-50/month
  • Make (Integromat): More powerful, visual, $9-30/month
  • n8n: Self-hosted, unlimited, free (or $20/month hosted)

Common integrations:

  • Google Forms → Sheets (native, no tool needed)
  • Sheets → Gmail (send emails based on Sheet data)
  • Sheets → Slack (post updates to Slack when Sheet changes)
  • Sheets ↔ Airtable (sync data both ways)
  • API → Sheets (pull data from any API into Sheets)

Step 6: Real-World Automation Examples

Example 1: Automated Invoice Tracker

Problem: Manually tracking invoices sent, paid, and overdue

Solution:

Sheet 1: Invoice Log

  • Columns: Invoice #, Client, Amount, Date Sent, Due Date, Status, Days Overdue

Formula magic:

Status = =IF(G2="Paid", "Paid", IF(E2<TODAY(), "Overdue", "Pending"))
Days Overdue = =IF(E2<TODAY(), TODAY()-E2, 0)

Apps Script (run daily):

function sendOverdueReminders() {
  var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Invoice Log");
  var data = sheet.getDataRange().getValues();
  
  for (var i = 1; i < data.length; i++) {
    var status = data[i][6]; // Status column
    var client = data[i][1];
    var invoiceNum = data[i][0];
    var amount = data[i][2];
    
    if (status === "Overdue") {
      MailApp.sendEmail({
        to: "client@example.com",
        subject: "Reminder: Invoice " + invoiceNum + " Overdue",
        body: "Hi " + client + ",\
\
Invoice " + invoiceNum + " for $" + amount + " is overdue. Please remit payment.\
\
Thank you!"
      });
    }
  }
}

Trigger: Time-driven, daily at 9am


Example 2: Lead Scoring System

Problem: Manually qualifying leads based on fit

Solution:

Sheet 1: Lead Data

  • Columns: Name, Company Size, Industry, Budget, Urgency, Score, Priority

Formula scoring:

Score = =
  IF(B2="Enterprise", 30, IF(B2="Mid-Market", 20, 10)) +
  IF(C2="SaaS", 20, IF(C2="E-commerce", 15, 5)) +
  IF(D2>10000, 30, IF(D2>5000, 20, 10)) +
  IF(E2="Immediate", 20, IF(E2="This Quarter", 10, 0))

Priority = =IF(F2>=70, "Hot", IF(F2>=50, "Warm", "Cold"))

Automation (Zapier):

TRIGGER: New row in Google Sheets
CONDITION: Priority = "Hot"
ACTION 1: Add to Pipedrive as high-priority deal
ACTION 2: Send Slack notification to sales team

Example 3: Content Calendar + Auto-Publishing

Problem: Manually tracking and scheduling social posts

Solution:

Sheet 1: Content Calendar

  • Columns: Date, Platform, Post Text, Image URL, Status

Apps Script (run hourly):

function publishScheduledPosts() {
  var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Content Calendar");
  var data = sheet.getDataRange().getValues();
  var now = new Date();
  
  for (var i = 1; i < data.length; i++) {
    var scheduleDate = new Date(data[i][0]);
    var status = data[i][4];
    
    // If scheduled for now or past, and not yet published
    if (scheduleDate <= now && status === "Scheduled") {
      var platform = data[i][1];
      var text = data[i][2];
      
      // Call API to post (Twitter, LinkedIn, etc.)
      postToAPI(platform, text);
      
      // Mark as published
      sheet.getRange(i+1, 5).setValue("Published");
    }
  }
}

function postToAPI(platform, text) {
  // Example: Twitter API call
  var url = "https://api.twitter.com/2/tweets";
  var payload = JSON.stringify({"text": text});
  var options = {
    "method": "POST",
    "headers": {
      "Authorization": "Bearer YOUR_TWITTER_TOKEN",
      "Content-Type": "application/json"
    },
    "payload": payload
  };
  
  UrlFetchApp.fetch(url, options);
}

Step 7: Performance and Scalability

When Sheets starts to slow down:

Problem: Sheet with 10K+ rows, complex formulas → slow to load/edit

Solutions:

  1. Use QUERY instead of FILTER + SORT: More efficient
  2. Limit ARRAYFORMULA range: A2:A1000 instead of A:A (entire column)
  3. Use static values instead of formulas where possible: Copy → Paste Values
  4. Split into multiple sheets: Archive old data to separate sheet
  5. Use Importrange sparingly: Each call adds load time
  6. Cache data with Apps Script: Pull external data once, store it, refresh periodically instead of live formulas

When to migrate away from Sheets:

  • 50K+ rows → Use Airtable or BigQuery
  • Real-time collaboration with 20+ users → Use Airtable or Notion
  • Complex relational queries → Use Airtable or SQL database
  • Mission-critical data → Use proper database with backups

Backup strategy:

  • Version history: File → Version history (Google auto-saves, you can restore)
  • Automated exports: Apps Script to export to Google Drive weekly
  • Download copies: File → Download → Excel or CSV (manual backup)

Step 8: Spreadsheet Automation ROI

ROI calculation:

Time Saved per Month (hours) = (Minutes per task / 60) × Frequency per month
Monthly Value = Time Saved × Hourly Rate
Setup Cost = (Setup time in hours × Hourly Rate) + Tool costs
Payback Period (months) = Setup Cost / Monthly Value

If payback period < 3 months → Definitely worth it
If payback period > 6 months → Probably not worth it

Example:

Task: Manually entering form submissions into CRM (15 min, 40x/month = 10 hours/month saved)
Your hourly rate: $50/hour
Monthly value saved: $500
Setup time: 2 hours
Setup cost: $100 (time) + $0 (Google Forms + Sheets are free)
Payback: $100 / $500 = 0.2 months → Absolutely worth it

Rule: If it saves 5+ hours/month, automate it.


Spreadsheet Automation Mistakes to Avoid

  • Building everything in one massive sheet. Break into multiple sheets (input, database, dashboard, exports).
  • Not protecting important sheets. One accidental delete can wipe out your system. Use Data → Protect sheets and ranges.
  • Overusing volatile formulas. NOW(), TODAY(), RAND() recalculate constantly and slow down sheets. Use sparingly.
  • Not documenting your formulas. Add comments (right-click cell → Insert comment) to explain complex formulas.
  • Forgetting to set up triggers for Apps Script. Code won't run unless you set up a trigger (onEdit, time-driven, etc.).
  • Not testing automations before going live. Test with dummy data first. A broken automation that sends 100 emails is a disaster.
  • Using Sheets for things it's not meant for. If you hit 20K+ rows, move to a real database.

平台分布

OpenClaw

93.92%
按下载量换算13,053

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills