分析与电子表格32k · #9211
recipe-compare-sheet-tabs
它能做什么
这个工具可以比较两个 Google 表格,找出它们之间的变化。它会读取两个不同标签页中的数据,并把差异展示给你。
适用场景
- ✓想看看月度预算有哪些变化时。
- ✓想比较两个日期的待办清单时。
- ✓想检查库存清单之间的差异时。
技能链接
https://github.com/googleworkspace/cli/blob/main/skills/recipe-compare-sheet-tabs/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
请用这个技能帮我:https://github.com/googleworkspace/cli/blob/main/skills/recipe-compare-sheet-tabs/SKILL.md
阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
npx skills add googleworkspace/cli --skill recipe-compare-sheet-tabs
下载 SKILL.md,放进智能体的技能文件夹。
curl -L https://raw.githubusercontent.com/googleworkspace/cli/main/skills/recipe-compare-sheet-tabs/SKILL.md -o SKILL.md
可以这样问 AI
“比较我的销售表格中 '一月' 标签页和 '二月' 标签页的内容。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会先读取第一个标签页的全部信息,再读取第二个标签页的信息。然后对两者进行比较,准确告诉你哪些内容被新增、删除或修改了。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Compare Two Google Sheets Tabs
PREREQUISITE: Load the following skills to execute this recipe:
gws-sheets
Read data from two tabs in a Google Sheet to compare and identify differences.
Steps
- Read the first tab:
gws sheets +read --spreadsheet SHEET_ID --range "January!A1:D" - Read the second tab:
gws sheets +read --spreadsheet SHEET_ID --range "February!A1:D" - Compare the data and identify changes
常见问题
表格必须保存在 Google Drive 里吗?
是的,这个工具只能处理保存在你 Google Drive 中的表格。
如果标签页名称不同怎么办?
你需要告诉我你想比较的标签页的确切名称。
它只能比较数字吗?
不是,它可以比较表格中的任何类型的信息,比如文字和日期。
详情
作者的原始描述
Read data from two tabs in a Google Sheet to compare and identify differences.
repo: googleworkspace/cli
热度
- GitHub 星标
- 32k
- 排名
- #9211
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/6
评论
- …