Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

google-sheetsGoogle Sheets 表格协作

Agent Skill

google-sheets 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

376

周安装

16

GitHub Stars

10,708

下载量

132
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:google-sheets(Google Sheets 表格协作)
来源仓库:https://github.com/accomplish-ai/accomplish
仓库路径:skills/google-sheets
安装命令:
npx skills add https://github.com/accomplish-ai/accomplish --skill google-sheets
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/accomplish-ai/accomplish --skill google-sheets

简介

用于自动化操作 Google Sheets,支持数据读写、格式调整和流程验证。

  • 适合在表格数据处理、批量录入或表单生成等需要精确单元格操作的场景使用。
  • 通过浏览器自动化实现,需按步骤执行:定位页面、规划操作、逐项执行并截图确认结果。
  • 安装前请确认权限范围,确保已登录 Google 账户,注意避免误删或越权访问。
  • 建议结合项目实际需求测试具体用例,避免直接在生产环境批量操作。

SKILL.md

Google Sheets Interaction Skill

Overview

This skill provides patterns and best practices for automating Google Sheets interactions through browser automation. Google Sheets is a canvas-based web app — standard DOM element references are often unreliable; prefer keyboard shortcuts and coordinate clicks.


Agent Workflow (Always Follow This Order)

  1. Orient — Take a screenshot. Confirm you're on the right tab/sheet. Identify existing data range.
  2. Plan — Decide what cells to read or write, in what order.
  3. Execute in small steps — One logical action at a time (one row, one format operation, etc.).
  4. Verify — Take a screenshot after each meaningful action to confirm the result before continuing.
  5. Recover if needed — If something looks wrong, Cmd+Z immediately before doing anything else.

1. Session Setup / Opening a Sheet

Starting from scratch:

  • Navigate to https://sheets.google.com
  • Click "Blank spreadsheet" to create new, or click an existing file
  • After clicking, wait for the new tab — Sheets often opens in a new tab. Switch to it before proceeding.

Opening an existing file:

  • Navigate to https://drive.google.com, search for the file, and open it
  • Or navigate directly via a known URL

Before acting on any sheet:

  • Take a screenshot to confirm the sheet is loaded (look for the grid and toolbar)
  • Confirm which sheet tab is active (bottom of screen)
  • Use Cmd+Home to go to A1 and orient yourself

2. Reading / Understanding Existing Data

Before writing anything, read what's already there:

  • Screenshot first — Get a visual overview of the data layout
  • browser_get_text — Extracts cell text content; useful for reading values without clicking
  • Cmd+End — Jumps to the last cell with data; tells you the extent of the dataset
  • Cmd+Home — Returns to A1

To read a specific cell's value: Click the cell and read the formula bar (visible in screenshot), or use browser_get_text and parse the result.


3. Navigation & Cell Selection

DO NOT type cell references into the Name Box — it often enters text into cells instead of navigating.

Preferred navigation methods:

GoalMethod
Go to A1Cmd+Home
Go to start of rowHome
Go to last data cellCmd+End
Move rightTab
Move downEnter
Move by one cellArrow keys
Select entire rowClick the row number on the left (e.g., "2")
Select entire columnClick the column letter at top (e.g., "A")
Select a rangeClick start cell, then Shift+click end cell
Select column range (for resize)Click first column letter, Shift+click last

Confirming current cell location:

  • Take a screenshot and look at the Name Box (top-left, shows current cell address like "A1")
  • Look at the formula bar (top center) which shows the selected cell's content
  • The selected cell has a blue/green border — visible in screenshots

4. Data Entry

Basic pattern for tabular data:

1. Click on the starting cell (e.g., A1)
2. Type value → Tab (moves right)
3. Type value → Tab → Tab → ...
4. At end of row: press Enter (moves to next row, returns to column where you started)
5. Press Home to ensure you're at column A
6. Repeat

Entering a single value:

