gws-docs

仓库创建 2026年3月3日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由

提供通用的 Docs 操作入口,适合集成与脚本调用。

▸ 风险提示

需要 Google OAuth 授权,脚本可访问与修改用户文档。

这个 Skill 做什么

对 Google 文档进行读取与写入的通用命令集合。

对 Google Docs 做读写操作,既能调用底层 API(像 batchUpdate)也有常用的辅助命令去追加或编辑文档内容。用在自动化生成文档、批量修改或把程序产出写进共享文档的场景,非常适合把脚本和协作文档连接起来。特点是既能做细粒度的 API 操作,也提供便捷的 helper 命令。

▸ 展开 SKILL.md 英文原文

Read and write Google Docs.

办公文档Google Docs文档管理API通用
3.0w
Stars
1.8k
Forks
40
仓库内 Skill
+562
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-docs/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-docs/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# docs (v1)

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

```bash
gws docs <resource> <method> [flags]
```

## Helper Commands

| Command | Description |
|---------|-------------|
| [`+write`](../gws-docs-write/SKILL.md) | Append text to a document |

## API Resources

### documents

  - `batchUpdate` — Applies one or more updates to the document. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not ne
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有