googleworkspace/cli已通过检查
SKILL DETAIL
gws-sheets-read
googleworkspace/cli/gws-sheets-read
gws-sheets-read 技能用于从 Google Sheets 电子表格中读取数据。它通过 `gws sheets +read` 命令实现,需要指定电子表格 ID 和要读取的范围(例如 'Sheet1!A1:B2')。该操作是只读的,不会修改电子表格。 使用前请确保已阅读 `gws-shared` 技能文档,了解认证、全局标志和安全规则。如果缺少该文档,请运行 `gws generate-skills` 生成。
安装量 · 151查看来源
Installation
npx skills add https://github.com/googleworkspace/cli --skill gws-sheets-read
技能文件
SKILL.md
最近同步 · 2026年8月28日
SKILL.md›
---
name: gws-sheets-read
description: "Google Sheets: Read values from a spreadsheet."
metadata:
version: 0.22.5
openclaw:
category: "productivity"
requires:
bins:
- gws
cliHelp: "gws sheets +read --help"
---
# sheets +read
> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.
Read values from a spreadsheet
## Usage
```bash
gws sheets +read --spreadsheet <ID> --range <RANGE>
```
## Flags
| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--spreadsheet` | ✓ | — | Spreadsheet ID |
| `--range` | ✓ | — | Range to read (e.g. 'Sheet1!A1:B2') |
## Examples
```bash
gws sheets +read --spreadsheet ID --range "Sheet1!A1:D10"
gws sheets +read --spreadsheet ID --range Sheet1
```
## Tips
- Read-only — never modifies the spreadsheet.
- For advanced options, use the raw values.get API.
## See Also
- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
- [gws-sheets](../gws-sheets/SKILL.md) — All read and write spreadsheets commands