1. Click the target cell
2. Type the value
3. Press Enter or Tab to confirm (don't leave it unconfirmed)

Pasting multi-line data:

  • Prepare data as tab-separated text (TSV)
  • Click the target starting cell
  • Paste with Cmd+V
  • Verify result with a screenshot

Avoid:

  • Typing tab characters inside a string to separate columns — they won't work as cell separators
  • Leaving a cell in edit mode (blinking cursor) before navigating away — always confirm with Enter or Tab

5. Formulas

Entering a formula:

1. Click target cell
2. Type = followed by the formula (e.g., =SUM(A1:A10))
3. Press Enter to confirm

Common formulas:

FormulaPurpose
=SUM(A1:A10)Sum a range
=AVERAGE(B2:B20)Average
=COUNT(C2:C100)Count non-empty cells
=IF(A1>10,"Yes","No")Conditional
=VLOOKUP(key,range,col,0)Lookup
=A1&" "&B1Concatenate cells
=TODAY()Today's date

Copying a formula down a column:

1. Click the cell with the formula
2. Press Cmd+C to copy
3. Select the range below (click first cell, Shift+click last)
4. Press Cmd+V to paste

Or: click the cell, then double-click the small blue square in the cell's bottom-right corner (auto-fill handle) — this fills down to match adjacent data.


6. Formatting

Bold / Italic / Underline:

1. Select cell(s) or row (click row number)
2. Cmd+B (bold), Cmd+I (italic), Cmd+U (underline)

Header row formatting (recommended pattern):

1. Click the row number to select the entire row
2. Cmd+B for bold
3. Click the Fill Color button (paint bucket in toolbar) → choose a color
4. View > Freeze > 1 row (so header stays visible when scrolling)

Number formatting:

Format > Number > choose format (Currency, Percent, Date, etc.)

Text wrapping:

Format > Wrapping > Wrap (or Overflow / Clip)

Column width auto-fit:

1. Click first column letter, Shift+click last column letter to select range
2. Right-click on any selected column header
3. "Resize columns A - X"
4. Choose "Fit to data" → OK

7. Sheet Tabs (Multiple Sheets)

Sheet tabs appear at the bottom of the screen.

ActionMethod
Switch to a sheetClick its tab at the bottom
Add a new sheetClick the + button at the bottom left
Rename a sheetDouble-click the tab, type new name, Enter
Duplicate a sheetRight-click the tab → "Duplicate"
Delete a sheetRight-click the tab → "Delete"

Always confirm which sheet tab is active before reading or writing data.


8. Menus Reference

MenuUseful For
View > FreezeFreeze rows/columns
Format > NumberNumber/date formatting
Format > WrappingText wrap in cells
Data > Sort rangeSort by column
Data > FilterAdd filter dropdowns
Data > Split text to columnsSplit delimited text
Insert > Row / ColumnInsert rows or columns

9. Common Keyboard Shortcuts

ActionShortcut
BoldCmd+B
ItalicCmd+I
UndoCmd+Z
RedoCmd+Shift+Z
Select AllCmd+A
CopyCmd+C
PasteCmd+V
Go to A1Cmd+Home
Go to last data cellCmd+End
Go to start of rowHome
Move rightTab
Move downEnter
Delete cell contentsDelete
Find & ReplaceCmd+H
Insert row aboveCmd+Option+Shift+= (with row selected)

10. Error Recovery

Something went wrong — act immediately:

  1. Cmd+Z — Undo the last action (do this before anything else)
  2. Take a screenshot to assess current state
  3. Re-orient: Cmd+Home to go to A1
  4. Re-read the data before retrying

Common problems and fixes:

ProblemFix
Text entered into wrong cellCmd+Z, then navigate correctly and re-enter
Formula shows as text (starts with = but not computing)Click cell, press F2 to edit, confirm cell is not formatted as plain text
Dialog appeared unexpectedlyScreenshot to read it, then press Escape or respond appropriately
Sheet opened in new browser tabUse browser_tabs / tabs tool to switch to the new tab
Cell stuck in edit modePress Escape to cancel edit, or Enter to confirm

11. Saving

Google Sheets auto-saves continuously. You do not need to manually save.

  • Watch for "Saving..." → "All changes saved" in the top bar to confirm
  • If you see a "Save" prompt, the file may be a non-Google format (e.g.,.xlsx) — click Save to keep changes

12. Browser Automation Tips

  • Google Sheets is a canvas app — DOM element references (ref_id) often don't work for cells. Use coordinate clicks instead.
  • Always screenshot before and after significant actions
  • Use keyboard shortcuts over toolbar button clicks whenever possible — more reliable
  • Toolbar buttons can be clicked by coordinate if needed; take a screenshot to locate them first
  • Name Box (top-left showing cell address): Read it in screenshots to confirm position, but don't type into it for navigation
  • After creating a new sheet, wait for the new browser tab to open, then switch to it before interacting

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.97%
按下载量换算53

Claude

29.34%
按下载量换算39

Cursor

17.94%
按下载量换算24

Gemini CLI

9.26%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills